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 : 3308351 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 (3950312) updating current state to 1 UPDATE MTRPhoto.mtr_datou_current SET state=1, hostname='marlene' WHERE id in (3950312) SELECT count(*) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27843177 AND hide_status = 0 list_input_json: [] Current got : datou_id : 4302, datou_cur_ids : ['3950312'] with mtr_portfolio_ids : ['27843177'] and first list_photo_ids : [] new path : /proc/3308351/ Name: python3 Umask: 0002 State: R (running) Tgid: 3308351 Ngid: 0 Pid: 3308351 PPid: 3308349 TracerPid: 0 Uid: 1006 1006 1006 1006 Gid: 1009 1009 1009 1009 FDSize: 64 Groups: 27 1009 1026 NStgid: 3308351 NSpid: 3308351 NSpgid: 3307811 NSsid: 3307811 VmPeak: 1106856 kB VmSize: 1106856 kB VmLck: 0 kB VmPin: 0 kB VmHWM: 98672 kB VmRSS: 98672 kB RssAnon: 59840 kB RssFile: 38832 kB RssShmem: 0 kB VmData: 865608 kB VmStk: 132 kB VmExe: 2644 kB VmLib: 130468 kB VmPTE: 552 kB VmSwap: 0 kB HugetlbPages: 0 kB CoreDumping: 0 THP_enabled: 1 Threads: 1 SigQ: 0/63019 SigPnd: 0000000000000000 ShdPnd: 0000000000000000 SigBlk: 0000000000000000 SigIgn: 0000000001001000 SigCgt: 0000000180000002 CapInh: 0000000000000000 CapPrm: 0000000000000000 CapEff: 0000000000000000 CapBnd: 000001ffffffffff CapAmb: 0000000000000000 NoNewPrivs: 0 Seccomp: 0 Seccomp_filters: 0 Speculation_Store_Bypass: thread vulnerable SpeculationIndirectBranch: conditional enabled Cpus_allowed: ffffffff,ffffffff,ffffffff,ffffffff Cpus_allowed_list: 0-127 Mems_allowed: 00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000001 Mems_allowed_list: 0 voluntary_ctxt_switches: 96 nonvoluntary_ctxt_switches: 128 {'Name': 'python3', 'Umask': '0002', 'State': 'R (running)', 'Tgid': '3308351', 'Ngid': '0', 'Pid': '3308351', 'PPid': '3308349', 'TracerPid': '0', 'Uid': '1006,1006,1006,1006', 'Gid': '1009,1009,1009,1009', 'FDSize': '64', 'Groups': '27 1009 1026', 'NStgid': '3308351', 'NSpid': '3308351', 'NSpgid': '3307811', 'NSsid': '3307811', 'VmPeak': '1106856 kB', 'VmSize': '1106856 kB', 'VmLck': '0 kB', 'VmPin': '0 kB', 'VmHWM': '98672 kB', 'VmRSS': '98672 kB', 'RssAnon': '59840 kB', 'RssFile': '38832 kB', 'RssShmem': '0 kB', 'VmData': '865608 kB', 'VmStk': '132 kB', 'VmExe': '2644 kB', 'VmLib': '130468 kB', 'VmPTE': '552 kB', 'VmSwap': '0 kB', 'HugetlbPages': '0 kB', 'CoreDumping': '0', 'THP_enabled': '1', 'Threads': '1', 'SigQ': '0/63019', 'SigPnd': '0000000000000000', 'ShdPnd': '0000000000000000', 'SigBlk': '0000000000000000', 'SigIgn': '0000000001001000', 'SigCgt': '0000000180000002', 'CapInh': '0000000000000000', 'CapPrm': '0000000000000000', 'CapEff': '0000000000000000', 'CapBnd': '000001ffffffffff', 'CapAmb': '0000000000000000', 'NoNewPrivs': '0', 'Seccomp': '0', 'Seccomp_filters': '0', 'Speculation_Store_Bypass': 'thread vulnerable', 'SpeculationIndirectBranch': 'conditional enabled', 'Cpus_allowed': 'ffffffff,ffffffff,ffffffff,ffffffff', 'Cpus_allowed_list': '0-127', 'Mems_allowed': '00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000001', 'Mems_allowed_list': '0', 'voluntary_ctxt_switches': '96', 'nonvoluntary_ctxt_switches': '128'} ('datou_batch_current', '3308351', '1106856', '0', '1106856', '865608', '98672', b'', 'marlene', '3950312') insert ignore into MTRAdmin.mem_info (script_name, PID, VMpeak,VMswap,VMsize,VMdata,VMrss,GPU_ram, hostname, mtr_current_id) VALUES (%s,%s,%s,%s,%s,%s,%s,%s,%s,%s) Inside batchDatouExec : verbose : True ##### chargement datou SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify List Step Type Loaded in datou : ventilate_hashtags_in_portfolio, final, velours_tree, send_mail_cod, split_time_score over limit max, limiting to limit_max 200 list_input_json : [] ##### fin chargement datou ##### chargement data ##### Call load_data_input : nb_thread : 1 origin SELECT ph.photo_id, ph.url FROM MTRBack.photos_view ph WHERE ph.photo_id IN (SELECT mtr_photo_id from MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id in (27843177) 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 (3950312 ) ) 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 (27843177) AND hide_status = 0 ORDER by mtr_photo_id desc LIMIT 0, 200 list_result: [{'photo_id': 1389642565, 'portfolio_id': 27843177}, {'photo_id': 1389642563, 'portfolio_id': 27843177}, {'photo_id': 1389642561, 'portfolio_id': 27843177}, {'photo_id': 1389642560, 'portfolio_id': 27843177}, {'photo_id': 1389642559, 'portfolio_id': 27843177}, {'photo_id': 1389642556, 'portfolio_id': 27843177}, {'photo_id': 1389642515, 'portfolio_id': 27843177}, {'photo_id': 1389642513, 'portfolio_id': 27843177}, {'photo_id': 1389642511, 'portfolio_id': 27843177}, {'photo_id': 1389642510, 'portfolio_id': 27843177}, {'photo_id': 1389642507, 'portfolio_id': 27843177}, {'photo_id': 1389642498, 'portfolio_id': 27843177}, {'photo_id': 1389642495, 'portfolio_id': 27843177}, {'photo_id': 1389642493, 'portfolio_id': 27843177}, {'photo_id': 1389642492, 'portfolio_id': 27843177}, {'photo_id': 1389642491, 'portfolio_id': 27843177}, {'photo_id': 1389642474, 'portfolio_id': 27843177}, {'photo_id': 1389642471, 'portfolio_id': 27843177}, {'photo_id': 1389642467, 'portfolio_id': 27843177}, {'photo_id': 1389642464, 'portfolio_id': 27843177}, {'photo_id': 1389642462, 'portfolio_id': 27843177}, {'photo_id': 1389642399, 'portfolio_id': 27843177}, {'photo_id': 1389642397, 'portfolio_id': 27843177}, {'photo_id': 1389642390, 'portfolio_id': 27843177}, {'photo_id': 1389642384, 'portfolio_id': 27843177}, {'photo_id': 1389642379, 'portfolio_id': 27843177}, {'photo_id': 1389642374, 'portfolio_id': 27843177}, {'photo_id': 1389642372, 'portfolio_id': 27843177}, {'photo_id': 1389642371, 'portfolio_id': 27843177}, {'photo_id': 1389642369, 'portfolio_id': 27843177}, {'photo_id': 1389642363, 'portfolio_id': 27843177}, {'photo_id': 1389642360, 'portfolio_id': 27843177}, {'photo_id': 1389642357, 'portfolio_id': 27843177}, {'photo_id': 1389642355, 'portfolio_id': 27843177}, {'photo_id': 1389642353, 'portfolio_id': 27843177}, {'photo_id': 1389642343, 'portfolio_id': 27843177}, {'photo_id': 1389642326, 'portfolio_id': 27843177}, {'photo_id': 1389642325, 'portfolio_id': 27843177}, {'photo_id': 1389642324, 'portfolio_id': 27843177}] map_portfolio_id_photo_id: {27843177: [1389642565, 1389642563, 1389642561, 1389642560, 1389642559, 1389642556, 1389642515, 1389642513, 1389642511, 1389642510, 1389642507, 1389642498, 1389642495, 1389642493, 1389642492, 1389642491, 1389642474, 1389642471, 1389642467, 1389642464, 1389642462, 1389642399, 1389642397, 1389642390, 1389642384, 1389642379, 1389642374, 1389642372, 1389642371, 1389642369, 1389642363, 1389642360, 1389642357, 1389642355, 1389642353, 1389642343, 1389642326, 1389642325, 1389642324]} ##### 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.0523684024810791 #### 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 Thu Oct 16 05:52:29 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (27843177) 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 : 27843177 get user id for portfolio 27843177 get sub ptf for main ptf 27843177, type 3726 and hashtags ['papier', 'environnement', 'plastique', 'kraft', 'metal', 'mal_croppe', 'cartonnette', 'Teint_Dans_La_Masse', 'Carton_gris', 'Carton_brun', 'autre_refus', 'flou'] SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27843177 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('papier','environnement','plastique','kraft','metal','mal_croppe','cartonnette','Teint_Dans_La_Masse','Carton_gris','Carton_brun','autre_refus','flou')) AND mptpi.`min_score`=0.5 SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27843177 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('papier','environnement','plastique','kraft','metal','mal_croppe','cartonnette','Teint_Dans_La_Masse','Carton_gris','Carton_brun','autre_refus','flou')) AND mptpi.`min_score`=0.5 To do returned map {'Carton_brun': {'main_port_id': 27843177, 'sub_port_id': 27843179, 'hashtag': 'Carton_brun', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18789994, 'last_updated_at': datetime.datetime(2025, 10, 15, 21, 19, 4), 'last_updated_at_desc': datetime.datetime(2025, 10, 15, 21, 19, 4), 'last_updated_at_asc': datetime.datetime(2025, 10, 15, 21, 10, 58)}, 'autre_refus': {'main_port_id': 27843177, 'sub_port_id': 27843180, 'hashtag': 'autre_refus', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18789995, 'last_updated_at': datetime.datetime(2025, 10, 15, 21, 19, 4), 'last_updated_at_desc': datetime.datetime(2025, 10, 15, 21, 19, 4), 'last_updated_at_asc': datetime.datetime(2025, 10, 15, 21, 10, 58)}, 'kraft': {'main_port_id': 27843177, 'sub_port_id': 27843181, 'hashtag': 'kraft', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18789996, 'last_updated_at': datetime.datetime(2025, 10, 15, 21, 19, 4), 'last_updated_at_desc': datetime.datetime(2025, 10, 15, 21, 19, 4), 'last_updated_at_asc': datetime.datetime(2025, 10, 15, 21, 10, 58)}, 'environnement': {'main_port_id': 27843177, 'sub_port_id': 27843182, 'hashtag': 'environnement', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18789997, 'last_updated_at': datetime.datetime(2025, 10, 15, 21, 19, 4), 'last_updated_at_desc': datetime.datetime(2025, 10, 15, 21, 19, 4), 'last_updated_at_asc': datetime.datetime(2025, 10, 15, 21, 10, 58)}, 'Teint_Dans_La_Masse': {'main_port_id': 27843177, 'sub_port_id': 27843183, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18789998, 'last_updated_at': datetime.datetime(2025, 10, 15, 21, 19, 4), 'last_updated_at_desc': datetime.datetime(2025, 10, 15, 21, 19, 4), 'last_updated_at_asc': datetime.datetime(2025, 10, 15, 21, 10, 58)}, 'cartonnette': {'main_port_id': 27843177, 'sub_port_id': 27843184, 'hashtag': 'cartonnette', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18789999, 'last_updated_at': datetime.datetime(2025, 10, 15, 21, 19, 4), 'last_updated_at_desc': datetime.datetime(2025, 10, 15, 21, 19, 4), 'last_updated_at_asc': datetime.datetime(2025, 10, 15, 21, 10, 58)}, 'papier': {'main_port_id': 27843177, 'sub_port_id': 27843185, 'hashtag': 'papier', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18790000, 'last_updated_at': datetime.datetime(2025, 10, 15, 21, 19, 4), 'last_updated_at_desc': datetime.datetime(2025, 10, 15, 21, 19, 4), 'last_updated_at_asc': datetime.datetime(2025, 10, 15, 21, 10, 58)}, 'plastique': {'main_port_id': 27843177, 'sub_port_id': 27843186, 'hashtag': 'plastique', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18790001, 'last_updated_at': datetime.datetime(2025, 10, 15, 21, 19, 4), 'last_updated_at_desc': datetime.datetime(2025, 10, 15, 21, 19, 4), 'last_updated_at_asc': datetime.datetime(2025, 10, 15, 21, 10, 58)}, 'flou': {'main_port_id': 27843177, 'sub_port_id': 27843187, 'hashtag': 'flou', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18790002, 'last_updated_at': datetime.datetime(2025, 10, 15, 21, 19, 4), 'last_updated_at_desc': datetime.datetime(2025, 10, 15, 21, 19, 4), 'last_updated_at_asc': datetime.datetime(2025, 10, 15, 21, 10, 58)}, 'metal': {'main_port_id': 27843177, 'sub_port_id': 27843188, 'hashtag': 'metal', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18790003, 'last_updated_at': datetime.datetime(2025, 10, 15, 21, 19, 4), 'last_updated_at_desc': datetime.datetime(2025, 10, 15, 21, 19, 4), 'last_updated_at_asc': datetime.datetime(2025, 10, 15, 21, 10, 58)}, 'mal_croppe': {'main_port_id': 27843177, 'sub_port_id': 27843189, 'hashtag': 'mal_croppe', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18790004, 'last_updated_at': datetime.datetime(2025, 10, 15, 21, 19, 4), 'last_updated_at_desc': datetime.datetime(2025, 10, 15, 21, 19, 4), 'last_updated_at_asc': datetime.datetime(2025, 10, 15, 21, 10, 58)}, 'Carton_gris': {'main_port_id': 27843177, 'sub_port_id': 27843190, 'hashtag': 'Carton_gris', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18790005, 'last_updated_at': datetime.datetime(2025, 10, 15, 21, 19, 4), 'last_updated_at_desc': datetime.datetime(2025, 10, 15, 21, 19, 4), 'last_updated_at_asc': datetime.datetime(2025, 10, 15, 21, 10, 58)}} insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 27843179 , 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=27843177 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 (27843179) result : ((1389642484,), (1389642485,), (1389642486,), (1389642487,), (1389642525,), (1389642543,), (1389642576,), (1389642614,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27843177) result : ((1389642324,), (1389642325,), (1389642326,), (1389642343,), (1389642353,), (1389642355,), (1389642357,), (1389642360,), (1389642363,), (1389642369,), (1389642371,), (1389642372,), (1389642374,), (1389642379,), (1389642384,), (1389642390,), (1389642397,), (1389642399,), (1389642462,), (1389642464,), (1389642467,), (1389642471,), (1389642474,), (1389642491,), (1389642492,), (1389642493,), (1389642495,), (1389642498,), (1389642507,), (1389642510,), (1389642511,), (1389642513,), (1389642515,), (1389642556,), (1389642559,), (1389642560,), (1389642561,), (1389642563,), (1389642565,)) 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 27843180 , 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=27843177 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 (27843180) result : ((1389642481,), (1389642610,), (1389642611,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27843177) result : ((1389642324,), (1389642325,), (1389642326,), (1389642343,), (1389642353,), (1389642355,), (1389642357,), (1389642360,), (1389642363,), (1389642369,), (1389642371,), (1389642372,), (1389642374,), (1389642379,), (1389642384,), (1389642390,), (1389642397,), (1389642399,), (1389642462,), (1389642464,), (1389642467,), (1389642471,), (1389642474,), (1389642491,), (1389642492,), (1389642493,), (1389642495,), (1389642498,), (1389642507,), (1389642510,), (1389642511,), (1389642513,), (1389642515,), (1389642556,), (1389642559,), (1389642560,), (1389642561,), (1389642563,), (1389642565,)) 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 27843181 , 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=27843177 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 (27843181) result : ((1389642381,), (1389642489,), (1389642615,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27843177) result : ((1389642324,), (1389642325,), (1389642326,), (1389642343,), (1389642353,), (1389642355,), (1389642357,), (1389642360,), (1389642363,), (1389642369,), (1389642371,), (1389642372,), (1389642374,), (1389642379,), (1389642384,), (1389642390,), (1389642397,), (1389642399,), (1389642462,), (1389642464,), (1389642467,), (1389642471,), (1389642474,), (1389642491,), (1389642492,), (1389642493,), (1389642495,), (1389642498,), (1389642507,), (1389642510,), (1389642511,), (1389642513,), (1389642515,), (1389642556,), (1389642559,), (1389642560,), (1389642561,), (1389642563,), (1389642565,)) 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 27843182 , 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=27843177 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 (27843182) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27843177) result : ((1389642324,), (1389642325,), (1389642326,), (1389642343,), (1389642353,), (1389642355,), (1389642357,), (1389642360,), (1389642363,), (1389642369,), (1389642371,), (1389642372,), (1389642374,), (1389642379,), (1389642384,), (1389642390,), (1389642397,), (1389642399,), (1389642462,), (1389642464,), (1389642467,), (1389642471,), (1389642474,), (1389642491,), (1389642492,), (1389642493,), (1389642495,), (1389642498,), (1389642507,), (1389642510,), (1389642511,), (1389642513,), (1389642515,), (1389642556,), (1389642559,), (1389642560,), (1389642561,), (1389642563,), (1389642565,)) 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 27843183 , 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=27843177 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 (27843183) result : ((1389642377,), (1389642378,), (1389642517,), (1389642518,), (1389642519,), (1389642534,), (1389642535,), (1389642536,), (1389642537,), (1389642538,), (1389642539,), (1389642540,), (1389642541,), (1389642572,), (1389642599,), (1389642600,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27843177) result : ((1389642324,), (1389642325,), (1389642326,), (1389642343,), (1389642353,), (1389642355,), (1389642357,), (1389642360,), (1389642363,), (1389642369,), (1389642371,), (1389642372,), (1389642374,), (1389642379,), (1389642384,), (1389642390,), (1389642397,), (1389642399,), (1389642462,), (1389642464,), (1389642467,), (1389642471,), (1389642474,), (1389642491,), (1389642492,), (1389642493,), (1389642495,), (1389642498,), (1389642507,), (1389642510,), (1389642511,), (1389642513,), (1389642515,), (1389642556,), (1389642559,), (1389642560,), (1389642561,), (1389642563,), (1389642565,)) 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 27843184 , 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=27843177 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 (27843184) result : ((1389642483,), (1389642522,), (1389642542,), (1389642613,), (1389644008,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27843177) result : ((1389642324,), (1389642325,), (1389642326,), (1389642343,), (1389642353,), (1389642355,), (1389642357,), (1389642360,), (1389642363,), (1389642369,), (1389642371,), (1389642372,), (1389642374,), (1389642379,), (1389642384,), (1389642390,), (1389642397,), (1389642399,), (1389642462,), (1389642464,), (1389642467,), (1389642471,), (1389642474,), (1389642491,), (1389642492,), (1389642493,), (1389642495,), (1389642498,), (1389642507,), (1389642510,), (1389642511,), (1389642513,), (1389642515,), (1389642556,), (1389642559,), (1389642560,), (1389642561,), (1389642563,), (1389642565,)) 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 27843185 , 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=27843177 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 (27843185) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27843177) result : ((1389642324,), (1389642325,), (1389642326,), (1389642343,), (1389642353,), (1389642355,), (1389642357,), (1389642360,), (1389642363,), (1389642369,), (1389642371,), (1389642372,), (1389642374,), (1389642379,), (1389642384,), (1389642390,), (1389642397,), (1389642399,), (1389642462,), (1389642464,), (1389642467,), (1389642471,), (1389642474,), (1389642491,), (1389642492,), (1389642493,), (1389642495,), (1389642498,), (1389642507,), (1389642510,), (1389642511,), (1389642513,), (1389642515,), (1389642556,), (1389642559,), (1389642560,), (1389642561,), (1389642563,), (1389642565,)) 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 27843186 , 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=27843177 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 (27843186) result : ((1389642488,),) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27843177) result : ((1389642324,), (1389642325,), (1389642326,), (1389642343,), (1389642353,), (1389642355,), (1389642357,), (1389642360,), (1389642363,), (1389642369,), (1389642371,), (1389642372,), (1389642374,), (1389642379,), (1389642384,), (1389642390,), (1389642397,), (1389642399,), (1389642462,), (1389642464,), (1389642467,), (1389642471,), (1389642474,), (1389642491,), (1389642492,), (1389642493,), (1389642495,), (1389642498,), (1389642507,), (1389642510,), (1389642511,), (1389642513,), (1389642515,), (1389642556,), (1389642559,), (1389642560,), (1389642561,), (1389642563,), (1389642565,)) 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 27843187 , 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=27843177 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 (27843187) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27843177) result : ((1389642324,), (1389642325,), (1389642326,), (1389642343,), (1389642353,), (1389642355,), (1389642357,), (1389642360,), (1389642363,), (1389642369,), (1389642371,), (1389642372,), (1389642374,), (1389642379,), (1389642384,), (1389642390,), (1389642397,), (1389642399,), (1389642462,), (1389642464,), (1389642467,), (1389642471,), (1389642474,), (1389642491,), (1389642492,), (1389642493,), (1389642495,), (1389642498,), (1389642507,), (1389642510,), (1389642511,), (1389642513,), (1389642515,), (1389642556,), (1389642559,), (1389642560,), (1389642561,), (1389642563,), (1389642565,)) 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 27843188 , 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=27843177 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 (27843188) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27843177) result : ((1389642324,), (1389642325,), (1389642326,), (1389642343,), (1389642353,), (1389642355,), (1389642357,), (1389642360,), (1389642363,), (1389642369,), (1389642371,), (1389642372,), (1389642374,), (1389642379,), (1389642384,), (1389642390,), (1389642397,), (1389642399,), (1389642462,), (1389642464,), (1389642467,), (1389642471,), (1389642474,), (1389642491,), (1389642492,), (1389642493,), (1389642495,), (1389642498,), (1389642507,), (1389642510,), (1389642511,), (1389642513,), (1389642515,), (1389642556,), (1389642559,), (1389642560,), (1389642561,), (1389642563,), (1389642565,)) 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 27843189 , 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=27843177 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 (27843189) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27843177) result : ((1389642324,), (1389642325,), (1389642326,), (1389642343,), (1389642353,), (1389642355,), (1389642357,), (1389642360,), (1389642363,), (1389642369,), (1389642371,), (1389642372,), (1389642374,), (1389642379,), (1389642384,), (1389642390,), (1389642397,), (1389642399,), (1389642462,), (1389642464,), (1389642467,), (1389642471,), (1389642474,), (1389642491,), (1389642492,), (1389642493,), (1389642495,), (1389642498,), (1389642507,), (1389642510,), (1389642511,), (1389642513,), (1389642515,), (1389642556,), (1389642559,), (1389642560,), (1389642561,), (1389642563,), (1389642565,)) 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 27843190 , 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=27843177 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 (27843190) result : ((1389642380,), (1389642482,), (1389642520,), (1389642521,), (1389642574,), (1389642575,), (1389644007,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27843177) result : ((1389642324,), (1389642325,), (1389642326,), (1389642343,), (1389642353,), (1389642355,), (1389642357,), (1389642360,), (1389642363,), (1389642369,), (1389642371,), (1389642372,), (1389642374,), (1389642379,), (1389642384,), (1389642390,), (1389642397,), (1389642399,), (1389642462,), (1389642464,), (1389642467,), (1389642471,), (1389642474,), (1389642491,), (1389642492,), (1389642493,), (1389642495,), (1389642498,), (1389642507,), (1389642510,), (1389642511,), (1389642513,), (1389642515,), (1389642556,), (1389642559,), (1389642560,), (1389642561,), (1389642563,), (1389642565,)) 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`=27843177 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('papier','environnement','plastique','kraft','metal','mal_croppe','cartonnette','Teint_Dans_La_Masse','Carton_gris','Carton_brun','autre_refus','flou')) AND mptpi.`min_score`=0.5 SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27843177 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('papier','environnement','plastique','kraft','metal','mal_croppe','cartonnette','Teint_Dans_La_Masse','Carton_gris','Carton_brun','autre_refus','flou')) AND mptpi.`min_score`=0.5 To do returned map {'Carton_brun': {'main_port_id': 27843177, 'sub_port_id': 27843191, 'hashtag': 'Carton_brun', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18790006, 'last_updated_at': datetime.datetime(2025, 10, 15, 21, 11, 4), 'last_updated_at_desc': datetime.datetime(2025, 10, 15, 21, 11, 4), 'last_updated_at_asc': datetime.datetime(2025, 10, 15, 21, 11, 4)}, 'autre_refus': {'main_port_id': 27843177, 'sub_port_id': 27843192, 'hashtag': 'autre_refus', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18790007, 'last_updated_at': datetime.datetime(2025, 10, 15, 21, 11, 4), 'last_updated_at_desc': datetime.datetime(2025, 10, 15, 21, 11, 4), 'last_updated_at_asc': datetime.datetime(2025, 10, 15, 21, 11, 4)}, 'kraft': {'main_port_id': 27843177, 'sub_port_id': 27843193, 'hashtag': 'kraft', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18790008, 'last_updated_at': datetime.datetime(2025, 10, 15, 21, 11, 4), 'last_updated_at_desc': datetime.datetime(2025, 10, 15, 21, 11, 4), 'last_updated_at_asc': datetime.datetime(2025, 10, 15, 21, 11, 4)}, 'environnement': {'main_port_id': 27843177, 'sub_port_id': 27843194, 'hashtag': 'environnement', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18790009, 'last_updated_at': datetime.datetime(2025, 10, 15, 21, 11, 4), 'last_updated_at_desc': datetime.datetime(2025, 10, 15, 21, 11, 4), 'last_updated_at_asc': datetime.datetime(2025, 10, 15, 21, 11, 4)}, 'Teint_Dans_La_Masse': {'main_port_id': 27843177, 'sub_port_id': 27843195, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18790010, 'last_updated_at': datetime.datetime(2025, 10, 15, 21, 11, 4), 'last_updated_at_desc': datetime.datetime(2025, 10, 15, 21, 11, 4), 'last_updated_at_asc': datetime.datetime(2025, 10, 15, 21, 11, 4)}, 'cartonnette': {'main_port_id': 27843177, 'sub_port_id': 27843196, 'hashtag': 'cartonnette', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18790011, 'last_updated_at': datetime.datetime(2025, 10, 15, 21, 11, 4), 'last_updated_at_desc': datetime.datetime(2025, 10, 15, 21, 11, 4), 'last_updated_at_asc': datetime.datetime(2025, 10, 15, 21, 11, 4)}, 'papier': {'main_port_id': 27843177, 'sub_port_id': 27843197, 'hashtag': 'papier', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18790012, 'last_updated_at': datetime.datetime(2025, 10, 15, 21, 11, 4), 'last_updated_at_desc': datetime.datetime(2025, 10, 15, 21, 11, 4), 'last_updated_at_asc': datetime.datetime(2025, 10, 15, 21, 11, 4)}, 'plastique': {'main_port_id': 27843177, 'sub_port_id': 27843198, 'hashtag': 'plastique', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18790013, 'last_updated_at': datetime.datetime(2025, 10, 15, 21, 11, 4), 'last_updated_at_desc': datetime.datetime(2025, 10, 15, 21, 11, 4), 'last_updated_at_asc': datetime.datetime(2025, 10, 15, 21, 11, 4)}, 'flou': {'main_port_id': 27843177, 'sub_port_id': 27843199, 'hashtag': 'flou', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18790014, 'last_updated_at': datetime.datetime(2025, 10, 15, 21, 11, 4), 'last_updated_at_desc': datetime.datetime(2025, 10, 15, 21, 11, 4), 'last_updated_at_asc': datetime.datetime(2025, 10, 15, 21, 11, 4)}, 'metal': {'main_port_id': 27843177, 'sub_port_id': 27843200, 'hashtag': 'metal', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18790015, 'last_updated_at': datetime.datetime(2025, 10, 15, 21, 11, 4), 'last_updated_at_desc': datetime.datetime(2025, 10, 15, 21, 11, 4), 'last_updated_at_asc': datetime.datetime(2025, 10, 15, 21, 11, 4)}, 'mal_croppe': {'main_port_id': 27843177, 'sub_port_id': 27843201, 'hashtag': 'mal_croppe', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18790016, 'last_updated_at': datetime.datetime(2025, 10, 15, 21, 11, 4), 'last_updated_at_desc': datetime.datetime(2025, 10, 15, 21, 11, 4), 'last_updated_at_asc': datetime.datetime(2025, 10, 15, 21, 11, 4)}, 'Carton_gris': {'main_port_id': 27843177, 'sub_port_id': 27843202, 'hashtag': 'Carton_gris', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18790017, 'last_updated_at': datetime.datetime(2025, 10, 15, 21, 19, 4), 'last_updated_at_desc': datetime.datetime(2025, 10, 15, 21, 19, 4), 'last_updated_at_asc': datetime.datetime(2025, 10, 15, 21, 11, 4)}} insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27843191,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27843179 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27843192,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27843180 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27843193,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27843181 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27843194,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27843182 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27843195,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27843183 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27843196,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27843184 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27843197,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27843185 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27843198,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27843186 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27843199,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27843187 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27843200,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27843188 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27843201,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27843189 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27843202,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27843190 lien utilise dans velours : https://marlene.fotonower.com/velours/27843191,27843192,27843193,27843194,27843195,27843196,27843197,27843198,27843199,27843200,27843201,27843202?tags=Carton_brun,autre_refus,kraft,environnement,Teint_Dans_La_Masse,cartonnette,papier,plastique,flou,metal,mal_croppe,Carton_gris After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([27843177]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1389642565, 1389642563, 1389642561, 1389642560, 1389642559, 1389642556, 1389642515, 1389642513, 1389642511, 1389642510, 1389642507, 1389642498, 1389642495, 1389642493, 1389642492, 1389642491, 1389642474, 1389642471, 1389642467, 1389642464, 1389642462, 1389642399, 1389642397, 1389642390, 1389642384, 1389642379, 1389642374, 1389642372, 1389642371, 1389642369, 1389642363, 1389642360, 1389642357, 1389642355, 1389642353, 1389642343, 1389642326, 1389642325, 1389642324] map_info['map_portfolio_photo'] : {27843177: [1389642565, 1389642563, 1389642561, 1389642560, 1389642559, 1389642556, 1389642515, 1389642513, 1389642511, 1389642510, 1389642507, 1389642498, 1389642495, 1389642493, 1389642492, 1389642491, 1389642474, 1389642471, 1389642467, 1389642464, 1389642462, 1389642399, 1389642397, 1389642390, 1389642384, 1389642379, 1389642374, 1389642372, 1389642371, 1389642369, 1389642363, 1389642360, 1389642357, 1389642355, 1389642353, 1389642343, 1389642326, 1389642325, 1389642324]} final : False mtd_id 4302 list_pids : [1389642565, 1389642563, 1389642561, 1389642560, 1389642559, 1389642556, 1389642515, 1389642513, 1389642511, 1389642510, 1389642507, 1389642498, 1389642495, 1389642493, 1389642492, 1389642491, 1389642474, 1389642471, 1389642467, 1389642464, 1389642462, 1389642399, 1389642397, 1389642390, 1389642384, 1389642379, 1389642374, 1389642372, 1389642371, 1389642369, 1389642363, 1389642360, 1389642357, 1389642355, 1389642353, 1389642343, 1389642326, 1389642325, 1389642324] Looping around the photos to save general results len do output : 1 /27843177. 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, '3950312') ('4302', '27843177', '1389642565', None, None, None, None, None, '3950312') ('4302', None, None, None, None, None, None, None, '3950312') ('4302', '27843177', '1389642563', None, None, None, None, None, '3950312') ('4302', None, None, None, None, None, None, None, '3950312') ('4302', '27843177', '1389642561', None, None, None, None, None, '3950312') ('4302', None, None, None, None, None, None, None, '3950312') ('4302', '27843177', '1389642560', None, None, None, None, None, '3950312') ('4302', None, None, None, None, None, None, None, '3950312') ('4302', '27843177', '1389642559', None, None, None, None, None, '3950312') ('4302', None, None, None, None, None, None, None, '3950312') ('4302', '27843177', '1389642556', None, None, None, None, None, '3950312') ('4302', None, None, None, None, None, None, None, '3950312') ('4302', '27843177', '1389642515', None, None, None, None, None, '3950312') ('4302', None, None, None, None, None, None, None, '3950312') ('4302', '27843177', '1389642513', None, None, None, None, None, '3950312') ('4302', None, None, None, None, None, None, None, '3950312') ('4302', '27843177', '1389642511', None, None, None, None, None, '3950312') ('4302', None, None, None, None, None, None, None, '3950312') ('4302', '27843177', '1389642510', None, None, None, None, None, '3950312') ('4302', None, None, None, None, None, None, None, '3950312') ('4302', '27843177', '1389642507', None, None, None, None, None, '3950312') ('4302', None, None, None, None, None, None, None, '3950312') ('4302', '27843177', '1389642498', None, None, None, None, None, '3950312') ('4302', None, None, None, None, None, None, None, '3950312') ('4302', '27843177', '1389642495', None, None, None, None, None, '3950312') ('4302', None, None, None, None, None, None, None, '3950312') ('4302', '27843177', '1389642493', None, None, None, None, None, '3950312') ('4302', None, None, None, None, None, None, None, '3950312') ('4302', '27843177', '1389642492', None, None, None, None, None, '3950312') ('4302', None, None, None, None, None, None, None, '3950312') ('4302', '27843177', '1389642491', None, None, None, None, None, '3950312') ('4302', None, None, None, None, None, None, None, '3950312') ('4302', '27843177', '1389642474', None, None, None, None, None, '3950312') ('4302', None, None, None, None, None, None, None, '3950312') ('4302', '27843177', '1389642471', None, None, None, None, None, '3950312') ('4302', None, None, None, None, None, None, None, '3950312') ('4302', '27843177', '1389642467', None, None, None, None, None, '3950312') ('4302', None, None, None, None, None, None, None, '3950312') ('4302', '27843177', '1389642464', None, None, None, None, None, '3950312') ('4302', None, None, None, None, None, None, None, '3950312') ('4302', '27843177', '1389642462', None, None, None, None, None, '3950312') ('4302', None, None, None, None, None, None, None, '3950312') ('4302', '27843177', '1389642399', None, None, None, None, None, '3950312') ('4302', None, None, None, None, None, None, None, '3950312') ('4302', '27843177', '1389642397', None, None, None, None, None, '3950312') ('4302', None, None, None, None, None, None, None, '3950312') ('4302', '27843177', '1389642390', None, None, None, None, None, '3950312') ('4302', None, None, None, None, None, None, None, '3950312') ('4302', '27843177', '1389642384', None, None, None, None, None, '3950312') ('4302', None, None, None, None, None, None, None, '3950312') ('4302', '27843177', '1389642379', None, None, None, None, None, '3950312') ('4302', None, None, None, None, None, None, None, '3950312') ('4302', '27843177', '1389642374', None, None, None, None, None, '3950312') ('4302', None, None, None, None, None, None, None, '3950312') ('4302', '27843177', '1389642372', None, None, None, None, None, '3950312') ('4302', None, None, None, None, None, None, None, '3950312') ('4302', '27843177', '1389642371', None, None, None, None, None, '3950312') ('4302', None, None, None, None, None, None, None, '3950312') ('4302', '27843177', '1389642369', None, None, None, None, None, '3950312') ('4302', None, None, None, None, None, None, None, '3950312') ('4302', '27843177', '1389642363', None, None, None, None, None, '3950312') ('4302', None, None, None, None, None, None, None, '3950312') ('4302', '27843177', '1389642360', None, None, None, None, None, '3950312') ('4302', None, None, None, None, None, None, None, '3950312') ('4302', '27843177', '1389642357', None, None, None, None, None, '3950312') ('4302', None, None, None, None, None, None, None, '3950312') ('4302', '27843177', '1389642355', None, None, None, None, None, '3950312') ('4302', None, None, None, None, None, None, None, '3950312') ('4302', '27843177', '1389642353', None, None, None, None, None, '3950312') ('4302', None, None, None, None, None, None, None, '3950312') ('4302', '27843177', '1389642343', None, None, None, None, None, '3950312') ('4302', None, None, None, None, None, None, None, '3950312') ('4302', '27843177', '1389642326', None, None, None, None, None, '3950312') ('4302', None, None, None, None, None, None, None, '3950312') ('4302', '27843177', '1389642325', None, None, None, None, None, '3950312') ('4302', None, None, None, None, None, None, None, '3950312') ('4302', '27843177', '1389642324', None, None, None, None, None, '3950312') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 40 insert ignore into MTRPhoto.mtr_datou_result (mtd_id, mtr_portfolio_id,mtr_photo_id,result,result_long,result_double,hashtag_id,proba, mtr_current_id) values (%s,%s,%s,%s,%s,%s,%s,%s,%s) on duplicate key update mtr_portfolio_id = mtr_portfolio_id list_values : [('4302', None, '27843177', "{'Carton_brun': 27843179, 'autre_refus': 27843180, 'kraft': 27843181, 'environnement': 27843182, 'Teint_Dans_La_Masse': 27843183, 'cartonnette': 27843184, 'papier': 27843185, 'plastique': 27843186, 'flou': 27843187, 'metal': 27843188, 'mal_croppe': 27843189, 'Carton_gris': 27843190}", None, None, None, None, '3950312'), ('4302', '27843177', '1389642565', None, None, None, None, None, '3950312'), ('4302', '27843177', '1389642563', None, None, None, None, None, '3950312'), ('4302', '27843177', '1389642561', None, None, None, None, None, '3950312'), ('4302', '27843177', '1389642560', None, None, None, None, None, '3950312'), ('4302', '27843177', '1389642559', None, None, None, None, None, '3950312'), ('4302', '27843177', '1389642556', None, None, None, None, None, '3950312'), ('4302', '27843177', '1389642515', None, None, None, None, None, '3950312'), ('4302', '27843177', '1389642513', None, None, None, None, None, '3950312'), ('4302', '27843177', '1389642511', None, None, None, None, None, '3950312'), ('4302', '27843177', '1389642510', None, None, None, None, None, '3950312'), ('4302', '27843177', '1389642507', None, None, None, None, None, '3950312'), ('4302', '27843177', '1389642498', None, None, None, None, None, '3950312'), ('4302', '27843177', '1389642495', None, None, None, None, None, '3950312'), ('4302', '27843177', '1389642493', None, None, None, None, None, '3950312'), ('4302', '27843177', '1389642492', None, None, None, None, None, '3950312'), ('4302', '27843177', '1389642491', None, None, None, None, None, '3950312'), ('4302', '27843177', '1389642474', None, None, None, None, None, '3950312'), ('4302', '27843177', '1389642471', None, None, None, None, None, '3950312'), ('4302', '27843177', '1389642467', None, None, None, None, None, '3950312'), ('4302', '27843177', '1389642464', None, None, None, None, None, '3950312'), ('4302', '27843177', '1389642462', None, None, None, None, None, '3950312'), ('4302', '27843177', '1389642399', None, None, None, None, None, '3950312'), ('4302', '27843177', '1389642397', None, None, None, None, None, '3950312'), ('4302', '27843177', '1389642390', None, None, None, None, None, '3950312'), ('4302', '27843177', '1389642384', None, None, None, None, None, '3950312'), ('4302', '27843177', '1389642379', None, None, None, None, None, '3950312'), ('4302', '27843177', '1389642374', None, None, None, None, None, '3950312'), ('4302', '27843177', '1389642372', None, None, None, None, None, '3950312'), ('4302', '27843177', '1389642371', None, None, None, None, None, '3950312'), ('4302', '27843177', '1389642369', None, None, None, None, None, '3950312'), ('4302', '27843177', '1389642363', None, None, None, None, None, '3950312'), ('4302', '27843177', '1389642360', None, None, None, None, None, '3950312'), ('4302', '27843177', '1389642357', None, None, None, None, None, '3950312'), ('4302', '27843177', '1389642355', None, None, None, None, None, '3950312'), ('4302', '27843177', '1389642353', None, None, None, None, None, '3950312'), ('4302', '27843177', '1389642343', None, None, None, None, None, '3950312'), ('4302', '27843177', '1389642326', None, None, None, None, None, '3950312'), ('4302', '27843177', '1389642325', None, None, None, None, None, '3950312'), ('4302', '27843177', '1389642324', None, None, None, None, None, '3950312')] time used for this insertion : 0.060279130935668945 save_final save missing photos in datou_result : time spend for datou_step_exec : 5.163788080215454 time spend to save output : 0.06078767776489258 total time spend for step 1 : 5.224575757980347 step2:final Thu Oct 16 05:52:35 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 (27843177) 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 27843177 : SELECT photo_id, hashtag_id, ratio from MTRPhoto.photo_carac_ratio where hashtag_type = 3726 and photo_id in (1389642326,1389642325,1389642324,1389642363,1389642360,1389642357,1389642355,1389642353,1389642343,1389642384,1389642379,1389642374,1389642372,1389642371,1389642369,1389642399,1389642397,1389642390,1389642474,1389642471,1389642467,1389642464,1389642462,1389642498,1389642495,1389642493,1389642492,1389642491,1389642565,1389642515,1389642513,1389642563,1389642511,1389642561,1389642510,1389642560,1389642559,1389642507,1389642556); 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([27843177]) Inside saveOutput : final : False verbose : True original output for save of step final : {1389642565: ('0.06652646405080903',), 1389642563: ('0.06652646405080903',), 1389642561: ('0.06652646405080903',), 1389642560: ('0.06652646405080903',), 1389642559: ('0.06652646405080903',), 1389642556: ('0.06652646405080903',), 1389642515: ('0.06652646405080903',), 1389642513: ('0.06652646405080903',), 1389642511: ('0.06652646405080903',), 1389642510: ('0.06652646405080903',), 1389642507: ('0.06652646405080903',), 1389642498: ('0.06652646405080903',), 1389642495: ('0.06652646405080903',), 1389642493: ('0.06652646405080903',), 1389642492: ('0.06652646405080903',), 1389642491: ('0.06652646405080903',), 1389642474: ('0.06652646405080903',), 1389642471: ('0.06652646405080903',), 1389642467: ('0.06652646405080903',), 1389642464: ('0.06652646405080903',), 1389642462: ('0.06652646405080903',), 1389642399: ('0.06652646405080903',), 1389642397: ('0.06652646405080903',), 1389642390: ('0.06652646405080903',), 1389642384: ('0.06652646405080903',), 1389642379: ('0.06652646405080903',), 1389642374: ('0.06652646405080903',), 1389642372: ('0.06652646405080903',), 1389642371: ('0.06652646405080903',), 1389642369: ('0.06652646405080903',), 1389642363: ('0.06652646405080903',), 1389642360: ('0.06652646405080903',), 1389642357: ('0.06652646405080903',), 1389642355: ('0.06652646405080903',), 1389642353: ('0.06652646405080903',), 1389642343: ('0.06652646405080903',), 1389642326: ('0.06652646405080903',), 1389642325: ('0.06652646405080903',), 1389642324: ('0.06652646405080903',)} new output for save of step final : {1389642565: ('0.06652646405080903',), 1389642563: ('0.06652646405080903',), 1389642561: ('0.06652646405080903',), 1389642560: ('0.06652646405080903',), 1389642559: ('0.06652646405080903',), 1389642556: ('0.06652646405080903',), 1389642515: ('0.06652646405080903',), 1389642513: ('0.06652646405080903',), 1389642511: ('0.06652646405080903',), 1389642510: ('0.06652646405080903',), 1389642507: ('0.06652646405080903',), 1389642498: ('0.06652646405080903',), 1389642495: ('0.06652646405080903',), 1389642493: ('0.06652646405080903',), 1389642492: ('0.06652646405080903',), 1389642491: ('0.06652646405080903',), 1389642474: ('0.06652646405080903',), 1389642471: ('0.06652646405080903',), 1389642467: ('0.06652646405080903',), 1389642464: ('0.06652646405080903',), 1389642462: ('0.06652646405080903',), 1389642399: ('0.06652646405080903',), 1389642397: ('0.06652646405080903',), 1389642390: ('0.06652646405080903',), 1389642384: ('0.06652646405080903',), 1389642379: ('0.06652646405080903',), 1389642374: ('0.06652646405080903',), 1389642372: ('0.06652646405080903',), 1389642371: ('0.06652646405080903',), 1389642369: ('0.06652646405080903',), 1389642363: ('0.06652646405080903',), 1389642360: ('0.06652646405080903',), 1389642357: ('0.06652646405080903',), 1389642355: ('0.06652646405080903',), 1389642353: ('0.06652646405080903',), 1389642343: ('0.06652646405080903',), 1389642326: ('0.06652646405080903',), 1389642325: ('0.06652646405080903',), 1389642324: ('0.06652646405080903',)} [1389642565, 1389642563, 1389642561, 1389642560, 1389642559, 1389642556, 1389642515, 1389642513, 1389642511, 1389642510, 1389642507, 1389642498, 1389642495, 1389642493, 1389642492, 1389642491, 1389642474, 1389642471, 1389642467, 1389642464, 1389642462, 1389642399, 1389642397, 1389642390, 1389642384, 1389642379, 1389642374, 1389642372, 1389642371, 1389642369, 1389642363, 1389642360, 1389642357, 1389642355, 1389642353, 1389642343, 1389642326, 1389642325, 1389642324] map_info['map_portfolio_photo'] : {27843177: [1389642565, 1389642563, 1389642561, 1389642560, 1389642559, 1389642556, 1389642515, 1389642513, 1389642511, 1389642510, 1389642507, 1389642498, 1389642495, 1389642493, 1389642492, 1389642491, 1389642474, 1389642471, 1389642467, 1389642464, 1389642462, 1389642399, 1389642397, 1389642390, 1389642384, 1389642379, 1389642374, 1389642372, 1389642371, 1389642369, 1389642363, 1389642360, 1389642357, 1389642355, 1389642353, 1389642343, 1389642326, 1389642325, 1389642324]} final : False mtd_id 4302 list_pids : [1389642565, 1389642563, 1389642561, 1389642560, 1389642559, 1389642556, 1389642515, 1389642513, 1389642511, 1389642510, 1389642507, 1389642498, 1389642495, 1389642493, 1389642492, 1389642491, 1389642474, 1389642471, 1389642467, 1389642464, 1389642462, 1389642399, 1389642397, 1389642390, 1389642384, 1389642379, 1389642374, 1389642372, 1389642371, 1389642369, 1389642363, 1389642360, 1389642357, 1389642355, 1389642353, 1389642343, 1389642326, 1389642325, 1389642324] Looping around the photos to save general results len do output : 39 /1389642565.Didn't retrieve data . /1389642563.Didn't retrieve data . /1389642561.Didn't retrieve data . /1389642560.Didn't retrieve data . /1389642559.Didn't retrieve data . /1389642556.Didn't retrieve data . /1389642515.Didn't retrieve data . /1389642513.Didn't retrieve data . /1389642511.Didn't retrieve data . /1389642510.Didn't retrieve data . /1389642507.Didn't retrieve data . /1389642498.Didn't retrieve data . /1389642495.Didn't retrieve data . /1389642493.Didn't retrieve data . /1389642492.Didn't retrieve data . /1389642491.Didn't retrieve data . /1389642474.Didn't retrieve data . /1389642471.Didn't retrieve data . /1389642467.Didn't retrieve data . /1389642464.Didn't retrieve data . /1389642462.Didn't retrieve data . /1389642399.Didn't retrieve data . /1389642397.Didn't retrieve data . /1389642390.Didn't retrieve data . /1389642384.Didn't retrieve data . /1389642379.Didn't retrieve data . /1389642374.Didn't retrieve data . /1389642372.Didn't retrieve data . /1389642371.Didn't retrieve data . /1389642369.Didn't retrieve data . /1389642363.Didn't retrieve data . /1389642360.Didn't retrieve data . /1389642357.Didn't retrieve data . /1389642355.Didn't retrieve data . /1389642353.Didn't retrieve data . /1389642343.Didn't retrieve data . /1389642326.Didn't retrieve data . /1389642325.Didn't retrieve data . /1389642324.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, '3950312') ('4302', '27843177', '1389642565', None, None, None, None, None, '3950312') ('4302', None, None, None, None, None, None, None, '3950312') ('4302', '27843177', '1389642563', None, None, None, None, None, '3950312') ('4302', None, None, None, None, None, None, None, '3950312') ('4302', '27843177', '1389642561', None, None, None, None, None, '3950312') ('4302', None, None, None, None, None, None, None, '3950312') ('4302', '27843177', '1389642560', None, None, None, None, None, '3950312') ('4302', None, None, None, None, None, None, None, '3950312') ('4302', '27843177', '1389642559', None, None, None, None, None, '3950312') ('4302', None, None, None, None, None, None, None, '3950312') ('4302', '27843177', '1389642556', None, None, None, None, None, '3950312') ('4302', None, None, None, None, None, None, None, '3950312') ('4302', '27843177', '1389642515', None, None, None, None, None, '3950312') ('4302', None, None, None, None, None, None, None, '3950312') ('4302', '27843177', '1389642513', None, None, None, None, None, '3950312') ('4302', None, None, None, None, None, None, None, '3950312') ('4302', '27843177', '1389642511', None, None, None, None, None, '3950312') ('4302', None, None, None, None, None, None, None, '3950312') ('4302', '27843177', '1389642510', None, None, None, None, None, '3950312') ('4302', None, None, None, None, None, None, None, '3950312') ('4302', '27843177', '1389642507', None, None, None, None, None, '3950312') ('4302', None, None, None, None, None, None, None, '3950312') ('4302', '27843177', '1389642498', None, None, None, None, None, '3950312') ('4302', None, None, None, None, None, None, None, '3950312') ('4302', '27843177', '1389642495', None, None, None, None, None, '3950312') ('4302', None, None, None, None, None, None, None, '3950312') ('4302', '27843177', '1389642493', None, None, None, None, None, '3950312') ('4302', None, None, None, None, None, None, None, '3950312') ('4302', '27843177', '1389642492', None, None, None, None, None, '3950312') ('4302', None, None, None, None, None, None, None, '3950312') ('4302', '27843177', '1389642491', None, None, None, None, None, '3950312') ('4302', None, None, None, None, None, None, None, '3950312') ('4302', '27843177', '1389642474', None, None, None, None, None, '3950312') ('4302', None, None, None, None, None, None, None, '3950312') ('4302', '27843177', '1389642471', None, None, None, None, None, '3950312') ('4302', None, None, None, None, None, None, None, '3950312') ('4302', '27843177', '1389642467', None, None, None, None, None, '3950312') ('4302', None, None, None, None, None, None, None, '3950312') ('4302', '27843177', '1389642464', None, None, None, None, None, '3950312') ('4302', None, None, None, None, None, None, None, '3950312') ('4302', '27843177', '1389642462', None, None, None, None, None, '3950312') ('4302', None, None, None, None, None, None, None, '3950312') ('4302', '27843177', '1389642399', None, None, None, None, None, '3950312') ('4302', None, None, None, None, None, None, None, '3950312') ('4302', '27843177', '1389642397', None, None, None, None, None, '3950312') ('4302', None, None, None, None, None, None, None, '3950312') ('4302', '27843177', '1389642390', None, None, None, None, None, '3950312') ('4302', None, None, None, None, None, None, None, '3950312') ('4302', '27843177', '1389642384', None, None, None, None, None, '3950312') ('4302', None, None, None, None, None, None, None, '3950312') ('4302', '27843177', '1389642379', None, None, None, None, None, '3950312') ('4302', None, None, None, None, None, None, None, '3950312') ('4302', '27843177', '1389642374', None, None, None, None, None, '3950312') ('4302', None, None, None, None, None, None, None, '3950312') ('4302', '27843177', '1389642372', None, None, None, None, None, '3950312') ('4302', None, None, None, None, None, None, None, '3950312') ('4302', '27843177', '1389642371', None, None, None, None, None, '3950312') ('4302', None, None, None, None, None, None, None, '3950312') ('4302', '27843177', '1389642369', None, None, None, None, None, '3950312') ('4302', None, None, None, None, None, None, None, '3950312') ('4302', '27843177', '1389642363', None, None, None, None, None, '3950312') ('4302', None, None, None, None, None, None, None, '3950312') ('4302', '27843177', '1389642360', None, None, None, None, None, '3950312') ('4302', None, None, None, None, None, None, None, '3950312') ('4302', '27843177', '1389642357', None, None, None, None, None, '3950312') ('4302', None, None, None, None, None, None, None, '3950312') ('4302', '27843177', '1389642355', None, None, None, None, None, '3950312') ('4302', None, None, None, None, None, None, None, '3950312') ('4302', '27843177', '1389642353', None, None, None, None, None, '3950312') ('4302', None, None, None, None, None, None, None, '3950312') ('4302', '27843177', '1389642343', None, None, None, None, None, '3950312') ('4302', None, None, None, None, None, None, None, '3950312') ('4302', '27843177', '1389642326', None, None, None, None, None, '3950312') ('4302', None, None, None, None, None, None, None, '3950312') ('4302', '27843177', '1389642325', None, None, None, None, None, '3950312') ('4302', None, None, None, None, None, None, None, '3950312') ('4302', '27843177', '1389642324', None, None, None, None, None, '3950312') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 117 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', '27843177', '1389642565', '0.06652646405080903', None, None, None, None, '3950312'), ('4302', '27843177', '1389642563', '0.06652646405080903', None, None, None, None, '3950312'), ('4302', '27843177', '1389642561', '0.06652646405080903', None, None, None, None, '3950312'), ('4302', '27843177', '1389642560', '0.06652646405080903', None, None, None, None, '3950312'), ('4302', '27843177', '1389642559', '0.06652646405080903', None, None, None, None, '3950312'), ('4302', '27843177', '1389642556', '0.06652646405080903', None, None, None, None, '3950312'), ('4302', '27843177', '1389642515', '0.06652646405080903', None, None, None, None, '3950312'), ('4302', '27843177', '1389642513', '0.06652646405080903', None, None, None, None, '3950312'), ('4302', '27843177', '1389642511', '0.06652646405080903', None, None, None, None, '3950312'), ('4302', '27843177', '1389642510', '0.06652646405080903', None, None, None, None, '3950312'), ('4302', '27843177', '1389642507', '0.06652646405080903', None, None, None, None, '3950312'), ('4302', '27843177', '1389642498', '0.06652646405080903', None, None, None, None, '3950312'), ('4302', '27843177', '1389642495', '0.06652646405080903', None, None, None, None, '3950312'), ('4302', '27843177', '1389642493', '0.06652646405080903', None, None, None, None, '3950312'), ('4302', '27843177', '1389642492', '0.06652646405080903', None, None, None, None, '3950312'), ('4302', '27843177', '1389642491', '0.06652646405080903', None, None, None, None, '3950312'), ('4302', '27843177', '1389642474', '0.06652646405080903', None, None, None, None, '3950312'), ('4302', '27843177', '1389642471', '0.06652646405080903', None, None, None, None, '3950312'), ('4302', '27843177', '1389642467', '0.06652646405080903', None, None, None, None, '3950312'), ('4302', '27843177', '1389642464', '0.06652646405080903', None, None, None, None, '3950312'), ('4302', '27843177', '1389642462', '0.06652646405080903', None, None, None, None, '3950312'), ('4302', '27843177', '1389642399', '0.06652646405080903', None, None, None, None, '3950312'), ('4302', '27843177', '1389642397', '0.06652646405080903', None, None, None, None, '3950312'), ('4302', '27843177', '1389642390', '0.06652646405080903', None, None, None, None, '3950312'), ('4302', '27843177', '1389642384', '0.06652646405080903', None, None, None, None, '3950312'), ('4302', '27843177', '1389642379', '0.06652646405080903', None, None, None, None, '3950312'), ('4302', '27843177', '1389642374', '0.06652646405080903', None, None, None, None, '3950312'), ('4302', '27843177', '1389642372', '0.06652646405080903', None, None, None, None, '3950312'), ('4302', '27843177', '1389642371', '0.06652646405080903', None, None, None, None, '3950312'), ('4302', '27843177', '1389642369', '0.06652646405080903', None, None, None, None, '3950312'), ('4302', '27843177', '1389642363', '0.06652646405080903', None, None, None, None, '3950312'), ('4302', '27843177', '1389642360', '0.06652646405080903', None, None, None, None, '3950312'), ('4302', '27843177', '1389642357', '0.06652646405080903', None, None, None, None, '3950312'), ('4302', '27843177', '1389642355', '0.06652646405080903', None, None, None, None, '3950312'), ('4302', '27843177', '1389642353', '0.06652646405080903', None, None, None, None, '3950312'), ('4302', '27843177', '1389642343', '0.06652646405080903', None, None, None, None, '3950312'), ('4302', '27843177', '1389642326', '0.06652646405080903', None, None, None, None, '3950312'), ('4302', '27843177', '1389642325', '0.06652646405080903', None, None, None, None, '3950312'), ('4302', '27843177', '1389642324', '0.06652646405080903', None, None, None, None, '3950312')] time used for this insertion : 0.04126453399658203 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.24535298347473145 time spend to save output : 0.04282021522521973 total time spend for step 2 : 0.28817319869995117 step3:velours_tree Thu Oct 16 05:52:35 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 : {27843177: [{'Carton_brun': 27843179, 'autre_refus': 27843180, 'kraft': 27843181, 'environnement': 27843182, 'Teint_Dans_La_Masse': 27843183, 'cartonnette': 27843184, 'papier': 27843185, 'plastique': 27843186, 'flou': 27843187, 'metal': 27843188, 'mal_croppe': 27843189, 'Carton_gris': 27843190}]} input_args_next_step : {27843177: ()} output_args : {27843177: [{'Carton_brun': 27843179, 'autre_refus': 27843180, 'kraft': 27843181, 'environnement': 27843182, 'Teint_Dans_La_Masse': 27843183, 'cartonnette': 27843184, 'papier': 27843185, 'plastique': 27843186, 'flou': 27843187, 'metal': 27843188, 'mal_croppe': 27843189, 'Carton_gris': 27843190}]} args : 27843177 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 : ({'Carton_brun': 27843179, 'autre_refus': 27843180, 'kraft': 27843181, 'environnement': 27843182, 'Teint_Dans_La_Masse': 27843183, 'cartonnette': 27843184, 'papier': 27843185, 'plastique': 27843186, 'flou': 27843187, 'metal': 27843188, 'mal_croppe': 27843189, 'Carton_gris': 27843190},) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (27843177) 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([27843177]) 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.30373191833496094 time spend to save output : 4.172325134277344e-05 total time spend for step 3 : 0.3037736415863037 step4:send_mail_cod Thu Oct 16 05:52:35 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 : {1389642565: ('0.06652646405080903',), 1389642563: ('0.06652646405080903',), 1389642561: ('0.06652646405080903',), 1389642560: ('0.06652646405080903',), 1389642559: ('0.06652646405080903',), 1389642556: ('0.06652646405080903',), 1389642515: ('0.06652646405080903',), 1389642513: ('0.06652646405080903',), 1389642511: ('0.06652646405080903',), 1389642510: ('0.06652646405080903',), 1389642507: ('0.06652646405080903',), 1389642498: ('0.06652646405080903',), 1389642495: ('0.06652646405080903',), 1389642493: ('0.06652646405080903',), 1389642492: ('0.06652646405080903',), 1389642491: ('0.06652646405080903',), 1389642474: ('0.06652646405080903',), 1389642471: ('0.06652646405080903',), 1389642467: ('0.06652646405080903',), 1389642464: ('0.06652646405080903',), 1389642462: ('0.06652646405080903',), 1389642399: ('0.06652646405080903',), 1389642397: ('0.06652646405080903',), 1389642390: ('0.06652646405080903',), 1389642384: ('0.06652646405080903',), 1389642379: ('0.06652646405080903',), 1389642374: ('0.06652646405080903',), 1389642372: ('0.06652646405080903',), 1389642371: ('0.06652646405080903',), 1389642369: ('0.06652646405080903',), 1389642363: ('0.06652646405080903',), 1389642360: ('0.06652646405080903',), 1389642357: ('0.06652646405080903',), 1389642355: ('0.06652646405080903',), 1389642353: ('0.06652646405080903',), 1389642343: ('0.06652646405080903',), 1389642326: ('0.06652646405080903',), 1389642325: ('0.06652646405080903',), 1389642324: ('0.06652646405080903',)} input_args_next_step : {1389642565: ()} output_args : {1389642565: ('0.06652646405080903',), 1389642563: ('0.06652646405080903',), 1389642561: ('0.06652646405080903',), 1389642560: ('0.06652646405080903',), 1389642559: ('0.06652646405080903',), 1389642556: ('0.06652646405080903',), 1389642515: ('0.06652646405080903',), 1389642513: ('0.06652646405080903',), 1389642511: ('0.06652646405080903',), 1389642510: ('0.06652646405080903',), 1389642507: ('0.06652646405080903',), 1389642498: ('0.06652646405080903',), 1389642495: ('0.06652646405080903',), 1389642493: ('0.06652646405080903',), 1389642492: ('0.06652646405080903',), 1389642491: ('0.06652646405080903',), 1389642474: ('0.06652646405080903',), 1389642471: ('0.06652646405080903',), 1389642467: ('0.06652646405080903',), 1389642464: ('0.06652646405080903',), 1389642462: ('0.06652646405080903',), 1389642399: ('0.06652646405080903',), 1389642397: ('0.06652646405080903',), 1389642390: ('0.06652646405080903',), 1389642384: ('0.06652646405080903',), 1389642379: ('0.06652646405080903',), 1389642374: ('0.06652646405080903',), 1389642372: ('0.06652646405080903',), 1389642371: ('0.06652646405080903',), 1389642369: ('0.06652646405080903',), 1389642363: ('0.06652646405080903',), 1389642360: ('0.06652646405080903',), 1389642357: ('0.06652646405080903',), 1389642355: ('0.06652646405080903',), 1389642353: ('0.06652646405080903',), 1389642343: ('0.06652646405080903',), 1389642326: ('0.06652646405080903',), 1389642325: ('0.06652646405080903',), 1389642324: ('0.06652646405080903',)} args : 1389642565 depend.output_id : 0 input_args_next_step : {1389642565: ('0.06652646405080903',), 1389642563: ()} output_args : {1389642565: ('0.06652646405080903',), 1389642563: ('0.06652646405080903',), 1389642561: ('0.06652646405080903',), 1389642560: ('0.06652646405080903',), 1389642559: ('0.06652646405080903',), 1389642556: ('0.06652646405080903',), 1389642515: ('0.06652646405080903',), 1389642513: ('0.06652646405080903',), 1389642511: ('0.06652646405080903',), 1389642510: ('0.06652646405080903',), 1389642507: ('0.06652646405080903',), 1389642498: ('0.06652646405080903',), 1389642495: ('0.06652646405080903',), 1389642493: ('0.06652646405080903',), 1389642492: ('0.06652646405080903',), 1389642491: ('0.06652646405080903',), 1389642474: ('0.06652646405080903',), 1389642471: ('0.06652646405080903',), 1389642467: ('0.06652646405080903',), 1389642464: ('0.06652646405080903',), 1389642462: ('0.06652646405080903',), 1389642399: ('0.06652646405080903',), 1389642397: ('0.06652646405080903',), 1389642390: ('0.06652646405080903',), 1389642384: ('0.06652646405080903',), 1389642379: ('0.06652646405080903',), 1389642374: ('0.06652646405080903',), 1389642372: ('0.06652646405080903',), 1389642371: ('0.06652646405080903',), 1389642369: ('0.06652646405080903',), 1389642363: ('0.06652646405080903',), 1389642360: ('0.06652646405080903',), 1389642357: ('0.06652646405080903',), 1389642355: ('0.06652646405080903',), 1389642353: ('0.06652646405080903',), 1389642343: ('0.06652646405080903',), 1389642326: ('0.06652646405080903',), 1389642325: ('0.06652646405080903',), 1389642324: ('0.06652646405080903',)} args : 1389642563 depend.output_id : 0 input_args_next_step : {1389642565: ('0.06652646405080903',), 1389642563: ('0.06652646405080903',), 1389642561: ()} output_args : {1389642565: ('0.06652646405080903',), 1389642563: ('0.06652646405080903',), 1389642561: ('0.06652646405080903',), 1389642560: ('0.06652646405080903',), 1389642559: ('0.06652646405080903',), 1389642556: ('0.06652646405080903',), 1389642515: ('0.06652646405080903',), 1389642513: ('0.06652646405080903',), 1389642511: ('0.06652646405080903',), 1389642510: ('0.06652646405080903',), 1389642507: ('0.06652646405080903',), 1389642498: ('0.06652646405080903',), 1389642495: ('0.06652646405080903',), 1389642493: ('0.06652646405080903',), 1389642492: ('0.06652646405080903',), 1389642491: ('0.06652646405080903',), 1389642474: ('0.06652646405080903',), 1389642471: ('0.06652646405080903',), 1389642467: ('0.06652646405080903',), 1389642464: ('0.06652646405080903',), 1389642462: ('0.06652646405080903',), 1389642399: ('0.06652646405080903',), 1389642397: ('0.06652646405080903',), 1389642390: ('0.06652646405080903',), 1389642384: ('0.06652646405080903',), 1389642379: ('0.06652646405080903',), 1389642374: ('0.06652646405080903',), 1389642372: ('0.06652646405080903',), 1389642371: ('0.06652646405080903',), 1389642369: ('0.06652646405080903',), 1389642363: ('0.06652646405080903',), 1389642360: ('0.06652646405080903',), 1389642357: ('0.06652646405080903',), 1389642355: ('0.06652646405080903',), 1389642353: ('0.06652646405080903',), 1389642343: ('0.06652646405080903',), 1389642326: ('0.06652646405080903',), 1389642325: ('0.06652646405080903',), 1389642324: ('0.06652646405080903',)} args : 1389642561 depend.output_id : 0 input_args_next_step : {1389642565: ('0.06652646405080903',), 1389642563: ('0.06652646405080903',), 1389642561: ('0.06652646405080903',), 1389642560: ()} output_args : {1389642565: ('0.06652646405080903',), 1389642563: ('0.06652646405080903',), 1389642561: ('0.06652646405080903',), 1389642560: ('0.06652646405080903',), 1389642559: ('0.06652646405080903',), 1389642556: ('0.06652646405080903',), 1389642515: ('0.06652646405080903',), 1389642513: ('0.06652646405080903',), 1389642511: ('0.06652646405080903',), 1389642510: ('0.06652646405080903',), 1389642507: ('0.06652646405080903',), 1389642498: ('0.06652646405080903',), 1389642495: ('0.06652646405080903',), 1389642493: ('0.06652646405080903',), 1389642492: ('0.06652646405080903',), 1389642491: ('0.06652646405080903',), 1389642474: ('0.06652646405080903',), 1389642471: ('0.06652646405080903',), 1389642467: ('0.06652646405080903',), 1389642464: ('0.06652646405080903',), 1389642462: ('0.06652646405080903',), 1389642399: ('0.06652646405080903',), 1389642397: ('0.06652646405080903',), 1389642390: ('0.06652646405080903',), 1389642384: ('0.06652646405080903',), 1389642379: ('0.06652646405080903',), 1389642374: ('0.06652646405080903',), 1389642372: ('0.06652646405080903',), 1389642371: ('0.06652646405080903',), 1389642369: ('0.06652646405080903',), 1389642363: ('0.06652646405080903',), 1389642360: ('0.06652646405080903',), 1389642357: ('0.06652646405080903',), 1389642355: ('0.06652646405080903',), 1389642353: ('0.06652646405080903',), 1389642343: ('0.06652646405080903',), 1389642326: ('0.06652646405080903',), 1389642325: ('0.06652646405080903',), 1389642324: ('0.06652646405080903',)} args : 1389642560 depend.output_id : 0 input_args_next_step : {1389642565: ('0.06652646405080903',), 1389642563: ('0.06652646405080903',), 1389642561: ('0.06652646405080903',), 1389642560: ('0.06652646405080903',), 1389642559: ()} output_args : {1389642565: ('0.06652646405080903',), 1389642563: ('0.06652646405080903',), 1389642561: ('0.06652646405080903',), 1389642560: ('0.06652646405080903',), 1389642559: ('0.06652646405080903',), 1389642556: ('0.06652646405080903',), 1389642515: ('0.06652646405080903',), 1389642513: ('0.06652646405080903',), 1389642511: ('0.06652646405080903',), 1389642510: ('0.06652646405080903',), 1389642507: ('0.06652646405080903',), 1389642498: ('0.06652646405080903',), 1389642495: ('0.06652646405080903',), 1389642493: ('0.06652646405080903',), 1389642492: ('0.06652646405080903',), 1389642491: ('0.06652646405080903',), 1389642474: ('0.06652646405080903',), 1389642471: ('0.06652646405080903',), 1389642467: ('0.06652646405080903',), 1389642464: ('0.06652646405080903',), 1389642462: ('0.06652646405080903',), 1389642399: ('0.06652646405080903',), 1389642397: ('0.06652646405080903',), 1389642390: ('0.06652646405080903',), 1389642384: ('0.06652646405080903',), 1389642379: ('0.06652646405080903',), 1389642374: ('0.06652646405080903',), 1389642372: ('0.06652646405080903',), 1389642371: ('0.06652646405080903',), 1389642369: ('0.06652646405080903',), 1389642363: ('0.06652646405080903',), 1389642360: ('0.06652646405080903',), 1389642357: ('0.06652646405080903',), 1389642355: ('0.06652646405080903',), 1389642353: ('0.06652646405080903',), 1389642343: ('0.06652646405080903',), 1389642326: ('0.06652646405080903',), 1389642325: ('0.06652646405080903',), 1389642324: ('0.06652646405080903',)} args : 1389642559 depend.output_id : 0 input_args_next_step : {1389642565: ('0.06652646405080903',), 1389642563: ('0.06652646405080903',), 1389642561: ('0.06652646405080903',), 1389642560: ('0.06652646405080903',), 1389642559: ('0.06652646405080903',), 1389642556: ()} output_args : {1389642565: ('0.06652646405080903',), 1389642563: ('0.06652646405080903',), 1389642561: ('0.06652646405080903',), 1389642560: ('0.06652646405080903',), 1389642559: ('0.06652646405080903',), 1389642556: ('0.06652646405080903',), 1389642515: ('0.06652646405080903',), 1389642513: ('0.06652646405080903',), 1389642511: ('0.06652646405080903',), 1389642510: ('0.06652646405080903',), 1389642507: ('0.06652646405080903',), 1389642498: ('0.06652646405080903',), 1389642495: ('0.06652646405080903',), 1389642493: ('0.06652646405080903',), 1389642492: ('0.06652646405080903',), 1389642491: ('0.06652646405080903',), 1389642474: ('0.06652646405080903',), 1389642471: ('0.06652646405080903',), 1389642467: ('0.06652646405080903',), 1389642464: ('0.06652646405080903',), 1389642462: ('0.06652646405080903',), 1389642399: ('0.06652646405080903',), 1389642397: ('0.06652646405080903',), 1389642390: ('0.06652646405080903',), 1389642384: ('0.06652646405080903',), 1389642379: ('0.06652646405080903',), 1389642374: ('0.06652646405080903',), 1389642372: ('0.06652646405080903',), 1389642371: ('0.06652646405080903',), 1389642369: ('0.06652646405080903',), 1389642363: ('0.06652646405080903',), 1389642360: ('0.06652646405080903',), 1389642357: ('0.06652646405080903',), 1389642355: ('0.06652646405080903',), 1389642353: ('0.06652646405080903',), 1389642343: ('0.06652646405080903',), 1389642326: ('0.06652646405080903',), 1389642325: ('0.06652646405080903',), 1389642324: ('0.06652646405080903',)} args : 1389642556 depend.output_id : 0 input_args_next_step : {1389642565: ('0.06652646405080903',), 1389642563: ('0.06652646405080903',), 1389642561: ('0.06652646405080903',), 1389642560: ('0.06652646405080903',), 1389642559: ('0.06652646405080903',), 1389642556: ('0.06652646405080903',), 1389642515: ()} output_args : {1389642565: ('0.06652646405080903',), 1389642563: ('0.06652646405080903',), 1389642561: ('0.06652646405080903',), 1389642560: ('0.06652646405080903',), 1389642559: ('0.06652646405080903',), 1389642556: ('0.06652646405080903',), 1389642515: ('0.06652646405080903',), 1389642513: ('0.06652646405080903',), 1389642511: ('0.06652646405080903',), 1389642510: ('0.06652646405080903',), 1389642507: ('0.06652646405080903',), 1389642498: ('0.06652646405080903',), 1389642495: ('0.06652646405080903',), 1389642493: ('0.06652646405080903',), 1389642492: ('0.06652646405080903',), 1389642491: ('0.06652646405080903',), 1389642474: ('0.06652646405080903',), 1389642471: ('0.06652646405080903',), 1389642467: ('0.06652646405080903',), 1389642464: ('0.06652646405080903',), 1389642462: ('0.06652646405080903',), 1389642399: ('0.06652646405080903',), 1389642397: ('0.06652646405080903',), 1389642390: ('0.06652646405080903',), 1389642384: ('0.06652646405080903',), 1389642379: ('0.06652646405080903',), 1389642374: ('0.06652646405080903',), 1389642372: ('0.06652646405080903',), 1389642371: ('0.06652646405080903',), 1389642369: ('0.06652646405080903',), 1389642363: ('0.06652646405080903',), 1389642360: ('0.06652646405080903',), 1389642357: ('0.06652646405080903',), 1389642355: ('0.06652646405080903',), 1389642353: ('0.06652646405080903',), 1389642343: ('0.06652646405080903',), 1389642326: ('0.06652646405080903',), 1389642325: ('0.06652646405080903',), 1389642324: ('0.06652646405080903',)} args : 1389642515 depend.output_id : 0 input_args_next_step : {1389642565: ('0.06652646405080903',), 1389642563: ('0.06652646405080903',), 1389642561: ('0.06652646405080903',), 1389642560: ('0.06652646405080903',), 1389642559: ('0.06652646405080903',), 1389642556: ('0.06652646405080903',), 1389642515: ('0.06652646405080903',), 1389642513: ()} output_args : {1389642565: ('0.06652646405080903',), 1389642563: ('0.06652646405080903',), 1389642561: ('0.06652646405080903',), 1389642560: ('0.06652646405080903',), 1389642559: ('0.06652646405080903',), 1389642556: ('0.06652646405080903',), 1389642515: ('0.06652646405080903',), 1389642513: ('0.06652646405080903',), 1389642511: ('0.06652646405080903',), 1389642510: ('0.06652646405080903',), 1389642507: ('0.06652646405080903',), 1389642498: ('0.06652646405080903',), 1389642495: ('0.06652646405080903',), 1389642493: ('0.06652646405080903',), 1389642492: ('0.06652646405080903',), 1389642491: ('0.06652646405080903',), 1389642474: ('0.06652646405080903',), 1389642471: ('0.06652646405080903',), 1389642467: ('0.06652646405080903',), 1389642464: ('0.06652646405080903',), 1389642462: ('0.06652646405080903',), 1389642399: ('0.06652646405080903',), 1389642397: ('0.06652646405080903',), 1389642390: ('0.06652646405080903',), 1389642384: ('0.06652646405080903',), 1389642379: ('0.06652646405080903',), 1389642374: ('0.06652646405080903',), 1389642372: ('0.06652646405080903',), 1389642371: ('0.06652646405080903',), 1389642369: ('0.06652646405080903',), 1389642363: ('0.06652646405080903',), 1389642360: ('0.06652646405080903',), 1389642357: ('0.06652646405080903',), 1389642355: ('0.06652646405080903',), 1389642353: ('0.06652646405080903',), 1389642343: ('0.06652646405080903',), 1389642326: ('0.06652646405080903',), 1389642325: ('0.06652646405080903',), 1389642324: ('0.06652646405080903',)} args : 1389642513 depend.output_id : 0 input_args_next_step : {1389642565: ('0.06652646405080903',), 1389642563: ('0.06652646405080903',), 1389642561: ('0.06652646405080903',), 1389642560: ('0.06652646405080903',), 1389642559: ('0.06652646405080903',), 1389642556: ('0.06652646405080903',), 1389642515: ('0.06652646405080903',), 1389642513: ('0.06652646405080903',), 1389642511: ()} output_args : {1389642565: ('0.06652646405080903',), 1389642563: ('0.06652646405080903',), 1389642561: ('0.06652646405080903',), 1389642560: ('0.06652646405080903',), 1389642559: ('0.06652646405080903',), 1389642556: ('0.06652646405080903',), 1389642515: ('0.06652646405080903',), 1389642513: ('0.06652646405080903',), 1389642511: ('0.06652646405080903',), 1389642510: ('0.06652646405080903',), 1389642507: ('0.06652646405080903',), 1389642498: ('0.06652646405080903',), 1389642495: ('0.06652646405080903',), 1389642493: ('0.06652646405080903',), 1389642492: ('0.06652646405080903',), 1389642491: ('0.06652646405080903',), 1389642474: ('0.06652646405080903',), 1389642471: ('0.06652646405080903',), 1389642467: ('0.06652646405080903',), 1389642464: ('0.06652646405080903',), 1389642462: ('0.06652646405080903',), 1389642399: ('0.06652646405080903',), 1389642397: ('0.06652646405080903',), 1389642390: ('0.06652646405080903',), 1389642384: ('0.06652646405080903',), 1389642379: ('0.06652646405080903',), 1389642374: ('0.06652646405080903',), 1389642372: ('0.06652646405080903',), 1389642371: ('0.06652646405080903',), 1389642369: ('0.06652646405080903',), 1389642363: ('0.06652646405080903',), 1389642360: ('0.06652646405080903',), 1389642357: ('0.06652646405080903',), 1389642355: ('0.06652646405080903',), 1389642353: ('0.06652646405080903',), 1389642343: ('0.06652646405080903',), 1389642326: ('0.06652646405080903',), 1389642325: ('0.06652646405080903',), 1389642324: ('0.06652646405080903',)} args : 1389642511 depend.output_id : 0 input_args_next_step : {1389642565: ('0.06652646405080903',), 1389642563: ('0.06652646405080903',), 1389642561: ('0.06652646405080903',), 1389642560: ('0.06652646405080903',), 1389642559: ('0.06652646405080903',), 1389642556: ('0.06652646405080903',), 1389642515: ('0.06652646405080903',), 1389642513: ('0.06652646405080903',), 1389642511: ('0.06652646405080903',), 1389642510: ()} output_args : {1389642565: ('0.06652646405080903',), 1389642563: ('0.06652646405080903',), 1389642561: ('0.06652646405080903',), 1389642560: ('0.06652646405080903',), 1389642559: ('0.06652646405080903',), 1389642556: ('0.06652646405080903',), 1389642515: ('0.06652646405080903',), 1389642513: ('0.06652646405080903',), 1389642511: ('0.06652646405080903',), 1389642510: ('0.06652646405080903',), 1389642507: ('0.06652646405080903',), 1389642498: ('0.06652646405080903',), 1389642495: ('0.06652646405080903',), 1389642493: ('0.06652646405080903',), 1389642492: ('0.06652646405080903',), 1389642491: ('0.06652646405080903',), 1389642474: ('0.06652646405080903',), 1389642471: ('0.06652646405080903',), 1389642467: ('0.06652646405080903',), 1389642464: ('0.06652646405080903',), 1389642462: ('0.06652646405080903',), 1389642399: ('0.06652646405080903',), 1389642397: ('0.06652646405080903',), 1389642390: ('0.06652646405080903',), 1389642384: ('0.06652646405080903',), 1389642379: ('0.06652646405080903',), 1389642374: ('0.06652646405080903',), 1389642372: ('0.06652646405080903',), 1389642371: ('0.06652646405080903',), 1389642369: ('0.06652646405080903',), 1389642363: ('0.06652646405080903',), 1389642360: ('0.06652646405080903',), 1389642357: ('0.06652646405080903',), 1389642355: ('0.06652646405080903',), 1389642353: ('0.06652646405080903',), 1389642343: ('0.06652646405080903',), 1389642326: ('0.06652646405080903',), 1389642325: ('0.06652646405080903',), 1389642324: ('0.06652646405080903',)} args : 1389642510 depend.output_id : 0 input_args_next_step : {1389642565: ('0.06652646405080903',), 1389642563: ('0.06652646405080903',), 1389642561: ('0.06652646405080903',), 1389642560: ('0.06652646405080903',), 1389642559: ('0.06652646405080903',), 1389642556: ('0.06652646405080903',), 1389642515: ('0.06652646405080903',), 1389642513: ('0.06652646405080903',), 1389642511: ('0.06652646405080903',), 1389642510: ('0.06652646405080903',), 1389642507: ()} output_args : {1389642565: ('0.06652646405080903',), 1389642563: ('0.06652646405080903',), 1389642561: ('0.06652646405080903',), 1389642560: ('0.06652646405080903',), 1389642559: ('0.06652646405080903',), 1389642556: ('0.06652646405080903',), 1389642515: ('0.06652646405080903',), 1389642513: ('0.06652646405080903',), 1389642511: ('0.06652646405080903',), 1389642510: ('0.06652646405080903',), 1389642507: ('0.06652646405080903',), 1389642498: ('0.06652646405080903',), 1389642495: ('0.06652646405080903',), 1389642493: ('0.06652646405080903',), 1389642492: ('0.06652646405080903',), 1389642491: ('0.06652646405080903',), 1389642474: ('0.06652646405080903',), 1389642471: ('0.06652646405080903',), 1389642467: ('0.06652646405080903',), 1389642464: ('0.06652646405080903',), 1389642462: ('0.06652646405080903',), 1389642399: ('0.06652646405080903',), 1389642397: ('0.06652646405080903',), 1389642390: ('0.06652646405080903',), 1389642384: ('0.06652646405080903',), 1389642379: ('0.06652646405080903',), 1389642374: ('0.06652646405080903',), 1389642372: ('0.06652646405080903',), 1389642371: ('0.06652646405080903',), 1389642369: ('0.06652646405080903',), 1389642363: ('0.06652646405080903',), 1389642360: ('0.06652646405080903',), 1389642357: ('0.06652646405080903',), 1389642355: ('0.06652646405080903',), 1389642353: ('0.06652646405080903',), 1389642343: ('0.06652646405080903',), 1389642326: ('0.06652646405080903',), 1389642325: ('0.06652646405080903',), 1389642324: ('0.06652646405080903',)} args : 1389642507 depend.output_id : 0 input_args_next_step : {1389642565: ('0.06652646405080903',), 1389642563: ('0.06652646405080903',), 1389642561: ('0.06652646405080903',), 1389642560: ('0.06652646405080903',), 1389642559: ('0.06652646405080903',), 1389642556: ('0.06652646405080903',), 1389642515: ('0.06652646405080903',), 1389642513: ('0.06652646405080903',), 1389642511: ('0.06652646405080903',), 1389642510: ('0.06652646405080903',), 1389642507: ('0.06652646405080903',), 1389642498: ()} output_args : {1389642565: ('0.06652646405080903',), 1389642563: ('0.06652646405080903',), 1389642561: ('0.06652646405080903',), 1389642560: ('0.06652646405080903',), 1389642559: ('0.06652646405080903',), 1389642556: ('0.06652646405080903',), 1389642515: ('0.06652646405080903',), 1389642513: ('0.06652646405080903',), 1389642511: ('0.06652646405080903',), 1389642510: ('0.06652646405080903',), 1389642507: ('0.06652646405080903',), 1389642498: ('0.06652646405080903',), 1389642495: ('0.06652646405080903',), 1389642493: ('0.06652646405080903',), 1389642492: ('0.06652646405080903',), 1389642491: ('0.06652646405080903',), 1389642474: ('0.06652646405080903',), 1389642471: ('0.06652646405080903',), 1389642467: ('0.06652646405080903',), 1389642464: ('0.06652646405080903',), 1389642462: ('0.06652646405080903',), 1389642399: ('0.06652646405080903',), 1389642397: ('0.06652646405080903',), 1389642390: ('0.06652646405080903',), 1389642384: ('0.06652646405080903',), 1389642379: ('0.06652646405080903',), 1389642374: ('0.06652646405080903',), 1389642372: ('0.06652646405080903',), 1389642371: ('0.06652646405080903',), 1389642369: ('0.06652646405080903',), 1389642363: ('0.06652646405080903',), 1389642360: ('0.06652646405080903',), 1389642357: ('0.06652646405080903',), 1389642355: ('0.06652646405080903',), 1389642353: ('0.06652646405080903',), 1389642343: ('0.06652646405080903',), 1389642326: ('0.06652646405080903',), 1389642325: ('0.06652646405080903',), 1389642324: ('0.06652646405080903',)} args : 1389642498 depend.output_id : 0 input_args_next_step : {1389642565: ('0.06652646405080903',), 1389642563: ('0.06652646405080903',), 1389642561: ('0.06652646405080903',), 1389642560: ('0.06652646405080903',), 1389642559: ('0.06652646405080903',), 1389642556: ('0.06652646405080903',), 1389642515: ('0.06652646405080903',), 1389642513: ('0.06652646405080903',), 1389642511: ('0.06652646405080903',), 1389642510: ('0.06652646405080903',), 1389642507: ('0.06652646405080903',), 1389642498: ('0.06652646405080903',), 1389642495: ()} output_args : {1389642565: ('0.06652646405080903',), 1389642563: ('0.06652646405080903',), 1389642561: ('0.06652646405080903',), 1389642560: ('0.06652646405080903',), 1389642559: ('0.06652646405080903',), 1389642556: ('0.06652646405080903',), 1389642515: ('0.06652646405080903',), 1389642513: ('0.06652646405080903',), 1389642511: ('0.06652646405080903',), 1389642510: ('0.06652646405080903',), 1389642507: ('0.06652646405080903',), 1389642498: ('0.06652646405080903',), 1389642495: ('0.06652646405080903',), 1389642493: ('0.06652646405080903',), 1389642492: ('0.06652646405080903',), 1389642491: ('0.06652646405080903',), 1389642474: ('0.06652646405080903',), 1389642471: ('0.06652646405080903',), 1389642467: ('0.06652646405080903',), 1389642464: ('0.06652646405080903',), 1389642462: ('0.06652646405080903',), 1389642399: ('0.06652646405080903',), 1389642397: ('0.06652646405080903',), 1389642390: ('0.06652646405080903',), 1389642384: ('0.06652646405080903',), 1389642379: ('0.06652646405080903',), 1389642374: ('0.06652646405080903',), 1389642372: ('0.06652646405080903',), 1389642371: ('0.06652646405080903',), 1389642369: ('0.06652646405080903',), 1389642363: ('0.06652646405080903',), 1389642360: ('0.06652646405080903',), 1389642357: ('0.06652646405080903',), 1389642355: ('0.06652646405080903',), 1389642353: ('0.06652646405080903',), 1389642343: ('0.06652646405080903',), 1389642326: ('0.06652646405080903',), 1389642325: ('0.06652646405080903',), 1389642324: ('0.06652646405080903',)} args : 1389642495 depend.output_id : 0 input_args_next_step : {1389642565: ('0.06652646405080903',), 1389642563: ('0.06652646405080903',), 1389642561: ('0.06652646405080903',), 1389642560: ('0.06652646405080903',), 1389642559: ('0.06652646405080903',), 1389642556: ('0.06652646405080903',), 1389642515: ('0.06652646405080903',), 1389642513: ('0.06652646405080903',), 1389642511: ('0.06652646405080903',), 1389642510: ('0.06652646405080903',), 1389642507: ('0.06652646405080903',), 1389642498: ('0.06652646405080903',), 1389642495: ('0.06652646405080903',), 1389642493: ()} output_args : {1389642565: ('0.06652646405080903',), 1389642563: ('0.06652646405080903',), 1389642561: ('0.06652646405080903',), 1389642560: ('0.06652646405080903',), 1389642559: ('0.06652646405080903',), 1389642556: ('0.06652646405080903',), 1389642515: ('0.06652646405080903',), 1389642513: ('0.06652646405080903',), 1389642511: ('0.06652646405080903',), 1389642510: ('0.06652646405080903',), 1389642507: ('0.06652646405080903',), 1389642498: ('0.06652646405080903',), 1389642495: ('0.06652646405080903',), 1389642493: ('0.06652646405080903',), 1389642492: ('0.06652646405080903',), 1389642491: ('0.06652646405080903',), 1389642474: ('0.06652646405080903',), 1389642471: ('0.06652646405080903',), 1389642467: ('0.06652646405080903',), 1389642464: ('0.06652646405080903',), 1389642462: ('0.06652646405080903',), 1389642399: ('0.06652646405080903',), 1389642397: ('0.06652646405080903',), 1389642390: ('0.06652646405080903',), 1389642384: ('0.06652646405080903',), 1389642379: ('0.06652646405080903',), 1389642374: ('0.06652646405080903',), 1389642372: ('0.06652646405080903',), 1389642371: ('0.06652646405080903',), 1389642369: ('0.06652646405080903',), 1389642363: ('0.06652646405080903',), 1389642360: ('0.06652646405080903',), 1389642357: ('0.06652646405080903',), 1389642355: ('0.06652646405080903',), 1389642353: ('0.06652646405080903',), 1389642343: ('0.06652646405080903',), 1389642326: ('0.06652646405080903',), 1389642325: ('0.06652646405080903',), 1389642324: ('0.06652646405080903',)} args : 1389642493 depend.output_id : 0 input_args_next_step : {1389642565: ('0.06652646405080903',), 1389642563: ('0.06652646405080903',), 1389642561: ('0.06652646405080903',), 1389642560: ('0.06652646405080903',), 1389642559: ('0.06652646405080903',), 1389642556: ('0.06652646405080903',), 1389642515: ('0.06652646405080903',), 1389642513: ('0.06652646405080903',), 1389642511: ('0.06652646405080903',), 1389642510: ('0.06652646405080903',), 1389642507: ('0.06652646405080903',), 1389642498: ('0.06652646405080903',), 1389642495: ('0.06652646405080903',), 1389642493: ('0.06652646405080903',), 1389642492: ()} output_args : {1389642565: ('0.06652646405080903',), 1389642563: ('0.06652646405080903',), 1389642561: ('0.06652646405080903',), 1389642560: ('0.06652646405080903',), 1389642559: ('0.06652646405080903',), 1389642556: ('0.06652646405080903',), 1389642515: ('0.06652646405080903',), 1389642513: ('0.06652646405080903',), 1389642511: ('0.06652646405080903',), 1389642510: ('0.06652646405080903',), 1389642507: ('0.06652646405080903',), 1389642498: ('0.06652646405080903',), 1389642495: ('0.06652646405080903',), 1389642493: ('0.06652646405080903',), 1389642492: ('0.06652646405080903',), 1389642491: ('0.06652646405080903',), 1389642474: ('0.06652646405080903',), 1389642471: ('0.06652646405080903',), 1389642467: ('0.06652646405080903',), 1389642464: ('0.06652646405080903',), 1389642462: ('0.06652646405080903',), 1389642399: ('0.06652646405080903',), 1389642397: ('0.06652646405080903',), 1389642390: ('0.06652646405080903',), 1389642384: ('0.06652646405080903',), 1389642379: ('0.06652646405080903',), 1389642374: ('0.06652646405080903',), 1389642372: ('0.06652646405080903',), 1389642371: ('0.06652646405080903',), 1389642369: ('0.06652646405080903',), 1389642363: ('0.06652646405080903',), 1389642360: ('0.06652646405080903',), 1389642357: ('0.06652646405080903',), 1389642355: ('0.06652646405080903',), 1389642353: ('0.06652646405080903',), 1389642343: ('0.06652646405080903',), 1389642326: ('0.06652646405080903',), 1389642325: ('0.06652646405080903',), 1389642324: ('0.06652646405080903',)} args : 1389642492 depend.output_id : 0 input_args_next_step : {1389642565: ('0.06652646405080903',), 1389642563: ('0.06652646405080903',), 1389642561: ('0.06652646405080903',), 1389642560: ('0.06652646405080903',), 1389642559: ('0.06652646405080903',), 1389642556: ('0.06652646405080903',), 1389642515: ('0.06652646405080903',), 1389642513: ('0.06652646405080903',), 1389642511: ('0.06652646405080903',), 1389642510: ('0.06652646405080903',), 1389642507: ('0.06652646405080903',), 1389642498: ('0.06652646405080903',), 1389642495: ('0.06652646405080903',), 1389642493: ('0.06652646405080903',), 1389642492: ('0.06652646405080903',), 1389642491: ()} output_args : {1389642565: ('0.06652646405080903',), 1389642563: ('0.06652646405080903',), 1389642561: ('0.06652646405080903',), 1389642560: ('0.06652646405080903',), 1389642559: ('0.06652646405080903',), 1389642556: ('0.06652646405080903',), 1389642515: ('0.06652646405080903',), 1389642513: ('0.06652646405080903',), 1389642511: ('0.06652646405080903',), 1389642510: ('0.06652646405080903',), 1389642507: ('0.06652646405080903',), 1389642498: ('0.06652646405080903',), 1389642495: ('0.06652646405080903',), 1389642493: ('0.06652646405080903',), 1389642492: ('0.06652646405080903',), 1389642491: ('0.06652646405080903',), 1389642474: ('0.06652646405080903',), 1389642471: ('0.06652646405080903',), 1389642467: ('0.06652646405080903',), 1389642464: ('0.06652646405080903',), 1389642462: ('0.06652646405080903',), 1389642399: ('0.06652646405080903',), 1389642397: ('0.06652646405080903',), 1389642390: ('0.06652646405080903',), 1389642384: ('0.06652646405080903',), 1389642379: ('0.06652646405080903',), 1389642374: ('0.06652646405080903',), 1389642372: ('0.06652646405080903',), 1389642371: ('0.06652646405080903',), 1389642369: ('0.06652646405080903',), 1389642363: ('0.06652646405080903',), 1389642360: ('0.06652646405080903',), 1389642357: ('0.06652646405080903',), 1389642355: ('0.06652646405080903',), 1389642353: ('0.06652646405080903',), 1389642343: ('0.06652646405080903',), 1389642326: ('0.06652646405080903',), 1389642325: ('0.06652646405080903',), 1389642324: ('0.06652646405080903',)} args : 1389642491 depend.output_id : 0 input_args_next_step : {1389642565: ('0.06652646405080903',), 1389642563: ('0.06652646405080903',), 1389642561: ('0.06652646405080903',), 1389642560: ('0.06652646405080903',), 1389642559: ('0.06652646405080903',), 1389642556: ('0.06652646405080903',), 1389642515: ('0.06652646405080903',), 1389642513: ('0.06652646405080903',), 1389642511: ('0.06652646405080903',), 1389642510: ('0.06652646405080903',), 1389642507: ('0.06652646405080903',), 1389642498: ('0.06652646405080903',), 1389642495: ('0.06652646405080903',), 1389642493: ('0.06652646405080903',), 1389642492: ('0.06652646405080903',), 1389642491: ('0.06652646405080903',), 1389642474: ()} output_args : {1389642565: ('0.06652646405080903',), 1389642563: ('0.06652646405080903',), 1389642561: ('0.06652646405080903',), 1389642560: ('0.06652646405080903',), 1389642559: ('0.06652646405080903',), 1389642556: ('0.06652646405080903',), 1389642515: ('0.06652646405080903',), 1389642513: ('0.06652646405080903',), 1389642511: ('0.06652646405080903',), 1389642510: ('0.06652646405080903',), 1389642507: ('0.06652646405080903',), 1389642498: ('0.06652646405080903',), 1389642495: ('0.06652646405080903',), 1389642493: ('0.06652646405080903',), 1389642492: ('0.06652646405080903',), 1389642491: ('0.06652646405080903',), 1389642474: ('0.06652646405080903',), 1389642471: ('0.06652646405080903',), 1389642467: ('0.06652646405080903',), 1389642464: ('0.06652646405080903',), 1389642462: ('0.06652646405080903',), 1389642399: ('0.06652646405080903',), 1389642397: ('0.06652646405080903',), 1389642390: ('0.06652646405080903',), 1389642384: ('0.06652646405080903',), 1389642379: ('0.06652646405080903',), 1389642374: ('0.06652646405080903',), 1389642372: ('0.06652646405080903',), 1389642371: ('0.06652646405080903',), 1389642369: ('0.06652646405080903',), 1389642363: ('0.06652646405080903',), 1389642360: ('0.06652646405080903',), 1389642357: ('0.06652646405080903',), 1389642355: ('0.06652646405080903',), 1389642353: ('0.06652646405080903',), 1389642343: ('0.06652646405080903',), 1389642326: ('0.06652646405080903',), 1389642325: ('0.06652646405080903',), 1389642324: ('0.06652646405080903',)} args : 1389642474 depend.output_id : 0 input_args_next_step : {1389642565: ('0.06652646405080903',), 1389642563: ('0.06652646405080903',), 1389642561: ('0.06652646405080903',), 1389642560: ('0.06652646405080903',), 1389642559: ('0.06652646405080903',), 1389642556: ('0.06652646405080903',), 1389642515: ('0.06652646405080903',), 1389642513: ('0.06652646405080903',), 1389642511: ('0.06652646405080903',), 1389642510: ('0.06652646405080903',), 1389642507: ('0.06652646405080903',), 1389642498: ('0.06652646405080903',), 1389642495: ('0.06652646405080903',), 1389642493: ('0.06652646405080903',), 1389642492: ('0.06652646405080903',), 1389642491: ('0.06652646405080903',), 1389642474: ('0.06652646405080903',), 1389642471: ()} output_args : {1389642565: ('0.06652646405080903',), 1389642563: ('0.06652646405080903',), 1389642561: ('0.06652646405080903',), 1389642560: ('0.06652646405080903',), 1389642559: ('0.06652646405080903',), 1389642556: ('0.06652646405080903',), 1389642515: ('0.06652646405080903',), 1389642513: ('0.06652646405080903',), 1389642511: ('0.06652646405080903',), 1389642510: ('0.06652646405080903',), 1389642507: ('0.06652646405080903',), 1389642498: ('0.06652646405080903',), 1389642495: ('0.06652646405080903',), 1389642493: ('0.06652646405080903',), 1389642492: ('0.06652646405080903',), 1389642491: ('0.06652646405080903',), 1389642474: ('0.06652646405080903',), 1389642471: ('0.06652646405080903',), 1389642467: ('0.06652646405080903',), 1389642464: ('0.06652646405080903',), 1389642462: ('0.06652646405080903',), 1389642399: ('0.06652646405080903',), 1389642397: ('0.06652646405080903',), 1389642390: ('0.06652646405080903',), 1389642384: ('0.06652646405080903',), 1389642379: ('0.06652646405080903',), 1389642374: ('0.06652646405080903',), 1389642372: ('0.06652646405080903',), 1389642371: ('0.06652646405080903',), 1389642369: ('0.06652646405080903',), 1389642363: ('0.06652646405080903',), 1389642360: ('0.06652646405080903',), 1389642357: ('0.06652646405080903',), 1389642355: ('0.06652646405080903',), 1389642353: ('0.06652646405080903',), 1389642343: ('0.06652646405080903',), 1389642326: ('0.06652646405080903',), 1389642325: ('0.06652646405080903',), 1389642324: ('0.06652646405080903',)} args : 1389642471 depend.output_id : 0 input_args_next_step : {1389642565: ('0.06652646405080903',), 1389642563: ('0.06652646405080903',), 1389642561: ('0.06652646405080903',), 1389642560: ('0.06652646405080903',), 1389642559: ('0.06652646405080903',), 1389642556: ('0.06652646405080903',), 1389642515: ('0.06652646405080903',), 1389642513: ('0.06652646405080903',), 1389642511: ('0.06652646405080903',), 1389642510: ('0.06652646405080903',), 1389642507: ('0.06652646405080903',), 1389642498: ('0.06652646405080903',), 1389642495: ('0.06652646405080903',), 1389642493: ('0.06652646405080903',), 1389642492: ('0.06652646405080903',), 1389642491: ('0.06652646405080903',), 1389642474: ('0.06652646405080903',), 1389642471: ('0.06652646405080903',), 1389642467: ()} output_args : {1389642565: ('0.06652646405080903',), 1389642563: ('0.06652646405080903',), 1389642561: ('0.06652646405080903',), 1389642560: ('0.06652646405080903',), 1389642559: ('0.06652646405080903',), 1389642556: ('0.06652646405080903',), 1389642515: ('0.06652646405080903',), 1389642513: ('0.06652646405080903',), 1389642511: ('0.06652646405080903',), 1389642510: ('0.06652646405080903',), 1389642507: ('0.06652646405080903',), 1389642498: ('0.06652646405080903',), 1389642495: ('0.06652646405080903',), 1389642493: ('0.06652646405080903',), 1389642492: ('0.06652646405080903',), 1389642491: ('0.06652646405080903',), 1389642474: ('0.06652646405080903',), 1389642471: ('0.06652646405080903',), 1389642467: ('0.06652646405080903',), 1389642464: ('0.06652646405080903',), 1389642462: ('0.06652646405080903',), 1389642399: ('0.06652646405080903',), 1389642397: ('0.06652646405080903',), 1389642390: ('0.06652646405080903',), 1389642384: ('0.06652646405080903',), 1389642379: ('0.06652646405080903',), 1389642374: ('0.06652646405080903',), 1389642372: ('0.06652646405080903',), 1389642371: ('0.06652646405080903',), 1389642369: ('0.06652646405080903',), 1389642363: ('0.06652646405080903',), 1389642360: ('0.06652646405080903',), 1389642357: ('0.06652646405080903',), 1389642355: ('0.06652646405080903',), 1389642353: ('0.06652646405080903',), 1389642343: ('0.06652646405080903',), 1389642326: ('0.06652646405080903',), 1389642325: ('0.06652646405080903',), 1389642324: ('0.06652646405080903',)} args : 1389642467 depend.output_id : 0 input_args_next_step : {1389642565: ('0.06652646405080903',), 1389642563: ('0.06652646405080903',), 1389642561: ('0.06652646405080903',), 1389642560: ('0.06652646405080903',), 1389642559: ('0.06652646405080903',), 1389642556: ('0.06652646405080903',), 1389642515: ('0.06652646405080903',), 1389642513: ('0.06652646405080903',), 1389642511: ('0.06652646405080903',), 1389642510: ('0.06652646405080903',), 1389642507: ('0.06652646405080903',), 1389642498: ('0.06652646405080903',), 1389642495: ('0.06652646405080903',), 1389642493: ('0.06652646405080903',), 1389642492: ('0.06652646405080903',), 1389642491: ('0.06652646405080903',), 1389642474: ('0.06652646405080903',), 1389642471: ('0.06652646405080903',), 1389642467: ('0.06652646405080903',), 1389642464: ()} output_args : {1389642565: ('0.06652646405080903',), 1389642563: ('0.06652646405080903',), 1389642561: ('0.06652646405080903',), 1389642560: ('0.06652646405080903',), 1389642559: ('0.06652646405080903',), 1389642556: ('0.06652646405080903',), 1389642515: ('0.06652646405080903',), 1389642513: ('0.06652646405080903',), 1389642511: ('0.06652646405080903',), 1389642510: ('0.06652646405080903',), 1389642507: ('0.06652646405080903',), 1389642498: ('0.06652646405080903',), 1389642495: ('0.06652646405080903',), 1389642493: ('0.06652646405080903',), 1389642492: ('0.06652646405080903',), 1389642491: ('0.06652646405080903',), 1389642474: ('0.06652646405080903',), 1389642471: ('0.06652646405080903',), 1389642467: ('0.06652646405080903',), 1389642464: ('0.06652646405080903',), 1389642462: ('0.06652646405080903',), 1389642399: ('0.06652646405080903',), 1389642397: ('0.06652646405080903',), 1389642390: ('0.06652646405080903',), 1389642384: ('0.06652646405080903',), 1389642379: ('0.06652646405080903',), 1389642374: ('0.06652646405080903',), 1389642372: ('0.06652646405080903',), 1389642371: ('0.06652646405080903',), 1389642369: ('0.06652646405080903',), 1389642363: ('0.06652646405080903',), 1389642360: ('0.06652646405080903',), 1389642357: ('0.06652646405080903',), 1389642355: ('0.06652646405080903',), 1389642353: ('0.06652646405080903',), 1389642343: ('0.06652646405080903',), 1389642326: ('0.06652646405080903',), 1389642325: ('0.06652646405080903',), 1389642324: ('0.06652646405080903',)} args : 1389642464 depend.output_id : 0 input_args_next_step : {1389642565: ('0.06652646405080903',), 1389642563: ('0.06652646405080903',), 1389642561: ('0.06652646405080903',), 1389642560: ('0.06652646405080903',), 1389642559: ('0.06652646405080903',), 1389642556: ('0.06652646405080903',), 1389642515: ('0.06652646405080903',), 1389642513: ('0.06652646405080903',), 1389642511: ('0.06652646405080903',), 1389642510: ('0.06652646405080903',), 1389642507: ('0.06652646405080903',), 1389642498: ('0.06652646405080903',), 1389642495: ('0.06652646405080903',), 1389642493: ('0.06652646405080903',), 1389642492: ('0.06652646405080903',), 1389642491: ('0.06652646405080903',), 1389642474: ('0.06652646405080903',), 1389642471: ('0.06652646405080903',), 1389642467: ('0.06652646405080903',), 1389642464: ('0.06652646405080903',), 1389642462: ()} output_args : {1389642565: ('0.06652646405080903',), 1389642563: ('0.06652646405080903',), 1389642561: ('0.06652646405080903',), 1389642560: ('0.06652646405080903',), 1389642559: ('0.06652646405080903',), 1389642556: ('0.06652646405080903',), 1389642515: ('0.06652646405080903',), 1389642513: ('0.06652646405080903',), 1389642511: ('0.06652646405080903',), 1389642510: ('0.06652646405080903',), 1389642507: ('0.06652646405080903',), 1389642498: ('0.06652646405080903',), 1389642495: ('0.06652646405080903',), 1389642493: ('0.06652646405080903',), 1389642492: ('0.06652646405080903',), 1389642491: ('0.06652646405080903',), 1389642474: ('0.06652646405080903',), 1389642471: ('0.06652646405080903',), 1389642467: ('0.06652646405080903',), 1389642464: ('0.06652646405080903',), 1389642462: ('0.06652646405080903',), 1389642399: ('0.06652646405080903',), 1389642397: ('0.06652646405080903',), 1389642390: ('0.06652646405080903',), 1389642384: ('0.06652646405080903',), 1389642379: ('0.06652646405080903',), 1389642374: ('0.06652646405080903',), 1389642372: ('0.06652646405080903',), 1389642371: ('0.06652646405080903',), 1389642369: ('0.06652646405080903',), 1389642363: ('0.06652646405080903',), 1389642360: ('0.06652646405080903',), 1389642357: ('0.06652646405080903',), 1389642355: ('0.06652646405080903',), 1389642353: ('0.06652646405080903',), 1389642343: ('0.06652646405080903',), 1389642326: ('0.06652646405080903',), 1389642325: ('0.06652646405080903',), 1389642324: ('0.06652646405080903',)} args : 1389642462 depend.output_id : 0 input_args_next_step : {1389642565: ('0.06652646405080903',), 1389642563: ('0.06652646405080903',), 1389642561: ('0.06652646405080903',), 1389642560: ('0.06652646405080903',), 1389642559: ('0.06652646405080903',), 1389642556: ('0.06652646405080903',), 1389642515: ('0.06652646405080903',), 1389642513: ('0.06652646405080903',), 1389642511: ('0.06652646405080903',), 1389642510: ('0.06652646405080903',), 1389642507: ('0.06652646405080903',), 1389642498: ('0.06652646405080903',), 1389642495: ('0.06652646405080903',), 1389642493: ('0.06652646405080903',), 1389642492: ('0.06652646405080903',), 1389642491: ('0.06652646405080903',), 1389642474: ('0.06652646405080903',), 1389642471: ('0.06652646405080903',), 1389642467: ('0.06652646405080903',), 1389642464: ('0.06652646405080903',), 1389642462: ('0.06652646405080903',), 1389642399: ()} output_args : {1389642565: ('0.06652646405080903',), 1389642563: ('0.06652646405080903',), 1389642561: ('0.06652646405080903',), 1389642560: ('0.06652646405080903',), 1389642559: ('0.06652646405080903',), 1389642556: ('0.06652646405080903',), 1389642515: ('0.06652646405080903',), 1389642513: ('0.06652646405080903',), 1389642511: ('0.06652646405080903',), 1389642510: ('0.06652646405080903',), 1389642507: ('0.06652646405080903',), 1389642498: ('0.06652646405080903',), 1389642495: ('0.06652646405080903',), 1389642493: ('0.06652646405080903',), 1389642492: ('0.06652646405080903',), 1389642491: ('0.06652646405080903',), 1389642474: ('0.06652646405080903',), 1389642471: ('0.06652646405080903',), 1389642467: ('0.06652646405080903',), 1389642464: ('0.06652646405080903',), 1389642462: ('0.06652646405080903',), 1389642399: ('0.06652646405080903',), 1389642397: ('0.06652646405080903',), 1389642390: ('0.06652646405080903',), 1389642384: ('0.06652646405080903',), 1389642379: ('0.06652646405080903',), 1389642374: ('0.06652646405080903',), 1389642372: ('0.06652646405080903',), 1389642371: ('0.06652646405080903',), 1389642369: ('0.06652646405080903',), 1389642363: ('0.06652646405080903',), 1389642360: ('0.06652646405080903',), 1389642357: ('0.06652646405080903',), 1389642355: ('0.06652646405080903',), 1389642353: ('0.06652646405080903',), 1389642343: ('0.06652646405080903',), 1389642326: ('0.06652646405080903',), 1389642325: ('0.06652646405080903',), 1389642324: ('0.06652646405080903',)} args : 1389642399 depend.output_id : 0 input_args_next_step : {1389642565: ('0.06652646405080903',), 1389642563: ('0.06652646405080903',), 1389642561: ('0.06652646405080903',), 1389642560: ('0.06652646405080903',), 1389642559: ('0.06652646405080903',), 1389642556: ('0.06652646405080903',), 1389642515: ('0.06652646405080903',), 1389642513: ('0.06652646405080903',), 1389642511: ('0.06652646405080903',), 1389642510: ('0.06652646405080903',), 1389642507: ('0.06652646405080903',), 1389642498: ('0.06652646405080903',), 1389642495: ('0.06652646405080903',), 1389642493: ('0.06652646405080903',), 1389642492: ('0.06652646405080903',), 1389642491: ('0.06652646405080903',), 1389642474: ('0.06652646405080903',), 1389642471: ('0.06652646405080903',), 1389642467: ('0.06652646405080903',), 1389642464: ('0.06652646405080903',), 1389642462: ('0.06652646405080903',), 1389642399: ('0.06652646405080903',), 1389642397: ()} output_args : {1389642565: ('0.06652646405080903',), 1389642563: ('0.06652646405080903',), 1389642561: ('0.06652646405080903',), 1389642560: ('0.06652646405080903',), 1389642559: ('0.06652646405080903',), 1389642556: ('0.06652646405080903',), 1389642515: ('0.06652646405080903',), 1389642513: ('0.06652646405080903',), 1389642511: ('0.06652646405080903',), 1389642510: ('0.06652646405080903',), 1389642507: ('0.06652646405080903',), 1389642498: ('0.06652646405080903',), 1389642495: ('0.06652646405080903',), 1389642493: ('0.06652646405080903',), 1389642492: ('0.06652646405080903',), 1389642491: ('0.06652646405080903',), 1389642474: ('0.06652646405080903',), 1389642471: ('0.06652646405080903',), 1389642467: ('0.06652646405080903',), 1389642464: ('0.06652646405080903',), 1389642462: ('0.06652646405080903',), 1389642399: ('0.06652646405080903',), 1389642397: ('0.06652646405080903',), 1389642390: ('0.06652646405080903',), 1389642384: ('0.06652646405080903',), 1389642379: ('0.06652646405080903',), 1389642374: ('0.06652646405080903',), 1389642372: ('0.06652646405080903',), 1389642371: ('0.06652646405080903',), 1389642369: ('0.06652646405080903',), 1389642363: ('0.06652646405080903',), 1389642360: ('0.06652646405080903',), 1389642357: ('0.06652646405080903',), 1389642355: ('0.06652646405080903',), 1389642353: ('0.06652646405080903',), 1389642343: ('0.06652646405080903',), 1389642326: ('0.06652646405080903',), 1389642325: ('0.06652646405080903',), 1389642324: ('0.06652646405080903',)} args : 1389642397 depend.output_id : 0 input_args_next_step : {1389642565: ('0.06652646405080903',), 1389642563: ('0.06652646405080903',), 1389642561: ('0.06652646405080903',), 1389642560: ('0.06652646405080903',), 1389642559: ('0.06652646405080903',), 1389642556: ('0.06652646405080903',), 1389642515: ('0.06652646405080903',), 1389642513: ('0.06652646405080903',), 1389642511: ('0.06652646405080903',), 1389642510: ('0.06652646405080903',), 1389642507: ('0.06652646405080903',), 1389642498: ('0.06652646405080903',), 1389642495: ('0.06652646405080903',), 1389642493: ('0.06652646405080903',), 1389642492: ('0.06652646405080903',), 1389642491: ('0.06652646405080903',), 1389642474: ('0.06652646405080903',), 1389642471: ('0.06652646405080903',), 1389642467: ('0.06652646405080903',), 1389642464: ('0.06652646405080903',), 1389642462: ('0.06652646405080903',), 1389642399: ('0.06652646405080903',), 1389642397: ('0.06652646405080903',), 1389642390: ()} output_args : {1389642565: ('0.06652646405080903',), 1389642563: ('0.06652646405080903',), 1389642561: ('0.06652646405080903',), 1389642560: ('0.06652646405080903',), 1389642559: ('0.06652646405080903',), 1389642556: ('0.06652646405080903',), 1389642515: ('0.06652646405080903',), 1389642513: ('0.06652646405080903',), 1389642511: ('0.06652646405080903',), 1389642510: ('0.06652646405080903',), 1389642507: ('0.06652646405080903',), 1389642498: ('0.06652646405080903',), 1389642495: ('0.06652646405080903',), 1389642493: ('0.06652646405080903',), 1389642492: ('0.06652646405080903',), 1389642491: ('0.06652646405080903',), 1389642474: ('0.06652646405080903',), 1389642471: ('0.06652646405080903',), 1389642467: ('0.06652646405080903',), 1389642464: ('0.06652646405080903',), 1389642462: ('0.06652646405080903',), 1389642399: ('0.06652646405080903',), 1389642397: ('0.06652646405080903',), 1389642390: ('0.06652646405080903',), 1389642384: ('0.06652646405080903',), 1389642379: ('0.06652646405080903',), 1389642374: ('0.06652646405080903',), 1389642372: ('0.06652646405080903',), 1389642371: ('0.06652646405080903',), 1389642369: ('0.06652646405080903',), 1389642363: ('0.06652646405080903',), 1389642360: ('0.06652646405080903',), 1389642357: ('0.06652646405080903',), 1389642355: ('0.06652646405080903',), 1389642353: ('0.06652646405080903',), 1389642343: ('0.06652646405080903',), 1389642326: ('0.06652646405080903',), 1389642325: ('0.06652646405080903',), 1389642324: ('0.06652646405080903',)} args : 1389642390 depend.output_id : 0 input_args_next_step : {1389642565: ('0.06652646405080903',), 1389642563: ('0.06652646405080903',), 1389642561: ('0.06652646405080903',), 1389642560: ('0.06652646405080903',), 1389642559: ('0.06652646405080903',), 1389642556: ('0.06652646405080903',), 1389642515: ('0.06652646405080903',), 1389642513: ('0.06652646405080903',), 1389642511: ('0.06652646405080903',), 1389642510: ('0.06652646405080903',), 1389642507: ('0.06652646405080903',), 1389642498: ('0.06652646405080903',), 1389642495: ('0.06652646405080903',), 1389642493: ('0.06652646405080903',), 1389642492: ('0.06652646405080903',), 1389642491: ('0.06652646405080903',), 1389642474: ('0.06652646405080903',), 1389642471: ('0.06652646405080903',), 1389642467: ('0.06652646405080903',), 1389642464: ('0.06652646405080903',), 1389642462: ('0.06652646405080903',), 1389642399: ('0.06652646405080903',), 1389642397: ('0.06652646405080903',), 1389642390: ('0.06652646405080903',), 1389642384: ()} output_args : {1389642565: ('0.06652646405080903',), 1389642563: ('0.06652646405080903',), 1389642561: ('0.06652646405080903',), 1389642560: ('0.06652646405080903',), 1389642559: ('0.06652646405080903',), 1389642556: ('0.06652646405080903',), 1389642515: ('0.06652646405080903',), 1389642513: ('0.06652646405080903',), 1389642511: ('0.06652646405080903',), 1389642510: ('0.06652646405080903',), 1389642507: ('0.06652646405080903',), 1389642498: ('0.06652646405080903',), 1389642495: ('0.06652646405080903',), 1389642493: ('0.06652646405080903',), 1389642492: ('0.06652646405080903',), 1389642491: ('0.06652646405080903',), 1389642474: ('0.06652646405080903',), 1389642471: ('0.06652646405080903',), 1389642467: ('0.06652646405080903',), 1389642464: ('0.06652646405080903',), 1389642462: ('0.06652646405080903',), 1389642399: ('0.06652646405080903',), 1389642397: ('0.06652646405080903',), 1389642390: ('0.06652646405080903',), 1389642384: ('0.06652646405080903',), 1389642379: ('0.06652646405080903',), 1389642374: ('0.06652646405080903',), 1389642372: ('0.06652646405080903',), 1389642371: ('0.06652646405080903',), 1389642369: ('0.06652646405080903',), 1389642363: ('0.06652646405080903',), 1389642360: ('0.06652646405080903',), 1389642357: ('0.06652646405080903',), 1389642355: ('0.06652646405080903',), 1389642353: ('0.06652646405080903',), 1389642343: ('0.06652646405080903',), 1389642326: ('0.06652646405080903',), 1389642325: ('0.06652646405080903',), 1389642324: ('0.06652646405080903',)} args : 1389642384 depend.output_id : 0 input_args_next_step : {1389642565: ('0.06652646405080903',), 1389642563: ('0.06652646405080903',), 1389642561: ('0.06652646405080903',), 1389642560: ('0.06652646405080903',), 1389642559: ('0.06652646405080903',), 1389642556: ('0.06652646405080903',), 1389642515: ('0.06652646405080903',), 1389642513: ('0.06652646405080903',), 1389642511: ('0.06652646405080903',), 1389642510: ('0.06652646405080903',), 1389642507: ('0.06652646405080903',), 1389642498: ('0.06652646405080903',), 1389642495: ('0.06652646405080903',), 1389642493: ('0.06652646405080903',), 1389642492: ('0.06652646405080903',), 1389642491: ('0.06652646405080903',), 1389642474: ('0.06652646405080903',), 1389642471: ('0.06652646405080903',), 1389642467: ('0.06652646405080903',), 1389642464: ('0.06652646405080903',), 1389642462: ('0.06652646405080903',), 1389642399: ('0.06652646405080903',), 1389642397: ('0.06652646405080903',), 1389642390: ('0.06652646405080903',), 1389642384: ('0.06652646405080903',), 1389642379: ()} output_args : {1389642565: ('0.06652646405080903',), 1389642563: ('0.06652646405080903',), 1389642561: ('0.06652646405080903',), 1389642560: ('0.06652646405080903',), 1389642559: ('0.06652646405080903',), 1389642556: ('0.06652646405080903',), 1389642515: ('0.06652646405080903',), 1389642513: ('0.06652646405080903',), 1389642511: ('0.06652646405080903',), 1389642510: ('0.06652646405080903',), 1389642507: ('0.06652646405080903',), 1389642498: ('0.06652646405080903',), 1389642495: ('0.06652646405080903',), 1389642493: ('0.06652646405080903',), 1389642492: ('0.06652646405080903',), 1389642491: ('0.06652646405080903',), 1389642474: ('0.06652646405080903',), 1389642471: ('0.06652646405080903',), 1389642467: ('0.06652646405080903',), 1389642464: ('0.06652646405080903',), 1389642462: ('0.06652646405080903',), 1389642399: ('0.06652646405080903',), 1389642397: ('0.06652646405080903',), 1389642390: ('0.06652646405080903',), 1389642384: ('0.06652646405080903',), 1389642379: ('0.06652646405080903',), 1389642374: ('0.06652646405080903',), 1389642372: ('0.06652646405080903',), 1389642371: ('0.06652646405080903',), 1389642369: ('0.06652646405080903',), 1389642363: ('0.06652646405080903',), 1389642360: ('0.06652646405080903',), 1389642357: ('0.06652646405080903',), 1389642355: ('0.06652646405080903',), 1389642353: ('0.06652646405080903',), 1389642343: ('0.06652646405080903',), 1389642326: ('0.06652646405080903',), 1389642325: ('0.06652646405080903',), 1389642324: ('0.06652646405080903',)} args : 1389642379 depend.output_id : 0 input_args_next_step : {1389642565: ('0.06652646405080903',), 1389642563: ('0.06652646405080903',), 1389642561: ('0.06652646405080903',), 1389642560: ('0.06652646405080903',), 1389642559: ('0.06652646405080903',), 1389642556: ('0.06652646405080903',), 1389642515: ('0.06652646405080903',), 1389642513: ('0.06652646405080903',), 1389642511: ('0.06652646405080903',), 1389642510: ('0.06652646405080903',), 1389642507: ('0.06652646405080903',), 1389642498: ('0.06652646405080903',), 1389642495: ('0.06652646405080903',), 1389642493: ('0.06652646405080903',), 1389642492: ('0.06652646405080903',), 1389642491: ('0.06652646405080903',), 1389642474: ('0.06652646405080903',), 1389642471: ('0.06652646405080903',), 1389642467: ('0.06652646405080903',), 1389642464: ('0.06652646405080903',), 1389642462: ('0.06652646405080903',), 1389642399: ('0.06652646405080903',), 1389642397: ('0.06652646405080903',), 1389642390: ('0.06652646405080903',), 1389642384: ('0.06652646405080903',), 1389642379: ('0.06652646405080903',), 1389642374: ()} output_args : {1389642565: ('0.06652646405080903',), 1389642563: ('0.06652646405080903',), 1389642561: ('0.06652646405080903',), 1389642560: ('0.06652646405080903',), 1389642559: ('0.06652646405080903',), 1389642556: ('0.06652646405080903',), 1389642515: ('0.06652646405080903',), 1389642513: ('0.06652646405080903',), 1389642511: ('0.06652646405080903',), 1389642510: ('0.06652646405080903',), 1389642507: ('0.06652646405080903',), 1389642498: ('0.06652646405080903',), 1389642495: ('0.06652646405080903',), 1389642493: ('0.06652646405080903',), 1389642492: ('0.06652646405080903',), 1389642491: ('0.06652646405080903',), 1389642474: ('0.06652646405080903',), 1389642471: ('0.06652646405080903',), 1389642467: ('0.06652646405080903',), 1389642464: ('0.06652646405080903',), 1389642462: ('0.06652646405080903',), 1389642399: ('0.06652646405080903',), 1389642397: ('0.06652646405080903',), 1389642390: ('0.06652646405080903',), 1389642384: ('0.06652646405080903',), 1389642379: ('0.06652646405080903',), 1389642374: ('0.06652646405080903',), 1389642372: ('0.06652646405080903',), 1389642371: ('0.06652646405080903',), 1389642369: ('0.06652646405080903',), 1389642363: ('0.06652646405080903',), 1389642360: ('0.06652646405080903',), 1389642357: ('0.06652646405080903',), 1389642355: ('0.06652646405080903',), 1389642353: ('0.06652646405080903',), 1389642343: ('0.06652646405080903',), 1389642326: ('0.06652646405080903',), 1389642325: ('0.06652646405080903',), 1389642324: ('0.06652646405080903',)} args : 1389642374 depend.output_id : 0 input_args_next_step : {1389642565: ('0.06652646405080903',), 1389642563: ('0.06652646405080903',), 1389642561: ('0.06652646405080903',), 1389642560: ('0.06652646405080903',), 1389642559: ('0.06652646405080903',), 1389642556: ('0.06652646405080903',), 1389642515: ('0.06652646405080903',), 1389642513: ('0.06652646405080903',), 1389642511: ('0.06652646405080903',), 1389642510: ('0.06652646405080903',), 1389642507: ('0.06652646405080903',), 1389642498: ('0.06652646405080903',), 1389642495: ('0.06652646405080903',), 1389642493: ('0.06652646405080903',), 1389642492: ('0.06652646405080903',), 1389642491: ('0.06652646405080903',), 1389642474: ('0.06652646405080903',), 1389642471: ('0.06652646405080903',), 1389642467: ('0.06652646405080903',), 1389642464: ('0.06652646405080903',), 1389642462: ('0.06652646405080903',), 1389642399: ('0.06652646405080903',), 1389642397: ('0.06652646405080903',), 1389642390: ('0.06652646405080903',), 1389642384: ('0.06652646405080903',), 1389642379: ('0.06652646405080903',), 1389642374: ('0.06652646405080903',), 1389642372: ()} output_args : {1389642565: ('0.06652646405080903',), 1389642563: ('0.06652646405080903',), 1389642561: ('0.06652646405080903',), 1389642560: ('0.06652646405080903',), 1389642559: ('0.06652646405080903',), 1389642556: ('0.06652646405080903',), 1389642515: ('0.06652646405080903',), 1389642513: ('0.06652646405080903',), 1389642511: ('0.06652646405080903',), 1389642510: ('0.06652646405080903',), 1389642507: ('0.06652646405080903',), 1389642498: ('0.06652646405080903',), 1389642495: ('0.06652646405080903',), 1389642493: ('0.06652646405080903',), 1389642492: ('0.06652646405080903',), 1389642491: ('0.06652646405080903',), 1389642474: ('0.06652646405080903',), 1389642471: ('0.06652646405080903',), 1389642467: ('0.06652646405080903',), 1389642464: ('0.06652646405080903',), 1389642462: ('0.06652646405080903',), 1389642399: ('0.06652646405080903',), 1389642397: ('0.06652646405080903',), 1389642390: ('0.06652646405080903',), 1389642384: ('0.06652646405080903',), 1389642379: ('0.06652646405080903',), 1389642374: ('0.06652646405080903',), 1389642372: ('0.06652646405080903',), 1389642371: ('0.06652646405080903',), 1389642369: ('0.06652646405080903',), 1389642363: ('0.06652646405080903',), 1389642360: ('0.06652646405080903',), 1389642357: ('0.06652646405080903',), 1389642355: ('0.06652646405080903',), 1389642353: ('0.06652646405080903',), 1389642343: ('0.06652646405080903',), 1389642326: ('0.06652646405080903',), 1389642325: ('0.06652646405080903',), 1389642324: ('0.06652646405080903',)} args : 1389642372 depend.output_id : 0 input_args_next_step : {1389642565: ('0.06652646405080903',), 1389642563: ('0.06652646405080903',), 1389642561: ('0.06652646405080903',), 1389642560: ('0.06652646405080903',), 1389642559: ('0.06652646405080903',), 1389642556: ('0.06652646405080903',), 1389642515: ('0.06652646405080903',), 1389642513: ('0.06652646405080903',), 1389642511: ('0.06652646405080903',), 1389642510: ('0.06652646405080903',), 1389642507: ('0.06652646405080903',), 1389642498: ('0.06652646405080903',), 1389642495: ('0.06652646405080903',), 1389642493: ('0.06652646405080903',), 1389642492: ('0.06652646405080903',), 1389642491: ('0.06652646405080903',), 1389642474: ('0.06652646405080903',), 1389642471: ('0.06652646405080903',), 1389642467: ('0.06652646405080903',), 1389642464: ('0.06652646405080903',), 1389642462: ('0.06652646405080903',), 1389642399: ('0.06652646405080903',), 1389642397: ('0.06652646405080903',), 1389642390: ('0.06652646405080903',), 1389642384: ('0.06652646405080903',), 1389642379: ('0.06652646405080903',), 1389642374: ('0.06652646405080903',), 1389642372: ('0.06652646405080903',), 1389642371: ()} output_args : {1389642565: ('0.06652646405080903',), 1389642563: ('0.06652646405080903',), 1389642561: ('0.06652646405080903',), 1389642560: ('0.06652646405080903',), 1389642559: ('0.06652646405080903',), 1389642556: ('0.06652646405080903',), 1389642515: ('0.06652646405080903',), 1389642513: ('0.06652646405080903',), 1389642511: ('0.06652646405080903',), 1389642510: ('0.06652646405080903',), 1389642507: ('0.06652646405080903',), 1389642498: ('0.06652646405080903',), 1389642495: ('0.06652646405080903',), 1389642493: ('0.06652646405080903',), 1389642492: ('0.06652646405080903',), 1389642491: ('0.06652646405080903',), 1389642474: ('0.06652646405080903',), 1389642471: ('0.06652646405080903',), 1389642467: ('0.06652646405080903',), 1389642464: ('0.06652646405080903',), 1389642462: ('0.06652646405080903',), 1389642399: ('0.06652646405080903',), 1389642397: ('0.06652646405080903',), 1389642390: ('0.06652646405080903',), 1389642384: ('0.06652646405080903',), 1389642379: ('0.06652646405080903',), 1389642374: ('0.06652646405080903',), 1389642372: ('0.06652646405080903',), 1389642371: ('0.06652646405080903',), 1389642369: ('0.06652646405080903',), 1389642363: ('0.06652646405080903',), 1389642360: ('0.06652646405080903',), 1389642357: ('0.06652646405080903',), 1389642355: ('0.06652646405080903',), 1389642353: ('0.06652646405080903',), 1389642343: ('0.06652646405080903',), 1389642326: ('0.06652646405080903',), 1389642325: ('0.06652646405080903',), 1389642324: ('0.06652646405080903',)} args : 1389642371 depend.output_id : 0 input_args_next_step : {1389642565: ('0.06652646405080903',), 1389642563: ('0.06652646405080903',), 1389642561: ('0.06652646405080903',), 1389642560: ('0.06652646405080903',), 1389642559: ('0.06652646405080903',), 1389642556: ('0.06652646405080903',), 1389642515: ('0.06652646405080903',), 1389642513: ('0.06652646405080903',), 1389642511: ('0.06652646405080903',), 1389642510: ('0.06652646405080903',), 1389642507: ('0.06652646405080903',), 1389642498: ('0.06652646405080903',), 1389642495: ('0.06652646405080903',), 1389642493: ('0.06652646405080903',), 1389642492: ('0.06652646405080903',), 1389642491: ('0.06652646405080903',), 1389642474: ('0.06652646405080903',), 1389642471: ('0.06652646405080903',), 1389642467: ('0.06652646405080903',), 1389642464: ('0.06652646405080903',), 1389642462: ('0.06652646405080903',), 1389642399: ('0.06652646405080903',), 1389642397: ('0.06652646405080903',), 1389642390: ('0.06652646405080903',), 1389642384: ('0.06652646405080903',), 1389642379: ('0.06652646405080903',), 1389642374: ('0.06652646405080903',), 1389642372: ('0.06652646405080903',), 1389642371: ('0.06652646405080903',), 1389642369: ()} output_args : {1389642565: ('0.06652646405080903',), 1389642563: ('0.06652646405080903',), 1389642561: ('0.06652646405080903',), 1389642560: ('0.06652646405080903',), 1389642559: ('0.06652646405080903',), 1389642556: ('0.06652646405080903',), 1389642515: ('0.06652646405080903',), 1389642513: ('0.06652646405080903',), 1389642511: ('0.06652646405080903',), 1389642510: ('0.06652646405080903',), 1389642507: ('0.06652646405080903',), 1389642498: ('0.06652646405080903',), 1389642495: ('0.06652646405080903',), 1389642493: ('0.06652646405080903',), 1389642492: ('0.06652646405080903',), 1389642491: ('0.06652646405080903',), 1389642474: ('0.06652646405080903',), 1389642471: ('0.06652646405080903',), 1389642467: ('0.06652646405080903',), 1389642464: ('0.06652646405080903',), 1389642462: ('0.06652646405080903',), 1389642399: ('0.06652646405080903',), 1389642397: ('0.06652646405080903',), 1389642390: ('0.06652646405080903',), 1389642384: ('0.06652646405080903',), 1389642379: ('0.06652646405080903',), 1389642374: ('0.06652646405080903',), 1389642372: ('0.06652646405080903',), 1389642371: ('0.06652646405080903',), 1389642369: ('0.06652646405080903',), 1389642363: ('0.06652646405080903',), 1389642360: ('0.06652646405080903',), 1389642357: ('0.06652646405080903',), 1389642355: ('0.06652646405080903',), 1389642353: ('0.06652646405080903',), 1389642343: ('0.06652646405080903',), 1389642326: ('0.06652646405080903',), 1389642325: ('0.06652646405080903',), 1389642324: ('0.06652646405080903',)} args : 1389642369 depend.output_id : 0 input_args_next_step : {1389642565: ('0.06652646405080903',), 1389642563: ('0.06652646405080903',), 1389642561: ('0.06652646405080903',), 1389642560: ('0.06652646405080903',), 1389642559: ('0.06652646405080903',), 1389642556: ('0.06652646405080903',), 1389642515: ('0.06652646405080903',), 1389642513: ('0.06652646405080903',), 1389642511: ('0.06652646405080903',), 1389642510: ('0.06652646405080903',), 1389642507: ('0.06652646405080903',), 1389642498: ('0.06652646405080903',), 1389642495: ('0.06652646405080903',), 1389642493: ('0.06652646405080903',), 1389642492: ('0.06652646405080903',), 1389642491: ('0.06652646405080903',), 1389642474: ('0.06652646405080903',), 1389642471: ('0.06652646405080903',), 1389642467: ('0.06652646405080903',), 1389642464: ('0.06652646405080903',), 1389642462: ('0.06652646405080903',), 1389642399: ('0.06652646405080903',), 1389642397: ('0.06652646405080903',), 1389642390: ('0.06652646405080903',), 1389642384: ('0.06652646405080903',), 1389642379: ('0.06652646405080903',), 1389642374: ('0.06652646405080903',), 1389642372: ('0.06652646405080903',), 1389642371: ('0.06652646405080903',), 1389642369: ('0.06652646405080903',), 1389642363: ()} output_args : {1389642565: ('0.06652646405080903',), 1389642563: ('0.06652646405080903',), 1389642561: ('0.06652646405080903',), 1389642560: ('0.06652646405080903',), 1389642559: ('0.06652646405080903',), 1389642556: ('0.06652646405080903',), 1389642515: ('0.06652646405080903',), 1389642513: ('0.06652646405080903',), 1389642511: ('0.06652646405080903',), 1389642510: ('0.06652646405080903',), 1389642507: ('0.06652646405080903',), 1389642498: ('0.06652646405080903',), 1389642495: ('0.06652646405080903',), 1389642493: ('0.06652646405080903',), 1389642492: ('0.06652646405080903',), 1389642491: ('0.06652646405080903',), 1389642474: ('0.06652646405080903',), 1389642471: ('0.06652646405080903',), 1389642467: ('0.06652646405080903',), 1389642464: ('0.06652646405080903',), 1389642462: ('0.06652646405080903',), 1389642399: ('0.06652646405080903',), 1389642397: ('0.06652646405080903',), 1389642390: ('0.06652646405080903',), 1389642384: ('0.06652646405080903',), 1389642379: ('0.06652646405080903',), 1389642374: ('0.06652646405080903',), 1389642372: ('0.06652646405080903',), 1389642371: ('0.06652646405080903',), 1389642369: ('0.06652646405080903',), 1389642363: ('0.06652646405080903',), 1389642360: ('0.06652646405080903',), 1389642357: ('0.06652646405080903',), 1389642355: ('0.06652646405080903',), 1389642353: ('0.06652646405080903',), 1389642343: ('0.06652646405080903',), 1389642326: ('0.06652646405080903',), 1389642325: ('0.06652646405080903',), 1389642324: ('0.06652646405080903',)} args : 1389642363 depend.output_id : 0 input_args_next_step : {1389642565: ('0.06652646405080903',), 1389642563: ('0.06652646405080903',), 1389642561: ('0.06652646405080903',), 1389642560: ('0.06652646405080903',), 1389642559: ('0.06652646405080903',), 1389642556: ('0.06652646405080903',), 1389642515: ('0.06652646405080903',), 1389642513: ('0.06652646405080903',), 1389642511: ('0.06652646405080903',), 1389642510: ('0.06652646405080903',), 1389642507: ('0.06652646405080903',), 1389642498: ('0.06652646405080903',), 1389642495: ('0.06652646405080903',), 1389642493: ('0.06652646405080903',), 1389642492: ('0.06652646405080903',), 1389642491: ('0.06652646405080903',), 1389642474: ('0.06652646405080903',), 1389642471: ('0.06652646405080903',), 1389642467: ('0.06652646405080903',), 1389642464: ('0.06652646405080903',), 1389642462: ('0.06652646405080903',), 1389642399: ('0.06652646405080903',), 1389642397: ('0.06652646405080903',), 1389642390: ('0.06652646405080903',), 1389642384: ('0.06652646405080903',), 1389642379: ('0.06652646405080903',), 1389642374: ('0.06652646405080903',), 1389642372: ('0.06652646405080903',), 1389642371: ('0.06652646405080903',), 1389642369: ('0.06652646405080903',), 1389642363: ('0.06652646405080903',), 1389642360: ()} output_args : {1389642565: ('0.06652646405080903',), 1389642563: ('0.06652646405080903',), 1389642561: ('0.06652646405080903',), 1389642560: ('0.06652646405080903',), 1389642559: ('0.06652646405080903',), 1389642556: ('0.06652646405080903',), 1389642515: ('0.06652646405080903',), 1389642513: ('0.06652646405080903',), 1389642511: ('0.06652646405080903',), 1389642510: ('0.06652646405080903',), 1389642507: ('0.06652646405080903',), 1389642498: ('0.06652646405080903',), 1389642495: ('0.06652646405080903',), 1389642493: ('0.06652646405080903',), 1389642492: ('0.06652646405080903',), 1389642491: ('0.06652646405080903',), 1389642474: ('0.06652646405080903',), 1389642471: ('0.06652646405080903',), 1389642467: ('0.06652646405080903',), 1389642464: ('0.06652646405080903',), 1389642462: ('0.06652646405080903',), 1389642399: ('0.06652646405080903',), 1389642397: ('0.06652646405080903',), 1389642390: ('0.06652646405080903',), 1389642384: ('0.06652646405080903',), 1389642379: ('0.06652646405080903',), 1389642374: ('0.06652646405080903',), 1389642372: ('0.06652646405080903',), 1389642371: ('0.06652646405080903',), 1389642369: ('0.06652646405080903',), 1389642363: ('0.06652646405080903',), 1389642360: ('0.06652646405080903',), 1389642357: ('0.06652646405080903',), 1389642355: ('0.06652646405080903',), 1389642353: ('0.06652646405080903',), 1389642343: ('0.06652646405080903',), 1389642326: ('0.06652646405080903',), 1389642325: ('0.06652646405080903',), 1389642324: ('0.06652646405080903',)} args : 1389642360 depend.output_id : 0 input_args_next_step : {1389642565: ('0.06652646405080903',), 1389642563: ('0.06652646405080903',), 1389642561: ('0.06652646405080903',), 1389642560: ('0.06652646405080903',), 1389642559: ('0.06652646405080903',), 1389642556: ('0.06652646405080903',), 1389642515: ('0.06652646405080903',), 1389642513: ('0.06652646405080903',), 1389642511: ('0.06652646405080903',), 1389642510: ('0.06652646405080903',), 1389642507: ('0.06652646405080903',), 1389642498: ('0.06652646405080903',), 1389642495: ('0.06652646405080903',), 1389642493: ('0.06652646405080903',), 1389642492: ('0.06652646405080903',), 1389642491: ('0.06652646405080903',), 1389642474: ('0.06652646405080903',), 1389642471: ('0.06652646405080903',), 1389642467: ('0.06652646405080903',), 1389642464: ('0.06652646405080903',), 1389642462: ('0.06652646405080903',), 1389642399: ('0.06652646405080903',), 1389642397: ('0.06652646405080903',), 1389642390: ('0.06652646405080903',), 1389642384: ('0.06652646405080903',), 1389642379: ('0.06652646405080903',), 1389642374: ('0.06652646405080903',), 1389642372: ('0.06652646405080903',), 1389642371: ('0.06652646405080903',), 1389642369: ('0.06652646405080903',), 1389642363: ('0.06652646405080903',), 1389642360: ('0.06652646405080903',), 1389642357: ()} output_args : {1389642565: ('0.06652646405080903',), 1389642563: ('0.06652646405080903',), 1389642561: ('0.06652646405080903',), 1389642560: ('0.06652646405080903',), 1389642559: ('0.06652646405080903',), 1389642556: ('0.06652646405080903',), 1389642515: ('0.06652646405080903',), 1389642513: ('0.06652646405080903',), 1389642511: ('0.06652646405080903',), 1389642510: ('0.06652646405080903',), 1389642507: ('0.06652646405080903',), 1389642498: ('0.06652646405080903',), 1389642495: ('0.06652646405080903',), 1389642493: ('0.06652646405080903',), 1389642492: ('0.06652646405080903',), 1389642491: ('0.06652646405080903',), 1389642474: ('0.06652646405080903',), 1389642471: ('0.06652646405080903',), 1389642467: ('0.06652646405080903',), 1389642464: ('0.06652646405080903',), 1389642462: ('0.06652646405080903',), 1389642399: ('0.06652646405080903',), 1389642397: ('0.06652646405080903',), 1389642390: ('0.06652646405080903',), 1389642384: ('0.06652646405080903',), 1389642379: ('0.06652646405080903',), 1389642374: ('0.06652646405080903',), 1389642372: ('0.06652646405080903',), 1389642371: ('0.06652646405080903',), 1389642369: ('0.06652646405080903',), 1389642363: ('0.06652646405080903',), 1389642360: ('0.06652646405080903',), 1389642357: ('0.06652646405080903',), 1389642355: ('0.06652646405080903',), 1389642353: ('0.06652646405080903',), 1389642343: ('0.06652646405080903',), 1389642326: ('0.06652646405080903',), 1389642325: ('0.06652646405080903',), 1389642324: ('0.06652646405080903',)} args : 1389642357 depend.output_id : 0 input_args_next_step : {1389642565: ('0.06652646405080903',), 1389642563: ('0.06652646405080903',), 1389642561: ('0.06652646405080903',), 1389642560: ('0.06652646405080903',), 1389642559: ('0.06652646405080903',), 1389642556: ('0.06652646405080903',), 1389642515: ('0.06652646405080903',), 1389642513: ('0.06652646405080903',), 1389642511: ('0.06652646405080903',), 1389642510: ('0.06652646405080903',), 1389642507: ('0.06652646405080903',), 1389642498: ('0.06652646405080903',), 1389642495: ('0.06652646405080903',), 1389642493: ('0.06652646405080903',), 1389642492: ('0.06652646405080903',), 1389642491: ('0.06652646405080903',), 1389642474: ('0.06652646405080903',), 1389642471: ('0.06652646405080903',), 1389642467: ('0.06652646405080903',), 1389642464: ('0.06652646405080903',), 1389642462: ('0.06652646405080903',), 1389642399: ('0.06652646405080903',), 1389642397: ('0.06652646405080903',), 1389642390: ('0.06652646405080903',), 1389642384: ('0.06652646405080903',), 1389642379: ('0.06652646405080903',), 1389642374: ('0.06652646405080903',), 1389642372: ('0.06652646405080903',), 1389642371: ('0.06652646405080903',), 1389642369: ('0.06652646405080903',), 1389642363: ('0.06652646405080903',), 1389642360: ('0.06652646405080903',), 1389642357: ('0.06652646405080903',), 1389642355: ()} output_args : {1389642565: ('0.06652646405080903',), 1389642563: ('0.06652646405080903',), 1389642561: ('0.06652646405080903',), 1389642560: ('0.06652646405080903',), 1389642559: ('0.06652646405080903',), 1389642556: ('0.06652646405080903',), 1389642515: ('0.06652646405080903',), 1389642513: ('0.06652646405080903',), 1389642511: ('0.06652646405080903',), 1389642510: ('0.06652646405080903',), 1389642507: ('0.06652646405080903',), 1389642498: ('0.06652646405080903',), 1389642495: ('0.06652646405080903',), 1389642493: ('0.06652646405080903',), 1389642492: ('0.06652646405080903',), 1389642491: ('0.06652646405080903',), 1389642474: ('0.06652646405080903',), 1389642471: ('0.06652646405080903',), 1389642467: ('0.06652646405080903',), 1389642464: ('0.06652646405080903',), 1389642462: ('0.06652646405080903',), 1389642399: ('0.06652646405080903',), 1389642397: ('0.06652646405080903',), 1389642390: ('0.06652646405080903',), 1389642384: ('0.06652646405080903',), 1389642379: ('0.06652646405080903',), 1389642374: ('0.06652646405080903',), 1389642372: ('0.06652646405080903',), 1389642371: ('0.06652646405080903',), 1389642369: ('0.06652646405080903',), 1389642363: ('0.06652646405080903',), 1389642360: ('0.06652646405080903',), 1389642357: ('0.06652646405080903',), 1389642355: ('0.06652646405080903',), 1389642353: ('0.06652646405080903',), 1389642343: ('0.06652646405080903',), 1389642326: ('0.06652646405080903',), 1389642325: ('0.06652646405080903',), 1389642324: ('0.06652646405080903',)} args : 1389642355 depend.output_id : 0 input_args_next_step : {1389642565: ('0.06652646405080903',), 1389642563: ('0.06652646405080903',), 1389642561: ('0.06652646405080903',), 1389642560: ('0.06652646405080903',), 1389642559: ('0.06652646405080903',), 1389642556: ('0.06652646405080903',), 1389642515: ('0.06652646405080903',), 1389642513: ('0.06652646405080903',), 1389642511: ('0.06652646405080903',), 1389642510: ('0.06652646405080903',), 1389642507: ('0.06652646405080903',), 1389642498: ('0.06652646405080903',), 1389642495: ('0.06652646405080903',), 1389642493: ('0.06652646405080903',), 1389642492: ('0.06652646405080903',), 1389642491: ('0.06652646405080903',), 1389642474: ('0.06652646405080903',), 1389642471: ('0.06652646405080903',), 1389642467: ('0.06652646405080903',), 1389642464: ('0.06652646405080903',), 1389642462: ('0.06652646405080903',), 1389642399: ('0.06652646405080903',), 1389642397: ('0.06652646405080903',), 1389642390: ('0.06652646405080903',), 1389642384: ('0.06652646405080903',), 1389642379: ('0.06652646405080903',), 1389642374: ('0.06652646405080903',), 1389642372: ('0.06652646405080903',), 1389642371: ('0.06652646405080903',), 1389642369: ('0.06652646405080903',), 1389642363: ('0.06652646405080903',), 1389642360: ('0.06652646405080903',), 1389642357: ('0.06652646405080903',), 1389642355: ('0.06652646405080903',), 1389642353: ()} output_args : {1389642565: ('0.06652646405080903',), 1389642563: ('0.06652646405080903',), 1389642561: ('0.06652646405080903',), 1389642560: ('0.06652646405080903',), 1389642559: ('0.06652646405080903',), 1389642556: ('0.06652646405080903',), 1389642515: ('0.06652646405080903',), 1389642513: ('0.06652646405080903',), 1389642511: ('0.06652646405080903',), 1389642510: ('0.06652646405080903',), 1389642507: ('0.06652646405080903',), 1389642498: ('0.06652646405080903',), 1389642495: ('0.06652646405080903',), 1389642493: ('0.06652646405080903',), 1389642492: ('0.06652646405080903',), 1389642491: ('0.06652646405080903',), 1389642474: ('0.06652646405080903',), 1389642471: ('0.06652646405080903',), 1389642467: ('0.06652646405080903',), 1389642464: ('0.06652646405080903',), 1389642462: ('0.06652646405080903',), 1389642399: ('0.06652646405080903',), 1389642397: ('0.06652646405080903',), 1389642390: ('0.06652646405080903',), 1389642384: ('0.06652646405080903',), 1389642379: ('0.06652646405080903',), 1389642374: ('0.06652646405080903',), 1389642372: ('0.06652646405080903',), 1389642371: ('0.06652646405080903',), 1389642369: ('0.06652646405080903',), 1389642363: ('0.06652646405080903',), 1389642360: ('0.06652646405080903',), 1389642357: ('0.06652646405080903',), 1389642355: ('0.06652646405080903',), 1389642353: ('0.06652646405080903',), 1389642343: ('0.06652646405080903',), 1389642326: ('0.06652646405080903',), 1389642325: ('0.06652646405080903',), 1389642324: ('0.06652646405080903',)} args : 1389642353 depend.output_id : 0 input_args_next_step : {1389642565: ('0.06652646405080903',), 1389642563: ('0.06652646405080903',), 1389642561: ('0.06652646405080903',), 1389642560: ('0.06652646405080903',), 1389642559: ('0.06652646405080903',), 1389642556: ('0.06652646405080903',), 1389642515: ('0.06652646405080903',), 1389642513: ('0.06652646405080903',), 1389642511: ('0.06652646405080903',), 1389642510: ('0.06652646405080903',), 1389642507: ('0.06652646405080903',), 1389642498: ('0.06652646405080903',), 1389642495: ('0.06652646405080903',), 1389642493: ('0.06652646405080903',), 1389642492: ('0.06652646405080903',), 1389642491: ('0.06652646405080903',), 1389642474: ('0.06652646405080903',), 1389642471: ('0.06652646405080903',), 1389642467: ('0.06652646405080903',), 1389642464: ('0.06652646405080903',), 1389642462: ('0.06652646405080903',), 1389642399: ('0.06652646405080903',), 1389642397: ('0.06652646405080903',), 1389642390: ('0.06652646405080903',), 1389642384: ('0.06652646405080903',), 1389642379: ('0.06652646405080903',), 1389642374: ('0.06652646405080903',), 1389642372: ('0.06652646405080903',), 1389642371: ('0.06652646405080903',), 1389642369: ('0.06652646405080903',), 1389642363: ('0.06652646405080903',), 1389642360: ('0.06652646405080903',), 1389642357: ('0.06652646405080903',), 1389642355: ('0.06652646405080903',), 1389642353: ('0.06652646405080903',), 1389642343: ()} output_args : {1389642565: ('0.06652646405080903',), 1389642563: ('0.06652646405080903',), 1389642561: ('0.06652646405080903',), 1389642560: ('0.06652646405080903',), 1389642559: ('0.06652646405080903',), 1389642556: ('0.06652646405080903',), 1389642515: ('0.06652646405080903',), 1389642513: ('0.06652646405080903',), 1389642511: ('0.06652646405080903',), 1389642510: ('0.06652646405080903',), 1389642507: ('0.06652646405080903',), 1389642498: ('0.06652646405080903',), 1389642495: ('0.06652646405080903',), 1389642493: ('0.06652646405080903',), 1389642492: ('0.06652646405080903',), 1389642491: ('0.06652646405080903',), 1389642474: ('0.06652646405080903',), 1389642471: ('0.06652646405080903',), 1389642467: ('0.06652646405080903',), 1389642464: ('0.06652646405080903',), 1389642462: ('0.06652646405080903',), 1389642399: ('0.06652646405080903',), 1389642397: ('0.06652646405080903',), 1389642390: ('0.06652646405080903',), 1389642384: ('0.06652646405080903',), 1389642379: ('0.06652646405080903',), 1389642374: ('0.06652646405080903',), 1389642372: ('0.06652646405080903',), 1389642371: ('0.06652646405080903',), 1389642369: ('0.06652646405080903',), 1389642363: ('0.06652646405080903',), 1389642360: ('0.06652646405080903',), 1389642357: ('0.06652646405080903',), 1389642355: ('0.06652646405080903',), 1389642353: ('0.06652646405080903',), 1389642343: ('0.06652646405080903',), 1389642326: ('0.06652646405080903',), 1389642325: ('0.06652646405080903',), 1389642324: ('0.06652646405080903',)} args : 1389642343 depend.output_id : 0 input_args_next_step : {1389642565: ('0.06652646405080903',), 1389642563: ('0.06652646405080903',), 1389642561: ('0.06652646405080903',), 1389642560: ('0.06652646405080903',), 1389642559: ('0.06652646405080903',), 1389642556: ('0.06652646405080903',), 1389642515: ('0.06652646405080903',), 1389642513: ('0.06652646405080903',), 1389642511: ('0.06652646405080903',), 1389642510: ('0.06652646405080903',), 1389642507: ('0.06652646405080903',), 1389642498: ('0.06652646405080903',), 1389642495: ('0.06652646405080903',), 1389642493: ('0.06652646405080903',), 1389642492: ('0.06652646405080903',), 1389642491: ('0.06652646405080903',), 1389642474: ('0.06652646405080903',), 1389642471: ('0.06652646405080903',), 1389642467: ('0.06652646405080903',), 1389642464: ('0.06652646405080903',), 1389642462: ('0.06652646405080903',), 1389642399: ('0.06652646405080903',), 1389642397: ('0.06652646405080903',), 1389642390: ('0.06652646405080903',), 1389642384: ('0.06652646405080903',), 1389642379: ('0.06652646405080903',), 1389642374: ('0.06652646405080903',), 1389642372: ('0.06652646405080903',), 1389642371: ('0.06652646405080903',), 1389642369: ('0.06652646405080903',), 1389642363: ('0.06652646405080903',), 1389642360: ('0.06652646405080903',), 1389642357: ('0.06652646405080903',), 1389642355: ('0.06652646405080903',), 1389642353: ('0.06652646405080903',), 1389642343: ('0.06652646405080903',), 1389642326: ()} output_args : {1389642565: ('0.06652646405080903',), 1389642563: ('0.06652646405080903',), 1389642561: ('0.06652646405080903',), 1389642560: ('0.06652646405080903',), 1389642559: ('0.06652646405080903',), 1389642556: ('0.06652646405080903',), 1389642515: ('0.06652646405080903',), 1389642513: ('0.06652646405080903',), 1389642511: ('0.06652646405080903',), 1389642510: ('0.06652646405080903',), 1389642507: ('0.06652646405080903',), 1389642498: ('0.06652646405080903',), 1389642495: ('0.06652646405080903',), 1389642493: ('0.06652646405080903',), 1389642492: ('0.06652646405080903',), 1389642491: ('0.06652646405080903',), 1389642474: ('0.06652646405080903',), 1389642471: ('0.06652646405080903',), 1389642467: ('0.06652646405080903',), 1389642464: ('0.06652646405080903',), 1389642462: ('0.06652646405080903',), 1389642399: ('0.06652646405080903',), 1389642397: ('0.06652646405080903',), 1389642390: ('0.06652646405080903',), 1389642384: ('0.06652646405080903',), 1389642379: ('0.06652646405080903',), 1389642374: ('0.06652646405080903',), 1389642372: ('0.06652646405080903',), 1389642371: ('0.06652646405080903',), 1389642369: ('0.06652646405080903',), 1389642363: ('0.06652646405080903',), 1389642360: ('0.06652646405080903',), 1389642357: ('0.06652646405080903',), 1389642355: ('0.06652646405080903',), 1389642353: ('0.06652646405080903',), 1389642343: ('0.06652646405080903',), 1389642326: ('0.06652646405080903',), 1389642325: ('0.06652646405080903',), 1389642324: ('0.06652646405080903',)} args : 1389642326 depend.output_id : 0 input_args_next_step : {1389642565: ('0.06652646405080903',), 1389642563: ('0.06652646405080903',), 1389642561: ('0.06652646405080903',), 1389642560: ('0.06652646405080903',), 1389642559: ('0.06652646405080903',), 1389642556: ('0.06652646405080903',), 1389642515: ('0.06652646405080903',), 1389642513: ('0.06652646405080903',), 1389642511: ('0.06652646405080903',), 1389642510: ('0.06652646405080903',), 1389642507: ('0.06652646405080903',), 1389642498: ('0.06652646405080903',), 1389642495: ('0.06652646405080903',), 1389642493: ('0.06652646405080903',), 1389642492: ('0.06652646405080903',), 1389642491: ('0.06652646405080903',), 1389642474: ('0.06652646405080903',), 1389642471: ('0.06652646405080903',), 1389642467: ('0.06652646405080903',), 1389642464: ('0.06652646405080903',), 1389642462: ('0.06652646405080903',), 1389642399: ('0.06652646405080903',), 1389642397: ('0.06652646405080903',), 1389642390: ('0.06652646405080903',), 1389642384: ('0.06652646405080903',), 1389642379: ('0.06652646405080903',), 1389642374: ('0.06652646405080903',), 1389642372: ('0.06652646405080903',), 1389642371: ('0.06652646405080903',), 1389642369: ('0.06652646405080903',), 1389642363: ('0.06652646405080903',), 1389642360: ('0.06652646405080903',), 1389642357: ('0.06652646405080903',), 1389642355: ('0.06652646405080903',), 1389642353: ('0.06652646405080903',), 1389642343: ('0.06652646405080903',), 1389642326: ('0.06652646405080903',), 1389642325: ()} output_args : {1389642565: ('0.06652646405080903',), 1389642563: ('0.06652646405080903',), 1389642561: ('0.06652646405080903',), 1389642560: ('0.06652646405080903',), 1389642559: ('0.06652646405080903',), 1389642556: ('0.06652646405080903',), 1389642515: ('0.06652646405080903',), 1389642513: ('0.06652646405080903',), 1389642511: ('0.06652646405080903',), 1389642510: ('0.06652646405080903',), 1389642507: ('0.06652646405080903',), 1389642498: ('0.06652646405080903',), 1389642495: ('0.06652646405080903',), 1389642493: ('0.06652646405080903',), 1389642492: ('0.06652646405080903',), 1389642491: ('0.06652646405080903',), 1389642474: ('0.06652646405080903',), 1389642471: ('0.06652646405080903',), 1389642467: ('0.06652646405080903',), 1389642464: ('0.06652646405080903',), 1389642462: ('0.06652646405080903',), 1389642399: ('0.06652646405080903',), 1389642397: ('0.06652646405080903',), 1389642390: ('0.06652646405080903',), 1389642384: ('0.06652646405080903',), 1389642379: ('0.06652646405080903',), 1389642374: ('0.06652646405080903',), 1389642372: ('0.06652646405080903',), 1389642371: ('0.06652646405080903',), 1389642369: ('0.06652646405080903',), 1389642363: ('0.06652646405080903',), 1389642360: ('0.06652646405080903',), 1389642357: ('0.06652646405080903',), 1389642355: ('0.06652646405080903',), 1389642353: ('0.06652646405080903',), 1389642343: ('0.06652646405080903',), 1389642326: ('0.06652646405080903',), 1389642325: ('0.06652646405080903',), 1389642324: ('0.06652646405080903',)} args : 1389642325 depend.output_id : 0 input_args_next_step : {1389642565: ('0.06652646405080903',), 1389642563: ('0.06652646405080903',), 1389642561: ('0.06652646405080903',), 1389642560: ('0.06652646405080903',), 1389642559: ('0.06652646405080903',), 1389642556: ('0.06652646405080903',), 1389642515: ('0.06652646405080903',), 1389642513: ('0.06652646405080903',), 1389642511: ('0.06652646405080903',), 1389642510: ('0.06652646405080903',), 1389642507: ('0.06652646405080903',), 1389642498: ('0.06652646405080903',), 1389642495: ('0.06652646405080903',), 1389642493: ('0.06652646405080903',), 1389642492: ('0.06652646405080903',), 1389642491: ('0.06652646405080903',), 1389642474: ('0.06652646405080903',), 1389642471: ('0.06652646405080903',), 1389642467: ('0.06652646405080903',), 1389642464: ('0.06652646405080903',), 1389642462: ('0.06652646405080903',), 1389642399: ('0.06652646405080903',), 1389642397: ('0.06652646405080903',), 1389642390: ('0.06652646405080903',), 1389642384: ('0.06652646405080903',), 1389642379: ('0.06652646405080903',), 1389642374: ('0.06652646405080903',), 1389642372: ('0.06652646405080903',), 1389642371: ('0.06652646405080903',), 1389642369: ('0.06652646405080903',), 1389642363: ('0.06652646405080903',), 1389642360: ('0.06652646405080903',), 1389642357: ('0.06652646405080903',), 1389642355: ('0.06652646405080903',), 1389642353: ('0.06652646405080903',), 1389642343: ('0.06652646405080903',), 1389642326: ('0.06652646405080903',), 1389642325: ('0.06652646405080903',), 1389642324: ()} output_args : {1389642565: ('0.06652646405080903',), 1389642563: ('0.06652646405080903',), 1389642561: ('0.06652646405080903',), 1389642560: ('0.06652646405080903',), 1389642559: ('0.06652646405080903',), 1389642556: ('0.06652646405080903',), 1389642515: ('0.06652646405080903',), 1389642513: ('0.06652646405080903',), 1389642511: ('0.06652646405080903',), 1389642510: ('0.06652646405080903',), 1389642507: ('0.06652646405080903',), 1389642498: ('0.06652646405080903',), 1389642495: ('0.06652646405080903',), 1389642493: ('0.06652646405080903',), 1389642492: ('0.06652646405080903',), 1389642491: ('0.06652646405080903',), 1389642474: ('0.06652646405080903',), 1389642471: ('0.06652646405080903',), 1389642467: ('0.06652646405080903',), 1389642464: ('0.06652646405080903',), 1389642462: ('0.06652646405080903',), 1389642399: ('0.06652646405080903',), 1389642397: ('0.06652646405080903',), 1389642390: ('0.06652646405080903',), 1389642384: ('0.06652646405080903',), 1389642379: ('0.06652646405080903',), 1389642374: ('0.06652646405080903',), 1389642372: ('0.06652646405080903',), 1389642371: ('0.06652646405080903',), 1389642369: ('0.06652646405080903',), 1389642363: ('0.06652646405080903',), 1389642360: ('0.06652646405080903',), 1389642357: ('0.06652646405080903',), 1389642355: ('0.06652646405080903',), 1389642353: ('0.06652646405080903',), 1389642343: ('0.06652646405080903',), 1389642326: ('0.06652646405080903',), 1389642325: ('0.06652646405080903',), 1389642324: ('0.06652646405080903',)} args : 1389642324 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 : {27843177: [{'Carton_brun': 27843179, 'autre_refus': 27843180, 'kraft': 27843181, 'environnement': 27843182, 'Teint_Dans_La_Masse': 27843183, 'cartonnette': 27843184, 'papier': 27843185, 'plastique': 27843186, 'flou': 27843187, 'metal': 27843188, 'mal_croppe': 27843189, 'Carton_gris': 27843190}]} input_args_next_step : {1389642565: ('0.06652646405080903',), 1389642563: ('0.06652646405080903',), 1389642561: ('0.06652646405080903',), 1389642560: ('0.06652646405080903',), 1389642559: ('0.06652646405080903',), 1389642556: ('0.06652646405080903',), 1389642515: ('0.06652646405080903',), 1389642513: ('0.06652646405080903',), 1389642511: ('0.06652646405080903',), 1389642510: ('0.06652646405080903',), 1389642507: ('0.06652646405080903',), 1389642498: ('0.06652646405080903',), 1389642495: ('0.06652646405080903',), 1389642493: ('0.06652646405080903',), 1389642492: ('0.06652646405080903',), 1389642491: ('0.06652646405080903',), 1389642474: ('0.06652646405080903',), 1389642471: ('0.06652646405080903',), 1389642467: ('0.06652646405080903',), 1389642464: ('0.06652646405080903',), 1389642462: ('0.06652646405080903',), 1389642399: ('0.06652646405080903',), 1389642397: ('0.06652646405080903',), 1389642390: ('0.06652646405080903',), 1389642384: ('0.06652646405080903',), 1389642379: ('0.06652646405080903',), 1389642374: ('0.06652646405080903',), 1389642372: ('0.06652646405080903',), 1389642371: ('0.06652646405080903',), 1389642369: ('0.06652646405080903',), 1389642363: ('0.06652646405080903',), 1389642360: ('0.06652646405080903',), 1389642357: ('0.06652646405080903',), 1389642355: ('0.06652646405080903',), 1389642353: ('0.06652646405080903',), 1389642343: ('0.06652646405080903',), 1389642326: ('0.06652646405080903',), 1389642325: ('0.06652646405080903',), 1389642324: ('0.06652646405080903',), 27843177: ()} output_args : {27843177: [{'Carton_brun': 27843179, 'autre_refus': 27843180, 'kraft': 27843181, 'environnement': 27843182, 'Teint_Dans_La_Masse': 27843183, 'cartonnette': 27843184, 'papier': 27843185, 'plastique': 27843186, 'flou': 27843187, 'metal': 27843188, 'mal_croppe': 27843189, 'Carton_gris': 27843190}]} args : 27843177 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 :40, first value : ('0.06652646405080903',) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (27843177) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {} map_subphoto_mainphoto : {} dans la step send mail cod work_area: /home/admin/workarea/git/Velours/python in order to get the selector url, please entre the license of selector SELECT photo_id, url FROM MTRBack.photos_view ph WHERE photo_id IN (1389642565,1389642563,1389642561,1389642560,1389642559,1389642556,1389642515,1389642513,1389642511,1389642510,1389642507,1389642498,1389642495,1389642493,1389642492,1389642491,1389642474,1389642471,1389642467,1389642464,1389642462,1389642399,1389642397,1389642390,1389642384,1389642379,1389642374,1389642372,1389642371,1389642369,1389642363,1389642360,1389642357,1389642355,1389642353,1389642343,1389642326,1389642325,1389642324) Found this number of photos: 39 ##### Call download_photos : nb_thread : 5 begin to download photo : 1389642324 begin to download photo : 1389642363 begin to download photo : 1389642397 begin to download photo : 1389642492 begin to download photo : 1389642515 download finish for photo 1389642324 begin to download photo : 1389642325 download finish for photo 1389642363 begin to download photo : 1389642369 download finish for photo 1389642397 begin to download photo : 1389642399 download finish for photo 1389642515 begin to download photo : 1389642556 download finish for photo 1389642492 begin to download photo : 1389642493 download finish for photo 1389642369 begin to download photo : 1389642371 download finish for photo 1389642325 begin to download photo : 1389642326 download finish for photo 1389642556 begin to download photo : 1389642559 download finish for photo 1389642399 begin to download photo : 1389642462 download finish for photo 1389642493 begin to download photo : 1389642495 download finish for photo 1389642326 begin to download photo : 1389642343 download finish for photo 1389642371 begin to download photo : 1389642372 download finish for photo 1389642462 begin to download photo : 1389642464 download finish for photo 1389642559 begin to download photo : 1389642560 download finish for photo 1389642495 begin to download photo : 1389642498 download finish for photo 1389642343 begin to download photo : 1389642353 download finish for photo 1389642372 begin to download photo : 1389642374 download finish for photo 1389642464 begin to download photo : 1389642467 download finish for photo 1389642498 begin to download photo : 1389642507 download finish for photo 1389642560 begin to download photo : 1389642561 download finish for photo 1389642353 begin to download photo : 1389642355 download finish for photo 1389642467 begin to download photo : 1389642471 download finish for photo 1389642374 begin to download photo : 1389642379 download finish for photo 1389642561 begin to download photo : 1389642563 download finish for photo 1389642507 begin to download photo : 1389642510 download finish for photo 1389642355 begin to download photo : 1389642357 download finish for photo 1389642471 begin to download photo : 1389642474 download finish for photo 1389642510 begin to download photo : 1389642511 download finish for photo 1389642379 begin to download photo : 1389642384 download finish for photo 1389642357 begin to download photo : 1389642360 download finish for photo 1389642563 begin to download photo : 1389642565 download finish for photo 1389642511 begin to download photo : 1389642513 download finish for photo 1389642474 begin to download photo : 1389642491 download finish for photo 1389642384 begin to download photo : 1389642390 download finish for photo 1389642360 download finish for photo 1389642565 download finish for photo 1389642513 download finish for photo 1389642491 download finish for photo 1389642390 we have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB ##### After download_photos length of list_filenames : 39 ; length of list_pids : 39 ; length of list_args : 39 results_Auto_P27843177_16-10-2025_05_52_37.pdf 27843180 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=27843180 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1389642481: '1760555603_2871051_1389642374_f23aa0da0d21c8e488053020dd5b4ab1_rle_crop_3999132737_0.png', 1389642610: '1760555845_2880743_1389642510_9558482e85e856ed94aa813e3135691e_rle_crop_3999133697_0.png', 1389642611: '1760555845_2880743_1389642507_db3fbdf893cd35a4514a8f95e00c889f_rle_crop_3999133708_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/15/16871aff91d693e5af20cda48d25dc4a_95383642.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/15/1263580021f2c6f7820939d8bebdc8aa_86740167.png change filename to text .imagette278431801760586757/ imagette278431801760586757/1760555845_2880743_1389642507_db3fbdf893cd35a4514a8f95e00c889f_rle_crop_3999133708_0.png.png imagette278431801760586757/1760555603_2871051_1389642374_f23aa0da0d21c8e488053020dd5b4ab1_rle_crop_3999132737_0.png.png imagette278431801760586757/1760555845_2880743_1389642510_9558482e85e856ed94aa813e3135691e_rle_crop_3999133697_0.png.png wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/15/cc6ac5509d8dd46b1b9f67fbde23fd3a_58637150.png imagette278431801760586757 27843181 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=27843181 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1389642381: '1760555465_2865653_1389642324_36ce1cf05749fadf8c0d9840c3973f63_rle_crop_3999132162_0.png', 1389642489: '1760555603_2871051_1389642371_1430dfe9437fe3d53b16b5003d652287_rle_crop_3999132771_0.png', 1389642615: '1760555845_2880743_1389642507_db3fbdf893cd35a4514a8f95e00c889f_rle_crop_3999133716_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/15/51e073c3a360766d95cdec3df88f3fbe_96763747.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/15/c6c364aa6fec020e523cdccc524f8bd6_27245035.png change filename to text .imagette278431811760586757/ imagette278431811760586757/1760555603_2871051_1389642371_1430dfe9437fe3d53b16b5003d652287_rle_crop_3999132771_0.png.png imagette278431811760586757/1760555845_2880743_1389642507_db3fbdf893cd35a4514a8f95e00c889f_rle_crop_3999133716_0.png.png imagette278431811760586757/1760555465_2865653_1389642324_36ce1cf05749fadf8c0d9840c3973f63_rle_crop_3999132162_0.png.png wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/15/9e2c306541296d0d095acd5f1f0f754e_35106901.png imagette278431811760586757 27843184 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=27843184 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1389642483: '1760555603_2871051_1389642372_50b0814a018bcf9d0706ecd17db14714_rle_crop_3999132751_0.png', 1389642522: '1760555707_2874509_1389642471_bf2cb2758cbfbd20485b313f613860bb_rle_crop_3999132897_0.png', 1389642542: '1760555724_2875039_1389642343_0200d8cbc1f0da4bded7be9ce370a1f5_rle_crop_3999133229_0.png', 1389642613: '1760555845_2880743_1389642510_9558482e85e856ed94aa813e3135691e_rle_crop_3999133702_0.png', 1389644008: '1760557624_2967189_1389642474_a7d8e8ffdf33dd891f2e45828c6db1cc_rle_crop_3999148457_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/15/ef71aa6636f68c38eb84c5554f5f2a81_94726905.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/15/9c4aa58e2cdf2f8a639f5b4339909a44_82548213.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/15/d4e972e3c77077fc442604d7796bcb40_87487970.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/15/f7cdcd25da37fe884cb33c698d34c704_11795365.png change filename to text .imagette278431841760586757/ imagette278431841760586757/1760557624_2967189_1389642474_a7d8e8ffdf33dd891f2e45828c6db1cc_rle_crop_3999148457_0.png.png imagette278431841760586757/1760555707_2874509_1389642471_bf2cb2758cbfbd20485b313f613860bb_rle_crop_3999132897_0.png.png imagette278431841760586757/1760555845_2880743_1389642510_9558482e85e856ed94aa813e3135691e_rle_crop_3999133702_0.png.png imagette278431841760586757/1760555603_2871051_1389642372_50b0814a018bcf9d0706ecd17db14714_rle_crop_3999132751_0.png.png imagette278431841760586757/1760555724_2875039_1389642343_0200d8cbc1f0da4bded7be9ce370a1f5_rle_crop_3999133229_0.png.png wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/15/5e7886f888b69621cdff78ce355c05d8_63116537.png imagette278431841760586757 27843186 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=27843186 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1389642488: '1760555603_2871051_1389642374_f23aa0da0d21c8e488053020dd5b4ab1_rle_crop_3999132732_0.png'} change filename to text .imagette278431861760586758/ imagette278431861760586758/1760555603_2871051_1389642374_f23aa0da0d21c8e488053020dd5b4ab1_rle_crop_3999132732_0.png.png imagette278431871760586758/ imagette278431881760586758/ imagette278431891760586758/ wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/15/e7f40eb170b468730b5620f371b4df1b_8367428.png imagette278431861760586758 27843187 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=27843187 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette278431871760586758 27843188 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=27843188 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette278431881760586758 27843189 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=27843189 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette278431891760586758 27843179 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=27843179 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1389642484: '1760555603_2871051_1389642379_b2ffd6f3975f71f87aa1ac4bdaabad49_rle_crop_3999132718_0.png', 1389642485: '1760555603_2871051_1389642372_50b0814a018bcf9d0706ecd17db14714_rle_crop_3999132758_0.png', 1389642486: '1760555603_2871051_1389642371_1430dfe9437fe3d53b16b5003d652287_rle_crop_3999132770_0.png', 1389642487: '1760555603_2871051_1389642371_1430dfe9437fe3d53b16b5003d652287_rle_crop_3999132765_0.png', 1389642525: '1760555707_2874509_1389642467_708d6d4b7502e42a2a486a1404505313_rle_crop_3999132916_0.png', 1389642543: '1760555724_2875039_1389642384_ae356fb0cdee89d05f80492fcb2955b9_rle_crop_3999133154_0.png', 1389642576: '1760555824_2880335_1389642493_de7ffdc73c8aade1ac6d0532a3408dc6_rle_crop_3999133595_0.png', 1389642614: '1760555845_2880743_1389642507_db3fbdf893cd35a4514a8f95e00c889f_rle_crop_3999133710_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/15/4fb87ecf9effdcda6f9c52c4db133123_45264346.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/15/892253fd6253f62a4d37fcc6fccc915f_69085696.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/15/54884d55718c55ee3e19a42cb8e205b7_16549643.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/15/c8e8607f49ec06cd407b930c74f2c6db_7847494.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/15/55e445ef72c6206455ea7e0f24fcf159_5454105.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/15/056dab87dc50335de3b3f462b6eb89f6_37976856.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/15/f004f743d222d40c00bcdd9a4ea6e417_56922355.png change filename to text .imagette278431791760586758/ imagette278431791760586758/1760555724_2875039_1389642384_ae356fb0cdee89d05f80492fcb2955b9_rle_crop_3999133154_0.png.png imagette278431791760586758/1760555707_2874509_1389642467_708d6d4b7502e42a2a486a1404505313_rle_crop_3999132916_0.png.png imagette278431791760586758/1760555603_2871051_1389642371_1430dfe9437fe3d53b16b5003d652287_rle_crop_3999132770_0.png.png imagette278431791760586758/1760555603_2871051_1389642379_b2ffd6f3975f71f87aa1ac4bdaabad49_rle_crop_3999132718_0.png.png imagette278431791760586758/1760555603_2871051_1389642372_50b0814a018bcf9d0706ecd17db14714_rle_crop_3999132758_0.png.png imagette278431791760586758/1760555824_2880335_1389642493_de7ffdc73c8aade1ac6d0532a3408dc6_rle_crop_3999133595_0.png.png imagette278431791760586758/1760555603_2871051_1389642371_1430dfe9437fe3d53b16b5003d652287_rle_crop_3999132765_0.png.png imagette278431791760586758/1760555845_2880743_1389642507_db3fbdf893cd35a4514a8f95e00c889f_rle_crop_3999133710_0.png.png wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/15/2a411da40c7b4205150d887272f211cb_4523020.png imagette278431791760586758 27843183 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=27843183 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1389642377: '1760555465_2865653_1389642325_b41293a29ece8efb07b5b6cb6d081f32_rle_crop_3999132154_0.png', 1389642378: '1760555465_2865653_1389642324_36ce1cf05749fadf8c0d9840c3973f63_rle_crop_3999132167_0.png', 1389642517: '1760555707_2874509_1389642471_bf2cb2758cbfbd20485b313f613860bb_rle_crop_3999132899_0.png', 1389642518: '1760555707_2874509_1389642471_bf2cb2758cbfbd20485b313f613860bb_rle_crop_3999132898_0.png', 1389642519: '1760555707_2874509_1389642462_57422d37479c02c15c27a779d2046ea0_rle_crop_3999132939_0.png', 1389642534: '1760555724_2875039_1389642384_ae356fb0cdee89d05f80492fcb2955b9_rle_crop_3999133152_0.png', 1389642535: '1760555724_2875039_1389642360_1e378b6d24c567e2d8b30c502d3005ba_rle_crop_3999133169_0.png', 1389642536: '1760555724_2875039_1389642357_fd0c04a8312d1201ff37ef8f7d98fe24_rle_crop_3999133184_0.png', 1389642537: '1760555724_2875039_1389642355_c7e2e7cd66b3d50167ac473d7aeddffa_rle_crop_3999133196_0.png', 1389642538: '1760555724_2875039_1389642353_af62ef1a19579da33b9252f6437527b9_rle_crop_3999133211_0.png', 1389642539: '1760555724_2875039_1389642353_af62ef1a19579da33b9252f6437527b9_rle_crop_3999133208_0.png', 1389642540: '1760555724_2875039_1389642343_0200d8cbc1f0da4bded7be9ce370a1f5_rle_crop_3999133230_0.png', 1389642541: '1760555724_2875039_1389642343_0200d8cbc1f0da4bded7be9ce370a1f5_rle_crop_3999133224_0.png', 1389642572: '1760555824_2880335_1389642492_fc9b9a64d86ad955f98337857b3de0a0_rle_crop_3999133607_0.png', 1389642599: '1760555845_2880743_1389642507_db3fbdf893cd35a4514a8f95e00c889f_rle_crop_3999133709_0.png', 1389642600: '1760555845_2880743_1389642507_db3fbdf893cd35a4514a8f95e00c889f_rle_crop_3999133712_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/15/b62a847b6b5d6b2e19ba1c7c602ebadf_20183843.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/15/11254f8543c9a82d23648ceae5181dc0_87702231.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/15/10891e6b12c742a850249949b8ee63cb_38353759.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/15/9c6ca070439c0811cc436f0edf883c61_39288348.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/15/5f4302a54517a777e9ea68757d23fbe7_88849465.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/15/c57d7e8c3c04c045b8f5e9adb2134593_7058693.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/15/24d5aa3b8c8ffa7107c1d04c88806ef3_43119858.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/15/5db6b9353fb4c95f6b0e7c7a046debb4_17972205.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/15/e7d669beeb1810a17a12c4ea7acccdd8_87416884.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/15/ae110a36b40a4c35b8b2851aca4c1b8b_99786504.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/15/7f4f08f4ee88dd0b17d83b562b0baa1f_73049791.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/15/9bf622b7b4c81bf3dd6afb2b78beba7b_64556627.png change filename to text .wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/15/67604364eb5e4bf8d2622563c0142ea8_84935791.png change filename to text .wget -O 14.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/15/64e8fcfe90a7d13a07e03ae0d35d9716_44340082.png change filename to text .wget -O 15.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/15/50a4c31588b263f0ac34002f8b6159e2_62851336.png change filename to text .imagette278431831760586759/ imagette278431831760586759/1760555465_2865653_1389642324_36ce1cf05749fadf8c0d9840c3973f63_rle_crop_3999132167_0.png.png imagette278431831760586759/1760555707_2874509_1389642462_57422d37479c02c15c27a779d2046ea0_rle_crop_3999132939_0.png.png imagette278431831760586759/1760555724_2875039_1389642353_af62ef1a19579da33b9252f6437527b9_rle_crop_3999133208_0.png.png imagette278431831760586759/1760555465_2865653_1389642325_b41293a29ece8efb07b5b6cb6d081f32_rle_crop_3999132154_0.png.png imagette278431831760586759/1760555824_2880335_1389642492_fc9b9a64d86ad955f98337857b3de0a0_rle_crop_3999133607_0.png.png imagette278431831760586759/1760555724_2875039_1389642353_af62ef1a19579da33b9252f6437527b9_rle_crop_3999133211_0.png.png imagette278431831760586759/1760555707_2874509_1389642471_bf2cb2758cbfbd20485b313f613860bb_rle_crop_3999132899_0.png.png imagette278431831760586759/1760555845_2880743_1389642507_db3fbdf893cd35a4514a8f95e00c889f_rle_crop_3999133709_0.png.png imagette278431831760586759/1760555724_2875039_1389642355_c7e2e7cd66b3d50167ac473d7aeddffa_rle_crop_3999133196_0.png.png imagette278431831760586759/1760555724_2875039_1389642343_0200d8cbc1f0da4bded7be9ce370a1f5_rle_crop_3999133224_0.png.png imagette278431831760586759/1760555724_2875039_1389642360_1e378b6d24c567e2d8b30c502d3005ba_rle_crop_3999133169_0.png.png imagette278431831760586759/1760555724_2875039_1389642343_0200d8cbc1f0da4bded7be9ce370a1f5_rle_crop_3999133230_0.png.png imagette278431831760586759/1760555845_2880743_1389642507_db3fbdf893cd35a4514a8f95e00c889f_rle_crop_3999133712_0.png.png imagette278431831760586759/1760555724_2875039_1389642384_ae356fb0cdee89d05f80492fcb2955b9_rle_crop_3999133152_0.png.png imagette278431831760586759/1760555707_2874509_1389642471_bf2cb2758cbfbd20485b313f613860bb_rle_crop_3999132898_0.png.png imagette278431831760586759/1760555724_2875039_1389642357_fd0c04a8312d1201ff37ef8f7d98fe24_rle_crop_3999133184_0.png.png wget -O 16.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/15/2ff45d540f73b364b16e4122d2156c20_59901011.png imagette278431831760586759 27843190 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=27843190 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1389642380: '1760555465_2865653_1389642324_36ce1cf05749fadf8c0d9840c3973f63_rle_crop_3999132161_0.png', 1389642482: '1760555603_2871051_1389642371_1430dfe9437fe3d53b16b5003d652287_rle_crop_3999132763_0.png', 1389642520: '1760555707_2874509_1389642464_b6e156f3eef9f30ff84570b74e4b75d5_rle_crop_3999132924_0.png', 1389642521: '1760555707_2874509_1389642464_b6e156f3eef9f30ff84570b74e4b75d5_rle_crop_3999132925_0.png', 1389642574: '1760555824_2880335_1389642493_de7ffdc73c8aade1ac6d0532a3408dc6_rle_crop_3999133589_0.png', 1389642575: '1760555824_2880335_1389642492_fc9b9a64d86ad955f98337857b3de0a0_rle_crop_3999133611_0.png', 1389644007: '1760557624_2967189_1389642474_a7d8e8ffdf33dd891f2e45828c6db1cc_rle_crop_3999148454_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/15/d13695dff618f777d98643c5c59db81e_10332738.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/15/a501b129c545bbbbeb5f3cb97e71a20d_80255263.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/15/3ef841e9cead81bc9b4de4f89873cfee_56520601.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/15/c943e7b6baae07d493d02ea51f9859e4_51768425.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/15/4e166120b6cde9196ade5475b47a444a_22769803.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/15/1e0c3355069043623d6350a356c91e52_69670818.png change filename to text .imagette278431901760586760/ imagette278431901760586760/1760555603_2871051_1389642371_1430dfe9437fe3d53b16b5003d652287_rle_crop_3999132763_0.png.png imagette278431901760586760/1760555824_2880335_1389642493_de7ffdc73c8aade1ac6d0532a3408dc6_rle_crop_3999133589_0.png.png imagette278431901760586760/1760555707_2874509_1389642464_b6e156f3eef9f30ff84570b74e4b75d5_rle_crop_3999132924_0.png.png imagette278431901760586760/1760557624_2967189_1389642474_a7d8e8ffdf33dd891f2e45828c6db1cc_rle_crop_3999148454_0.png.png imagette278431901760586760/1760555707_2874509_1389642464_b6e156f3eef9f30ff84570b74e4b75d5_rle_crop_3999132925_0.png.png imagette278431901760586760/1760555465_2865653_1389642324_36ce1cf05749fadf8c0d9840c3973f63_rle_crop_3999132161_0.png.png imagette278431901760586760/1760555824_2880335_1389642492_fc9b9a64d86ad955f98337857b3de0a0_rle_crop_3999133611_0.png.png wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/15/a7383c77aa3bf305b1522a18f67db6d6_3534585.png imagette278431901760586760 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=27843177 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://marlene.fotonower.com/velours/27843191,27843192,27843193,27843194,27843195,27843196,27843197,27843198,27843199,27843200,27843201,27843202?tags=Carton_brun,autre_refus,kraft,environnement,Teint_Dans_La_Masse,cartonnette,papier,plastique,flou,metal,mal_croppe,Carton_gris your option no_mail is active, we will not send the real mail to your client args[1389642565] : ('0.06652646405080903',) no score found for photo 1389642565 We are sending mail with results at report@fotonower.com args[1389642563] : ('0.06652646405080903',) no score found for photo 1389642563 We are sending mail with results at report@fotonower.com args[1389642561] : ('0.06652646405080903',) no score found for photo 1389642561 We are sending mail with results at report@fotonower.com args[1389642560] : ('0.06652646405080903',) no score found for photo 1389642560 We are sending mail with results at report@fotonower.com args[1389642559] : ('0.06652646405080903',) no score found for photo 1389642559 We are sending mail with results at report@fotonower.com args[1389642556] : ('0.06652646405080903',) no score found for photo 1389642556 We are sending mail with results at report@fotonower.com args[1389642515] : ('0.06652646405080903',) no score found for photo 1389642515 We are sending mail with results at report@fotonower.com args[1389642513] : ('0.06652646405080903',) no score found for photo 1389642513 We are sending mail with results at report@fotonower.com args[1389642511] : ('0.06652646405080903',) no score found for photo 1389642511 We are sending mail with results at report@fotonower.com args[1389642510] : ('0.06652646405080903',) no score found for photo 1389642510 We are sending mail with results at report@fotonower.com args[1389642507] : ('0.06652646405080903',) no score found for photo 1389642507 We are sending mail with results at report@fotonower.com args[1389642498] : ('0.06652646405080903',) no score found for photo 1389642498 We are sending mail with results at report@fotonower.com args[1389642495] : ('0.06652646405080903',) no score found for photo 1389642495 We are sending mail with results at report@fotonower.com args[1389642493] : ('0.06652646405080903',) no score found for photo 1389642493 We are sending mail with results at report@fotonower.com args[1389642492] : ('0.06652646405080903',) no score found for photo 1389642492 We are sending mail with results at report@fotonower.com args[1389642491] : ('0.06652646405080903',) no score found for photo 1389642491 We are sending mail with results at report@fotonower.com args[1389642474] : ('0.06652646405080903',) no score found for photo 1389642474 We are sending mail with results at report@fotonower.com args[1389642471] : ('0.06652646405080903',) no score found for photo 1389642471 We are sending mail with results at report@fotonower.com args[1389642467] : ('0.06652646405080903',) no score found for photo 1389642467 We are sending mail with results at report@fotonower.com args[1389642464] : ('0.06652646405080903',) no score found for photo 1389642464 We are sending mail with results at report@fotonower.com args[1389642462] : ('0.06652646405080903',) no score found for photo 1389642462 We are sending mail with results at report@fotonower.com args[1389642399] : ('0.06652646405080903',) no score found for photo 1389642399 We are sending mail with results at report@fotonower.com args[1389642397] : ('0.06652646405080903',) no score found for photo 1389642397 We are sending mail with results at report@fotonower.com args[1389642390] : ('0.06652646405080903',) no score found for photo 1389642390 We are sending mail with results at report@fotonower.com args[1389642384] : ('0.06652646405080903',) no score found for photo 1389642384 We are sending mail with results at report@fotonower.com args[1389642379] : ('0.06652646405080903',) no score found for photo 1389642379 We are sending mail with results at report@fotonower.com args[1389642374] : ('0.06652646405080903',) no score found for photo 1389642374 We are sending mail with results at report@fotonower.com args[1389642372] : ('0.06652646405080903',) no score found for photo 1389642372 We are sending mail with results at report@fotonower.com args[1389642371] : ('0.06652646405080903',) no score found for photo 1389642371 We are sending mail with results at report@fotonower.com args[1389642369] : ('0.06652646405080903',) no score found for photo 1389642369 We are sending mail with results at report@fotonower.com args[1389642363] : ('0.06652646405080903',) no score found for photo 1389642363 We are sending mail with results at report@fotonower.com args[1389642360] : ('0.06652646405080903',) no score found for photo 1389642360 We are sending mail with results at report@fotonower.com args[1389642357] : ('0.06652646405080903',) no score found for photo 1389642357 We are sending mail with results at report@fotonower.com args[1389642355] : ('0.06652646405080903',) no score found for photo 1389642355 We are sending mail with results at report@fotonower.com args[1389642353] : ('0.06652646405080903',) no score found for photo 1389642353 We are sending mail with results at report@fotonower.com args[1389642343] : ('0.06652646405080903',) no score found for photo 1389642343 We are sending mail with results at report@fotonower.com args[1389642326] : ('0.06652646405080903',) no score found for photo 1389642326 We are sending mail with results at report@fotonower.com args[1389642325] : ('0.06652646405080903',) no score found for photo 1389642325 We are sending mail with results at report@fotonower.com args[1389642324] : ('0.06652646405080903',) no score found for photo 1389642324 We are sending mail with results at report@fotonower.com refus_total : 0.06652646405080903 2022-04-13 10:29:59 0 SELECT ph.photo_id,ph.url,ph.username,ph.uploaded_at,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=27843177 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_P27843177_16-10-2025_05_52_37.pdf results_Auto_P27843177_16-10-2025_05_52_37.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27843177_16-10-2025_05_52_37.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','27843177','results_Auto_P27843177_16-10-2025_05_52_37.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27843177_16-10-2025_05_52_37.pdf','pdf','','0.41','0.06652646405080903') After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([27843177]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1389642565, 1389642563, 1389642561, 1389642560, 1389642559, 1389642556, 1389642515, 1389642513, 1389642511, 1389642510, 1389642507, 1389642498, 1389642495, 1389642493, 1389642492, 1389642491, 1389642474, 1389642471, 1389642467, 1389642464, 1389642462, 1389642399, 1389642397, 1389642390, 1389642384, 1389642379, 1389642374, 1389642372, 1389642371, 1389642369, 1389642363, 1389642360, 1389642357, 1389642355, 1389642353, 1389642343, 1389642326, 1389642325, 1389642324] map_info['map_portfolio_photo'] : {27843177: [1389642565, 1389642563, 1389642561, 1389642560, 1389642559, 1389642556, 1389642515, 1389642513, 1389642511, 1389642510, 1389642507, 1389642498, 1389642495, 1389642493, 1389642492, 1389642491, 1389642474, 1389642471, 1389642467, 1389642464, 1389642462, 1389642399, 1389642397, 1389642390, 1389642384, 1389642379, 1389642374, 1389642372, 1389642371, 1389642369, 1389642363, 1389642360, 1389642357, 1389642355, 1389642353, 1389642343, 1389642326, 1389642325, 1389642324]} final : False mtd_id 4302 list_pids : [1389642565, 1389642563, 1389642561, 1389642560, 1389642559, 1389642556, 1389642515, 1389642513, 1389642511, 1389642510, 1389642507, 1389642498, 1389642495, 1389642493, 1389642492, 1389642491, 1389642474, 1389642471, 1389642467, 1389642464, 1389642462, 1389642399, 1389642397, 1389642390, 1389642384, 1389642379, 1389642374, 1389642372, 1389642371, 1389642369, 1389642363, 1389642360, 1389642357, 1389642355, 1389642353, 1389642343, 1389642326, 1389642325, 1389642324] 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, '3950312') ('4302', '27843177', '1389642565', None, None, None, None, None, '3950312') ('4302', None, None, None, None, None, None, None, '3950312') ('4302', '27843177', '1389642563', None, None, None, None, None, '3950312') ('4302', None, None, None, None, None, None, None, '3950312') ('4302', '27843177', '1389642561', None, None, None, None, None, '3950312') ('4302', None, None, None, None, None, None, None, '3950312') ('4302', '27843177', '1389642560', None, None, None, None, None, '3950312') ('4302', None, None, None, None, None, None, None, '3950312') ('4302', '27843177', '1389642559', None, None, None, None, None, '3950312') ('4302', None, None, None, None, None, None, None, '3950312') ('4302', '27843177', '1389642556', None, None, None, None, None, '3950312') ('4302', None, None, None, None, None, None, None, '3950312') ('4302', '27843177', '1389642515', None, None, None, None, None, '3950312') ('4302', None, None, None, None, None, None, None, '3950312') ('4302', '27843177', '1389642513', None, None, None, None, None, '3950312') ('4302', None, None, None, None, None, None, None, '3950312') ('4302', '27843177', '1389642511', None, None, None, None, None, '3950312') ('4302', None, None, None, None, None, None, None, '3950312') ('4302', '27843177', '1389642510', None, None, None, None, None, '3950312') ('4302', None, None, None, None, None, None, None, '3950312') ('4302', '27843177', '1389642507', None, None, None, None, None, '3950312') ('4302', None, None, None, None, None, None, None, '3950312') ('4302', '27843177', '1389642498', None, None, None, None, None, '3950312') ('4302', None, None, None, None, None, None, None, '3950312') ('4302', '27843177', '1389642495', None, None, None, None, None, '3950312') ('4302', None, None, None, None, None, None, None, '3950312') ('4302', '27843177', '1389642493', None, None, None, None, None, '3950312') ('4302', None, None, None, None, None, None, None, '3950312') ('4302', '27843177', '1389642492', None, None, None, None, None, '3950312') ('4302', None, None, None, None, None, None, None, '3950312') ('4302', '27843177', '1389642491', None, None, None, None, None, '3950312') ('4302', None, None, None, None, None, None, None, '3950312') ('4302', '27843177', '1389642474', None, None, None, None, None, '3950312') ('4302', None, None, None, None, None, None, None, '3950312') ('4302', '27843177', '1389642471', None, None, None, None, None, '3950312') ('4302', None, None, None, None, None, None, None, '3950312') ('4302', '27843177', '1389642467', None, None, None, None, None, '3950312') ('4302', None, None, None, None, None, None, None, '3950312') ('4302', '27843177', '1389642464', None, None, None, None, None, '3950312') ('4302', None, None, None, None, None, None, None, '3950312') ('4302', '27843177', '1389642462', None, None, None, None, None, '3950312') ('4302', None, None, None, None, None, None, None, '3950312') ('4302', '27843177', '1389642399', None, None, None, None, None, '3950312') ('4302', None, None, None, None, None, None, None, '3950312') ('4302', '27843177', '1389642397', None, None, None, None, None, '3950312') ('4302', None, None, None, None, None, None, None, '3950312') ('4302', '27843177', '1389642390', None, None, None, None, None, '3950312') ('4302', None, None, None, None, None, None, None, '3950312') ('4302', '27843177', '1389642384', None, None, None, None, None, '3950312') ('4302', None, None, None, None, None, None, None, '3950312') ('4302', '27843177', '1389642379', None, None, None, None, None, '3950312') ('4302', None, None, None, None, None, None, None, '3950312') ('4302', '27843177', '1389642374', None, None, None, None, None, '3950312') ('4302', None, None, None, None, None, None, None, '3950312') ('4302', '27843177', '1389642372', None, None, None, None, None, '3950312') ('4302', None, None, None, None, None, None, None, '3950312') ('4302', '27843177', '1389642371', None, None, None, None, None, '3950312') ('4302', None, None, None, None, None, None, None, '3950312') ('4302', '27843177', '1389642369', None, None, None, None, None, '3950312') ('4302', None, None, None, None, None, None, None, '3950312') ('4302', '27843177', '1389642363', None, None, None, None, None, '3950312') ('4302', None, None, None, None, None, None, None, '3950312') ('4302', '27843177', '1389642360', None, None, None, None, None, '3950312') ('4302', None, None, None, None, None, None, None, '3950312') ('4302', '27843177', '1389642357', None, None, None, None, None, '3950312') ('4302', None, None, None, None, None, None, None, '3950312') ('4302', '27843177', '1389642355', None, None, None, None, None, '3950312') ('4302', None, None, None, None, None, None, None, '3950312') ('4302', '27843177', '1389642353', None, None, None, None, None, '3950312') ('4302', None, None, None, None, None, None, None, '3950312') ('4302', '27843177', '1389642343', None, None, None, None, None, '3950312') ('4302', None, None, None, None, None, None, None, '3950312') ('4302', '27843177', '1389642326', None, None, None, None, None, '3950312') ('4302', None, None, None, None, None, None, None, '3950312') ('4302', '27843177', '1389642325', None, None, None, None, None, '3950312') ('4302', None, None, None, None, None, None, None, '3950312') ('4302', '27843177', '1389642324', None, None, None, None, None, '3950312') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 39 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', '27843177', '1389642565', None, None, None, None, None, '3950312'), ('4302', '27843177', '1389642563', None, None, None, None, None, '3950312'), ('4302', '27843177', '1389642561', None, None, None, None, None, '3950312'), ('4302', '27843177', '1389642560', None, None, None, None, None, '3950312'), ('4302', '27843177', '1389642559', None, None, None, None, None, '3950312'), ('4302', '27843177', '1389642556', None, None, None, None, None, '3950312'), ('4302', '27843177', '1389642515', None, None, None, None, None, '3950312'), ('4302', '27843177', '1389642513', None, None, None, None, None, '3950312'), ('4302', '27843177', '1389642511', None, None, None, None, None, '3950312'), ('4302', '27843177', '1389642510', None, None, None, None, None, '3950312'), ('4302', '27843177', '1389642507', None, None, None, None, None, '3950312'), ('4302', '27843177', '1389642498', None, None, None, None, None, '3950312'), ('4302', '27843177', '1389642495', None, None, None, None, None, '3950312'), ('4302', '27843177', '1389642493', None, None, None, None, None, '3950312'), ('4302', '27843177', '1389642492', None, None, None, None, None, '3950312'), ('4302', '27843177', '1389642491', None, None, None, None, None, '3950312'), ('4302', '27843177', '1389642474', None, None, None, None, None, '3950312'), ('4302', '27843177', '1389642471', None, None, None, None, None, '3950312'), ('4302', '27843177', '1389642467', None, None, None, None, None, '3950312'), ('4302', '27843177', '1389642464', None, None, None, None, None, '3950312'), ('4302', '27843177', '1389642462', None, None, None, None, None, '3950312'), ('4302', '27843177', '1389642399', None, None, None, None, None, '3950312'), ('4302', '27843177', '1389642397', None, None, None, None, None, '3950312'), ('4302', '27843177', '1389642390', None, None, None, None, None, '3950312'), ('4302', '27843177', '1389642384', None, None, None, None, None, '3950312'), ('4302', '27843177', '1389642379', None, None, None, None, None, '3950312'), ('4302', '27843177', '1389642374', None, None, None, None, None, '3950312'), ('4302', '27843177', '1389642372', None, None, None, None, None, '3950312'), ('4302', '27843177', '1389642371', None, None, None, None, None, '3950312'), ('4302', '27843177', '1389642369', None, None, None, None, None, '3950312'), ('4302', '27843177', '1389642363', None, None, None, None, None, '3950312'), ('4302', '27843177', '1389642360', None, None, None, None, None, '3950312'), ('4302', '27843177', '1389642357', None, None, None, None, None, '3950312'), ('4302', '27843177', '1389642355', None, None, None, None, None, '3950312'), ('4302', '27843177', '1389642353', None, None, None, None, None, '3950312'), ('4302', '27843177', '1389642343', None, None, None, None, None, '3950312'), ('4302', '27843177', '1389642326', None, None, None, None, None, '3950312'), ('4302', '27843177', '1389642325', None, None, None, None, None, '3950312'), ('4302', '27843177', '1389642324', None, None, None, None, None, '3950312')] time used for this insertion : 0.03957867622375488 save_final save missing photos in datou_result : time spend for datou_step_exec : 8.317702293395996 time spend to save output : 0.03999924659729004 total time spend for step 4 : 8.357701539993286 step5:split_time_score Thu Oct 16 05:52:44 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 : ['27843177'] 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 : [('27843177',)] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (27843177) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {1389642324: {'path': 'temp/1760586755_3308351_1389642324_36ce1cf05749fadf8c0d9840c3973f63.jpg', 'extension': 'jpg'}, 1389642325: {'path': 'temp/1760586755_3308351_1389642325_b41293a29ece8efb07b5b6cb6d081f32.jpg', 'extension': 'jpg'}, 1389642326: {'path': 'temp/1760586755_3308351_1389642326_49a7e968da47dd587ba3769268f2eb34.jpg', 'extension': 'jpg'}, 1389642343: {'path': 'temp/1760586755_3308351_1389642343_0200d8cbc1f0da4bded7be9ce370a1f5.jpg', 'extension': 'jpg'}, 1389642353: {'path': 'temp/1760586755_3308351_1389642353_af62ef1a19579da33b9252f6437527b9.jpg', 'extension': 'jpg'}, 1389642355: {'path': 'temp/1760586755_3308351_1389642355_c7e2e7cd66b3d50167ac473d7aeddffa.jpg', 'extension': 'jpg'}, 1389642357: {'path': 'temp/1760586755_3308351_1389642357_fd0c04a8312d1201ff37ef8f7d98fe24.jpg', 'extension': 'jpg'}, 1389642360: {'path': 'temp/1760586755_3308351_1389642360_1e378b6d24c567e2d8b30c502d3005ba.jpg', 'extension': 'jpg'}, 1389642515: {'path': 'temp/1760586755_3308351_1389642515_996a89ea70f79e873b9ca066ca4715cc.jpg', 'extension': 'jpg'}, 1389642556: {'path': 'temp/1760586755_3308351_1389642556_3fe184c7660e1cfb98d2269ce70a5a29.jpg', 'extension': 'jpg'}, 1389642559: {'path': 'temp/1760586755_3308351_1389642559_5c06baec58bbe874bcddba3f091721b8.jpg', 'extension': 'jpg'}, 1389642560: {'path': 'temp/1760586755_3308351_1389642560_66bc4b16582c46a53b3513caf494bab1.jpg', 'extension': 'jpg'}, 1389642561: {'path': 'temp/1760586755_3308351_1389642561_4ff856c09f72707ab2c6d5aac3dcd8a6.jpg', 'extension': 'jpg'}, 1389642563: {'path': 'temp/1760586755_3308351_1389642563_5a7c6994f4ae94262ecad26ad902e3cb.jpg', 'extension': 'jpg'}, 1389642565: {'path': 'temp/1760586755_3308351_1389642565_d878a5a53c4af6c4e4f4797fa44d18c8.jpg', 'extension': 'jpg'}, 1389642492: {'path': 'temp/1760586755_3308351_1389642492_fc9b9a64d86ad955f98337857b3de0a0.jpg', 'extension': 'jpg'}, 1389642493: {'path': 'temp/1760586755_3308351_1389642493_de7ffdc73c8aade1ac6d0532a3408dc6.jpg', 'extension': 'jpg'}, 1389642495: {'path': 'temp/1760586755_3308351_1389642495_0905995bc95bb4fe74dcebe49e784e05.jpg', 'extension': 'jpg'}, 1389642498: {'path': 'temp/1760586755_3308351_1389642498_4a7be23a108ecc384147b43d23f8d6a3.jpg', 'extension': 'jpg'}, 1389642507: {'path': 'temp/1760586755_3308351_1389642507_db3fbdf893cd35a4514a8f95e00c889f.jpg', 'extension': 'jpg'}, 1389642510: {'path': 'temp/1760586755_3308351_1389642510_9558482e85e856ed94aa813e3135691e.jpg', 'extension': 'jpg'}, 1389642511: {'path': 'temp/1760586755_3308351_1389642511_eddf5b92e75ae32fd3d00aaef592c355.jpg', 'extension': 'jpg'}, 1389642513: {'path': 'temp/1760586755_3308351_1389642513_02625225c996e47be915b53ac8e21674.jpg', 'extension': 'jpg'}, 1389642397: {'path': 'temp/1760586755_3308351_1389642397_0d2215bf7d0083608d33d4be485e2659.jpg', 'extension': 'jpg'}, 1389642399: {'path': 'temp/1760586755_3308351_1389642399_cc5bc5cba5d96328b7366796c3264cd7.jpg', 'extension': 'jpg'}, 1389642462: {'path': 'temp/1760586755_3308351_1389642462_57422d37479c02c15c27a779d2046ea0.jpg', 'extension': 'jpg'}, 1389642464: {'path': 'temp/1760586755_3308351_1389642464_b6e156f3eef9f30ff84570b74e4b75d5.jpg', 'extension': 'jpg'}, 1389642467: {'path': 'temp/1760586755_3308351_1389642467_708d6d4b7502e42a2a486a1404505313.jpg', 'extension': 'jpg'}, 1389642471: {'path': 'temp/1760586755_3308351_1389642471_bf2cb2758cbfbd20485b313f613860bb.jpg', 'extension': 'jpg'}, 1389642474: {'path': 'temp/1760586755_3308351_1389642474_a7d8e8ffdf33dd891f2e45828c6db1cc.jpg', 'extension': 'jpg'}, 1389642491: {'path': 'temp/1760586755_3308351_1389642491_1a3b5749b8e7fdedcc8928565d3d2bca.jpg', 'extension': 'jpg'}, 1389642363: {'path': 'temp/1760586755_3308351_1389642363_5a7c661a98917b5b844932c14c092dab.jpg', 'extension': 'jpg'}, 1389642369: {'path': 'temp/1760586755_3308351_1389642369_bfa868d16a527abe4499e533c723305d.jpg', 'extension': 'jpg'}, 1389642371: {'path': 'temp/1760586755_3308351_1389642371_1430dfe9437fe3d53b16b5003d652287.jpg', 'extension': 'jpg'}, 1389642372: {'path': 'temp/1760586755_3308351_1389642372_50b0814a018bcf9d0706ecd17db14714.jpg', 'extension': 'jpg'}, 1389642374: {'path': 'temp/1760586755_3308351_1389642374_f23aa0da0d21c8e488053020dd5b4ab1.jpg', 'extension': 'jpg'}, 1389642379: {'path': 'temp/1760586755_3308351_1389642379_b2ffd6f3975f71f87aa1ac4bdaabad49.jpg', 'extension': 'jpg'}, 1389642384: {'path': 'temp/1760586755_3308351_1389642384_ae356fb0cdee89d05f80492fcb2955b9.jpg', 'extension': 'jpg'}, 1389642390: {'path': 'temp/1760586755_3308351_1389642390_d77cd6949445157e47467ad43c821f13.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 = 27843177; (('arc_en_ciel_jrm',), ('arc_en_ciel_jrm_bis',)) TODO : Insert select and so on Begin split_port_in_batch_balle thcls : [{'id': 861, 'mtr_user_id': 31, 'name': 'Rungis_class_dechets_1212', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'Rungis_Aluminium,Rungis_Carton,Rungis_Papier,Rungis_Plastique_clair,Rungis_Plastique_dur,Rungis_Plastique_fonce,Rungis_Tapis_vide,Rungis_Tetrapak', 'svm_portfolios_learning': '1160730,571842,571844,571839,571933,571840,571841,572307', 'photo_hashtag_type': 999, 'photo_desc_type': 3963, 'type_classification': 'caffe', 'hashtag_id_list': '2107751280,2107750907,2107750908,2107750909,2107750910,2107750911,2107750912,2107750913'}] thcls : [{'id': 758, 'mtr_user_id': 31, 'name': 'Rungis_amount_dechets_fall_2018_v2', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': '05102018_Papier_non_papier_dense,05102018_Papier_non_papier_peu_dense,05102018_Papier_non_papier_presque_vide,05102018_Papier_non_papier_tres_dense,05102018_Papier_non_papier_tres_peu_dense', 'svm_portfolios_learning': '1108385,1108386,1108388,1108384,1108387', 'photo_hashtag_type': 856, 'photo_desc_type': 3853, 'type_classification': 'caffe', 'hashtag_id_list': '2107751013,2107751014,2107751015,2107751016,2107751017'}] select SUBSTRING(ph.text,16,2) as h, count(*) from MTRUser.mtr_portfolio_photos mpp inner join MTRBack.photos_view ph on mpp.mtr_photo_id = ph.photo_id where mpp.mtr_portfolio_id = 27843177 group by h (('21', 39),) SELECT ph.photo_id,ph.url,ph.username,ph.uploaded_at,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=27843177 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 (27843177) 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 (27843177) AND cps.thcl in (758) order by cps.score desc LIMIT 0, 100000 ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 15102025 27843177 Nombre de photos uploadées : 39 / 23040 (0%) 15102025 27843177 Nombre de photos taguées (types de déchets): 0 / 39 (0%) 15102025 27843177 Nombre de photos taguées (volume) : 0 / 39 (0%) [{'photo_id': 1389642326, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/15/49a7e968da47dd587ba3769268f2eb34.jpg', 'username': None, 'uploaded_at': 1760555348, 'text': 'image_15102025_21_03_14_10140.jpg'}, {'photo_id': 1389642325, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/15/b41293a29ece8efb07b5b6cb6d081f32.jpg', 'username': None, 'uploaded_at': 1760555348, 'text': 'image_15102025_21_08_34_010136m0.jpg 1e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1389642324, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/15/36ce1cf05749fadf8c0d9840c3973f63.jpg', 'username': None, 'uploaded_at': 1760555348, 'text': 'image_15102025_21_08_44_010137m0.jpg 2e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1389642363, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/15/5a7c661a98917b5b844932c14c092dab.jpg', 'username': None, 'uploaded_at': 1760555408, 'text': 'image_15102025_21_08_54_10137.jpg'}] 0 [] elapsed_time : load_data_split_time_score 2.86102294921875e-06 elapsed_time : order_list_meta_photo_and_scores 6.9141387939453125e-06 ??????????????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.0017523765563964844 INSERT INTO `MTRPhoto`.`dashboard_entry_day` (`dashboard_place_id`, `mtr_portfolio_id`, `date`) VALUES ( 10, 27843177, '2025-10-15' ) ON DUPLICATE KEY UPDATE updated_at=NOW(); Catched exception ! Connect or reconnect ! INSERT INTO `MTRPhoto`.`dashboard_run_ids` (`dashboard_entry_day`, `mtr_user_id`, `misc_info`) VALUES (2450453,979,"{}"); Catched exception ! Connect or reconnect ! elapsed_time : insert_dashboard_record_day_entry 0.7439975738525391 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= 2450453 AND ded.last_run_id=dri.id AND dri.dashboard_entry_day=ded.id AND dri.id=dr.dashboard_run_id [{'dashboat_entry_day': 2450453, 'dashboard_run_id': 2466907, 'mtr_portfolio_id': 27818432, 'dashboard_result_id': 16446146, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27818432_16-10-2025_05_34_34.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27818433, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27818434, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27818435, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27818436, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27818437, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27818438, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27818439, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27818440, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27818441, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27818442, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27818443, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27818444, 'pht': 3726}}"}, {'dashboat_entry_day': 2450453, 'dashboard_run_id': 2466907, 'mtr_portfolio_id': 27818482, 'dashboard_result_id': 16446147, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27818482_16-10-2025_05_36_05.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 27818486, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27818487, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27818488, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27818489, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27818490, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27818491, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27818492, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27818493, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27818494, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27818495, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27818496, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27818497, 'pht': 3726}}"}, {'dashboat_entry_day': 2450453, 'dashboard_run_id': 2466907, 'mtr_portfolio_id': 27818873, 'dashboard_result_id': 16446148, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27818873_16-10-2025_05_36_09.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 27818878, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27818879, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27818880, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27818881, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27818882, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27818883, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27818884, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27818885, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27818886, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27818887, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27818888, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27818889, 'pht': 3726}}"}, {'dashboat_entry_day': 2450453, 'dashboard_run_id': 2466907, 'mtr_portfolio_id': 27819596, 'dashboard_result_id': 16446149, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27819596_16-10-2025_05_36_36.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27819599, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27819600, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27819601, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27819602, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27819603, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27819604, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27819605, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27819606, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27819607, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27819608, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27819609, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27819610, 'pht': 3726}}"}, {'dashboat_entry_day': 2450453, 'dashboard_run_id': 2466907, 'mtr_portfolio_id': 27820246, 'dashboard_result_id': 16446150, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27820246_16-10-2025_05_37_35.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 27820247, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27820248, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27820249, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27820250, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27820251, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27820252, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27820253, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27820254, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27820255, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27820256, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27820257, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27820258, 'pht': 3726}}"}, {'dashboat_entry_day': 2450453, 'dashboard_run_id': 2466907, 'mtr_portfolio_id': 27820351, 'dashboard_result_id': 16446151, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27820351_16-10-2025_05_38_04.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27820378, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27820379, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27820380, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27820381, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27820382, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27820383, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27820384, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27820385, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27820386, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27820387, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27820388, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27820389, 'pht': 3726}}"}, {'dashboat_entry_day': 2450453, 'dashboard_run_id': 2466907, 'mtr_portfolio_id': 27820632, 'dashboard_result_id': 16446152, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27820632_16-10-2025_05_39_02.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27820661, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27820662, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27820663, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27820664, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27820665, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27820666, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27820667, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27820668, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27820669, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27820670, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27820671, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27820672, 'pht': 3726}}"}, {'dashboat_entry_day': 2450453, 'dashboard_run_id': 2466907, 'mtr_portfolio_id': 27820994, 'dashboard_result_id': 16446153, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27820994_16-10-2025_05_39_37.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 27821000, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27821001, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27821002, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27821003, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27821004, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27821005, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27821006, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27821007, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27821008, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27821009, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27821010, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27821011, 'pht': 3726}}"}, {'dashboat_entry_day': 2450453, 'dashboard_run_id': 2466907, 'mtr_portfolio_id': 27821801, 'dashboard_result_id': 16446154, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27821801_16-10-2025_05_40_03.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27821802, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27821803, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27821804, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27821805, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27821806, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27821807, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27821808, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27821809, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27821810, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27821811, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27821812, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27821813, 'pht': 3726}}"}, {'dashboat_entry_day': 2450453, 'dashboard_run_id': 2466907, 'mtr_portfolio_id': 27821853, 'dashboard_result_id': 16446155, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27821853_16-10-2025_05_40_33.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27821855, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27821856, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27821857, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27821858, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27821859, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27821860, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27821861, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27821862, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27821863, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27821864, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27821865, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27821866, 'pht': 3726}}"}, {'dashboat_entry_day': 2450453, 'dashboard_run_id': 2466907, 'mtr_portfolio_id': 27822193, 'dashboard_result_id': 16446156, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27822193_16-10-2025_05_41_09.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27822198, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27822199, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27822200, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27822201, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27822202, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27822203, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27822204, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27822205, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27822206, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27822207, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27822208, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27822209, 'pht': 3726}}"}, {'dashboat_entry_day': 2450453, 'dashboard_run_id': 2466907, 'mtr_portfolio_id': 27822707, 'dashboard_result_id': 16446157, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27822707_16-10-2025_05_41_35.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 27822731, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27822732, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27822733, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27822734, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27822735, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27822736, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27822737, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27822738, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27822739, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27822740, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27822741, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27822742, 'pht': 3726}}"}, {'dashboat_entry_day': 2450453, 'dashboard_run_id': 2466907, 'mtr_portfolio_id': 27823105, 'dashboard_result_id': 16446158, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27823105_16-10-2025_05_42_07.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27823137, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27823138, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27823139, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27823140, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27823141, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27823142, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27823143, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27823144, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27823145, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27823146, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27823147, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27823148, 'pht': 3726}}"}, {'dashboat_entry_day': 2450453, 'dashboard_run_id': 2466907, 'mtr_portfolio_id': 27834475, 'dashboard_result_id': 16446159, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27834475_16-10-2025_05_43_05.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 27834476, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27834477, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27834478, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27834479, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27834480, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27834481, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27834482, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27834483, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27834484, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27834485, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27834486, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27834487, 'pht': 3726}}"}, {'dashboat_entry_day': 2450453, 'dashboard_run_id': 2466907, 'mtr_portfolio_id': 27834822, 'dashboard_result_id': 16446160, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27834822_16-10-2025_05_43_36.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27834823, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27834824, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27834825, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27834826, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27834827, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27834828, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27834829, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27834830, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27834831, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27834832, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27834833, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27834834, 'pht': 3726}}"}, {'dashboat_entry_day': 2450453, 'dashboard_run_id': 2466907, 'mtr_portfolio_id': 27835066, 'dashboard_result_id': 16446161, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27835066_16-10-2025_05_44_06.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27835071, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27835072, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27835073, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27835074, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27835075, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27835076, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27835077, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27835078, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27835079, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27835080, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27835082, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27835083, 'pht': 3726}}"}, {'dashboat_entry_day': 2450453, 'dashboard_run_id': 2466907, 'mtr_portfolio_id': 27836024, 'dashboard_result_id': 16446162, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27836024_16-10-2025_05_45_05.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27836025, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27836026, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27836027, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27836028, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27836029, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27836030, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27836031, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27836032, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27836033, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27836034, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27836035, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27836036, 'pht': 3726}}"}, {'dashboat_entry_day': 2450453, 'dashboard_run_id': 2466907, 'mtr_portfolio_id': 27836830, 'dashboard_result_id': 16446163, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27836830_16-10-2025_05_45_33.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 27836832, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27836833, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27836834, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27836835, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27836836, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27836837, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27836838, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27836839, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27836840, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27836841, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27836842, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27836843, 'pht': 3726}}"}, {'dashboat_entry_day': 2450453, 'dashboard_run_id': 2466907, 'mtr_portfolio_id': 27837435, 'dashboard_result_id': 16446164, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27837435_16-10-2025_05_46_03.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27837464, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27837465, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27837466, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27837467, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27837468, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27837469, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27837470, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27837471, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27837472, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27837473, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27837474, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27837475, 'pht': 3726}}"}, {'dashboat_entry_day': 2450453, 'dashboard_run_id': 2466907, 'mtr_portfolio_id': 27837819, 'dashboard_result_id': 16446165, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27837819_16-10-2025_05_46_10.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27837849, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27837850, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27837851, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27837852, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27837853, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27837854, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27837855, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27837856, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27837857, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27837858, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27837859, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27837860, 'pht': 3726}}"}, {'dashboat_entry_day': 2450453, 'dashboard_run_id': 2466907, 'mtr_portfolio_id': 27838415, 'dashboard_result_id': 16446166, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27838415_16-10-2025_05_46_38.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 27838439, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27838440, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27838441, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27838442, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27838443, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27838444, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27838445, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27838446, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27838447, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27838448, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27838449, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27838450, 'pht': 3726}}"}, {'dashboat_entry_day': 2450453, 'dashboard_run_id': 2466907, 'mtr_portfolio_id': 27838969, 'dashboard_result_id': 16446167, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27838969_16-10-2025_05_47_36.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27839018, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27839019, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27839020, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27839021, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27839022, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27839023, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27839024, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27839025, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27839026, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27839027, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27839028, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27839029, 'pht': 3726}}"}, {'dashboat_entry_day': 2450453, 'dashboard_run_id': 2466907, 'mtr_portfolio_id': 27839774, 'dashboard_result_id': 16446168, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27839774_16-10-2025_05_48_06.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27839785, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27839786, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27839787, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27839788, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27839789, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27839790, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27839791, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27839792, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27839793, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27839794, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27839795, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27839796, 'pht': 3726}}"}, {'dashboat_entry_day': 2450453, 'dashboard_run_id': 2466907, 'mtr_portfolio_id': 27840279, 'dashboard_result_id': 16446169, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27840279_16-10-2025_05_48_32.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 27840294, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27840295, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27840296, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27840297, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27840298, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27840299, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27840300, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27840301, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27840302, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27840303, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27840304, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27840305, 'pht': 3726}}"}, {'dashboat_entry_day': 2450453, 'dashboard_run_id': 2466907, 'mtr_portfolio_id': 27840850, 'dashboard_result_id': 16446170, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27840850_16-10-2025_05_50_02.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 27840861, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27840862, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27840863, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27840864, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27840865, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27840866, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27840867, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27840868, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27840869, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27840870, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27840871, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27840872, 'pht': 3726}}"}, {'dashboat_entry_day': 2450453, 'dashboard_run_id': 2466907, 'mtr_portfolio_id': 27841184, 'dashboard_result_id': 16446171, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27841184_16-10-2025_05_50_38.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27841229, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27841230, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27841231, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27841232, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27841233, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27841234, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27841235, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27841236, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27841237, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27841238, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27841239, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27841240, 'pht': 3726}}"}, {'dashboat_entry_day': 2450453, 'dashboard_run_id': 2466907, 'mtr_portfolio_id': 27841863, 'dashboard_result_id': 16446172, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27841863_16-10-2025_05_51_08.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27841872, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27841873, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27841874, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27841875, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27841876, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27841877, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27841878, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27841879, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27841880, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27841881, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27841882, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27841883, 'pht': 3726}}"}, {'dashboat_entry_day': 2450453, 'dashboard_run_id': 2466907, 'mtr_portfolio_id': 27842278, 'dashboard_result_id': 16446173, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27842278_16-10-2025_05_51_37.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27842286, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27842287, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27842289, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27842290, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27842291, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27842292, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27842293, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27842294, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27842295, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27842296, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27842297, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27842298, 'pht': 3726}}"}, {'dashboat_entry_day': 2450453, 'dashboard_run_id': 2466907, 'mtr_portfolio_id': 27842861, 'dashboard_result_id': 16446174, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27842861_16-10-2025_05_52_04.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27842862, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27842863, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27842864, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27842865, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27842866, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27842867, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27842868, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27842869, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27842870, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27842871, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27842872, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27842873, 'pht': 3726}}"}, {'dashboat_entry_day': 2450453, 'dashboard_run_id': 2466907, 'mtr_portfolio_id': 27843177, 'dashboard_result_id': 16446175, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27843177_15-10-2025_21_19_05.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27843179, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27843180, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27843181, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27843182, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27843183, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27843184, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27843185, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27843186, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27843187, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27843188, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27843189, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27843190, 'pht': 3726}}"}, {'dashboat_entry_day': 2450453, 'dashboard_run_id': 2466907, 'mtr_portfolio_id': 27843398, 'dashboard_result_id': 16446176, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27843398_15-10-2025_21_32_31.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27843403, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27843404, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27843405, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27843406, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27843407, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27843408, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27843409, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27843410, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27843411, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27843412, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27843413, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27843414, 'pht': 3726}}"}, {'dashboat_entry_day': 2450453, 'dashboard_run_id': 2466907, 'mtr_portfolio_id': 27843805, 'dashboard_result_id': 16446177, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27843805_15-10-2025_21_49_04.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27843816, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27843817, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27843818, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27843819, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27843820, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27843821, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27843822, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27843823, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27843824, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27843825, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27843826, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27843827, 'pht': 3726}}"}, {'dashboat_entry_day': 2450453, 'dashboard_run_id': 2466907, 'mtr_portfolio_id': 27844258, 'dashboard_result_id': 16446178, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27844258_15-10-2025_22_03_04.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27844262, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27844263, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27844264, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27844265, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27844266, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27844267, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27844268, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27844269, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27844270, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27844271, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27844272, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27844273, 'pht': 3726}}"}, {'dashboat_entry_day': 2450453, 'dashboard_run_id': 2466907, 'mtr_portfolio_id': 27844744, 'dashboard_result_id': 16446179, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27844744_15-10-2025_22_18_36.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27844757, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27844758, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27844759, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27844760, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27844761, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27844762, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27844763, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27844764, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27844765, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27844766, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27844767, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27844768, 'pht': 3726}}"}, {'dashboat_entry_day': 2450453, 'dashboard_run_id': 2466907, 'mtr_portfolio_id': 27845406, 'dashboard_result_id': 16446180, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27845406_15-10-2025_22_34_34.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27845411, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27845412, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27845413, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27845414, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27845415, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27845416, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27845417, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27845418, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27845419, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27845420, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27845421, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27845422, 'pht': 3726}}"}, {'dashboat_entry_day': 2450453, 'dashboard_run_id': 2466907, 'mtr_portfolio_id': 27845935, 'dashboard_result_id': 16446181, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27845935_15-10-2025_22_49_00.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27845998, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27845999, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27846000, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27846001, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27846002, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27846003, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27846004, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27846005, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27846006, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27846007, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27846008, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27846009, 'pht': 3726}}"}, {'dashboat_entry_day': 2450453, 'dashboard_run_id': 2466907, 'mtr_portfolio_id': 27846621, 'dashboard_result_id': 16446182, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27846621_15-10-2025_23_03_27.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27846631, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27846632, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27846633, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27846634, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27846635, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27846636, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27846637, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27846638, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27846639, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27846640, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27846641, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27846642, 'pht': 3726}}"}, {'dashboat_entry_day': 2450453, 'dashboard_run_id': 2466907, 'mtr_portfolio_id': 27847151, 'dashboard_result_id': 16446183, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27847151_15-10-2025_23_19_03.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27847155, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27847156, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27847157, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27847158, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27847159, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27847160, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27847161, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27847162, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27847163, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27847164, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27847166, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27847167, 'pht': 3726}}"}, {'dashboat_entry_day': 2450453, 'dashboard_run_id': 2466907, 'mtr_portfolio_id': 27847886, 'dashboard_result_id': 16446184, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27847886_15-10-2025_23_33_06.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27847898, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27847899, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27847900, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27847901, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27847902, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27847903, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27847904, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27847905, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27847906, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27847907, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27847908, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27847909, 'pht': 3726}}"}, {'dashboat_entry_day': 2450453, 'dashboard_run_id': 2466907, 'mtr_portfolio_id': 27848411, 'dashboard_result_id': 16446185, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27848411_15-10-2025_23_49_26.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27848448, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27848449, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27848450, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27848451, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27848452, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27848453, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27848454, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27848455, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27848456, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27848457, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27848458, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27848459, 'pht': 3726}}"}, {'dashboat_entry_day': 2450453, 'dashboard_run_id': 2466907, 'mtr_portfolio_id': 27849019, 'dashboard_result_id': 16446186, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27849019_16-10-2025_01_12_05.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 27849060, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27849061, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27849062, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27849063, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27849064, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27849065, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27849066, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27849067, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27849068, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27849069, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27849070, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27849071, '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 = 27818432 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3950283, 'mtr_portfolio_id': 27818432, 'created_at': datetime.datetime(2025, 10, 16, 5, 34, 33), 'result': '0.05544326831338731', 'result_long': None, 'result_double': None}] Qualite : 0.05544326831338731 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27818432 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27818432_16-10-2025_05_34_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27818432 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27818432_16-10-2025_05_34_34.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27818433, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27818434, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27818435, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27818436, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27818437, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27818438, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27818439, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27818440, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27818441, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27818442, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27818443, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27818444, 'pht': 3726}}" where mtr_portfolio_id = 27818432 and dashboard_run_id = 2466907 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27818432 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16446146, 0.05544326831338731, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27818432_16-10-2025_05_34_34.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27818433, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27818434, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27818435, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27818436, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27818437, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27818438, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27818439, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27818440, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27818441, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27818442, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27818443, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27818444, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27818482 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3950284, 'mtr_portfolio_id': 27818482, 'created_at': datetime.datetime(2025, 10, 16, 5, 36), 'result': '0.03591790016127145', 'result_long': None, 'result_double': None}] Qualite : 0.03591790016127145 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27818482 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27818482_16-10-2025_05_36_05.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27818482 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27818482_16-10-2025_05_36_05.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 27818486, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27818487, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27818488, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27818489, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27818490, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27818491, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27818492, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27818493, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27818494, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27818495, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27818496, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27818497, 'pht': 3726}}" where mtr_portfolio_id = 27818482 and dashboard_run_id = 2466907 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27818482 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16446147, 0.03591790016127145, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27818482_16-10-2025_05_36_05.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 27818486, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27818487, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27818488, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27818489, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27818490, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27818491, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27818492, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27818493, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27818494, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27818495, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27818496, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27818497, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27818873 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3950285, 'mtr_portfolio_id': 27818873, 'created_at': datetime.datetime(2025, 10, 16, 5, 36, 5), 'result': '0.053092943552620155', 'result_long': None, 'result_double': None}] Qualite : 0.053092943552620155 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27818873 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27818873_16-10-2025_05_36_09.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27818873 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27818873_16-10-2025_05_36_09.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 27818878, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27818879, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27818880, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27818881, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27818882, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27818883, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27818884, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27818885, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27818886, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27818887, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27818888, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27818889, 'pht': 3726}}" where mtr_portfolio_id = 27818873 and dashboard_run_id = 2466907 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27818873 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16446148, 0.053092943552620155, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27818873_16-10-2025_05_36_09.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 27818878, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27818879, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27818880, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27818881, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27818882, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27818883, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27818884, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27818885, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27818886, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27818887, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27818888, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27818889, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27819596 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3950286, 'mtr_portfolio_id': 27819596, 'created_at': datetime.datetime(2025, 10, 16, 5, 36, 34), 'result': '0.044617789794046306', 'result_long': None, 'result_double': None}] Qualite : 0.044617789794046306 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27819596 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27819596_16-10-2025_05_36_36.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27819596 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27819596_16-10-2025_05_36_36.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27819599, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27819600, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27819601, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27819602, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27819603, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27819604, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27819605, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27819606, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27819607, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27819608, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27819609, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27819610, 'pht': 3726}}" where mtr_portfolio_id = 27819596 and dashboard_run_id = 2466907 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27819596 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16446149, 0.044617789794046306, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27819596_16-10-2025_05_36_36.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27819599, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27819600, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27819601, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27819602, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27819603, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27819604, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27819605, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27819606, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27819607, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27819608, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27819609, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27819610, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27820246 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3950287, 'mtr_portfolio_id': 27820246, 'created_at': datetime.datetime(2025, 10, 16, 5, 37, 34), 'result': '0.0508651783352559', 'result_long': None, 'result_double': None}] Qualite : 0.0508651783352559 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27820246 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27820246_16-10-2025_05_37_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27820246 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27820246_16-10-2025_05_37_35.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 27820247, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27820248, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27820249, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27820250, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27820251, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27820252, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27820253, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27820254, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27820255, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27820256, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27820257, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27820258, 'pht': 3726}}" where mtr_portfolio_id = 27820246 and dashboard_run_id = 2466907 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27820246 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16446150, 0.0508651783352559, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27820246_16-10-2025_05_37_35.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 27820247, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27820248, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27820249, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27820250, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27820251, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27820252, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27820253, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27820254, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27820255, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27820256, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27820257, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27820258, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27820351 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3950288, 'mtr_portfolio_id': 27820351, 'created_at': datetime.datetime(2025, 10, 16, 5, 38, 1), 'result': '0.048644203198791335', 'result_long': None, 'result_double': None}] Qualite : 0.048644203198791335 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27820351 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27820351_16-10-2025_05_38_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27820351 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27820351_16-10-2025_05_38_04.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27820378, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27820379, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27820380, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27820381, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27820382, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27820383, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27820384, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27820385, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27820386, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27820387, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27820388, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27820389, 'pht': 3726}}" where mtr_portfolio_id = 27820351 and dashboard_run_id = 2466907 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27820351 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16446151, 0.048644203198791335, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27820351_16-10-2025_05_38_04.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27820378, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27820379, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27820380, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27820381, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27820382, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27820383, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27820384, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27820385, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27820386, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27820387, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27820388, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27820389, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27820632 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3950289, 'mtr_portfolio_id': 27820632, 'created_at': datetime.datetime(2025, 10, 16, 5, 38, 59), 'result': '0.0576768016220554', 'result_long': None, 'result_double': None}] Qualite : 0.0576768016220554 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27820632 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27820632_16-10-2025_05_39_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27820632 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27820632_16-10-2025_05_39_02.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27820661, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27820662, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27820663, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27820664, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27820665, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27820666, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27820667, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27820668, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27820669, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27820670, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27820671, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27820672, 'pht': 3726}}" where mtr_portfolio_id = 27820632 and dashboard_run_id = 2466907 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27820632 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16446152, 0.0576768016220554, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27820632_16-10-2025_05_39_02.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27820661, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27820662, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27820663, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27820664, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27820665, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27820666, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27820667, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27820668, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27820669, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27820670, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27820671, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27820672, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27820994 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3950290, 'mtr_portfolio_id': 27820994, 'created_at': datetime.datetime(2025, 10, 16, 5, 39, 34), 'result': '0.04285134157784997', 'result_long': None, 'result_double': None}] Qualite : 0.04285134157784997 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27820994 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27820994_16-10-2025_05_39_37.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27820994 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27820994_16-10-2025_05_39_37.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 27821000, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27821001, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27821002, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27821003, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27821004, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27821005, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27821006, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27821007, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27821008, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27821009, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27821010, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27821011, 'pht': 3726}}" where mtr_portfolio_id = 27820994 and dashboard_run_id = 2466907 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27820994 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16446153, 0.04285134157784997, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27820994_16-10-2025_05_39_37.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 27821000, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27821001, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27821002, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27821003, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27821004, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27821005, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27821006, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27821007, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27821008, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27821009, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27821010, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27821011, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27821801 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3950291, 'mtr_portfolio_id': 27821801, 'created_at': datetime.datetime(2025, 10, 16, 5, 40, 2), 'result': '0.015510548282426711', 'result_long': None, 'result_double': None}] Qualite : 0.015510548282426711 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27821801 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27821801_16-10-2025_05_40_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27821801 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27821801_16-10-2025_05_40_03.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27821802, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27821803, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27821804, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27821805, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27821806, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27821807, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27821808, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27821809, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27821810, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27821811, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27821812, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27821813, 'pht': 3726}}" where mtr_portfolio_id = 27821801 and dashboard_run_id = 2466907 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27821801 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16446154, 0.015510548282426711, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27821801_16-10-2025_05_40_03.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27821802, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27821803, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27821804, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27821805, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27821806, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27821807, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27821808, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27821809, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27821810, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27821811, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27821812, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27821813, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27821853 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3950292, 'mtr_portfolio_id': 27821853, 'created_at': datetime.datetime(2025, 10, 16, 5, 40, 29), 'result': '0.04719180262029262', 'result_long': None, 'result_double': None}] Qualite : 0.04719180262029262 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27821853 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27821853_16-10-2025_05_40_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27821853 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27821853_16-10-2025_05_40_33.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27821855, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27821856, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27821857, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27821858, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27821859, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27821860, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27821861, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27821862, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27821863, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27821864, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27821865, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27821866, 'pht': 3726}}" where mtr_portfolio_id = 27821853 and dashboard_run_id = 2466907 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27821853 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16446155, 0.04719180262029262, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27821853_16-10-2025_05_40_33.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27821855, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27821856, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27821857, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27821858, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27821859, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27821860, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27821861, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27821862, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27821863, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27821864, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27821865, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27821866, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27822193 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3950293, 'mtr_portfolio_id': 27822193, 'created_at': datetime.datetime(2025, 10, 16, 5, 41, 5), 'result': '0.044767273930773906', 'result_long': None, 'result_double': None}] Qualite : 0.044767273930773906 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27822193 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27822193_16-10-2025_05_41_09.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27822193 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27822193_16-10-2025_05_41_09.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27822198, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27822199, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27822200, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27822201, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27822202, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27822203, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27822204, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27822205, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27822206, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27822207, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27822208, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27822209, 'pht': 3726}}" where mtr_portfolio_id = 27822193 and dashboard_run_id = 2466907 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27822193 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16446156, 0.044767273930773906, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27822193_16-10-2025_05_41_09.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27822198, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27822199, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27822200, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27822201, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27822202, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27822203, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27822204, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27822205, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27822206, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27822207, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27822208, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27822209, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27822707 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3950294, 'mtr_portfolio_id': 27822707, 'created_at': datetime.datetime(2025, 10, 16, 5, 41, 31), 'result': '0.05758315422379833', 'result_long': None, 'result_double': None}] Qualite : 0.05758315422379833 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27822707 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27822707_16-10-2025_05_41_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27822707 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27822707_16-10-2025_05_41_35.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 27822731, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27822732, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27822733, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27822734, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27822735, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27822736, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27822737, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27822738, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27822739, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27822740, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27822741, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27822742, 'pht': 3726}}" where mtr_portfolio_id = 27822707 and dashboard_run_id = 2466907 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27822707 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16446157, 0.05758315422379833, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27822707_16-10-2025_05_41_35.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 27822731, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27822732, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27822733, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27822734, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27822735, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27822736, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27822737, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27822738, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27822739, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27822740, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27822741, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27822742, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27823105 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3950295, 'mtr_portfolio_id': 27823105, 'created_at': datetime.datetime(2025, 10, 16, 5, 42, 5), 'result': '0.056218202327586536', 'result_long': None, 'result_double': None}] Qualite : 0.056218202327586536 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27823105 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27823105_16-10-2025_05_42_07.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27823105 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27823105_16-10-2025_05_42_07.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27823137, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27823138, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27823139, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27823140, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27823141, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27823142, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27823143, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27823144, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27823145, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27823146, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27823147, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27823148, 'pht': 3726}}" where mtr_portfolio_id = 27823105 and dashboard_run_id = 2466907 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27823105 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16446158, 0.056218202327586536, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27823105_16-10-2025_05_42_07.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27823137, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27823138, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27823139, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27823140, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27823141, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27823142, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27823143, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27823144, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27823145, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27823146, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27823147, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27823148, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27834475 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3950296, 'mtr_portfolio_id': 27834475, 'created_at': datetime.datetime(2025, 10, 16, 5, 43, 4), 'result': '0.03026264770764648', 'result_long': None, 'result_double': None}] Qualite : 0.03026264770764648 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27834475 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27834475_16-10-2025_05_43_05.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27834475 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27834475_16-10-2025_05_43_05.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 27834476, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27834477, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27834478, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27834479, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27834480, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27834481, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27834482, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27834483, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27834484, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27834485, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27834486, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27834487, 'pht': 3726}}" where mtr_portfolio_id = 27834475 and dashboard_run_id = 2466907 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27834475 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16446159, 0.03026264770764648, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27834475_16-10-2025_05_43_05.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 27834476, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27834477, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27834478, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27834479, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27834480, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27834481, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27834482, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27834483, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27834484, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27834485, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27834486, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27834487, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27834822 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3950297, 'mtr_portfolio_id': 27834822, 'created_at': datetime.datetime(2025, 10, 16, 5, 43, 34), 'result': '0.048894162065639075', 'result_long': None, 'result_double': None}] Qualite : 0.048894162065639075 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27834822 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27834822_16-10-2025_05_43_36.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27834822 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27834822_16-10-2025_05_43_36.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27834823, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27834824, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27834825, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27834826, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27834827, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27834828, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27834829, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27834830, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27834831, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27834832, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27834833, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27834834, 'pht': 3726}}" where mtr_portfolio_id = 27834822 and dashboard_run_id = 2466907 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27834822 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16446160, 0.048894162065639075, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27834822_16-10-2025_05_43_36.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27834823, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27834824, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27834825, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27834826, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27834827, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27834828, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27834829, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27834830, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27834831, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27834832, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27834833, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27834834, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27835066 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3950298, 'mtr_portfolio_id': 27835066, 'created_at': datetime.datetime(2025, 10, 16, 5, 44, 3), 'result': '0.049431803672301995', 'result_long': None, 'result_double': None}] Qualite : 0.049431803672301995 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27835066 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27835066_16-10-2025_05_44_06.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27835066 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27835066_16-10-2025_05_44_06.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27835071, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27835072, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27835073, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27835074, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27835075, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27835076, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27835077, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27835078, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27835079, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27835080, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27835082, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27835083, 'pht': 3726}}" where mtr_portfolio_id = 27835066 and dashboard_run_id = 2466907 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27835066 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16446161, 0.049431803672301995, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27835066_16-10-2025_05_44_06.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27835071, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27835072, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27835073, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27835074, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27835075, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27835076, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27835077, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27835078, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27835079, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27835080, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27835082, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27835083, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27836024 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3950299, 'mtr_portfolio_id': 27836024, 'created_at': datetime.datetime(2025, 10, 16, 5, 45, 4), 'result': '0.031078878183300854', 'result_long': None, 'result_double': None}] Qualite : 0.031078878183300854 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27836024 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27836024_16-10-2025_05_45_05.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27836024 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27836024_16-10-2025_05_45_05.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27836025, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27836026, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27836027, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27836028, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27836029, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27836030, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27836031, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27836032, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27836033, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27836034, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27836035, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27836036, 'pht': 3726}}" where mtr_portfolio_id = 27836024 and dashboard_run_id = 2466907 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27836024 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16446162, 0.031078878183300854, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27836024_16-10-2025_05_45_05.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27836025, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27836026, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27836027, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27836028, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27836029, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27836030, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27836031, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27836032, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27836033, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27836034, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27836035, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27836036, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27836830 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3950300, 'mtr_portfolio_id': 27836830, 'created_at': datetime.datetime(2025, 10, 16, 5, 45, 30), 'result': '0.07107256909221417', 'result_long': None, 'result_double': None}] Qualite : 0.07107256909221417 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27836830 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27836830_16-10-2025_05_45_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27836830 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27836830_16-10-2025_05_45_33.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 27836832, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27836833, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27836834, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27836835, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27836836, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27836837, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27836838, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27836839, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27836840, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27836841, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27836842, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27836843, 'pht': 3726}}" where mtr_portfolio_id = 27836830 and dashboard_run_id = 2466907 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27836830 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16446163, 0.07107256909221417, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27836830_16-10-2025_05_45_33.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 27836832, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27836833, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27836834, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27836835, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27836836, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27836837, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27836838, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27836839, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27836840, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27836841, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27836842, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27836843, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27837435 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3950301, 'mtr_portfolio_id': 27837435, 'created_at': datetime.datetime(2025, 10, 16, 5, 45, 59), 'result': '0.04749786895138458', 'result_long': None, 'result_double': None}] Qualite : 0.04749786895138458 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27837435 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27837435_16-10-2025_05_46_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27837435 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27837435_16-10-2025_05_46_03.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27837464, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27837465, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27837466, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27837467, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27837468, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27837469, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27837470, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27837471, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27837472, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27837473, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27837474, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27837475, 'pht': 3726}}" where mtr_portfolio_id = 27837435 and dashboard_run_id = 2466907 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27837435 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16446164, 0.04749786895138458, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27837435_16-10-2025_05_46_03.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27837464, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27837465, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27837466, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27837467, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27837468, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27837469, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27837470, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27837471, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27837472, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27837473, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27837474, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27837475, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27837819 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3950302, 'mtr_portfolio_id': 27837819, 'created_at': datetime.datetime(2025, 10, 16, 5, 46, 6), 'result': '0.04498073571010339', 'result_long': None, 'result_double': None}] Qualite : 0.04498073571010339 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27837819 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27837819_16-10-2025_05_46_10.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27837819 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27837819_16-10-2025_05_46_10.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27837849, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27837850, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27837851, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27837852, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27837853, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27837854, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27837855, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27837856, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27837857, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27837858, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27837859, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27837860, 'pht': 3726}}" where mtr_portfolio_id = 27837819 and dashboard_run_id = 2466907 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27837819 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16446165, 0.04498073571010339, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27837819_16-10-2025_05_46_10.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27837849, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27837850, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27837851, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27837852, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27837853, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27837854, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27837855, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27837856, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27837857, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27837858, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27837859, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27837860, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27838415 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3950303, 'mtr_portfolio_id': 27838415, 'created_at': datetime.datetime(2025, 10, 16, 5, 46, 34), 'result': '0.05321937850040381', 'result_long': None, 'result_double': None}] Qualite : 0.05321937850040381 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27838415 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27838415_16-10-2025_05_46_38.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27838415 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27838415_16-10-2025_05_46_38.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 27838439, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27838440, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27838441, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27838442, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27838443, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27838444, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27838445, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27838446, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27838447, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27838448, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27838449, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27838450, 'pht': 3726}}" where mtr_portfolio_id = 27838415 and dashboard_run_id = 2466907 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27838415 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16446166, 0.05321937850040381, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27838415_16-10-2025_05_46_38.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 27838439, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27838440, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27838441, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27838442, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27838443, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27838444, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27838445, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27838446, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27838447, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27838448, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27838449, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27838450, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27838969 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3950304, 'mtr_portfolio_id': 27838969, 'created_at': datetime.datetime(2025, 10, 16, 5, 47, 32), 'result': '0.0407988362929384', 'result_long': None, 'result_double': None}] Qualite : 0.0407988362929384 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27838969 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27838969_16-10-2025_05_47_36.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27838969 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27838969_16-10-2025_05_47_36.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27839018, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27839019, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27839020, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27839021, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27839022, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27839023, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27839024, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27839025, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27839026, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27839027, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27839028, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27839029, 'pht': 3726}}" where mtr_portfolio_id = 27838969 and dashboard_run_id = 2466907 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27838969 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16446167, 0.0407988362929384, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27838969_16-10-2025_05_47_36.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27839018, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27839019, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27839020, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27839021, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27839022, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27839023, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27839024, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27839025, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27839026, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27839027, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27839028, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27839029, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27839774 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3950305, 'mtr_portfolio_id': 27839774, 'created_at': datetime.datetime(2025, 10, 16, 5, 48, 4), 'result': '0.05174334810054409', 'result_long': None, 'result_double': None}] Qualite : 0.05174334810054409 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27839774 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27839774_16-10-2025_05_48_06.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27839774 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27839774_16-10-2025_05_48_06.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27839785, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27839786, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27839787, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27839788, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27839789, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27839790, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27839791, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27839792, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27839793, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27839794, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27839795, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27839796, 'pht': 3726}}" where mtr_portfolio_id = 27839774 and dashboard_run_id = 2466907 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27839774 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16446168, 0.05174334810054409, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27839774_16-10-2025_05_48_06.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27839785, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27839786, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27839787, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27839788, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27839789, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27839790, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27839791, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27839792, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27839793, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27839794, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27839795, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27839796, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27840279 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3950306, 'mtr_portfolio_id': 27840279, 'created_at': datetime.datetime(2025, 10, 16, 5, 48, 28), 'result': '0.030250193161555985', 'result_long': None, 'result_double': None}] Qualite : 0.030250193161555985 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27840279 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27840279_16-10-2025_05_48_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27840279 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27840279_16-10-2025_05_48_32.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 27840294, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27840295, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27840296, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27840297, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27840298, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27840299, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27840300, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27840301, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27840302, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27840303, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27840304, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27840305, 'pht': 3726}}" where mtr_portfolio_id = 27840279 and dashboard_run_id = 2466907 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27840279 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16446169, 0.030250193161555985, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27840279_16-10-2025_05_48_32.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 27840294, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27840295, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27840296, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27840297, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27840298, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27840299, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27840300, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27840301, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27840302, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27840303, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27840304, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27840305, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27840850 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3950307, 'mtr_portfolio_id': 27840850, 'created_at': datetime.datetime(2025, 10, 16, 5, 49, 59), 'result': '0.05361018755953789', 'result_long': None, 'result_double': None}] Qualite : 0.05361018755953789 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27840850 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27840850_16-10-2025_05_50_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27840850 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27840850_16-10-2025_05_50_02.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 27840861, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27840862, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27840863, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27840864, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27840865, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27840866, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27840867, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27840868, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27840869, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27840870, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27840871, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27840872, 'pht': 3726}}" where mtr_portfolio_id = 27840850 and dashboard_run_id = 2466907 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27840850 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16446170, 0.05361018755953789, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27840850_16-10-2025_05_50_02.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 27840861, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27840862, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27840863, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27840864, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27840865, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27840866, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27840867, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27840868, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27840869, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27840870, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27840871, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27840872, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27841184 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3950308, 'mtr_portfolio_id': 27841184, 'created_at': datetime.datetime(2025, 10, 16, 5, 50, 36), 'result': '0.03805331082943212', 'result_long': None, 'result_double': None}] Qualite : 0.03805331082943212 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27841184 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27841184_16-10-2025_05_50_38.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27841184 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27841184_16-10-2025_05_50_38.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27841229, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27841230, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27841231, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27841232, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27841233, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27841234, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27841235, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27841236, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27841237, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27841238, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27841239, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27841240, 'pht': 3726}}" where mtr_portfolio_id = 27841184 and dashboard_run_id = 2466907 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27841184 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16446171, 0.03805331082943212, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27841184_16-10-2025_05_50_38.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27841229, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27841230, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27841231, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27841232, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27841233, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27841234, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27841235, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27841236, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27841237, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27841238, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27841239, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27841240, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27841863 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3950309, 'mtr_portfolio_id': 27841863, 'created_at': datetime.datetime(2025, 10, 16, 5, 51, 6), 'result': '0.040655923435405895', 'result_long': None, 'result_double': None}] Qualite : 0.040655923435405895 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27841863 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27841863_16-10-2025_05_51_08.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27841863 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27841863_16-10-2025_05_51_08.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27841872, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27841873, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27841874, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27841875, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27841876, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27841877, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27841878, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27841879, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27841880, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27841881, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27841882, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27841883, 'pht': 3726}}" where mtr_portfolio_id = 27841863 and dashboard_run_id = 2466907 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27841863 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16446172, 0.040655923435405895, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27841863_16-10-2025_05_51_08.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27841872, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27841873, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27841874, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27841875, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27841876, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27841877, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27841878, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27841879, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27841880, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27841881, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27841882, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27841883, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27842278 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3950310, 'mtr_portfolio_id': 27842278, 'created_at': datetime.datetime(2025, 10, 16, 5, 51, 35), 'result': '0.046909888515466326', 'result_long': None, 'result_double': None}] Qualite : 0.046909888515466326 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27842278 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27842278_16-10-2025_05_51_37.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27842278 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27842278_16-10-2025_05_51_37.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27842286, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27842287, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27842289, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27842290, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27842291, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27842292, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27842293, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27842294, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27842295, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27842296, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27842297, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27842298, 'pht': 3726}}" where mtr_portfolio_id = 27842278 and dashboard_run_id = 2466907 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27842278 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16446173, 0.046909888515466326, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27842278_16-10-2025_05_51_37.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27842286, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27842287, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27842289, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27842290, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27842291, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27842292, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27842293, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27842294, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27842295, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27842296, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27842297, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27842298, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27842861 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3950311, 'mtr_portfolio_id': 27842861, 'created_at': datetime.datetime(2025, 10, 16, 5, 52, 3), 'result': '0.05366340080775913', 'result_long': None, 'result_double': None}] Qualite : 0.05366340080775913 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27842861 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27842861_16-10-2025_05_52_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27842861 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27842861_16-10-2025_05_52_04.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27842862, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27842863, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27842864, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27842865, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27842866, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27842867, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27842868, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27842869, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27842870, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27842871, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27842872, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27842873, 'pht': 3726}}" where mtr_portfolio_id = 27842861 and dashboard_run_id = 2466907 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27842861 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16446174, 0.05366340080775913, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27842861_16-10-2025_05_52_04.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27842862, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27842863, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27842864, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27842865, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27842866, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27842867, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27842868, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27842869, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27842870, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27842871, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27842872, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27842873, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27843177 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3950312, 'mtr_portfolio_id': 27843177, 'created_at': datetime.datetime(2025, 10, 16, 5, 52, 35), 'result': '0.06652646405080903', 'result_long': None, 'result_double': None}] Qualite : 0.06652646405080903 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27843177 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27843177_16-10-2025_05_52_37.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27843177 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27843177_16-10-2025_05_52_37.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27843179, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27843180, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27843181, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27843182, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27843183, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27843184, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27843185, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27843186, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27843187, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27843188, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27843189, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27843190, 'pht': 3726}}" where mtr_portfolio_id = 27843177 and dashboard_run_id = 2466907 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27843177 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16446175, 0.06652646405080903, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27843177_16-10-2025_05_52_37.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27843179, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27843180, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27843181, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27843182, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27843183, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27843184, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27843185, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27843186, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27843187, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27843188, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27843189, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27843190, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27843398 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3947918, 'mtr_portfolio_id': 27843398, 'created_at': datetime.datetime(2025, 10, 15, 21, 32, 31), 'result': '0.04898311687144687', 'result_long': None, 'result_double': None}] Qualite : 0.04898311687144687 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27843398 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27843398_15-10-2025_21_32_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27843398 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27843398_15-10-2025_21_32_31.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27843403, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27843404, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27843405, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27843406, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27843407, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27843408, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27843409, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27843410, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27843411, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27843412, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27843413, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27843414, 'pht': 3726}}" where mtr_portfolio_id = 27843398 and dashboard_run_id = 2466907 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27843398 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16446176, 0.04898311687144687, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27843398_15-10-2025_21_32_31.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27843403, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27843404, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27843405, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27843406, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27843407, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27843408, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27843409, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27843410, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27843411, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27843412, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27843413, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27843414, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27843805 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3947971, 'mtr_portfolio_id': 27843805, 'created_at': datetime.datetime(2025, 10, 15, 21, 49, 4), 'result': '0.047065529804678874', 'result_long': None, 'result_double': None}] Qualite : 0.047065529804678874 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27843805 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27843805_15-10-2025_21_49_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27843805 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27843805_15-10-2025_21_49_04.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27843816, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27843817, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27843818, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27843819, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27843820, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27843821, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27843822, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27843823, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27843824, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27843825, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27843826, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27843827, 'pht': 3726}}" where mtr_portfolio_id = 27843805 and dashboard_run_id = 2466907 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27843805 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16446177, 0.047065529804678874, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27843805_15-10-2025_21_49_04.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27843816, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27843817, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27843818, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27843819, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27843820, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27843821, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27843822, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27843823, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27843824, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27843825, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27843826, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27843827, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27844258 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3948026, 'mtr_portfolio_id': 27844258, 'created_at': datetime.datetime(2025, 10, 15, 22, 3, 3), 'result': '0.0672479423342678', 'result_long': None, 'result_double': None}] Qualite : 0.0672479423342678 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27844258 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27844258_15-10-2025_22_03_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27844258 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27844258_15-10-2025_22_03_04.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27844262, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27844263, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27844264, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27844265, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27844266, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27844267, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27844268, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27844269, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27844270, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27844271, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27844272, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27844273, 'pht': 3726}}" where mtr_portfolio_id = 27844258 and dashboard_run_id = 2466907 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27844258 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16446178, 0.0672479423342678, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27844258_15-10-2025_22_03_04.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27844262, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27844263, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27844264, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27844265, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27844266, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27844267, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27844268, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27844269, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27844270, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27844271, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27844272, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27844273, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27844744 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3948151, 'mtr_portfolio_id': 27844744, 'created_at': datetime.datetime(2025, 10, 15, 22, 18, 35), 'result': '0.06308699523274494', 'result_long': None, 'result_double': None}] Qualite : 0.06308699523274494 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27844744 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27844744_15-10-2025_22_18_36.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27844744 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27844744_15-10-2025_22_18_36.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27844757, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27844758, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27844759, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27844760, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27844761, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27844762, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27844763, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27844764, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27844765, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27844766, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27844767, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27844768, 'pht': 3726}}" where mtr_portfolio_id = 27844744 and dashboard_run_id = 2466907 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27844744 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16446179, 0.06308699523274494, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27844744_15-10-2025_22_18_36.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27844757, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27844758, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27844759, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27844760, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27844761, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27844762, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27844763, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27844764, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27844765, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27844766, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27844767, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27844768, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27845406 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3948259, 'mtr_portfolio_id': 27845406, 'created_at': datetime.datetime(2025, 10, 15, 22, 34, 33), 'result': '0.030419830186023337', 'result_long': None, 'result_double': None}] Qualite : 0.030419830186023337 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27845406 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27845406_15-10-2025_22_34_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27845406 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27845406_15-10-2025_22_34_34.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27845411, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27845412, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27845413, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27845414, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27845415, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27845416, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27845417, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27845418, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27845419, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27845420, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27845421, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27845422, 'pht': 3726}}" where mtr_portfolio_id = 27845406 and dashboard_run_id = 2466907 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27845406 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16446180, 0.030419830186023337, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27845406_15-10-2025_22_34_34.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27845411, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27845412, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27845413, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27845414, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27845415, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27845416, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27845417, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27845418, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27845419, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27845420, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27845421, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27845422, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27845935 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3948362, 'mtr_portfolio_id': 27845935, 'created_at': datetime.datetime(2025, 10, 15, 22, 48, 59), 'result': '0.060758841720927916', 'result_long': None, 'result_double': None}] Qualite : 0.060758841720927916 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27845935 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27845935_15-10-2025_22_49_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27845935 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27845935_15-10-2025_22_49_00.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27845998, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27845999, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27846000, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27846001, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27846002, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27846003, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27846004, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27846005, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27846006, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27846007, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27846008, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27846009, 'pht': 3726}}" where mtr_portfolio_id = 27845935 and dashboard_run_id = 2466907 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27845935 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16446181, 0.060758841720927916, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27845935_15-10-2025_22_49_00.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27845998, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27845999, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27846000, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27846001, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27846002, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27846003, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27846004, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27846005, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27846006, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27846007, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27846008, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27846009, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27846621 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3948457, 'mtr_portfolio_id': 27846621, 'created_at': datetime.datetime(2025, 10, 15, 23, 3, 26), 'result': '0.05315631643035128', 'result_long': None, 'result_double': None}] Qualite : 0.05315631643035128 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27846621 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27846621_15-10-2025_23_03_27.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27846621 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27846621_15-10-2025_23_03_27.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27846631, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27846632, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27846633, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27846634, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27846635, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27846636, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27846637, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27846638, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27846639, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27846640, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27846641, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27846642, 'pht': 3726}}" where mtr_portfolio_id = 27846621 and dashboard_run_id = 2466907 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27846621 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16446182, 0.05315631643035128, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27846621_15-10-2025_23_03_27.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27846631, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27846632, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27846633, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27846634, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27846635, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27846636, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27846637, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27846638, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27846639, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27846640, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27846641, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27846642, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27847151 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3948534, 'mtr_portfolio_id': 27847151, 'created_at': datetime.datetime(2025, 10, 15, 23, 19, 2), 'result': '0.0516013730319455', 'result_long': None, 'result_double': None}] Qualite : 0.0516013730319455 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27847151 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27847151_15-10-2025_23_19_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27847151 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27847151_15-10-2025_23_19_03.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27847155, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27847156, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27847157, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27847158, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27847159, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27847160, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27847161, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27847162, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27847163, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27847164, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27847166, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27847167, 'pht': 3726}}" where mtr_portfolio_id = 27847151 and dashboard_run_id = 2466907 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27847151 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16446183, 0.0516013730319455, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27847151_15-10-2025_23_19_03.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27847155, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27847156, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27847157, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27847158, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27847159, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27847160, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27847161, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27847162, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27847163, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27847164, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27847166, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27847167, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27847886 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3948621, 'mtr_portfolio_id': 27847886, 'created_at': datetime.datetime(2025, 10, 15, 23, 33, 5), 'result': '0.03676683205593549', 'result_long': None, 'result_double': None}] Qualite : 0.03676683205593549 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27847886 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27847886_15-10-2025_23_33_06.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27847886 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27847886_15-10-2025_23_33_06.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27847898, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27847899, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27847900, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27847901, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27847902, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27847903, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27847904, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27847905, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27847906, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27847907, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27847908, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27847909, 'pht': 3726}}" where mtr_portfolio_id = 27847886 and dashboard_run_id = 2466907 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27847886 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16446184, 0.03676683205593549, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27847886_15-10-2025_23_33_06.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27847898, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27847899, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27847900, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27847901, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27847902, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27847903, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27847904, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27847905, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27847906, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27847907, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27847908, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27847909, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27848411 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3948718, 'mtr_portfolio_id': 27848411, 'created_at': datetime.datetime(2025, 10, 15, 23, 49, 26), 'result': '0.051600182052438374', 'result_long': None, 'result_double': None}] Qualite : 0.051600182052438374 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27848411 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27848411_15-10-2025_23_49_26.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27848411 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27848411_15-10-2025_23_49_26.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27848448, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27848449, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27848450, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27848451, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27848452, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27848453, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27848454, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27848455, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27848456, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27848457, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27848458, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27848459, 'pht': 3726}}" where mtr_portfolio_id = 27848411 and dashboard_run_id = 2466907 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27848411 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16446185, 0.051600182052438374, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27848411_15-10-2025_23_49_26.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27848448, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27848449, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27848450, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27848451, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27848452, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27848453, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27848454, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27848455, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27848456, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27848457, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27848458, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27848459, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27849019 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3948831, 'mtr_portfolio_id': 27849019, 'created_at': datetime.datetime(2025, 10, 16, 1, 12, 4), 'result': '0.06246820083880543', 'result_long': None, 'result_double': None}] Qualite : 0.06246820083880543 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27849019 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27849019_16-10-2025_01_12_05.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27849019 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27849019_16-10-2025_01_12_05.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 27849060, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27849061, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27849062, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27849063, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27849064, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27849065, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27849066, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27849067, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27849068, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27849069, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27849070, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27849071, 'pht': 3726}}" where mtr_portfolio_id = 27849019 and dashboard_run_id = 2466907 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27849019 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16446186, 0.06246820083880543, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27849019_16-10-2025_01_12_05.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 27849060, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27849061, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27849062, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27849063, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27849064, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27849065, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27849066, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27849067, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27849068, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27849069, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27849070, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27849071, '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 (27818432,27818482,27818873,27819596,27820246,27820351,27820632,27820994,27821801,27821853,27822193,27822707,27823105,27834475,27834822,27835066,27836024,27836830,27837435,27837819,27838415,27838969,27839774,27840279,27840850,27841184,27841863,27842278,27842861,27843177,27843398,27843805,27844258,27844744,27845406,27845935,27846621,27847151,27847886,27848411,27849019) result : ((1389500533,), (1389500687,), (1389500688,), (1389500689,), (1389500719,), (1389500721,), (1389500723,), (1389500726,), (1389500728,), (1389500776,), (1389500779,), (1389500781,), (1389500782,), (1389500783,), (1389500784,), (1389500756,), (1389500760,), (1389500767,), (1389500772,), (1389500785,), (1389500789,), (1389500793,), (1389500795,), (1389500801,), (1389500802,), (1389500804,), (1389500807,), (1389500810,), (1389500818,), (1389500861,), (1389500862,), (1389500864,), (1389500867,), (1389500870,), (1389500873,), (1389500878,), (1389500880,), (1389500881,), (1389500903,), (1389500905,), (1389500907,), (1389500909,), (1389500910,), (1389500911,), (1389500919,), (1389500920,), (1389500923,), (1389500924,), (1389500927,), (1389500928,), (1389500948,), (1389500949,), (1389500950,), (1389500953,), (1389500957,), (1389500960,), (1389500971,), (1389500972,), (1389500974,), (1389500977,), (1389500980,), (1389500983,), (1389500988,), (1389500989,), (1389500990,), (1389500991,), (1389500992,), (1389500996,), (1389501000,), (1389501005,), (1389501012,), (1389501039,), (1389501042,), (1389501044,), (1389501047,), (1389501050,), (1389501053,), (1389501061,), (1389501062,), (1389501063,), (1389501065,), (1389501083,), (1389501084,), (1389501086,), (1389501089,), (1389501092,), (1389501095,), (1389501127,), (1389501128,), (1389501130,), (1389501156,), (1389501157,), (1389501159,), (1389501162,), (1389501165,), (1389501167,), (1389501172,), (1389501177,), (1389501179,), (1389501183,), (1389501188,), (1389501194,), (1389501228,), (1389501221,), (1389501222,), (1389501223,), (1389501225,), (1389501237,), (1389501238,), (1389501239,), (1389501241,), (1389501244,), (1389501273,), (1389501276,), (1389501277,), (1389501279,), (1389501282,), (1389501285,), (1389501327,), (1389501328,), (1389501330,), (1389501333,), (1389501359,), (1389501360,), (1389501361,), (1389501363,), (1389501367,), (1389501369,), (1389501377,), (1389501378,), (1389501380,), (1389501385,), (1389501388,), (1389501390,), (1389501409,), (1389501411,), (1389501421,), (1389501427,), (1389501428,), (1389501429,), (1389501433,), (1389501435,), (1389501438,), (1389501440,), (1389501444,), (1389501445,), (1389501446,), (1389501448,), (1389501451,), (1389501453,), (1389501484,), (1389501504,), (1389501509,), (1389501511,), (1389501514,), (1389501517,), (1389501536,), (1389501537,), (1389501538,), (1389501540,), (1389501567,), (1389501568,), (1389501569,), (1389501572,), (1389501576,), (1389501578,), (1389501585,), (1389501586,), (1389501587,), (1389501589,), (1389501776,), (1389501934,), (1389501935,), (1389501936,), (1389501938,), (1389501955,), (1389501958,), (1389501961,), (1389501963,), (1389501967,), (1389501972,), (1389501977,), (1389502017,), (1389504900,), (1389504898,), (1389504920,), (1389504922,), (1389504923,), (1389504926,), (1389504929,), (1389504932,), (1389504962,), (1389504963,), (1389504965,), (1389504968,), (1389504971,), (1389504974,), (1389504979,), (1389504980,), (1389505005,), (1389505012,), (1389505013,), (1389505014,), (1389505015,), (1389505017,), (1389505026,), (1389505027,), (1389505031,), (1389505033,), (1389505036,), (1389505038,), (1389505040,), (1389505051,), (1389505053,), (1389505054,), (1389505055,), (1389505056,), (1389505061,), (1389505062,), (1389505247,), (1389512777,), (1389512872,), (1389513090,), (1389513148,), (1389513149,), (1389513150,), (1389513167,), (1389513168,), (1389513170,), (1389513172,), (1389513175,), (1389513179,), (1389513276,), (1389513247,), (1389513260,), (1389513274,), (1389513275,), (1389513301,), (1389513303,), (1389513304,), (1389513306,), (1389513310,), (1389513318,), (1389513319,), (1389513320,), (1389513333,), (1389513334,), (1389513335,), (1389513360,), (1389513361,), (1389513363,), (1389513365,), (1389513377,), (1389513379,), (1389513383,), (1389513388,), (1389513398,), (1389513401,), (1389513406,), (1389513407,), (1389513408,), (1389513410,), (1389513431,), (1389513432,), (1389513433,), (1389513435,), (1389513438,), (1389513444,), (1389513464,), (1389513465,), (1389513466,), (1389513469,), (1389513482,), (1389513483,), (1389513487,), (1389513491,), (1389513498,), (1389513500,), (1389513506,), (1389513511,), (1389513513,), (1389513523,), (1389513514,), (1389513515,), (1389513516,), (1389513519,), (1389513533,), (1389513534,), (1389513535,), (1389513538,), (1389513565,), (1389513566,), (1389513567,), (1389513569,), (1389513572,), (1389513587,), (1389513588,), (1389513589,), (1389513591,), (1389513595,), (1389513623,), (1389513624,), (1389513626,), (1389513641,), (1389513642,), (1389513644,), (1389513646,), (1389513673,), (1389513674,), (1389513676,), (1389513679,), (1389513682,), (1389513691,), (1389513692,), (1389513693,), (1389513696,), (1389513700,), (1389513724,), (1389513725,), (1389513726,), (1389513728,), (1389513741,), (1389513742,), (1389513744,), (1389513748,), (1389513755,), (1389513760,), (1389513768,), (1389513769,), (1389513770,), (1389513771,), (1389513774,), (1389513777,), (1389513779,), (1389513782,), (1389513785,), (1389513789,), (1389513790,), (1389513791,), (1389513829,), (1389513830,), (1389513831,), (1389513837,), (1389513840,), (1389513843,), (1389514624,), (1389514957,), (1389514961,), (1389514964,), (1389514966,), (1389515238,), (1389515225,), (1389515227,), (1389515229,), (1389515233,), (1389515265,), (1389515267,), (1389515269,), (1389515273,), (1389515285,), (1389515287,), (1389515289,), (1389515451,), (1389515728,), (1389515732,), (1389515929,), (1389515931,), (1389515968,), (1389515973,), (1389515978,), (1389515981,), (1389515993,), (1389515995,), (1389515999,), (1389516004,), (1389516007,), (1389516013,), (1389516026,), (1389516028,), (1389516030,), (1389516033,), (1389516035,), (1389516040,), (1389516045,), (1389516049,), (1389516051,), (1389516053,), (1389516054,), (1389516065,), (1389516067,), (1389516069,), (1389516072,), (1389516096,), (1389516098,), (1389516101,), (1389516105,), (1389516118,), (1389516120,), (1389516123,), (1389516128,), (1389516132,), (1389516139,), (1389516151,), (1389516153,), (1389516155,), (1389516169,), (1389516173,), (1389516177,), (1389516183,), (1389516187,), (1389516190,), (1389518757,), (1389519610,), (1389519627,), (1389519632,), (1389519633,), (1389519635,), (1389519646,), (1389519660,), (1389519662,), (1389519686,), (1389519679,), (1389519680,), (1389519681,), (1389519683,), (1389519697,), (1389519698,), (1389519700,), (1389519715,), (1389519716,), (1389519717,), (1389519719,), (1389519722,), (1389519726,), (1389519741,), (1389519743,), (1389519746,), (1389519750,), (1389519753,), (1389519762,), (1389519763,), (1389519764,), (1389519766,), (1389519769,), (1389519782,), (1389519783,), (1389519784,), (1389519786,), (1389519790,), (1389519816,), (1389519818,), (1389519821,), (1389519823,), (1389519827,), (1389519835,), (1389519837,), (1389519838,), (1389519840,), (1389519842,), (1389519852,), (1389519878,), (1389519880,), (1389519881,), (1389519883,), (1389519903,), (1389519906,), (1389519909,), (1389519912,), (1389519922,), (1389519929,), (1389519933,), (1389519935,), (1389519937,), (1389519940,), (1389519946,), (1389519949,), (1389519952,), (1389519954,), (1389519956,), (1389519962,), (1389519965,), (1389519967,), (1389519970,), (1389519973,), (1389519978,), (1389519997,), (1389520000,), (1389520002,), (1389520006,), (1389520308,), (1389520311,), (1389520314,), (1389520317,), (1389520320,), (1389520325,), (1389520331,), (1389520333,), (1389520334,), (1389520335,), (1389521412,), (1389520349,), (1389520353,), (1389520823,), (1389521365,), (1389521427,), (1389521428,), (1389521626,), (1389521637,), (1389521667,), (1389522074,), (1389522081,), (1389522104,), (1389522131,), (1389522135,), (1389522161,), (1389522165,), (1389522167,), (1389522171,), (1389522175,), (1389522178,), (1389522183,), (1389522185,), (1389522189,), (1389522193,), (1389522209,), (1389522216,), (1389522221,), (1389522225,), (1389522228,), (1389522231,), (1389522235,), (1389522239,), (1389522241,), (1389522243,), (1389522245,), (1389522246,), (1389522252,), (1389522254,), (1389522256,), (1389522259,), (1389522262,), (1389522287,), (1389522288,), (1389522289,), (1389522292,), (1389522296,), (1389522304,), (1389522305,), (1389522306,), (1389522309,), (1389522315,), (1389522321,), (1389522324,), (1389522325,), (1389522329,), (1389522335,), (1389522337,), (1389522341,), (1389522342,), (1389522343,), (1389522345,), (1389522386,), (1389522387,), (1389522388,), (1389522390,), (1389522393,), (1389522408,), (1389522409,), (1389522410,), (1389522412,), (1389522414,), (1389522440,), (1389522443,), (1389522444,), (1389522446,), (1389522449,), (1389522452,), (1389522462,), (1389522463,), (1389522466,), (1389522472,), (1389522479,), (1389522481,), (1389522487,), (1389522494,), (1389522495,), (1389522496,), (1389522512,), (1389522499,), (1389522501,), (1389522504,), (1389522507,), (1389522510,), (1389522518,), (1389522519,), (1389522520,), (1389522522,), (1389522563,), (1389522565,), (1389522566,), (1389522568,), (1389522571,), (1389522587,), (1389522588,), (1389522589,), (1389522591,), (1389522594,), (1389522626,), (1389522628,), (1389522630,), (1389522632,), (1389522635,), (1389522645,), (1389522648,), (1389522649,), (1389522651,), (1389522659,), (1389522678,), (1389522680,), (1389522681,), (1389522683,), (1389522686,), (1389522694,), (1389522695,), (1389522696,), (1389522698,), (1389522701,), (1389522704,), (1389522735,), (1389522737,), (1389522738,), (1389522741,), (1389522756,), (1389522765,), (1389522767,), (1389522770,), (1389522776,), (1389522780,), (1389522785,), (1389522787,), (1389522788,), (1389522789,), (1389522792,), (1389522794,), (1389522797,), (1389522800,), (1389522807,), (1389522808,), (1389522810,), (1389522812,), (1389522815,), (1389522822,), (1389522843,), (1389522845,), (1389522847,), (1389522855,), (1389522856,), (1389522857,), (1389522859,), (1389522862,), (1389522865,), (1389522890,), (1389522892,), (1389522893,), (1389522895,), (1389522934,), (1389522909,), (1389522912,), (1389522918,), (1389522925,), (1389522930,), (1389522951,), (1389522953,), (1389522955,), (1389522957,), (1389522969,), (1389522970,), (1389522971,), (1389522974,), (1389522984,), (1389522988,), (1389523009,), (1389523011,), (1389523012,), (1389523015,), (1389523019,), (1389523030,), (1389523032,), (1389523034,), (1389523037,), (1389523047,), (1389523049,), (1389523055,), (1389523059,), (1389527864,), (1389594501,), (1389595115,), (1389595117,), (1389595306,), (1389595307,), (1389595308,), (1389595310,), (1389595314,), (1389595328,), (1389595329,), (1389595330,), (1389595348,), (1389595350,), (1389595352,), (1389597367,), (1389598080,), (1389598241,), (1389598243,), (1389598272,), (1389598279,), (1389598296,), (1389598299,), (1389598302,), (1389598333,), (1389598334,), (1389598335,), (1389598337,), (1389598342,), (1389598363,), (1389598366,), (1389598368,), (1389598371,), (1389598374,), (1389598377,), (1389598382,), (1389598383,), (1389598385,), (1389598387,), (1389598390,), (1389598393,), (1389598403,), (1389598465,), (1389598473,), (1389598475,), (1389598479,), (1389598483,), (1389598486,), (1389598519,), (1389598524,), (1389598529,), (1389598542,), (1389598543,), (1389598949,), (1389598950,), (1389598953,), (1389598954,), (1389598972,), (1389598973,), (1389599177,), (1389599108,), (1389599123,), (1389599156,), (1389601671,), (1389601674,), (1389601677,), (1389601693,), (1389601969,), (1389601971,), (1389602034,), (1389602037,), (1389602516,), (1389602583,), (1389602585,), (1389603834,), (1389603836,), (1389604063,), (1389604065,), (1389604816,), (1389604970,), (1389604978,), (1389604986,), (1389604991,), (1389604994,), (1389605020,), (1389605021,), (1389605150,), (1389605234,), (1389605236,), (1389605239,), (1389605242,), (1389605245,), (1389605250,), (1389605252,), (1389605255,), (1389605258,), (1389605303,), (1389605305,), (1389605308,), (1389605311,), (1389605314,), (1389605318,), (1389605321,), (1389605322,), (1389605324,), (1389605325,), (1389605327,), (1389605330,), (1389605333,), (1389605625,), (1389605629,), (1389607994,), (1389606795,), (1389607991,), (1389607992,), (1389608525,), (1389608620,), (1389608621,), (1389608659,), (1389608677,), (1389608706,), (1389608798,), (1389608799,), (1389608802,), (1389608804,), (1389608808,), (1389608811,), (1389608816,), (1389608817,), (1389608818,), (1389608821,), (1389608881,), (1389608884,), (1389608886,), (1389615950,), (1389615942,), (1389615944,), (1389615946,), (1389616368,), (1389616370,), (1389616371,), (1389616396,), (1389616410,), (1389616411,), (1389616413,), (1389616428,), (1389617168,), (1389617178,), (1389617182,), (1389617185,), (1389617187,), (1389617208,), (1389618288,), (1389618290,), (1389618294,), (1389618375,), (1389618405,), (1389618408,), (1389618410,), (1389618423,), (1389618799,), (1389618800,), (1389618802,), (1389618876,), (1389618883,), (1389618971,), (1389618979,), (1389618999,), (1389619000,), (1389619002,), (1389619009,), (1389619431,), (1389619548,), (1389619549,), (1389619551,), (1389619811,), (1389619813,), (1389619823,), (1389619903,), (1389619917,), (1389619927,), (1389619992,), (1389619993,), (1389619994,), (1389619997,), (1389620044,), (1389620045,), (1389620046,), (1389620049,), (1389620053,), (1389620081,), (1389620083,), (1389620086,), (1389620088,), (1389620092,), (1389620113,), (1389620114,), (1389620115,), (1389620118,), (1389620123,), (1389620126,), (1389620163,), (1389620166,), (1389620169,), (1389620174,), (1389620176,), (1389620177,), (1389620178,), (1389620143,), (1389620148,), (1389620160,), (1389620182,), (1389620183,), (1389620188,), (1389620196,), (1389620215,), (1389620216,), (1389620217,), (1389620219,), (1389620239,), (1389620242,), (1389620243,), (1389620246,), (1389620250,), (1389620259,), (1389620277,), (1389620279,), (1389620281,), (1389620284,), (1389620300,), (1389620303,), (1389620314,), (1389620320,), (1389620324,), (1389620363,), (1389620364,), (1389620365,), (1389620367,), (1389620371,), (1389620375,), (1389620387,), (1389620388,), (1389620390,), (1389620392,), (1389620409,), (1389620410,), (1389620412,), (1389620415,), (1389620419,), (1389620423,), (1389620435,), (1389620436,), (1389620437,), (1389620439,), (1389620442,), (1389620449,), (1389620467,), (1389620469,), (1389620471,), (1389620475,), (1389620478,), (1389620481,), (1389620489,), (1389620493,), (1389620506,), (1389620510,), (1389620514,), (1389620517,), (1389620527,), (1389620529,), (1389620530,), (1389620531,), (1389620533,), (1389620536,), (1389620546,), (1389620549,), (1389620552,), (1389620554,), (1389620557,), (1389620558,), (1389620568,), (1389620575,), (1389620588,), (1389620592,), (1389620598,), (1389620607,), (1389620617,), (1389620620,), (1389620624,), (1389620627,), (1389620653,), (1389620656,), (1389620773,), (1389620776,), (1389620777,), (1389620797,), (1389620798,), (1389620812,), (1389620814,), (1389620709,), (1389620713,), (1389620735,), (1389620779,), (1389620780,), (1389620783,), (1389620785,), (1389620788,), (1389620792,), (1389620830,), (1389620833,), (1389620836,), (1389620893,), (1389620895,), (1389620897,), (1389620899,), (1389620903,), (1389620906,), (1389620922,), (1389620923,), (1389620925,), (1389620927,), (1389620935,), (1389620946,), (1389620947,), (1389620949,), (1389620952,), (1389620955,), (1389620958,), (1389620963,), (1389620965,), (1389620966,), (1389620972,), (1389620974,), (1389620989,), (1389621004,), (1389621012,), (1389621020,), (1389621051,), (1389621052,), (1389621057,), (1389621064,), (1389621068,), (1389621071,), (1389621105,), (1389621106,), (1389621107,), (1389621109,), (1389621165,), (1389621174,), (1389621176,), (1389621179,), (1389621182,), (1389621185,), (1389621199,), (1389621200,), (1389621204,), (1389621213,), (1389621216,), (1389621217,), (1389621241,), (1389621245,), (1389621248,), (1389621251,), (1389621297,), (1389621302,), (1389621466,), (1389621487,), (1389621490,), (1389621684,), (1389621686,), (1389621689,), (1389621725,), (1389621729,), (1389621732,), (1389621835,), (1389621836,), (1389621837,), (1389621934,), (1389621938,), (1389621945,), (1389621948,), (1389621868,), (1389621911,), (1389621913,), (1389621930,), (1389621982,), (1389621984,), (1389621985,), (1389621987,), (1389622101,), (1389622102,), (1389622103,), (1389622106,), (1389622111,), (1389622114,), (1389622176,), (1389622189,), (1389622197,), (1389622214,), (1389622386,), (1389622405,), (1389622427,), (1389622430,), (1389622434,), (1389622437,), (1389622446,), (1389622448,), (1389622450,), (1389622453,), (1389622475,), (1389622476,), (1389622477,), (1389622480,), (1389622484,), (1389622650,), (1389622651,), (1389622652,), (1389622654,), (1389622658,), (1389622669,), (1389622688,), (1389622689,), (1389622692,), (1389622696,), (1389622707,), (1389622716,), (1389622728,), (1389622734,), (1389622738,), (1389622742,), (1389622882,), (1389622886,), (1389622954,), (1389622976,), (1389622979,), (1389623019,), (1389623030,), (1389623031,), (1389623032,), (1389623033,), (1389623037,), (1389623043,), (1389623052,), (1389623055,), (1389623057,), (1389623059,), (1389623064,), (1389623066,), (1389623068,), (1389623071,), (1389624498,), (1389624525,), (1389624543,), (1389624547,), (1389624551,), (1389624578,), (1389624570,), (1389624573,), (1389624576,), (1389624607,), (1389624609,), (1389624684,), (1389624803,), (1389624807,), (1389624997,), (1389624999,), (1389625002,), (1389625004,), (1389625008,), (1389625013,), (1389625026,), (1389625029,), (1389625030,), (1389625032,), (1389625047,), (1389625049,), (1389625053,), (1389625060,), (1389625068,), (1389625071,), (1389625456,), (1389625459,), (1389625462,), (1389625466,), (1389625473,), (1389625476,), (1389625611,), (1389625612,), (1389625681,), (1389625682,), (1389625779,), (1389625781,), (1389625784,), (1389625788,), (1389625792,), (1389625796,), (1389625816,), (1389625899,), (1389625900,), (1389625939,), (1389625993,), (1389625996,), (1389625998,), (1389626016,), (1389626026,), (1389626057,), (1389626058,), (1389626059,), (1389626061,), (1389626066,), (1389626070,), (1389626203,), (1389626204,), (1389626244,), (1389626283,), (1389626305,), (1389626463,), (1389626464,), (1389626465,), (1389626470,), (1389626474,), (1389626477,), (1389626485,), (1389626486,), (1389626491,), (1389626494,), (1389626545,), (1389626547,), (1389626548,), (1389626551,), (1389626755,), (1389627042,), (1389627043,), (1389627044,), (1389627079,), (1389627093,), (1389627096,), (1389627122,), (1389627070,), (1389627071,), (1389627074,), (1389627123,), (1389627124,), (1389627125,), (1389629106,), (1389629107,), (1389629108,), (1389629293,), (1389629295,), (1389629298,), (1389629301,), (1389629304,), (1389629307,), (1389629312,), (1389629314,), (1389629316,), (1389629317,), (1389629318,), (1389629320,), (1389629323,), (1389629364,), (1389629382,), (1389629383,), (1389629404,), (1389629419,), (1389629420,), (1389629421,), (1389629423,), (1389629455,), (1389629457,), (1389629458,), (1389629461,), (1389629478,), (1389629481,), (1389629647,), (1389629596,), (1389629608,), (1389629610,), (1389629644,), (1389629662,), (1389629666,), (1389629667,), (1389629669,), (1389629682,), (1389629683,), (1389629684,), (1389629686,), (1389630094,), (1389630547,), (1389630549,), (1389630550,), (1389630674,), (1389631192,), (1389631725,), (1389631802,), (1389631803,), (1389631804,), (1389631806,), (1389631809,), (1389631815,), (1389632190,), (1389632286,), (1389632288,), (1389632291,), (1389632294,), (1389632297,), (1389632302,), (1389632308,), (1389632314,), (1389632323,), (1389632549,), (1389632551,), (1389632554,), (1389632561,), (1389632564,), (1389632567,), (1389632573,), (1389632575,), (1389632576,), (1389632578,), (1389632580,), (1389632596,), (1389632598,), (1389632600,), (1389632602,), (1389632605,), (1389632608,), (1389632625,), (1389632627,), (1389632630,), (1389632633,), (1389632636,), (1389632703,), (1389632704,), (1389632705,), (1389632708,), (1389632712,), (1389632720,), (1389632730,), (1389632732,), (1389632734,), (1389632738,), (1389632750,), (1389632787,), (1389632792,), (1389632794,), (1389632798,), (1389632803,), (1389632810,), (1389632821,), (1389632823,), (1389632825,), (1389632828,), (1389632832,), (1389632843,), (1389632844,), (1389632846,), (1389632848,), (1389632852,), (1389632884,), (1389632887,), (1389632893,), (1389632894,), (1389632895,), (1389632896,), (1389632875,), (1389632876,), (1389632878,), (1389632881,), (1389632898,), (1389632899,), (1389632901,), (1389632904,), (1389632916,), (1389632933,), (1389632935,), (1389632937,), (1389632939,), (1389632942,), (1389632945,), (1389632963,), (1389632964,), (1389632965,), (1389632968,), (1389633134,), (1389633162,), (1389633163,), (1389633166,), (1389633170,), (1389633173,), (1389633182,), (1389633183,), (1389633184,), (1389633186,), (1389633220,), (1389633223,), (1389633227,), (1389633229,), (1389633233,), (1389633236,), (1389633244,), (1389633245,), (1389633247,), (1389633249,), (1389633272,), (1389633274,), (1389633275,), (1389633278,), (1389633282,), (1389633841,), (1389633842,), (1389633843,), (1389633846,), (1389633850,), (1389633857,), (1389634083,), (1389634084,), (1389634194,), (1389634197,), (1389634200,), (1389634203,), (1389634209,), (1389634210,), (1389634211,), (1389634212,), (1389634215,), (1389634225,), (1389634228,), (1389634231,), (1389634235,), (1389634239,), (1389634253,), (1389634259,), (1389634261,), (1389634263,), (1389634265,), (1389635486,), (1389635507,), (1389635651,), (1389635656,), (1389635697,), (1389635711,), (1389636405,), (1389636269,), (1389636272,), (1389636389,), (1389636438,), (1389636440,), (1389636443,), (1389636539,), (1389636858,), (1389636860,), (1389636989,), (1389636991,), (1389636992,), (1389636995,), (1389636999,), (1389637023,), (1389637262,), (1389637264,), (1389637265,), (1389637268,), (1389637296,), (1389637297,), (1389637299,), (1389637301,), (1389637314,), (1389637317,), (1389637321,), (1389637326,), (1389637329,), (1389637380,), (1389637383,), (1389637386,), (1389637390,), (1389637391,), (1389637392,), (1389637372,), (1389637374,), (1389637377,), (1389637398,), (1389637405,), (1389637459,), (1389637460,), (1389637461,), (1389637464,), (1389637467,), (1389637609,), (1389637611,), (1389637612,), (1389637615,), (1389637618,), (1389637651,), (1389637652,), (1389637655,), (1389637659,), (1389637662,), (1389637665,), (1389637670,), (1389637671,), (1389637672,), (1389638009,), (1389638010,), (1389638011,), (1389638014,), (1389638015,), (1389638017,), (1389638023,), (1389638024,), (1389638065,), (1389638068,), (1389638111,), (1389638112,), (1389638237,), (1389638239,), (1389638259,), (1389638260,), (1389638261,), (1389638263,), (1389638276,), (1389638278,), (1389638279,), (1389638390,), (1389638407,), (1389638506,), (1389638522,), (1389638523,), (1389638853,), (1389638913,), (1389638914,), (1389638915,), (1389638918,), (1389638922,), (1389638925,), (1389638933,), (1389638935,), (1389638936,), (1389638938,), (1389638958,), (1389638960,), (1389638965,), (1389638968,), (1389638971,), (1389638974,), (1389638985,), (1389638986,), (1389638987,), (1389638989,), (1389638992,), (1389638995,), (1389639001,), (1389639006,), (1389639025,), (1389639070,), (1389639136,), (1389639139,), (1389639142,), (1389639145,), (1389639153,), (1389639155,), (1389639156,), (1389639158,), (1389639165,), (1389639168,), (1389639179,), (1389639181,), (1389639183,), (1389639497,), (1389639495,), (1389639536,), (1389639537,), (1389639538,), (1389639556,), (1389639559,), (1389639560,), (1389639562,), (1389639576,), (1389639577,), (1389639597,), (1389639599,), (1389639615,), (1389639617,), (1389641803,), (1389642324,), (1389642325,), (1389642326,), (1389642343,), (1389642353,), (1389642355,), (1389642357,), (1389642360,), (1389642363,), (1389642369,), (1389642371,), (1389642372,), (1389642374,), (1389642379,), (1389642384,), (1389642390,), (1389642397,), (1389642399,), (1389642462,), (1389642464,), (1389642467,), (1389642471,), (1389642474,), (1389642491,), (1389642492,), (1389642493,), (1389642495,), (1389642498,), (1389642507,), (1389642510,), (1389642511,), (1389642513,), (1389642515,), (1389642556,), (1389642559,), (1389642560,), (1389642561,), (1389642563,), (1389642565,), (1389642546,), (1389642547,), (1389642549,), (1389642552,), (1389642554,), (1389642566,), (1389642571,), (1389642583,), (1389642592,), (1389642594,), (1389642617,), (1389642618,), (1389642619,), (1389642621,), (1389642636,), (1389642637,), (1389642638,), (1389642640,), (1389642643,), (1389642660,), (1389642662,), (1389642663,), (1389642665,), (1389642668,), (1389642680,), (1389642682,), (1389642683,), (1389642685,), (1389642692,), (1389642695,), (1389642719,), (1389642720,), (1389642722,), (1389642724,), (1389642727,), (1389642734,), (1389642736,), (1389642737,), (1389642740,), (1389642766,), (1389642767,), (1389642769,), (1389642772,), (1389642775,), (1389642790,), (1389642792,), (1389642794,), (1389642796,), (1389642799,), (1389642823,), (1389642825,), (1389642828,), (1389642832,), (1389642836,), (1389642838,), (1389642841,), (1389642843,), (1389642844,), (1389642845,), (1389642846,), (1389642847,), (1389642849,), (1389642852,), (1389642899,), (1389642900,), (1389642902,), (1389642904,), (1389642907,), (1389642917,), (1389642919,), (1389642920,), (1389642922,), (1389642941,), (1389642943,), (1389642944,), (1389642967,), (1389642985,), (1389642986,), (1389642988,), (1389642990,), (1389643003,), (1389643006,), (1389643010,), (1389643013,), (1389643016,), (1389643056,), (1389643057,), (1389643058,), (1389643073,), (1389643075,), (1389643076,), (1389643078,), (1389643083,), (1389643115,), (1389643116,), (1389643119,), (1389643123,), (1389643126,), (1389643129,), (1389643137,), (1389643139,), (1389643140,), (1389643141,), (1389643155,), (1389643173,), (1389643182,), (1389643186,), (1389643190,), (1389643208,), (1389643209,), (1389643210,), (1389643213,), (1389643217,), (1389643220,), (1389643227,), (1389643229,), (1389643230,), (1389643234,), (1389643294,), (1389643339,), (1389643341,), (1389643356,), (1389643362,), (1389643365,), (1389643386,), (1389643388,), (1389643390,), (1389643393,), (1389643396,), (1389643399,), (1389643459,), (1389643461,), (1389643464,), (1389643468,), (1389643480,), (1389643553,), (1389643564,), (1389643569,), (1389643571,), (1389643574,), (1389643750,), (1389643835,), (1389643836,), (1389643899,), (1389643901,), (1389643905,), (1389643908,), (1389643917,), (1389643920,), (1389643992,), (1389643995,), (1389643998,), (1389643983,), (1389643984,), (1389643986,), (1389643989,), (1389644001,), (1389644003,), (1389644004,), (1389644005,), (1389644009,), (1389644103,), (1389644116,), (1389644117,), (1389644122,), (1389644132,), (1389644264,), (1389644265,), (1389644266,), (1389644294,), (1389644297,), (1389644299,), (1389644358,), (1389644360,), (1389644374,), (1389644377,), (1389644406,), (1389644407,), (1389644409,), (1389644410,), (1389644412,), (1389644414,), (1389644433,), (1389644435,), (1389644446,), (1389644450,), (1389644453,), (1389644471,), (1389644512,), (1389644513,), (1389644515,), (1389644516,), (1389644663,), (1389644711,), (1389644712,), (1389644714,), (1389644717,), (1389644724,), (1389644725,), (1389644727,), (1389644728,), (1389644730,), (1389644732,), (1389644736,), (1389644737,), (1389644738,), (1389644741,), (1389644742,), (1389644744,), (1389644746,), (1389644750,), (1389644769,), (1389644770,), (1389644771,), (1389644772,), (1389644774,), (1389644781,), (1389645018,), (1389645023,), (1389645027,), (1389645036,), (1389645038,), (1389645040,), (1389645060,), (1389645062,), (1389645064,), (1389645958,), (1389645131,), (1389645922,), (1389645939,), (1389645946,), (1389645954,), (1389646257,), (1389646265,), (1389646268,), (1389646291,), (1389646295,), (1389646298,), (1389646301,), (1389646304,), (1389646307,), (1389646327,), (1389646328,), (1389646329,), (1389646330,), (1389647166,), (1389647167,), (1389647168,), (1389647170,), (1389647315,), (1389647395,), (1389647396,), (1389647397,), (1389647399,), (1389647401,), (1389647403,), (1389647415,), (1389647417,), (1389647418,), (1389647421,), (1389647430,), (1389647437,), (1389647438,), (1389647440,), (1389647461,), (1389647463,), (1389647465,), (1389647467,), (1389647470,), (1389647473,), (1389647482,), (1389647483,), (1389647484,), (1389647516,), (1389647518,), (1389647519,), (1389647521,), (1389647524,), (1389647526,), (1389647532,), (1389647533,), (1389647534,), (1389647536,), (1389647578,), (1389647590,), (1389647591,), (1389647593,), (1389647596,), (1389647598,), (1389647622,), (1389647623,), (1389647624,), (1389647626,), (1389647629,), (1389647655,), (1389647667,), (1389647669,), (1389647671,), (1389647673,), (1389647681,), (1389647816,), (1389648339,), (1389648817,), (1389648819,), (1389648821,), (1389649106,), (1389649107,), (1389649108,), (1389649163,), (1389649164,), (1389649243,), (1389649265,), (1389648841,), (1389649097,), (1389649105,), (1389649267,), (1389649268,), (1389649269,), (1389649270,), (1389649275,), (1389649294,), (1389649295,), (1389649296,), (1389649297,), (1389649299,), (1389649323,), (1389649324,), (1389649325,), (1389649338,), (1389649340,), (1389650288,), (1389650454,), (1389650455,), (1389650456,), (1389650486,), (1389650488,), (1389650490,), (1389650683,), (1389650789,), (1389650798,), (1389650876,), (1389650974,), (1389650975,), (1389651032,), (1389651034,), (1389651037,), (1389651997,), (1389651999,), (1389652001,), (1389652003,), (1389652397,), (1389652398,), (1389652399,), (1389652402,), (1389652492,), (1389652527,), (1389652541,), (1389652733,), (1389653238,), (1389653509,), (1389653511,), (1389653513,), (1389653516,), (1389653518,), (1389653519,), (1389653520,), (1389653734,), (1389653778,), (1389653780,), (1389653829,), (1389653852,), (1389653867,), (1389653870,), (1389653872,), (1389653875,), (1389653878,), (1389653889,), (1389653891,), (1389653892,), (1389653893,), (1389653909,), (1389653912,), (1389654080,), (1389654373,), (1389654376,), (1389654545,), (1389654569,), (1389654531,), (1389654537,), (1389654542,), (1389654543,), (1389654544,), (1389654552,), (1389654554,), (1389654556,), (1389654558,), (1389654560,), (1389654562,), (1389654566,), (1389654567,), (1389654570,), (1389654571,), (1389654573,), (1389654579,), (1389654582,), (1389654585,), (1389654597,), (1389654599,), (1389654600,), (1389654601,), (1389654604,), (1389654606,), (1389654614,), (1389654615,), (1389654616,), (1389654627,), (1389654628,), (1389654630,), (1389654632,), (1389654634,), (1389654636,), (1389654643,), (1389654652,), (1389654658,), (1389654669,), (1389654670,), (1389654677,), (1389654683,), (1389654685,), (1389654700,), (1389654703,), (1389654705,), (1389654715,), (1389654716,), (1389654740,), (1389654742,), (1389654755,), (1389654775,), (1389654779,), (1389654792,), (1389654794,), (1389654832,), (1389654852,), (1389654935,), (1389655394,), (1389655545,), (1389655897,), (1389655899,), (1389655900,), (1389656196,), (1389656198,), (1389656200,), (1389656202,), (1389656238,), (1389656239,), (1389656241,), (1389656245,), (1389656246,), (1389656230,), (1389656231,), (1389656234,), (1389656247,), (1389656248,), (1389656249,), (1389656254,), (1389656256,), (1389657387,), (1389657405,), (1389657406,), (1389657585,), (1389657683,), (1389657684,), (1389657685,), (1389657775,), (1389657776,), (1389657777,), (1389657779,), (1389657791,), (1389657792,), (1389657793,), (1389657795,), (1389657797,), (1389657803,), (1389657845,), (1389657889,), (1389657900,), (1389657911,), (1389657916,), (1389657918,), (1389657969,), (1389657970,), (1389657972,), (1389657975,), (1389657977,), (1389657979,), (1389657981,), (1389657989,), (1389657990,), (1389657991,), (1389659046,), (1389659047,), (1389659050,), (1389659052,), (1389659054,), (1389659056,), (1389659285,), (1389659312,), (1389659313,), (1389659350,), (1389659356,), (1389659359,), (1389659367,), (1389659368,), (1389659369,), (1389659371,), (1389659373,), (1389659375,), (1389659378,), (1389659380,), (1389659382,), (1389659658,), (1389660227,), (1389660492,), (1389660504,), (1389660507,), (1389660509,), (1389660607,), (1389660891,), (1389660896,), (1389660899,), (1389660903,), (1389660907,), (1389660909,), (1389661689,), (1389661468,), (1389661470,), (1389661473,), (1389661477,), (1389661764,), (1389661766,), (1389661768,), (1389661771,), (1389661774,), (1389661776,), (1389661780,), (1389661781,), (1389661782,), (1389661827,), (1389661829,), (1389661830,), (1389661832,), (1389661834,), (1389661836,), (1389662659,), (1389662768,), (1389662769,), (1389662770,), (1389663036,), (1389663038,), (1389663039,), (1389663041,), (1389663043,), (1389663045,), (1389663059,), (1389663060,), (1389663061,), (1389664558,), (1389664711,), (1389664754,), (1389664852,), (1389664853,), (1389664855,), (1389664857,), (1389664887,), (1389664888,), (1389664890,), (1389664892,), (1389664895,), (1389664902,), (1389664911,), (1389664913,), (1389664915,), (1389664922,), (1389664924,), (1389664925,), (1389664927,), (1389664929,), (1389664936,), (1389664982,), (1389664985,), (1389664987,), (1389664989,), (1389664992,), (1389664994,), (1389664995,), (1389664979,), (1389664980,), (1389664997,), (1389664998,), (1389664999,), (1389665001,), (1389665007,), (1389665019,), (1389665021,), (1389665022,), (1389665052,), (1389665053,), (1389665054,), (1389665056,), (1389665059,), (1389665066,), (1389665085,), (1389665087,), (1389665089,), (1389665091,), (1389665094,), (1389665096,), (1389665102,), (1389665103,), (1389665104,), (1389665106,), (1389665151,), (1389665153,), (1389665154,), (1389665156,), (1389665164,), (1389665165,), (1389665166,), (1389665186,), (1389665188,), (1389665189,), (1389665190,), (1389665233,), (1389665234,), (1389665235,), (1389665252,), (1389665253,), (1389665254,), (1389665256,), (1389665258,), (1389665261,), (1389665668,), (1389665669,), (1389665672,), (1389665674,), (1389665795,), (1389665797,), (1389665860,), (1389665861,), (1389665862,), (1389665865,), (1389665866,), (1389665868,), (1389665871,), (1389665877,), (1389665878,), (1389665879,), (1389665880,), (1389665882,), (1389665894,), (1389665896,), (1389665897,), (1389665921,), (1389665919,), (1389665920,), (1389665958,), (1389665970,), (1389665972,), (1389665975,), (1389665977,), (1389665979,), (1389666351,), (1389666352,), (1389666353,), (1389666587,), (1389666589,), (1389666591,), (1389666601,), (1389666602,), (1389666603,), (1389666604,), (1389666606,), (1389666609,), (1389666628,), (1389666629,), (1389666630,), (1389666633,), (1389666634,), (1389666636,), (1389666647,), (1389666648,), (1389666649,), (1389666650,), (1389666652,), (1389666653,), (1389666654,), (1389666662,), (1389666664,), (1389666702,), (1389666703,), (1389666704,), (1389666715,), (1389666716,), (1389666717,), (1389666718,), (1389666720,), (1389666722,), (1389666740,), (1389666741,), (1389666743,), (1389666744,), (1389666747,), (1389667255,), (1389667620,), (1389667621,), (1389667623,), (1389667631,), (1389667639,), (1389667644,), (1389667645,), (1389668094,), (1389668095,), (1389668096,), (1389668097,), (1389668984,), (1389668986,), (1389668988,), (1389668991,), (1389669153,), (1389669224,), (1389669226,), (1389669227,), (1389669229,), (1389669231,), (1389669282,), (1389669284,), (1389669286,), (1389669289,), (1389669290,), (1389669291,), (1389669275,), (1389669276,), (1389669277,), (1389669293,), (1389669295,), (1389669298,), (1389669304,), (1389669306,), (1389669312,), (1389669314,), (1389669316,), (1389669318,), (1389669358,), (1389669359,), (1389669360,), (1389669370,), (1389669372,), (1389669373,), (1389669376,), (1389669378,), (1389669380,), (1389670392,), (1389670394,), (1389670395,), (1389670397,), (1389670403,), (1389670409,), (1389671311,), (1389671482,), (1389671540,), (1389671566,), (1389671689,), (1389671690,), (1389671691,), (1389671693,), (1389671696,), (1389671698,), (1389671733,), (1389671735,), (1389671736,), (1389671739,), (1389671742,), (1389671744,), (1389671763,), (1389671764,), (1389672063,), (1389672396,), (1389672398,), (1389672399,), (1389672401,), (1389672404,), (1389672722,), (1389672724,), (1389672725,), (1389672727,), (1389672729,), (1389672731,), (1389672732,), (1389672733,), (1389672734,), (1389672735,), (1389672736,), (1389672743,), (1389672749,), (1389672805,), (1389672807,), (1389672808,), (1389673389,), (1389673392,), (1389673762,), (1389674261,), (1389674277,), (1389674279,), (1389674285,), (1389674304,), (1389674308,), (1389674486,), (1389674492,), (1389674574,)) NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'15102025': {'nb_upload': 39, 'nb_taggue_class': 0, 'nb_taggue_densite': 0}} After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([27843177]) Inside saveOutput : final : True verbose : True saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1389642565, 1389642563, 1389642561, 1389642560, 1389642559, 1389642556, 1389642515, 1389642513, 1389642511, 1389642510, 1389642507, 1389642498, 1389642495, 1389642493, 1389642492, 1389642491, 1389642474, 1389642471, 1389642467, 1389642464, 1389642462, 1389642399, 1389642397, 1389642390, 1389642384, 1389642379, 1389642374, 1389642372, 1389642371, 1389642369, 1389642363, 1389642360, 1389642357, 1389642355, 1389642353, 1389642343, 1389642326, 1389642325, 1389642324] map_info['map_portfolio_photo'] : {27843177: [1389642565, 1389642563, 1389642561, 1389642560, 1389642559, 1389642556, 1389642515, 1389642513, 1389642511, 1389642510, 1389642507, 1389642498, 1389642495, 1389642493, 1389642492, 1389642491, 1389642474, 1389642471, 1389642467, 1389642464, 1389642462, 1389642399, 1389642397, 1389642390, 1389642384, 1389642379, 1389642374, 1389642372, 1389642371, 1389642369, 1389642363, 1389642360, 1389642357, 1389642355, 1389642353, 1389642343, 1389642326, 1389642325, 1389642324]} final : True mtd_id 4302 list_pids : [1389642565, 1389642563, 1389642561, 1389642560, 1389642559, 1389642556, 1389642515, 1389642513, 1389642511, 1389642510, 1389642507, 1389642498, 1389642495, 1389642493, 1389642492, 1389642491, 1389642474, 1389642471, 1389642467, 1389642464, 1389642462, 1389642399, 1389642397, 1389642390, 1389642384, 1389642379, 1389642374, 1389642372, 1389642371, 1389642369, 1389642363, 1389642360, 1389642357, 1389642355, 1389642353, 1389642343, 1389642326, 1389642325, 1389642324] Looping around the photos to save general results len do output : 1 /27843177Didn'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, '3950312') ('4302', '27843177', '1389642565', None, None, None, None, None, '3950312') ('4302', None, None, None, None, None, None, None, '3950312') ('4302', '27843177', '1389642563', None, None, None, None, None, '3950312') ('4302', None, None, None, None, None, None, None, '3950312') ('4302', '27843177', '1389642561', None, None, None, None, None, '3950312') ('4302', None, None, None, None, None, None, None, '3950312') ('4302', '27843177', '1389642560', None, None, None, None, None, '3950312') ('4302', None, None, None, None, None, None, None, '3950312') ('4302', '27843177', '1389642559', None, None, None, None, None, '3950312') ('4302', None, None, None, None, None, None, None, '3950312') ('4302', '27843177', '1389642556', None, None, None, None, None, '3950312') ('4302', None, None, None, None, None, None, None, '3950312') ('4302', '27843177', '1389642515', None, None, None, None, None, '3950312') ('4302', None, None, None, None, None, None, None, '3950312') ('4302', '27843177', '1389642513', None, None, None, None, None, '3950312') ('4302', None, None, None, None, None, None, None, '3950312') ('4302', '27843177', '1389642511', None, None, None, None, None, '3950312') ('4302', None, None, None, None, None, None, None, '3950312') ('4302', '27843177', '1389642510', None, None, None, None, None, '3950312') ('4302', None, None, None, None, None, None, None, '3950312') ('4302', '27843177', '1389642507', None, None, None, None, None, '3950312') ('4302', None, None, None, None, None, None, None, '3950312') ('4302', '27843177', '1389642498', None, None, None, None, None, '3950312') ('4302', None, None, None, None, None, None, None, '3950312') ('4302', '27843177', '1389642495', None, None, None, None, None, '3950312') ('4302', None, None, None, None, None, None, None, '3950312') ('4302', '27843177', '1389642493', None, None, None, None, None, '3950312') ('4302', None, None, None, None, None, None, None, '3950312') ('4302', '27843177', '1389642492', None, None, None, None, None, '3950312') ('4302', None, None, None, None, None, None, None, '3950312') ('4302', '27843177', '1389642491', None, None, None, None, None, '3950312') ('4302', None, None, None, None, None, None, None, '3950312') ('4302', '27843177', '1389642474', None, None, None, None, None, '3950312') ('4302', None, None, None, None, None, None, None, '3950312') ('4302', '27843177', '1389642471', None, None, None, None, None, '3950312') ('4302', None, None, None, None, None, None, None, '3950312') ('4302', '27843177', '1389642467', None, None, None, None, None, '3950312') ('4302', None, None, None, None, None, None, None, '3950312') ('4302', '27843177', '1389642464', None, None, None, None, None, '3950312') ('4302', None, None, None, None, None, None, None, '3950312') ('4302', '27843177', '1389642462', None, None, None, None, None, '3950312') ('4302', None, None, None, None, None, None, None, '3950312') ('4302', '27843177', '1389642399', None, None, None, None, None, '3950312') ('4302', None, None, None, None, None, None, None, '3950312') ('4302', '27843177', '1389642397', None, None, None, None, None, '3950312') ('4302', None, None, None, None, None, None, None, '3950312') ('4302', '27843177', '1389642390', None, None, None, None, None, '3950312') ('4302', None, None, None, None, None, None, None, '3950312') ('4302', '27843177', '1389642384', None, None, None, None, None, '3950312') ('4302', None, None, None, None, None, None, None, '3950312') ('4302', '27843177', '1389642379', None, None, None, None, None, '3950312') ('4302', None, None, None, None, None, None, None, '3950312') ('4302', '27843177', '1389642374', None, None, None, None, None, '3950312') ('4302', None, None, None, None, None, None, None, '3950312') ('4302', '27843177', '1389642372', None, None, None, None, None, '3950312') ('4302', None, None, None, None, None, None, None, '3950312') ('4302', '27843177', '1389642371', None, None, None, None, None, '3950312') ('4302', None, None, None, None, None, None, None, '3950312') ('4302', '27843177', '1389642369', None, None, None, None, None, '3950312') ('4302', None, None, None, None, None, None, None, '3950312') ('4302', '27843177', '1389642363', None, None, None, None, None, '3950312') ('4302', None, None, None, None, None, None, None, '3950312') ('4302', '27843177', '1389642360', None, None, None, None, None, '3950312') ('4302', None, None, None, None, None, None, None, '3950312') ('4302', '27843177', '1389642357', None, None, None, None, None, '3950312') ('4302', None, None, None, None, None, None, None, '3950312') ('4302', '27843177', '1389642355', None, None, None, None, None, '3950312') ('4302', None, None, None, None, None, None, None, '3950312') ('4302', '27843177', '1389642353', None, None, None, None, None, '3950312') ('4302', None, None, None, None, None, None, None, '3950312') ('4302', '27843177', '1389642343', None, None, None, None, None, '3950312') ('4302', None, None, None, None, None, None, None, '3950312') ('4302', '27843177', '1389642326', None, None, None, None, None, '3950312') ('4302', None, None, None, None, None, None, None, '3950312') ('4302', '27843177', '1389642325', None, None, None, None, None, '3950312') ('4302', None, None, None, None, None, None, None, '3950312') ('4302', '27843177', '1389642324', None, None, None, None, None, '3950312') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 40 insert ignore into MTRPhoto.mtr_datou_result (mtd_id, mtr_portfolio_id,mtr_photo_id,result,result_long,result_double,hashtag_id,proba, mtr_current_id) values (%s,%s,%s,%s,%s,%s,%s,%s,%s) on duplicate key update mtr_portfolio_id = mtr_portfolio_id list_values : [('4302', None, '27843177', 'None', None, None, None, None, '3950312'), ('4302', '27843177', '1389642565', None, None, None, None, None, '3950312'), ('4302', '27843177', '1389642563', None, None, None, None, None, '3950312'), ('4302', '27843177', '1389642561', None, None, None, None, None, '3950312'), ('4302', '27843177', '1389642560', None, None, None, None, None, '3950312'), ('4302', '27843177', '1389642559', None, None, None, None, None, '3950312'), ('4302', '27843177', '1389642556', None, None, None, None, None, '3950312'), ('4302', '27843177', '1389642515', None, None, None, None, None, '3950312'), ('4302', '27843177', '1389642513', None, None, None, None, None, '3950312'), ('4302', '27843177', '1389642511', None, None, None, None, None, '3950312'), ('4302', '27843177', '1389642510', None, None, None, None, None, '3950312'), ('4302', '27843177', '1389642507', None, None, None, None, None, '3950312'), ('4302', '27843177', '1389642498', None, None, None, None, None, '3950312'), ('4302', '27843177', '1389642495', None, None, None, None, None, '3950312'), ('4302', '27843177', '1389642493', None, None, None, None, None, '3950312'), ('4302', '27843177', '1389642492', None, None, None, None, None, '3950312'), ('4302', '27843177', '1389642491', None, None, None, None, None, '3950312'), ('4302', '27843177', '1389642474', None, None, None, None, None, '3950312'), ('4302', '27843177', '1389642471', None, None, None, None, None, '3950312'), ('4302', '27843177', '1389642467', None, None, None, None, None, '3950312'), ('4302', '27843177', '1389642464', None, None, None, None, None, '3950312'), ('4302', '27843177', '1389642462', None, None, None, None, None, '3950312'), ('4302', '27843177', '1389642399', None, None, None, None, None, '3950312'), ('4302', '27843177', '1389642397', None, None, None, None, None, '3950312'), ('4302', '27843177', '1389642390', None, None, None, None, None, '3950312'), ('4302', '27843177', '1389642384', None, None, None, None, None, '3950312'), ('4302', '27843177', '1389642379', None, None, None, None, None, '3950312'), ('4302', '27843177', '1389642374', None, None, None, None, None, '3950312'), ('4302', '27843177', '1389642372', None, None, None, None, None, '3950312'), ('4302', '27843177', '1389642371', None, None, None, None, None, '3950312'), ('4302', '27843177', '1389642369', None, None, None, None, None, '3950312'), ('4302', '27843177', '1389642363', None, None, None, None, None, '3950312'), ('4302', '27843177', '1389642360', None, None, None, None, None, '3950312'), ('4302', '27843177', '1389642357', None, None, None, None, None, '3950312'), ('4302', '27843177', '1389642355', None, None, None, None, None, '3950312'), ('4302', '27843177', '1389642353', None, None, None, None, None, '3950312'), ('4302', '27843177', '1389642343', None, None, None, None, None, '3950312'), ('4302', '27843177', '1389642326', None, None, None, None, None, '3950312'), ('4302', '27843177', '1389642325', None, None, None, None, None, '3950312'), ('4302', '27843177', '1389642324', None, None, None, None, None, '3950312')] time used for this insertion : 0.09351873397827148 save_final save missing photos in datou_result : time spend for datou_step_exec : 10.27822494506836 time spend to save output : 0.0938727855682373 total time spend for step 5 : 10.372097730636597 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 (3950312) 3.02user 2.28system 0:29.19elapsed 18%CPU (0avgtext+0avgdata 169100maxresident)k 208inputs+27192outputs (55major+81154minor)pagefaults 0swaps