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 : 1862918 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 (3677892) updating current state to 1 UPDATE MTRPhoto.mtr_datou_current SET state=1, hostname='marlene' WHERE id in (3677892) SELECT count(*) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26636452 AND hide_status = 0 list_input_json: [] Current got : datou_id : 4302, datou_cur_ids : ['3677892'] with mtr_portfolio_ids : ['26636452'] and first list_photo_ids : [] new path : /proc/1862918/ Name: python3 Umask: 0002 State: R (running) Tgid: 1862918 Ngid: 0 Pid: 1862918 PPid: 1862917 TracerPid: 0 Uid: 1006 1006 1006 1006 Gid: 1009 1009 1009 1009 FDSize: 64 Groups: 27 1009 1026 NStgid: 1862918 NSpid: 1862918 NSpgid: 1861793 NSsid: 1861793 VmPeak: 1107252 kB VmSize: 1107252 kB VmLck: 0 kB VmPin: 0 kB VmHWM: 99948 kB VmRSS: 99948 kB RssAnon: 60168 kB RssFile: 39780 kB RssShmem: 0 kB VmData: 866004 kB VmStk: 132 kB VmExe: 2644 kB VmLib: 130468 kB VmPTE: 600 kB VmSwap: 0 kB HugetlbPages: 0 kB CoreDumping: 0 THP_enabled: 1 Threads: 1 SigQ: 0/63019 SigPnd: 0000000000000000 ShdPnd: 0000000000000000 SigBlk: 0000000000000000 SigIgn: 0000000001001000 SigCgt: 0000000180000002 CapInh: 0000000000000000 CapPrm: 0000000000000000 CapEff: 0000000000000000 CapBnd: 000001ffffffffff CapAmb: 0000000000000000 NoNewPrivs: 0 Seccomp: 0 Seccomp_filters: 0 Speculation_Store_Bypass: thread vulnerable SpeculationIndirectBranch: conditional enabled Cpus_allowed: ffffffff,ffffffff,ffffffff,ffffffff Cpus_allowed_list: 0-127 Mems_allowed: 00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000001 Mems_allowed_list: 0 voluntary_ctxt_switches: 48 nonvoluntary_ctxt_switches: 89 {'Name': 'python3', 'Umask': '0002', 'State': 'R (running)', 'Tgid': '1862918', 'Ngid': '0', 'Pid': '1862918', 'PPid': '1862917', 'TracerPid': '0', 'Uid': '1006,1006,1006,1006', 'Gid': '1009,1009,1009,1009', 'FDSize': '64', 'Groups': '27 1009 1026', 'NStgid': '1862918', 'NSpid': '1862918', 'NSpgid': '1861793', 'NSsid': '1861793', 'VmPeak': '1107252 kB', 'VmSize': '1107252 kB', 'VmLck': '0 kB', 'VmPin': '0 kB', 'VmHWM': '99948 kB', 'VmRSS': '99948 kB', 'RssAnon': '60168 kB', 'RssFile': '39780 kB', 'RssShmem': '0 kB', 'VmData': '866004 kB', 'VmStk': '132 kB', 'VmExe': '2644 kB', 'VmLib': '130468 kB', 'VmPTE': '600 kB', 'VmSwap': '0 kB', 'HugetlbPages': '0 kB', 'CoreDumping': '0', 'THP_enabled': '1', 'Threads': '1', 'SigQ': '0/63019', 'SigPnd': '0000000000000000', 'ShdPnd': '0000000000000000', 'SigBlk': '0000000000000000', 'SigIgn': '0000000001001000', 'SigCgt': '0000000180000002', 'CapInh': '0000000000000000', 'CapPrm': '0000000000000000', 'CapEff': '0000000000000000', 'CapBnd': '000001ffffffffff', 'CapAmb': '0000000000000000', 'NoNewPrivs': '0', 'Seccomp': '0', 'Seccomp_filters': '0', 'Speculation_Store_Bypass': 'thread vulnerable', 'SpeculationIndirectBranch': 'conditional enabled', 'Cpus_allowed': 'ffffffff,ffffffff,ffffffff,ffffffff', 'Cpus_allowed_list': '0-127', 'Mems_allowed': '00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000001', 'Mems_allowed_list': '0', 'voluntary_ctxt_switches': '48', 'nonvoluntary_ctxt_switches': '89'} ('datou_batch_current', '1862918', '1107252', '0', '1107252', '866004', '99948', b'', 'marlene', '3677892') insert ignore into MTRAdmin.mem_info (script_name, PID, VMpeak,VMswap,VMsize,VMdata,VMrss,GPU_ram, hostname, mtr_current_id) VALUES (%s,%s,%s,%s,%s,%s,%s,%s,%s,%s) Inside batchDatouExec : verbose : True ##### chargement datou SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify List Step Type Loaded in datou : ventilate_hashtags_in_portfolio, final, velours_tree, send_mail_cod, split_time_score over limit max, limiting to limit_max 200 list_input_json : [] ##### fin chargement datou ##### chargement data ##### Call load_data_input : nb_thread : 1 origin SELECT ph.photo_id, ph.url FROM MTRBack.photos ph WHERE ph.photo_id IN (SELECT mtr_photo_id from MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id in (26636452) 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 (3677892 ) ) 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 (26636452) AND hide_status = 0 ORDER by mtr_photo_id desc LIMIT 0, 200 list_result: [{'photo_id': 1382515264, 'portfolio_id': 26636452}, {'photo_id': 1382515263, 'portfolio_id': 26636452}, {'photo_id': 1382515262, 'portfolio_id': 26636452}, {'photo_id': 1382515261, 'portfolio_id': 26636452}, {'photo_id': 1382515220, 'portfolio_id': 26636452}, {'photo_id': 1382515219, 'portfolio_id': 26636452}, {'photo_id': 1382515218, 'portfolio_id': 26636452}, {'photo_id': 1382515217, 'portfolio_id': 26636452}, {'photo_id': 1382515216, 'portfolio_id': 26636452}, {'photo_id': 1382515168, 'portfolio_id': 26636452}, {'photo_id': 1382515167, 'portfolio_id': 26636452}, {'photo_id': 1382515166, 'portfolio_id': 26636452}, {'photo_id': 1382515165, 'portfolio_id': 26636452}, {'photo_id': 1382515164, 'portfolio_id': 26636452}, {'photo_id': 1382515163, 'portfolio_id': 26636452}, {'photo_id': 1382515074, 'portfolio_id': 26636452}, {'photo_id': 1382515073, 'portfolio_id': 26636452}, {'photo_id': 1382515072, 'portfolio_id': 26636452}, {'photo_id': 1382515071, 'portfolio_id': 26636452}, {'photo_id': 1382514952, 'portfolio_id': 26636452}, {'photo_id': 1382514951, 'portfolio_id': 26636452}, {'photo_id': 1382514950, 'portfolio_id': 26636452}, {'photo_id': 1382514949, 'portfolio_id': 26636452}, {'photo_id': 1382514948, 'portfolio_id': 26636452}, {'photo_id': 1382514803, 'portfolio_id': 26636452}, {'photo_id': 1382514801, 'portfolio_id': 26636452}, {'photo_id': 1382514799, 'portfolio_id': 26636452}, {'photo_id': 1382514797, 'portfolio_id': 26636452}, {'photo_id': 1382514795, 'portfolio_id': 26636452}, {'photo_id': 1382514793, 'portfolio_id': 26636452}, {'photo_id': 1382514757, 'portfolio_id': 26636452}, {'photo_id': 1382514756, 'portfolio_id': 26636452}, {'photo_id': 1382514755, 'portfolio_id': 26636452}, {'photo_id': 1382514751, 'portfolio_id': 26636452}] map_portfolio_id_photo_id: {26636452: [1382515264, 1382515263, 1382515262, 1382515261, 1382515220, 1382515219, 1382515218, 1382515217, 1382515216, 1382515168, 1382515167, 1382515166, 1382515165, 1382515164, 1382515163, 1382515074, 1382515073, 1382515072, 1382515071, 1382514952, 1382514951, 1382514950, 1382514949, 1382514948, 1382514803, 1382514801, 1382514799, 1382514797, 1382514795, 1382514793, 1382514757, 1382514756, 1382514755, 1382514751]} ##### 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.014591455459594727 #### 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 Mon Sep 8 11:52:56 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (26636452) 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 : 26636452 get user id for portfolio 26636452 get sub ptf for main ptf 26636452, type 3726 and hashtags ['kraft', 'cartonnette', 'Carton_gris', 'mal_croppe', 'papier', 'environnement', 'plastique', 'metal', 'autre_refus', 'Carton_brun', 'Teint_Dans_La_Masse', '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`=26636452 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('kraft','cartonnette','Carton_gris','mal_croppe','papier','environnement','plastique','metal','autre_refus','Carton_brun','Teint_Dans_La_Masse','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`=26636452 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('kraft','cartonnette','Carton_gris','mal_croppe','papier','environnement','plastique','metal','autre_refus','Carton_brun','Teint_Dans_La_Masse','flou')) AND mptpi.`min_score`=0.5 To do returned map {'cartonnette': {'main_port_id': 26636452, 'sub_port_id': 26636470, 'hashtag': 'cartonnette', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17948154, 'last_updated_at': datetime.datetime(2025, 9, 8, 11, 47, 33), 'last_updated_at_desc': datetime.datetime(2025, 9, 8, 11, 47, 33), 'last_updated_at_asc': datetime.datetime(2025, 9, 8, 11, 47, 28)}, 'kraft': {'main_port_id': 26636452, 'sub_port_id': 26636471, 'hashtag': 'kraft', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17948155, 'last_updated_at': datetime.datetime(2025, 9, 8, 11, 47, 33), 'last_updated_at_desc': datetime.datetime(2025, 9, 8, 11, 47, 33), 'last_updated_at_asc': datetime.datetime(2025, 9, 8, 11, 47, 28)}, 'flou': {'main_port_id': 26636452, 'sub_port_id': 26636472, 'hashtag': 'flou', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17948156, 'last_updated_at': datetime.datetime(2025, 9, 8, 11, 47, 33), 'last_updated_at_desc': datetime.datetime(2025, 9, 8, 11, 47, 33), 'last_updated_at_asc': datetime.datetime(2025, 9, 8, 11, 47, 28)}, 'papier': {'main_port_id': 26636452, 'sub_port_id': 26636473, 'hashtag': 'papier', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17948157, 'last_updated_at': datetime.datetime(2025, 9, 8, 11, 47, 33), 'last_updated_at_desc': datetime.datetime(2025, 9, 8, 11, 47, 33), 'last_updated_at_asc': datetime.datetime(2025, 9, 8, 11, 47, 28)}, 'plastique': {'main_port_id': 26636452, 'sub_port_id': 26636474, 'hashtag': 'plastique', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17948158, 'last_updated_at': datetime.datetime(2025, 9, 8, 11, 47, 33), 'last_updated_at_desc': datetime.datetime(2025, 9, 8, 11, 47, 33), 'last_updated_at_asc': datetime.datetime(2025, 9, 8, 11, 47, 28)}, 'Teint_Dans_La_Masse': {'main_port_id': 26636452, 'sub_port_id': 26636475, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17948159, 'last_updated_at': datetime.datetime(2025, 9, 8, 11, 47, 33), 'last_updated_at_desc': datetime.datetime(2025, 9, 8, 11, 47, 33), 'last_updated_at_asc': datetime.datetime(2025, 9, 8, 11, 47, 28)}, 'autre_refus': {'main_port_id': 26636452, 'sub_port_id': 26636476, 'hashtag': 'autre_refus', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17948160, 'last_updated_at': datetime.datetime(2025, 9, 8, 11, 47, 33), 'last_updated_at_desc': datetime.datetime(2025, 9, 8, 11, 47, 33), 'last_updated_at_asc': datetime.datetime(2025, 9, 8, 11, 47, 28)}, 'metal': {'main_port_id': 26636452, 'sub_port_id': 26636477, 'hashtag': 'metal', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17948161, 'last_updated_at': datetime.datetime(2025, 9, 8, 11, 47, 33), 'last_updated_at_desc': datetime.datetime(2025, 9, 8, 11, 47, 33), 'last_updated_at_asc': datetime.datetime(2025, 9, 8, 11, 47, 28)}, 'Carton_gris': {'main_port_id': 26636452, 'sub_port_id': 26636478, 'hashtag': 'Carton_gris', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17948162, 'last_updated_at': datetime.datetime(2025, 9, 8, 11, 47, 33), 'last_updated_at_desc': datetime.datetime(2025, 9, 8, 11, 47, 33), 'last_updated_at_asc': datetime.datetime(2025, 9, 8, 11, 47, 28)}, 'mal_croppe': {'main_port_id': 26636452, 'sub_port_id': 26636479, 'hashtag': 'mal_croppe', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17948163, 'last_updated_at': datetime.datetime(2025, 9, 8, 11, 47, 33), 'last_updated_at_desc': datetime.datetime(2025, 9, 8, 11, 47, 33), 'last_updated_at_asc': datetime.datetime(2025, 9, 8, 11, 47, 28)}, 'environnement': {'main_port_id': 26636452, 'sub_port_id': 26636480, 'hashtag': 'environnement', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17948164, 'last_updated_at': datetime.datetime(2025, 9, 8, 11, 47, 33), 'last_updated_at_desc': datetime.datetime(2025, 9, 8, 11, 47, 33), 'last_updated_at_asc': datetime.datetime(2025, 9, 8, 11, 47, 28)}, 'Carton_brun': {'main_port_id': 26636452, 'sub_port_id': 26636481, 'hashtag': 'Carton_brun', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17948165, 'last_updated_at': datetime.datetime(2025, 9, 8, 11, 47, 33), 'last_updated_at_desc': datetime.datetime(2025, 9, 8, 11, 47, 33), 'last_updated_at_asc': datetime.datetime(2025, 9, 8, 11, 47, 28)}} insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 26636470 , 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=26636452 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 (26636470) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26636452) result : ((1382514751,), (1382514755,), (1382514756,), (1382514757,), (1382514793,), (1382514795,), (1382514797,), (1382514799,), (1382514801,), (1382514803,), (1382514948,), (1382514949,), (1382514950,), (1382514951,), (1382514952,), (1382515071,), (1382515072,), (1382515073,), (1382515074,), (1382515163,), (1382515164,), (1382515165,), (1382515166,), (1382515167,), (1382515168,), (1382515216,), (1382515217,), (1382515218,), (1382515219,), (1382515220,), (1382515261,), (1382515262,), (1382515263,), (1382515264,)) 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 26636471 , 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=26636452 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 (26636471) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26636452) result : ((1382514751,), (1382514755,), (1382514756,), (1382514757,), (1382514793,), (1382514795,), (1382514797,), (1382514799,), (1382514801,), (1382514803,), (1382514948,), (1382514949,), (1382514950,), (1382514951,), (1382514952,), (1382515071,), (1382515072,), (1382515073,), (1382515074,), (1382515163,), (1382515164,), (1382515165,), (1382515166,), (1382515167,), (1382515168,), (1382515216,), (1382515217,), (1382515218,), (1382515219,), (1382515220,), (1382515261,), (1382515262,), (1382515263,), (1382515264,)) 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 26636472 , 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=26636452 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 (26636472) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26636452) result : ((1382514751,), (1382514755,), (1382514756,), (1382514757,), (1382514793,), (1382514795,), (1382514797,), (1382514799,), (1382514801,), (1382514803,), (1382514948,), (1382514949,), (1382514950,), (1382514951,), (1382514952,), (1382515071,), (1382515072,), (1382515073,), (1382515074,), (1382515163,), (1382515164,), (1382515165,), (1382515166,), (1382515167,), (1382515168,), (1382515216,), (1382515217,), (1382515218,), (1382515219,), (1382515220,), (1382515261,), (1382515262,), (1382515263,), (1382515264,)) 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 26636473 , 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=26636452 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 (26636473) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26636452) result : ((1382514751,), (1382514755,), (1382514756,), (1382514757,), (1382514793,), (1382514795,), (1382514797,), (1382514799,), (1382514801,), (1382514803,), (1382514948,), (1382514949,), (1382514950,), (1382514951,), (1382514952,), (1382515071,), (1382515072,), (1382515073,), (1382515074,), (1382515163,), (1382515164,), (1382515165,), (1382515166,), (1382515167,), (1382515168,), (1382515216,), (1382515217,), (1382515218,), (1382515219,), (1382515220,), (1382515261,), (1382515262,), (1382515263,), (1382515264,)) 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 26636474 , 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=26636452 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 (26636474) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26636452) result : ((1382514751,), (1382514755,), (1382514756,), (1382514757,), (1382514793,), (1382514795,), (1382514797,), (1382514799,), (1382514801,), (1382514803,), (1382514948,), (1382514949,), (1382514950,), (1382514951,), (1382514952,), (1382515071,), (1382515072,), (1382515073,), (1382515074,), (1382515163,), (1382515164,), (1382515165,), (1382515166,), (1382515167,), (1382515168,), (1382515216,), (1382515217,), (1382515218,), (1382515219,), (1382515220,), (1382515261,), (1382515262,), (1382515263,), (1382515264,)) 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 26636475 , 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=26636452 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 (26636475) result : ((1382515058,), (1382515059,), (1382515060,), (1382515061,), (1382515062,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26636452) result : ((1382514751,), (1382514755,), (1382514756,), (1382514757,), (1382514793,), (1382514795,), (1382514797,), (1382514799,), (1382514801,), (1382514803,), (1382514948,), (1382514949,), (1382514950,), (1382514951,), (1382514952,), (1382515071,), (1382515072,), (1382515073,), (1382515074,), (1382515163,), (1382515164,), (1382515165,), (1382515166,), (1382515167,), (1382515168,), (1382515216,), (1382515217,), (1382515218,), (1382515219,), (1382515220,), (1382515261,), (1382515262,), (1382515263,), (1382515264,)) 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 26636476 , 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=26636452 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 (26636476) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26636452) result : ((1382514751,), (1382514755,), (1382514756,), (1382514757,), (1382514793,), (1382514795,), (1382514797,), (1382514799,), (1382514801,), (1382514803,), (1382514948,), (1382514949,), (1382514950,), (1382514951,), (1382514952,), (1382515071,), (1382515072,), (1382515073,), (1382515074,), (1382515163,), (1382515164,), (1382515165,), (1382515166,), (1382515167,), (1382515168,), (1382515216,), (1382515217,), (1382515218,), (1382515219,), (1382515220,), (1382515261,), (1382515262,), (1382515263,), (1382515264,)) 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 26636477 , 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=26636452 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 (26636477) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26636452) result : ((1382514751,), (1382514755,), (1382514756,), (1382514757,), (1382514793,), (1382514795,), (1382514797,), (1382514799,), (1382514801,), (1382514803,), (1382514948,), (1382514949,), (1382514950,), (1382514951,), (1382514952,), (1382515071,), (1382515072,), (1382515073,), (1382515074,), (1382515163,), (1382515164,), (1382515165,), (1382515166,), (1382515167,), (1382515168,), (1382515216,), (1382515217,), (1382515218,), (1382515219,), (1382515220,), (1382515261,), (1382515262,), (1382515263,), (1382515264,)) 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 26636478 , 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=26636452 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 (26636478) result : ((1382515063,),) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26636452) result : ((1382514751,), (1382514755,), (1382514756,), (1382514757,), (1382514793,), (1382514795,), (1382514797,), (1382514799,), (1382514801,), (1382514803,), (1382514948,), (1382514949,), (1382514950,), (1382514951,), (1382514952,), (1382515071,), (1382515072,), (1382515073,), (1382515074,), (1382515163,), (1382515164,), (1382515165,), (1382515166,), (1382515167,), (1382515168,), (1382515216,), (1382515217,), (1382515218,), (1382515219,), (1382515220,), (1382515261,), (1382515262,), (1382515263,), (1382515264,)) 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 26636479 , 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=26636452 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 (26636479) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26636452) result : ((1382514751,), (1382514755,), (1382514756,), (1382514757,), (1382514793,), (1382514795,), (1382514797,), (1382514799,), (1382514801,), (1382514803,), (1382514948,), (1382514949,), (1382514950,), (1382514951,), (1382514952,), (1382515071,), (1382515072,), (1382515073,), (1382515074,), (1382515163,), (1382515164,), (1382515165,), (1382515166,), (1382515167,), (1382515168,), (1382515216,), (1382515217,), (1382515218,), (1382515219,), (1382515220,), (1382515261,), (1382515262,), (1382515263,), (1382515264,)) 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 26636480 , 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=26636452 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 (26636480) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26636452) result : ((1382514751,), (1382514755,), (1382514756,), (1382514757,), (1382514793,), (1382514795,), (1382514797,), (1382514799,), (1382514801,), (1382514803,), (1382514948,), (1382514949,), (1382514950,), (1382514951,), (1382514952,), (1382515071,), (1382515072,), (1382515073,), (1382515074,), (1382515163,), (1382515164,), (1382515165,), (1382515166,), (1382515167,), (1382515168,), (1382515216,), (1382515217,), (1382515218,), (1382515219,), (1382515220,), (1382515261,), (1382515262,), (1382515263,), (1382515264,)) 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 26636481 , 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=26636452 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 (26636481) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26636452) result : ((1382514751,), (1382514755,), (1382514756,), (1382514757,), (1382514793,), (1382514795,), (1382514797,), (1382514799,), (1382514801,), (1382514803,), (1382514948,), (1382514949,), (1382514950,), (1382514951,), (1382514952,), (1382515071,), (1382515072,), (1382515073,), (1382515074,), (1382515163,), (1382515164,), (1382515165,), (1382515166,), (1382515167,), (1382515168,), (1382515216,), (1382515217,), (1382515218,), (1382515219,), (1382515220,), (1382515261,), (1382515262,), (1382515263,), (1382515264,)) 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`=26636452 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('kraft','cartonnette','Carton_gris','mal_croppe','papier','environnement','plastique','metal','autre_refus','Carton_brun','Teint_Dans_La_Masse','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`=26636452 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('kraft','cartonnette','Carton_gris','mal_croppe','papier','environnement','plastique','metal','autre_refus','Carton_brun','Teint_Dans_La_Masse','flou')) AND mptpi.`min_score`=0.5 To do returned map {'cartonnette': {'main_port_id': 26636452, 'sub_port_id': 26636484, 'hashtag': 'cartonnette', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17948166, 'last_updated_at': datetime.datetime(2025, 9, 8, 11, 47, 34), 'last_updated_at_desc': datetime.datetime(2025, 9, 8, 11, 47, 34), 'last_updated_at_asc': datetime.datetime(2025, 9, 8, 11, 47, 34)}, 'kraft': {'main_port_id': 26636452, 'sub_port_id': 26636485, 'hashtag': 'kraft', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17948167, 'last_updated_at': datetime.datetime(2025, 9, 8, 11, 47, 34), 'last_updated_at_desc': datetime.datetime(2025, 9, 8, 11, 47, 34), 'last_updated_at_asc': datetime.datetime(2025, 9, 8, 11, 47, 34)}, 'flou': {'main_port_id': 26636452, 'sub_port_id': 26636486, 'hashtag': 'flou', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17948168, 'last_updated_at': datetime.datetime(2025, 9, 8, 11, 47, 34), 'last_updated_at_desc': datetime.datetime(2025, 9, 8, 11, 47, 34), 'last_updated_at_asc': datetime.datetime(2025, 9, 8, 11, 47, 34)}, 'papier': {'main_port_id': 26636452, 'sub_port_id': 26636487, 'hashtag': 'papier', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17948169, 'last_updated_at': datetime.datetime(2025, 9, 8, 11, 47, 34), 'last_updated_at_desc': datetime.datetime(2025, 9, 8, 11, 47, 34), 'last_updated_at_asc': datetime.datetime(2025, 9, 8, 11, 47, 34)}, 'plastique': {'main_port_id': 26636452, 'sub_port_id': 26636488, 'hashtag': 'plastique', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17948170, 'last_updated_at': datetime.datetime(2025, 9, 8, 11, 47, 34), 'last_updated_at_desc': datetime.datetime(2025, 9, 8, 11, 47, 34), 'last_updated_at_asc': datetime.datetime(2025, 9, 8, 11, 47, 34)}, 'Teint_Dans_La_Masse': {'main_port_id': 26636452, 'sub_port_id': 26636489, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17948171, 'last_updated_at': datetime.datetime(2025, 9, 8, 11, 47, 34), 'last_updated_at_desc': datetime.datetime(2025, 9, 8, 11, 47, 34), 'last_updated_at_asc': datetime.datetime(2025, 9, 8, 11, 47, 34)}, 'autre_refus': {'main_port_id': 26636452, 'sub_port_id': 26636490, 'hashtag': 'autre_refus', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17948172, 'last_updated_at': datetime.datetime(2025, 9, 8, 11, 47, 34), 'last_updated_at_desc': datetime.datetime(2025, 9, 8, 11, 47, 34), 'last_updated_at_asc': datetime.datetime(2025, 9, 8, 11, 47, 34)}, 'metal': {'main_port_id': 26636452, 'sub_port_id': 26636491, 'hashtag': 'metal', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17948173, 'last_updated_at': datetime.datetime(2025, 9, 8, 11, 47, 34), 'last_updated_at_desc': datetime.datetime(2025, 9, 8, 11, 47, 34), 'last_updated_at_asc': datetime.datetime(2025, 9, 8, 11, 47, 34)}, 'Carton_gris': {'main_port_id': 26636452, 'sub_port_id': 26636492, 'hashtag': 'Carton_gris', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17948174, 'last_updated_at': datetime.datetime(2025, 9, 8, 11, 47, 34), 'last_updated_at_desc': datetime.datetime(2025, 9, 8, 11, 47, 34), 'last_updated_at_asc': datetime.datetime(2025, 9, 8, 11, 47, 34)}, 'mal_croppe': {'main_port_id': 26636452, 'sub_port_id': 26636493, 'hashtag': 'mal_croppe', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17948175, 'last_updated_at': datetime.datetime(2025, 9, 8, 11, 47, 34), 'last_updated_at_desc': datetime.datetime(2025, 9, 8, 11, 47, 34), 'last_updated_at_asc': datetime.datetime(2025, 9, 8, 11, 47, 34)}, 'environnement': {'main_port_id': 26636452, 'sub_port_id': 26636494, 'hashtag': 'environnement', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17948176, 'last_updated_at': datetime.datetime(2025, 9, 8, 11, 47, 34), 'last_updated_at_desc': datetime.datetime(2025, 9, 8, 11, 47, 34), 'last_updated_at_asc': datetime.datetime(2025, 9, 8, 11, 47, 34)}, 'Carton_brun': {'main_port_id': 26636452, 'sub_port_id': 26636495, 'hashtag': 'Carton_brun', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17948177, 'last_updated_at': datetime.datetime(2025, 9, 8, 11, 47, 34), 'last_updated_at_desc': datetime.datetime(2025, 9, 8, 11, 47, 34), 'last_updated_at_asc': datetime.datetime(2025, 9, 8, 11, 47, 34)}} insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26636484,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26636470 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26636485,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26636471 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26636486,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26636472 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26636487,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26636473 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26636488,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26636474 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26636489,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26636475 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26636490,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26636476 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26636491,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26636477 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26636492,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26636478 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26636493,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26636479 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26636494,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26636480 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26636495,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26636481 lien utilise dans velours : https://marlene.fotonower.com/velours/26636484,26636485,26636486,26636487,26636488,26636489,26636490,26636491,26636492,26636493,26636494,26636495?tags=cartonnette,kraft,flou,papier,plastique,Teint_Dans_La_Masse,autre_refus,metal,Carton_gris,mal_croppe,environnement,Carton_brun After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([26636452]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1382515264, 1382515263, 1382515262, 1382515261, 1382515220, 1382515219, 1382515218, 1382515217, 1382515216, 1382515168, 1382515167, 1382515166, 1382515165, 1382515164, 1382515163, 1382515074, 1382515073, 1382515072, 1382515071, 1382514952, 1382514951, 1382514950, 1382514949, 1382514948, 1382514803, 1382514801, 1382514799, 1382514797, 1382514795, 1382514793] map_info['map_portfolio_photo'] : {26636452: [1382515264, 1382515263, 1382515262, 1382515261, 1382515220, 1382515219, 1382515218, 1382515217, 1382515216, 1382515168, 1382515167, 1382515166, 1382515165, 1382515164, 1382515163, 1382515074, 1382515073, 1382515072, 1382515071, 1382514952, 1382514951, 1382514950, 1382514949, 1382514948, 1382514803, 1382514801, 1382514799, 1382514797, 1382514795, 1382514793, 1382514757, 1382514756, 1382514755, 1382514751]} final : False mtd_id 4302 list_pids : [1382515264, 1382515263, 1382515262, 1382515261, 1382515220, 1382515219, 1382515218, 1382515217, 1382515216, 1382515168, 1382515167, 1382515166, 1382515165, 1382515164, 1382515163, 1382515074, 1382515073, 1382515072, 1382515071, 1382514952, 1382514951, 1382514950, 1382514949, 1382514948, 1382514803, 1382514801, 1382514799, 1382514797, 1382514795, 1382514793] Looping around the photos to save general results len do output : 1 /26636452. 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, '3677892') ('4302', '26636452', '1382515264', None, None, None, None, None, '3677892') ('4302', None, None, None, None, None, None, None, '3677892') ('4302', '26636452', '1382515263', None, None, None, None, None, '3677892') ('4302', None, None, None, None, None, None, None, '3677892') ('4302', '26636452', '1382515262', None, None, None, None, None, '3677892') ('4302', None, None, None, None, None, None, None, '3677892') ('4302', '26636452', '1382515261', None, None, None, None, None, '3677892') ('4302', None, None, None, None, None, None, None, '3677892') ('4302', '26636452', '1382515220', None, None, None, None, None, '3677892') ('4302', None, None, None, None, None, None, None, '3677892') ('4302', '26636452', '1382515219', None, None, None, None, None, '3677892') ('4302', None, None, None, None, None, None, None, '3677892') ('4302', '26636452', '1382515218', None, None, None, None, None, '3677892') ('4302', None, None, None, None, None, None, None, '3677892') ('4302', '26636452', '1382515217', None, None, None, None, None, '3677892') ('4302', None, None, None, None, None, None, None, '3677892') ('4302', '26636452', '1382515216', None, None, None, None, None, '3677892') ('4302', None, None, None, None, None, None, None, '3677892') ('4302', '26636452', '1382515168', None, None, None, None, None, '3677892') ('4302', None, None, None, None, None, None, None, '3677892') ('4302', '26636452', '1382515167', None, None, None, None, None, '3677892') ('4302', None, None, None, None, None, None, None, '3677892') ('4302', '26636452', '1382515166', None, None, None, None, None, '3677892') ('4302', None, None, None, None, None, None, None, '3677892') ('4302', '26636452', '1382515165', None, None, None, None, None, '3677892') ('4302', None, None, None, None, None, None, None, '3677892') ('4302', '26636452', '1382515164', None, None, None, None, None, '3677892') ('4302', None, None, None, None, None, None, None, '3677892') ('4302', '26636452', '1382515163', None, None, None, None, None, '3677892') ('4302', None, None, None, None, None, None, None, '3677892') ('4302', '26636452', '1382515074', None, None, None, None, None, '3677892') ('4302', None, None, None, None, None, None, None, '3677892') ('4302', '26636452', '1382515073', None, None, None, None, None, '3677892') ('4302', None, None, None, None, None, None, None, '3677892') ('4302', '26636452', '1382515072', None, None, None, None, None, '3677892') ('4302', None, None, None, None, None, None, None, '3677892') ('4302', '26636452', '1382515071', None, None, None, None, None, '3677892') ('4302', None, None, None, None, None, None, None, '3677892') ('4302', '26636452', '1382514952', None, None, None, None, None, '3677892') ('4302', None, None, None, None, None, None, None, '3677892') ('4302', '26636452', '1382514951', None, None, None, None, None, '3677892') ('4302', None, None, None, None, None, None, None, '3677892') ('4302', '26636452', '1382514950', None, None, None, None, None, '3677892') ('4302', None, None, None, None, None, None, None, '3677892') ('4302', '26636452', '1382514949', None, None, None, None, None, '3677892') ('4302', None, None, None, None, None, None, None, '3677892') ('4302', '26636452', '1382514948', None, None, None, None, None, '3677892') ('4302', None, None, None, None, None, None, None, '3677892') ('4302', '26636452', '1382514803', None, None, None, None, None, '3677892') ('4302', None, None, None, None, None, None, None, '3677892') ('4302', '26636452', '1382514801', None, None, None, None, None, '3677892') ('4302', None, None, None, None, None, None, None, '3677892') ('4302', '26636452', '1382514799', None, None, None, None, None, '3677892') ('4302', None, None, None, None, None, None, None, '3677892') ('4302', '26636452', '1382514797', None, None, None, None, None, '3677892') ('4302', None, None, None, None, None, None, None, '3677892') ('4302', '26636452', '1382514795', None, None, None, None, None, '3677892') ('4302', None, None, None, None, None, None, None, '3677892') ('4302', '26636452', '1382514793', None, None, None, None, None, '3677892') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 31 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, '26636452', "{'cartonnette': 26636470, 'kraft': 26636471, 'flou': 26636472, 'papier': 26636473, 'plastique': 26636474, 'Teint_Dans_La_Masse': 26636475, 'autre_refus': 26636476, 'metal': 26636477, 'Carton_gris': 26636478, 'mal_croppe': 26636479, 'environnement': 26636480, 'Carton_brun': 26636481}", None, None, None, None, '3677892'), ('4302', '26636452', '1382515264', None, None, None, None, None, '3677892'), ('4302', '26636452', '1382515263', None, None, None, None, None, '3677892'), ('4302', '26636452', '1382515262', None, None, None, None, None, '3677892'), ('4302', '26636452', '1382515261', None, None, None, None, None, '3677892'), ('4302', '26636452', '1382515220', None, None, None, None, None, '3677892'), ('4302', '26636452', '1382515219', None, None, None, None, None, '3677892'), ('4302', '26636452', '1382515218', None, None, None, None, None, '3677892'), ('4302', '26636452', '1382515217', None, None, None, None, None, '3677892'), ('4302', '26636452', '1382515216', None, None, None, None, None, '3677892'), ('4302', '26636452', '1382515168', None, None, None, None, None, '3677892'), ('4302', '26636452', '1382515167', None, None, None, None, None, '3677892'), ('4302', '26636452', '1382515166', None, None, None, None, None, '3677892'), ('4302', '26636452', '1382515165', None, None, None, None, None, '3677892'), ('4302', '26636452', '1382515164', None, None, None, None, None, '3677892'), ('4302', '26636452', '1382515163', None, None, None, None, None, '3677892'), ('4302', '26636452', '1382515074', None, None, None, None, None, '3677892'), ('4302', '26636452', '1382515073', None, None, None, None, None, '3677892'), ('4302', '26636452', '1382515072', None, None, None, None, None, '3677892'), ('4302', '26636452', '1382515071', None, None, None, None, None, '3677892'), ('4302', '26636452', '1382514952', None, None, None, None, None, '3677892'), ('4302', '26636452', '1382514951', None, None, None, None, None, '3677892'), ('4302', '26636452', '1382514950', None, None, None, None, None, '3677892'), ('4302', '26636452', '1382514949', None, None, None, None, None, '3677892'), ('4302', '26636452', '1382514948', None, None, None, None, None, '3677892'), ('4302', '26636452', '1382514803', None, None, None, None, None, '3677892'), ('4302', '26636452', '1382514801', None, None, None, None, None, '3677892'), ('4302', '26636452', '1382514799', None, None, None, None, None, '3677892'), ('4302', '26636452', '1382514797', None, None, None, None, None, '3677892'), ('4302', '26636452', '1382514795', None, None, None, None, None, '3677892'), ('4302', '26636452', '1382514793', None, None, None, None, None, '3677892')] time used for this insertion : 0.017792463302612305 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.564385175704956 time spend to save output : 0.0182192325592041 total time spend for step 1 : 1.5826044082641602 step2:final Mon Sep 8 11:52:57 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure input_args_next_step, len :0, first value : [] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (26636452) 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 26636452 : SELECT photo_id, hashtag_id, ratio from MTRPhoto.photo_carac_ratio where hashtag_type = 3726 and photo_id in (1382514757,1382514756,1382514755,1382514803,1382514751,1382514801,1382514799,1382514797,1382514795,1382514793,1382514952,1382514951,1382514950,1382514949,1382514948,1382515074,1382515073,1382515072,1382515071,1382515168,1382515167,1382515166,1382515165,1382515164,1382515163,1382515220,1382515219,1382515218,1382515217,1382515216,1382515264,1382515263,1382515262,1382515261); 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([26636452]) Inside saveOutput : final : False verbose : True original output for save of step final : {1382515264: ('0.02235622230076798',), 1382515263: ('0.02235622230076798',), 1382515262: ('0.02235622230076798',), 1382515261: ('0.02235622230076798',), 1382515220: ('0.02235622230076798',), 1382515219: ('0.02235622230076798',), 1382515218: ('0.02235622230076798',), 1382515217: ('0.02235622230076798',), 1382515216: ('0.02235622230076798',), 1382515168: ('0.02235622230076798',), 1382515167: ('0.02235622230076798',), 1382515166: ('0.02235622230076798',), 1382515165: ('0.02235622230076798',), 1382515164: ('0.02235622230076798',), 1382515163: ('0.02235622230076798',), 1382515074: ('0.02235622230076798',), 1382515073: ('0.02235622230076798',), 1382515072: ('0.02235622230076798',), 1382515071: ('0.02235622230076798',), 1382514952: ('0.02235622230076798',), 1382514951: ('0.02235622230076798',), 1382514950: ('0.02235622230076798',), 1382514949: ('0.02235622230076798',), 1382514948: ('0.02235622230076798',), 1382514803: ('0.02235622230076798',), 1382514801: ('0.02235622230076798',), 1382514799: ('0.02235622230076798',), 1382514797: ('0.02235622230076798',), 1382514795: ('0.02235622230076798',), 1382514793: ('0.02235622230076798',)} new output for save of step final : {1382515264: ('0.02235622230076798',), 1382515263: ('0.02235622230076798',), 1382515262: ('0.02235622230076798',), 1382515261: ('0.02235622230076798',), 1382515220: ('0.02235622230076798',), 1382515219: ('0.02235622230076798',), 1382515218: ('0.02235622230076798',), 1382515217: ('0.02235622230076798',), 1382515216: ('0.02235622230076798',), 1382515168: ('0.02235622230076798',), 1382515167: ('0.02235622230076798',), 1382515166: ('0.02235622230076798',), 1382515165: ('0.02235622230076798',), 1382515164: ('0.02235622230076798',), 1382515163: ('0.02235622230076798',), 1382515074: ('0.02235622230076798',), 1382515073: ('0.02235622230076798',), 1382515072: ('0.02235622230076798',), 1382515071: ('0.02235622230076798',), 1382514952: ('0.02235622230076798',), 1382514951: ('0.02235622230076798',), 1382514950: ('0.02235622230076798',), 1382514949: ('0.02235622230076798',), 1382514948: ('0.02235622230076798',), 1382514803: ('0.02235622230076798',), 1382514801: ('0.02235622230076798',), 1382514799: ('0.02235622230076798',), 1382514797: ('0.02235622230076798',), 1382514795: ('0.02235622230076798',), 1382514793: ('0.02235622230076798',)} [1382515264, 1382515263, 1382515262, 1382515261, 1382515220, 1382515219, 1382515218, 1382515217, 1382515216, 1382515168, 1382515167, 1382515166, 1382515165, 1382515164, 1382515163, 1382515074, 1382515073, 1382515072, 1382515071, 1382514952, 1382514951, 1382514950, 1382514949, 1382514948, 1382514803, 1382514801, 1382514799, 1382514797, 1382514795, 1382514793] map_info['map_portfolio_photo'] : {26636452: [1382515264, 1382515263, 1382515262, 1382515261, 1382515220, 1382515219, 1382515218, 1382515217, 1382515216, 1382515168, 1382515167, 1382515166, 1382515165, 1382515164, 1382515163, 1382515074, 1382515073, 1382515072, 1382515071, 1382514952, 1382514951, 1382514950, 1382514949, 1382514948, 1382514803, 1382514801, 1382514799, 1382514797, 1382514795, 1382514793, 1382514757, 1382514756, 1382514755, 1382514751]} final : False mtd_id 4302 list_pids : [1382515264, 1382515263, 1382515262, 1382515261, 1382515220, 1382515219, 1382515218, 1382515217, 1382515216, 1382515168, 1382515167, 1382515166, 1382515165, 1382515164, 1382515163, 1382515074, 1382515073, 1382515072, 1382515071, 1382514952, 1382514951, 1382514950, 1382514949, 1382514948, 1382514803, 1382514801, 1382514799, 1382514797, 1382514795, 1382514793] Looping around the photos to save general results len do output : 30 /1382515264.Didn't retrieve data . /1382515263.Didn't retrieve data . /1382515262.Didn't retrieve data . /1382515261.Didn't retrieve data . /1382515220.Didn't retrieve data . /1382515219.Didn't retrieve data . /1382515218.Didn't retrieve data . /1382515217.Didn't retrieve data . /1382515216.Didn't retrieve data . /1382515168.Didn't retrieve data . /1382515167.Didn't retrieve data . /1382515166.Didn't retrieve data . /1382515165.Didn't retrieve data . /1382515164.Didn't retrieve data . /1382515163.Didn't retrieve data . /1382515074.Didn't retrieve data . /1382515073.Didn't retrieve data . /1382515072.Didn't retrieve data . /1382515071.Didn't retrieve data . /1382514952.Didn't retrieve data . /1382514951.Didn't retrieve data . /1382514950.Didn't retrieve data . /1382514949.Didn't retrieve data . /1382514948.Didn't retrieve data . /1382514803.Didn't retrieve data . /1382514801.Didn't retrieve data . /1382514799.Didn't retrieve data . /1382514797.Didn't retrieve data . /1382514795.Didn't retrieve data . /1382514793.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, '3677892') ('4302', '26636452', '1382515264', None, None, None, None, None, '3677892') ('4302', None, None, None, None, None, None, None, '3677892') ('4302', '26636452', '1382515263', None, None, None, None, None, '3677892') ('4302', None, None, None, None, None, None, None, '3677892') ('4302', '26636452', '1382515262', None, None, None, None, None, '3677892') ('4302', None, None, None, None, None, None, None, '3677892') ('4302', '26636452', '1382515261', None, None, None, None, None, '3677892') ('4302', None, None, None, None, None, None, None, '3677892') ('4302', '26636452', '1382515220', None, None, None, None, None, '3677892') ('4302', None, None, None, None, None, None, None, '3677892') ('4302', '26636452', '1382515219', None, None, None, None, None, '3677892') ('4302', None, None, None, None, None, None, None, '3677892') ('4302', '26636452', '1382515218', None, None, None, None, None, '3677892') ('4302', None, None, None, None, None, None, None, '3677892') ('4302', '26636452', '1382515217', None, None, None, None, None, '3677892') ('4302', None, None, None, None, None, None, None, '3677892') ('4302', '26636452', '1382515216', None, None, None, None, None, '3677892') ('4302', None, None, None, None, None, None, None, '3677892') ('4302', '26636452', '1382515168', None, None, None, None, None, '3677892') ('4302', None, None, None, None, None, None, None, '3677892') ('4302', '26636452', '1382515167', None, None, None, None, None, '3677892') ('4302', None, None, None, None, None, None, None, '3677892') ('4302', '26636452', '1382515166', None, None, None, None, None, '3677892') ('4302', None, None, None, None, None, None, None, '3677892') ('4302', '26636452', '1382515165', None, None, None, None, None, '3677892') ('4302', None, None, None, None, None, None, None, '3677892') ('4302', '26636452', '1382515164', None, None, None, None, None, '3677892') ('4302', None, None, None, None, None, None, None, '3677892') ('4302', '26636452', '1382515163', None, None, None, None, None, '3677892') ('4302', None, None, None, None, None, None, None, '3677892') ('4302', '26636452', '1382515074', None, None, None, None, None, '3677892') ('4302', None, None, None, None, None, None, None, '3677892') ('4302', '26636452', '1382515073', None, None, None, None, None, '3677892') ('4302', None, None, None, None, None, None, None, '3677892') ('4302', '26636452', '1382515072', None, None, None, None, None, '3677892') ('4302', None, None, None, None, None, None, None, '3677892') ('4302', '26636452', '1382515071', None, None, None, None, None, '3677892') ('4302', None, None, None, None, None, None, None, '3677892') ('4302', '26636452', '1382514952', None, None, None, None, None, '3677892') ('4302', None, None, None, None, None, None, None, '3677892') ('4302', '26636452', '1382514951', None, None, None, None, None, '3677892') ('4302', None, None, None, None, None, None, None, '3677892') ('4302', '26636452', '1382514950', None, None, None, None, None, '3677892') ('4302', None, None, None, None, None, None, None, '3677892') ('4302', '26636452', '1382514949', None, None, None, None, None, '3677892') ('4302', None, None, None, None, None, None, None, '3677892') ('4302', '26636452', '1382514948', None, None, None, None, None, '3677892') ('4302', None, None, None, None, None, None, None, '3677892') ('4302', '26636452', '1382514803', None, None, None, None, None, '3677892') ('4302', None, None, None, None, None, None, None, '3677892') ('4302', '26636452', '1382514801', None, None, None, None, None, '3677892') ('4302', None, None, None, None, None, None, None, '3677892') ('4302', '26636452', '1382514799', None, None, None, None, None, '3677892') ('4302', None, None, None, None, None, None, None, '3677892') ('4302', '26636452', '1382514797', None, None, None, None, None, '3677892') ('4302', None, None, None, None, None, None, None, '3677892') ('4302', '26636452', '1382514795', None, None, None, None, None, '3677892') ('4302', None, None, None, None, None, None, None, '3677892') ('4302', '26636452', '1382514793', None, None, None, None, None, '3677892') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 90 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', '26636452', '1382515264', '0.02235622230076798', None, None, None, None, '3677892'), ('4302', '26636452', '1382515263', '0.02235622230076798', None, None, None, None, '3677892'), ('4302', '26636452', '1382515262', '0.02235622230076798', None, None, None, None, '3677892'), ('4302', '26636452', '1382515261', '0.02235622230076798', None, None, None, None, '3677892'), ('4302', '26636452', '1382515220', '0.02235622230076798', None, None, None, None, '3677892'), ('4302', '26636452', '1382515219', '0.02235622230076798', None, None, None, None, '3677892'), ('4302', '26636452', '1382515218', '0.02235622230076798', None, None, None, None, '3677892'), ('4302', '26636452', '1382515217', '0.02235622230076798', None, None, None, None, '3677892'), ('4302', '26636452', '1382515216', '0.02235622230076798', None, None, None, None, '3677892'), ('4302', '26636452', '1382515168', '0.02235622230076798', None, None, None, None, '3677892'), ('4302', '26636452', '1382515167', '0.02235622230076798', None, None, None, None, '3677892'), ('4302', '26636452', '1382515166', '0.02235622230076798', None, None, None, None, '3677892'), ('4302', '26636452', '1382515165', '0.02235622230076798', None, None, None, None, '3677892'), ('4302', '26636452', '1382515164', '0.02235622230076798', None, None, None, None, '3677892'), ('4302', '26636452', '1382515163', '0.02235622230076798', None, None, None, None, '3677892'), ('4302', '26636452', '1382515074', '0.02235622230076798', None, None, None, None, '3677892'), ('4302', '26636452', '1382515073', '0.02235622230076798', None, None, None, None, '3677892'), ('4302', '26636452', '1382515072', '0.02235622230076798', None, None, None, None, '3677892'), ('4302', '26636452', '1382515071', '0.02235622230076798', None, None, None, None, '3677892'), ('4302', '26636452', '1382514952', '0.02235622230076798', None, None, None, None, '3677892'), ('4302', '26636452', '1382514951', '0.02235622230076798', None, None, None, None, '3677892'), ('4302', '26636452', '1382514950', '0.02235622230076798', None, None, None, None, '3677892'), ('4302', '26636452', '1382514949', '0.02235622230076798', None, None, None, None, '3677892'), ('4302', '26636452', '1382514948', '0.02235622230076798', None, None, None, None, '3677892'), ('4302', '26636452', '1382514803', '0.02235622230076798', None, None, None, None, '3677892'), ('4302', '26636452', '1382514801', '0.02235622230076798', None, None, None, None, '3677892'), ('4302', '26636452', '1382514799', '0.02235622230076798', None, None, None, None, '3677892'), ('4302', '26636452', '1382514797', '0.02235622230076798', None, None, None, None, '3677892'), ('4302', '26636452', '1382514795', '0.02235622230076798', None, None, None, None, '3677892'), ('4302', '26636452', '1382514793', '0.02235622230076798', None, None, None, None, '3677892')] time used for this insertion : 0.01650238037109375 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.06633353233337402 time spend to save output : 0.01779627799987793 total time spend for step 2 : 0.08412981033325195 step3:velours_tree Mon Sep 8 11:52:57 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 : {26636452: [{'cartonnette': 26636470, 'kraft': 26636471, 'flou': 26636472, 'papier': 26636473, 'plastique': 26636474, 'Teint_Dans_La_Masse': 26636475, 'autre_refus': 26636476, 'metal': 26636477, 'Carton_gris': 26636478, 'mal_croppe': 26636479, 'environnement': 26636480, 'Carton_brun': 26636481}]} input_args_next_step : {26636452: ()} output_args : {26636452: [{'cartonnette': 26636470, 'kraft': 26636471, 'flou': 26636472, 'papier': 26636473, 'plastique': 26636474, 'Teint_Dans_La_Masse': 26636475, 'autre_refus': 26636476, 'metal': 26636477, 'Carton_gris': 26636478, 'mal_croppe': 26636479, 'environnement': 26636480, 'Carton_brun': 26636481}]} args : 26636452 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 : ({'cartonnette': 26636470, 'kraft': 26636471, 'flou': 26636472, 'papier': 26636473, 'plastique': 26636474, 'Teint_Dans_La_Masse': 26636475, 'autre_refus': 26636476, 'metal': 26636477, 'Carton_gris': 26636478, 'mal_croppe': 26636479, 'environnement': 26636480, 'Carton_brun': 26636481},) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (26636452) 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([26636452]) 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.44300007820129395 time spend to save output : 4.363059997558594e-05 total time spend for step 3 : 0.44304370880126953 step4:send_mail_cod Mon Sep 8 11:52:58 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 : {1382515264: ('0.02235622230076798',), 1382515263: ('0.02235622230076798',), 1382515262: ('0.02235622230076798',), 1382515261: ('0.02235622230076798',), 1382515220: ('0.02235622230076798',), 1382515219: ('0.02235622230076798',), 1382515218: ('0.02235622230076798',), 1382515217: ('0.02235622230076798',), 1382515216: ('0.02235622230076798',), 1382515168: ('0.02235622230076798',), 1382515167: ('0.02235622230076798',), 1382515166: ('0.02235622230076798',), 1382515165: ('0.02235622230076798',), 1382515164: ('0.02235622230076798',), 1382515163: ('0.02235622230076798',), 1382515074: ('0.02235622230076798',), 1382515073: ('0.02235622230076798',), 1382515072: ('0.02235622230076798',), 1382515071: ('0.02235622230076798',), 1382514952: ('0.02235622230076798',), 1382514951: ('0.02235622230076798',), 1382514950: ('0.02235622230076798',), 1382514949: ('0.02235622230076798',), 1382514948: ('0.02235622230076798',), 1382514803: ('0.02235622230076798',), 1382514801: ('0.02235622230076798',), 1382514799: ('0.02235622230076798',), 1382514797: ('0.02235622230076798',), 1382514795: ('0.02235622230076798',), 1382514793: ('0.02235622230076798',)} input_args_next_step : {1382515264: ()} output_args : {1382515264: ('0.02235622230076798',), 1382515263: ('0.02235622230076798',), 1382515262: ('0.02235622230076798',), 1382515261: ('0.02235622230076798',), 1382515220: ('0.02235622230076798',), 1382515219: ('0.02235622230076798',), 1382515218: ('0.02235622230076798',), 1382515217: ('0.02235622230076798',), 1382515216: ('0.02235622230076798',), 1382515168: ('0.02235622230076798',), 1382515167: ('0.02235622230076798',), 1382515166: ('0.02235622230076798',), 1382515165: ('0.02235622230076798',), 1382515164: ('0.02235622230076798',), 1382515163: ('0.02235622230076798',), 1382515074: ('0.02235622230076798',), 1382515073: ('0.02235622230076798',), 1382515072: ('0.02235622230076798',), 1382515071: ('0.02235622230076798',), 1382514952: ('0.02235622230076798',), 1382514951: ('0.02235622230076798',), 1382514950: ('0.02235622230076798',), 1382514949: ('0.02235622230076798',), 1382514948: ('0.02235622230076798',), 1382514803: ('0.02235622230076798',), 1382514801: ('0.02235622230076798',), 1382514799: ('0.02235622230076798',), 1382514797: ('0.02235622230076798',), 1382514795: ('0.02235622230076798',), 1382514793: ('0.02235622230076798',)} args : 1382515264 depend.output_id : 0 input_args_next_step : {1382515264: ('0.02235622230076798',), 1382515263: ()} output_args : {1382515264: ('0.02235622230076798',), 1382515263: ('0.02235622230076798',), 1382515262: ('0.02235622230076798',), 1382515261: ('0.02235622230076798',), 1382515220: ('0.02235622230076798',), 1382515219: ('0.02235622230076798',), 1382515218: ('0.02235622230076798',), 1382515217: ('0.02235622230076798',), 1382515216: ('0.02235622230076798',), 1382515168: ('0.02235622230076798',), 1382515167: ('0.02235622230076798',), 1382515166: ('0.02235622230076798',), 1382515165: ('0.02235622230076798',), 1382515164: ('0.02235622230076798',), 1382515163: ('0.02235622230076798',), 1382515074: ('0.02235622230076798',), 1382515073: ('0.02235622230076798',), 1382515072: ('0.02235622230076798',), 1382515071: ('0.02235622230076798',), 1382514952: ('0.02235622230076798',), 1382514951: ('0.02235622230076798',), 1382514950: ('0.02235622230076798',), 1382514949: ('0.02235622230076798',), 1382514948: ('0.02235622230076798',), 1382514803: ('0.02235622230076798',), 1382514801: ('0.02235622230076798',), 1382514799: ('0.02235622230076798',), 1382514797: ('0.02235622230076798',), 1382514795: ('0.02235622230076798',), 1382514793: ('0.02235622230076798',)} args : 1382515263 depend.output_id : 0 input_args_next_step : {1382515264: ('0.02235622230076798',), 1382515263: ('0.02235622230076798',), 1382515262: ()} output_args : {1382515264: ('0.02235622230076798',), 1382515263: ('0.02235622230076798',), 1382515262: ('0.02235622230076798',), 1382515261: ('0.02235622230076798',), 1382515220: ('0.02235622230076798',), 1382515219: ('0.02235622230076798',), 1382515218: ('0.02235622230076798',), 1382515217: ('0.02235622230076798',), 1382515216: ('0.02235622230076798',), 1382515168: ('0.02235622230076798',), 1382515167: ('0.02235622230076798',), 1382515166: ('0.02235622230076798',), 1382515165: ('0.02235622230076798',), 1382515164: ('0.02235622230076798',), 1382515163: ('0.02235622230076798',), 1382515074: ('0.02235622230076798',), 1382515073: ('0.02235622230076798',), 1382515072: ('0.02235622230076798',), 1382515071: ('0.02235622230076798',), 1382514952: ('0.02235622230076798',), 1382514951: ('0.02235622230076798',), 1382514950: ('0.02235622230076798',), 1382514949: ('0.02235622230076798',), 1382514948: ('0.02235622230076798',), 1382514803: ('0.02235622230076798',), 1382514801: ('0.02235622230076798',), 1382514799: ('0.02235622230076798',), 1382514797: ('0.02235622230076798',), 1382514795: ('0.02235622230076798',), 1382514793: ('0.02235622230076798',)} args : 1382515262 depend.output_id : 0 input_args_next_step : {1382515264: ('0.02235622230076798',), 1382515263: ('0.02235622230076798',), 1382515262: ('0.02235622230076798',), 1382515261: ()} output_args : {1382515264: ('0.02235622230076798',), 1382515263: ('0.02235622230076798',), 1382515262: ('0.02235622230076798',), 1382515261: ('0.02235622230076798',), 1382515220: ('0.02235622230076798',), 1382515219: ('0.02235622230076798',), 1382515218: ('0.02235622230076798',), 1382515217: ('0.02235622230076798',), 1382515216: ('0.02235622230076798',), 1382515168: ('0.02235622230076798',), 1382515167: ('0.02235622230076798',), 1382515166: ('0.02235622230076798',), 1382515165: ('0.02235622230076798',), 1382515164: ('0.02235622230076798',), 1382515163: ('0.02235622230076798',), 1382515074: ('0.02235622230076798',), 1382515073: ('0.02235622230076798',), 1382515072: ('0.02235622230076798',), 1382515071: ('0.02235622230076798',), 1382514952: ('0.02235622230076798',), 1382514951: ('0.02235622230076798',), 1382514950: ('0.02235622230076798',), 1382514949: ('0.02235622230076798',), 1382514948: ('0.02235622230076798',), 1382514803: ('0.02235622230076798',), 1382514801: ('0.02235622230076798',), 1382514799: ('0.02235622230076798',), 1382514797: ('0.02235622230076798',), 1382514795: ('0.02235622230076798',), 1382514793: ('0.02235622230076798',)} args : 1382515261 depend.output_id : 0 input_args_next_step : {1382515264: ('0.02235622230076798',), 1382515263: ('0.02235622230076798',), 1382515262: ('0.02235622230076798',), 1382515261: ('0.02235622230076798',), 1382515220: ()} output_args : {1382515264: ('0.02235622230076798',), 1382515263: ('0.02235622230076798',), 1382515262: ('0.02235622230076798',), 1382515261: ('0.02235622230076798',), 1382515220: ('0.02235622230076798',), 1382515219: ('0.02235622230076798',), 1382515218: ('0.02235622230076798',), 1382515217: ('0.02235622230076798',), 1382515216: ('0.02235622230076798',), 1382515168: ('0.02235622230076798',), 1382515167: ('0.02235622230076798',), 1382515166: ('0.02235622230076798',), 1382515165: ('0.02235622230076798',), 1382515164: ('0.02235622230076798',), 1382515163: ('0.02235622230076798',), 1382515074: ('0.02235622230076798',), 1382515073: ('0.02235622230076798',), 1382515072: ('0.02235622230076798',), 1382515071: ('0.02235622230076798',), 1382514952: ('0.02235622230076798',), 1382514951: ('0.02235622230076798',), 1382514950: ('0.02235622230076798',), 1382514949: ('0.02235622230076798',), 1382514948: ('0.02235622230076798',), 1382514803: ('0.02235622230076798',), 1382514801: ('0.02235622230076798',), 1382514799: ('0.02235622230076798',), 1382514797: ('0.02235622230076798',), 1382514795: ('0.02235622230076798',), 1382514793: ('0.02235622230076798',)} args : 1382515220 depend.output_id : 0 input_args_next_step : {1382515264: ('0.02235622230076798',), 1382515263: ('0.02235622230076798',), 1382515262: ('0.02235622230076798',), 1382515261: ('0.02235622230076798',), 1382515220: ('0.02235622230076798',), 1382515219: ()} output_args : {1382515264: ('0.02235622230076798',), 1382515263: ('0.02235622230076798',), 1382515262: ('0.02235622230076798',), 1382515261: ('0.02235622230076798',), 1382515220: ('0.02235622230076798',), 1382515219: ('0.02235622230076798',), 1382515218: ('0.02235622230076798',), 1382515217: ('0.02235622230076798',), 1382515216: ('0.02235622230076798',), 1382515168: ('0.02235622230076798',), 1382515167: ('0.02235622230076798',), 1382515166: ('0.02235622230076798',), 1382515165: ('0.02235622230076798',), 1382515164: ('0.02235622230076798',), 1382515163: ('0.02235622230076798',), 1382515074: ('0.02235622230076798',), 1382515073: ('0.02235622230076798',), 1382515072: ('0.02235622230076798',), 1382515071: ('0.02235622230076798',), 1382514952: ('0.02235622230076798',), 1382514951: ('0.02235622230076798',), 1382514950: ('0.02235622230076798',), 1382514949: ('0.02235622230076798',), 1382514948: ('0.02235622230076798',), 1382514803: ('0.02235622230076798',), 1382514801: ('0.02235622230076798',), 1382514799: ('0.02235622230076798',), 1382514797: ('0.02235622230076798',), 1382514795: ('0.02235622230076798',), 1382514793: ('0.02235622230076798',)} args : 1382515219 depend.output_id : 0 input_args_next_step : {1382515264: ('0.02235622230076798',), 1382515263: ('0.02235622230076798',), 1382515262: ('0.02235622230076798',), 1382515261: ('0.02235622230076798',), 1382515220: ('0.02235622230076798',), 1382515219: ('0.02235622230076798',), 1382515218: ()} output_args : {1382515264: ('0.02235622230076798',), 1382515263: ('0.02235622230076798',), 1382515262: ('0.02235622230076798',), 1382515261: ('0.02235622230076798',), 1382515220: ('0.02235622230076798',), 1382515219: ('0.02235622230076798',), 1382515218: ('0.02235622230076798',), 1382515217: ('0.02235622230076798',), 1382515216: ('0.02235622230076798',), 1382515168: ('0.02235622230076798',), 1382515167: ('0.02235622230076798',), 1382515166: ('0.02235622230076798',), 1382515165: ('0.02235622230076798',), 1382515164: ('0.02235622230076798',), 1382515163: ('0.02235622230076798',), 1382515074: ('0.02235622230076798',), 1382515073: ('0.02235622230076798',), 1382515072: ('0.02235622230076798',), 1382515071: ('0.02235622230076798',), 1382514952: ('0.02235622230076798',), 1382514951: ('0.02235622230076798',), 1382514950: ('0.02235622230076798',), 1382514949: ('0.02235622230076798',), 1382514948: ('0.02235622230076798',), 1382514803: ('0.02235622230076798',), 1382514801: ('0.02235622230076798',), 1382514799: ('0.02235622230076798',), 1382514797: ('0.02235622230076798',), 1382514795: ('0.02235622230076798',), 1382514793: ('0.02235622230076798',)} args : 1382515218 depend.output_id : 0 input_args_next_step : {1382515264: ('0.02235622230076798',), 1382515263: ('0.02235622230076798',), 1382515262: ('0.02235622230076798',), 1382515261: ('0.02235622230076798',), 1382515220: ('0.02235622230076798',), 1382515219: ('0.02235622230076798',), 1382515218: ('0.02235622230076798',), 1382515217: ()} output_args : {1382515264: ('0.02235622230076798',), 1382515263: ('0.02235622230076798',), 1382515262: ('0.02235622230076798',), 1382515261: ('0.02235622230076798',), 1382515220: ('0.02235622230076798',), 1382515219: ('0.02235622230076798',), 1382515218: ('0.02235622230076798',), 1382515217: ('0.02235622230076798',), 1382515216: ('0.02235622230076798',), 1382515168: ('0.02235622230076798',), 1382515167: ('0.02235622230076798',), 1382515166: ('0.02235622230076798',), 1382515165: ('0.02235622230076798',), 1382515164: ('0.02235622230076798',), 1382515163: ('0.02235622230076798',), 1382515074: ('0.02235622230076798',), 1382515073: ('0.02235622230076798',), 1382515072: ('0.02235622230076798',), 1382515071: ('0.02235622230076798',), 1382514952: ('0.02235622230076798',), 1382514951: ('0.02235622230076798',), 1382514950: ('0.02235622230076798',), 1382514949: ('0.02235622230076798',), 1382514948: ('0.02235622230076798',), 1382514803: ('0.02235622230076798',), 1382514801: ('0.02235622230076798',), 1382514799: ('0.02235622230076798',), 1382514797: ('0.02235622230076798',), 1382514795: ('0.02235622230076798',), 1382514793: ('0.02235622230076798',)} args : 1382515217 depend.output_id : 0 input_args_next_step : {1382515264: ('0.02235622230076798',), 1382515263: ('0.02235622230076798',), 1382515262: ('0.02235622230076798',), 1382515261: ('0.02235622230076798',), 1382515220: ('0.02235622230076798',), 1382515219: ('0.02235622230076798',), 1382515218: ('0.02235622230076798',), 1382515217: ('0.02235622230076798',), 1382515216: ()} output_args : {1382515264: ('0.02235622230076798',), 1382515263: ('0.02235622230076798',), 1382515262: ('0.02235622230076798',), 1382515261: ('0.02235622230076798',), 1382515220: ('0.02235622230076798',), 1382515219: ('0.02235622230076798',), 1382515218: ('0.02235622230076798',), 1382515217: ('0.02235622230076798',), 1382515216: ('0.02235622230076798',), 1382515168: ('0.02235622230076798',), 1382515167: ('0.02235622230076798',), 1382515166: ('0.02235622230076798',), 1382515165: ('0.02235622230076798',), 1382515164: ('0.02235622230076798',), 1382515163: ('0.02235622230076798',), 1382515074: ('0.02235622230076798',), 1382515073: ('0.02235622230076798',), 1382515072: ('0.02235622230076798',), 1382515071: ('0.02235622230076798',), 1382514952: ('0.02235622230076798',), 1382514951: ('0.02235622230076798',), 1382514950: ('0.02235622230076798',), 1382514949: ('0.02235622230076798',), 1382514948: ('0.02235622230076798',), 1382514803: ('0.02235622230076798',), 1382514801: ('0.02235622230076798',), 1382514799: ('0.02235622230076798',), 1382514797: ('0.02235622230076798',), 1382514795: ('0.02235622230076798',), 1382514793: ('0.02235622230076798',)} args : 1382515216 depend.output_id : 0 input_args_next_step : {1382515264: ('0.02235622230076798',), 1382515263: ('0.02235622230076798',), 1382515262: ('0.02235622230076798',), 1382515261: ('0.02235622230076798',), 1382515220: ('0.02235622230076798',), 1382515219: ('0.02235622230076798',), 1382515218: ('0.02235622230076798',), 1382515217: ('0.02235622230076798',), 1382515216: ('0.02235622230076798',), 1382515168: ()} output_args : {1382515264: ('0.02235622230076798',), 1382515263: ('0.02235622230076798',), 1382515262: ('0.02235622230076798',), 1382515261: ('0.02235622230076798',), 1382515220: ('0.02235622230076798',), 1382515219: ('0.02235622230076798',), 1382515218: ('0.02235622230076798',), 1382515217: ('0.02235622230076798',), 1382515216: ('0.02235622230076798',), 1382515168: ('0.02235622230076798',), 1382515167: ('0.02235622230076798',), 1382515166: ('0.02235622230076798',), 1382515165: ('0.02235622230076798',), 1382515164: ('0.02235622230076798',), 1382515163: ('0.02235622230076798',), 1382515074: ('0.02235622230076798',), 1382515073: ('0.02235622230076798',), 1382515072: ('0.02235622230076798',), 1382515071: ('0.02235622230076798',), 1382514952: ('0.02235622230076798',), 1382514951: ('0.02235622230076798',), 1382514950: ('0.02235622230076798',), 1382514949: ('0.02235622230076798',), 1382514948: ('0.02235622230076798',), 1382514803: ('0.02235622230076798',), 1382514801: ('0.02235622230076798',), 1382514799: ('0.02235622230076798',), 1382514797: ('0.02235622230076798',), 1382514795: ('0.02235622230076798',), 1382514793: ('0.02235622230076798',)} args : 1382515168 depend.output_id : 0 input_args_next_step : {1382515264: ('0.02235622230076798',), 1382515263: ('0.02235622230076798',), 1382515262: ('0.02235622230076798',), 1382515261: ('0.02235622230076798',), 1382515220: ('0.02235622230076798',), 1382515219: ('0.02235622230076798',), 1382515218: ('0.02235622230076798',), 1382515217: ('0.02235622230076798',), 1382515216: ('0.02235622230076798',), 1382515168: ('0.02235622230076798',), 1382515167: ()} output_args : {1382515264: ('0.02235622230076798',), 1382515263: ('0.02235622230076798',), 1382515262: ('0.02235622230076798',), 1382515261: ('0.02235622230076798',), 1382515220: ('0.02235622230076798',), 1382515219: ('0.02235622230076798',), 1382515218: ('0.02235622230076798',), 1382515217: ('0.02235622230076798',), 1382515216: ('0.02235622230076798',), 1382515168: ('0.02235622230076798',), 1382515167: ('0.02235622230076798',), 1382515166: ('0.02235622230076798',), 1382515165: ('0.02235622230076798',), 1382515164: ('0.02235622230076798',), 1382515163: ('0.02235622230076798',), 1382515074: ('0.02235622230076798',), 1382515073: ('0.02235622230076798',), 1382515072: ('0.02235622230076798',), 1382515071: ('0.02235622230076798',), 1382514952: ('0.02235622230076798',), 1382514951: ('0.02235622230076798',), 1382514950: ('0.02235622230076798',), 1382514949: ('0.02235622230076798',), 1382514948: ('0.02235622230076798',), 1382514803: ('0.02235622230076798',), 1382514801: ('0.02235622230076798',), 1382514799: ('0.02235622230076798',), 1382514797: ('0.02235622230076798',), 1382514795: ('0.02235622230076798',), 1382514793: ('0.02235622230076798',)} args : 1382515167 depend.output_id : 0 input_args_next_step : {1382515264: ('0.02235622230076798',), 1382515263: ('0.02235622230076798',), 1382515262: ('0.02235622230076798',), 1382515261: ('0.02235622230076798',), 1382515220: ('0.02235622230076798',), 1382515219: ('0.02235622230076798',), 1382515218: ('0.02235622230076798',), 1382515217: ('0.02235622230076798',), 1382515216: ('0.02235622230076798',), 1382515168: ('0.02235622230076798',), 1382515167: ('0.02235622230076798',), 1382515166: ()} output_args : {1382515264: ('0.02235622230076798',), 1382515263: ('0.02235622230076798',), 1382515262: ('0.02235622230076798',), 1382515261: ('0.02235622230076798',), 1382515220: ('0.02235622230076798',), 1382515219: ('0.02235622230076798',), 1382515218: ('0.02235622230076798',), 1382515217: ('0.02235622230076798',), 1382515216: ('0.02235622230076798',), 1382515168: ('0.02235622230076798',), 1382515167: ('0.02235622230076798',), 1382515166: ('0.02235622230076798',), 1382515165: ('0.02235622230076798',), 1382515164: ('0.02235622230076798',), 1382515163: ('0.02235622230076798',), 1382515074: ('0.02235622230076798',), 1382515073: ('0.02235622230076798',), 1382515072: ('0.02235622230076798',), 1382515071: ('0.02235622230076798',), 1382514952: ('0.02235622230076798',), 1382514951: ('0.02235622230076798',), 1382514950: ('0.02235622230076798',), 1382514949: ('0.02235622230076798',), 1382514948: ('0.02235622230076798',), 1382514803: ('0.02235622230076798',), 1382514801: ('0.02235622230076798',), 1382514799: ('0.02235622230076798',), 1382514797: ('0.02235622230076798',), 1382514795: ('0.02235622230076798',), 1382514793: ('0.02235622230076798',)} args : 1382515166 depend.output_id : 0 input_args_next_step : {1382515264: ('0.02235622230076798',), 1382515263: ('0.02235622230076798',), 1382515262: ('0.02235622230076798',), 1382515261: ('0.02235622230076798',), 1382515220: ('0.02235622230076798',), 1382515219: ('0.02235622230076798',), 1382515218: ('0.02235622230076798',), 1382515217: ('0.02235622230076798',), 1382515216: ('0.02235622230076798',), 1382515168: ('0.02235622230076798',), 1382515167: ('0.02235622230076798',), 1382515166: ('0.02235622230076798',), 1382515165: ()} output_args : {1382515264: ('0.02235622230076798',), 1382515263: ('0.02235622230076798',), 1382515262: ('0.02235622230076798',), 1382515261: ('0.02235622230076798',), 1382515220: ('0.02235622230076798',), 1382515219: ('0.02235622230076798',), 1382515218: ('0.02235622230076798',), 1382515217: ('0.02235622230076798',), 1382515216: ('0.02235622230076798',), 1382515168: ('0.02235622230076798',), 1382515167: ('0.02235622230076798',), 1382515166: ('0.02235622230076798',), 1382515165: ('0.02235622230076798',), 1382515164: ('0.02235622230076798',), 1382515163: ('0.02235622230076798',), 1382515074: ('0.02235622230076798',), 1382515073: ('0.02235622230076798',), 1382515072: ('0.02235622230076798',), 1382515071: ('0.02235622230076798',), 1382514952: ('0.02235622230076798',), 1382514951: ('0.02235622230076798',), 1382514950: ('0.02235622230076798',), 1382514949: ('0.02235622230076798',), 1382514948: ('0.02235622230076798',), 1382514803: ('0.02235622230076798',), 1382514801: ('0.02235622230076798',), 1382514799: ('0.02235622230076798',), 1382514797: ('0.02235622230076798',), 1382514795: ('0.02235622230076798',), 1382514793: ('0.02235622230076798',)} args : 1382515165 depend.output_id : 0 input_args_next_step : {1382515264: ('0.02235622230076798',), 1382515263: ('0.02235622230076798',), 1382515262: ('0.02235622230076798',), 1382515261: ('0.02235622230076798',), 1382515220: ('0.02235622230076798',), 1382515219: ('0.02235622230076798',), 1382515218: ('0.02235622230076798',), 1382515217: ('0.02235622230076798',), 1382515216: ('0.02235622230076798',), 1382515168: ('0.02235622230076798',), 1382515167: ('0.02235622230076798',), 1382515166: ('0.02235622230076798',), 1382515165: ('0.02235622230076798',), 1382515164: ()} output_args : {1382515264: ('0.02235622230076798',), 1382515263: ('0.02235622230076798',), 1382515262: ('0.02235622230076798',), 1382515261: ('0.02235622230076798',), 1382515220: ('0.02235622230076798',), 1382515219: ('0.02235622230076798',), 1382515218: ('0.02235622230076798',), 1382515217: ('0.02235622230076798',), 1382515216: ('0.02235622230076798',), 1382515168: ('0.02235622230076798',), 1382515167: ('0.02235622230076798',), 1382515166: ('0.02235622230076798',), 1382515165: ('0.02235622230076798',), 1382515164: ('0.02235622230076798',), 1382515163: ('0.02235622230076798',), 1382515074: ('0.02235622230076798',), 1382515073: ('0.02235622230076798',), 1382515072: ('0.02235622230076798',), 1382515071: ('0.02235622230076798',), 1382514952: ('0.02235622230076798',), 1382514951: ('0.02235622230076798',), 1382514950: ('0.02235622230076798',), 1382514949: ('0.02235622230076798',), 1382514948: ('0.02235622230076798',), 1382514803: ('0.02235622230076798',), 1382514801: ('0.02235622230076798',), 1382514799: ('0.02235622230076798',), 1382514797: ('0.02235622230076798',), 1382514795: ('0.02235622230076798',), 1382514793: ('0.02235622230076798',)} args : 1382515164 depend.output_id : 0 input_args_next_step : {1382515264: ('0.02235622230076798',), 1382515263: ('0.02235622230076798',), 1382515262: ('0.02235622230076798',), 1382515261: ('0.02235622230076798',), 1382515220: ('0.02235622230076798',), 1382515219: ('0.02235622230076798',), 1382515218: ('0.02235622230076798',), 1382515217: ('0.02235622230076798',), 1382515216: ('0.02235622230076798',), 1382515168: ('0.02235622230076798',), 1382515167: ('0.02235622230076798',), 1382515166: ('0.02235622230076798',), 1382515165: ('0.02235622230076798',), 1382515164: ('0.02235622230076798',), 1382515163: ()} output_args : {1382515264: ('0.02235622230076798',), 1382515263: ('0.02235622230076798',), 1382515262: ('0.02235622230076798',), 1382515261: ('0.02235622230076798',), 1382515220: ('0.02235622230076798',), 1382515219: ('0.02235622230076798',), 1382515218: ('0.02235622230076798',), 1382515217: ('0.02235622230076798',), 1382515216: ('0.02235622230076798',), 1382515168: ('0.02235622230076798',), 1382515167: ('0.02235622230076798',), 1382515166: ('0.02235622230076798',), 1382515165: ('0.02235622230076798',), 1382515164: ('0.02235622230076798',), 1382515163: ('0.02235622230076798',), 1382515074: ('0.02235622230076798',), 1382515073: ('0.02235622230076798',), 1382515072: ('0.02235622230076798',), 1382515071: ('0.02235622230076798',), 1382514952: ('0.02235622230076798',), 1382514951: ('0.02235622230076798',), 1382514950: ('0.02235622230076798',), 1382514949: ('0.02235622230076798',), 1382514948: ('0.02235622230076798',), 1382514803: ('0.02235622230076798',), 1382514801: ('0.02235622230076798',), 1382514799: ('0.02235622230076798',), 1382514797: ('0.02235622230076798',), 1382514795: ('0.02235622230076798',), 1382514793: ('0.02235622230076798',)} args : 1382515163 depend.output_id : 0 input_args_next_step : {1382515264: ('0.02235622230076798',), 1382515263: ('0.02235622230076798',), 1382515262: ('0.02235622230076798',), 1382515261: ('0.02235622230076798',), 1382515220: ('0.02235622230076798',), 1382515219: ('0.02235622230076798',), 1382515218: ('0.02235622230076798',), 1382515217: ('0.02235622230076798',), 1382515216: ('0.02235622230076798',), 1382515168: ('0.02235622230076798',), 1382515167: ('0.02235622230076798',), 1382515166: ('0.02235622230076798',), 1382515165: ('0.02235622230076798',), 1382515164: ('0.02235622230076798',), 1382515163: ('0.02235622230076798',), 1382515074: ()} output_args : {1382515264: ('0.02235622230076798',), 1382515263: ('0.02235622230076798',), 1382515262: ('0.02235622230076798',), 1382515261: ('0.02235622230076798',), 1382515220: ('0.02235622230076798',), 1382515219: ('0.02235622230076798',), 1382515218: ('0.02235622230076798',), 1382515217: ('0.02235622230076798',), 1382515216: ('0.02235622230076798',), 1382515168: ('0.02235622230076798',), 1382515167: ('0.02235622230076798',), 1382515166: ('0.02235622230076798',), 1382515165: ('0.02235622230076798',), 1382515164: ('0.02235622230076798',), 1382515163: ('0.02235622230076798',), 1382515074: ('0.02235622230076798',), 1382515073: ('0.02235622230076798',), 1382515072: ('0.02235622230076798',), 1382515071: ('0.02235622230076798',), 1382514952: ('0.02235622230076798',), 1382514951: ('0.02235622230076798',), 1382514950: ('0.02235622230076798',), 1382514949: ('0.02235622230076798',), 1382514948: ('0.02235622230076798',), 1382514803: ('0.02235622230076798',), 1382514801: ('0.02235622230076798',), 1382514799: ('0.02235622230076798',), 1382514797: ('0.02235622230076798',), 1382514795: ('0.02235622230076798',), 1382514793: ('0.02235622230076798',)} args : 1382515074 depend.output_id : 0 input_args_next_step : {1382515264: ('0.02235622230076798',), 1382515263: ('0.02235622230076798',), 1382515262: ('0.02235622230076798',), 1382515261: ('0.02235622230076798',), 1382515220: ('0.02235622230076798',), 1382515219: ('0.02235622230076798',), 1382515218: ('0.02235622230076798',), 1382515217: ('0.02235622230076798',), 1382515216: ('0.02235622230076798',), 1382515168: ('0.02235622230076798',), 1382515167: ('0.02235622230076798',), 1382515166: ('0.02235622230076798',), 1382515165: ('0.02235622230076798',), 1382515164: ('0.02235622230076798',), 1382515163: ('0.02235622230076798',), 1382515074: ('0.02235622230076798',), 1382515073: ()} output_args : {1382515264: ('0.02235622230076798',), 1382515263: ('0.02235622230076798',), 1382515262: ('0.02235622230076798',), 1382515261: ('0.02235622230076798',), 1382515220: ('0.02235622230076798',), 1382515219: ('0.02235622230076798',), 1382515218: ('0.02235622230076798',), 1382515217: ('0.02235622230076798',), 1382515216: ('0.02235622230076798',), 1382515168: ('0.02235622230076798',), 1382515167: ('0.02235622230076798',), 1382515166: ('0.02235622230076798',), 1382515165: ('0.02235622230076798',), 1382515164: ('0.02235622230076798',), 1382515163: ('0.02235622230076798',), 1382515074: ('0.02235622230076798',), 1382515073: ('0.02235622230076798',), 1382515072: ('0.02235622230076798',), 1382515071: ('0.02235622230076798',), 1382514952: ('0.02235622230076798',), 1382514951: ('0.02235622230076798',), 1382514950: ('0.02235622230076798',), 1382514949: ('0.02235622230076798',), 1382514948: ('0.02235622230076798',), 1382514803: ('0.02235622230076798',), 1382514801: ('0.02235622230076798',), 1382514799: ('0.02235622230076798',), 1382514797: ('0.02235622230076798',), 1382514795: ('0.02235622230076798',), 1382514793: ('0.02235622230076798',)} args : 1382515073 depend.output_id : 0 input_args_next_step : {1382515264: ('0.02235622230076798',), 1382515263: ('0.02235622230076798',), 1382515262: ('0.02235622230076798',), 1382515261: ('0.02235622230076798',), 1382515220: ('0.02235622230076798',), 1382515219: ('0.02235622230076798',), 1382515218: ('0.02235622230076798',), 1382515217: ('0.02235622230076798',), 1382515216: ('0.02235622230076798',), 1382515168: ('0.02235622230076798',), 1382515167: ('0.02235622230076798',), 1382515166: ('0.02235622230076798',), 1382515165: ('0.02235622230076798',), 1382515164: ('0.02235622230076798',), 1382515163: ('0.02235622230076798',), 1382515074: ('0.02235622230076798',), 1382515073: ('0.02235622230076798',), 1382515072: ()} output_args : {1382515264: ('0.02235622230076798',), 1382515263: ('0.02235622230076798',), 1382515262: ('0.02235622230076798',), 1382515261: ('0.02235622230076798',), 1382515220: ('0.02235622230076798',), 1382515219: ('0.02235622230076798',), 1382515218: ('0.02235622230076798',), 1382515217: ('0.02235622230076798',), 1382515216: ('0.02235622230076798',), 1382515168: ('0.02235622230076798',), 1382515167: ('0.02235622230076798',), 1382515166: ('0.02235622230076798',), 1382515165: ('0.02235622230076798',), 1382515164: ('0.02235622230076798',), 1382515163: ('0.02235622230076798',), 1382515074: ('0.02235622230076798',), 1382515073: ('0.02235622230076798',), 1382515072: ('0.02235622230076798',), 1382515071: ('0.02235622230076798',), 1382514952: ('0.02235622230076798',), 1382514951: ('0.02235622230076798',), 1382514950: ('0.02235622230076798',), 1382514949: ('0.02235622230076798',), 1382514948: ('0.02235622230076798',), 1382514803: ('0.02235622230076798',), 1382514801: ('0.02235622230076798',), 1382514799: ('0.02235622230076798',), 1382514797: ('0.02235622230076798',), 1382514795: ('0.02235622230076798',), 1382514793: ('0.02235622230076798',)} args : 1382515072 depend.output_id : 0 input_args_next_step : {1382515264: ('0.02235622230076798',), 1382515263: ('0.02235622230076798',), 1382515262: ('0.02235622230076798',), 1382515261: ('0.02235622230076798',), 1382515220: ('0.02235622230076798',), 1382515219: ('0.02235622230076798',), 1382515218: ('0.02235622230076798',), 1382515217: ('0.02235622230076798',), 1382515216: ('0.02235622230076798',), 1382515168: ('0.02235622230076798',), 1382515167: ('0.02235622230076798',), 1382515166: ('0.02235622230076798',), 1382515165: ('0.02235622230076798',), 1382515164: ('0.02235622230076798',), 1382515163: ('0.02235622230076798',), 1382515074: ('0.02235622230076798',), 1382515073: ('0.02235622230076798',), 1382515072: ('0.02235622230076798',), 1382515071: ()} output_args : {1382515264: ('0.02235622230076798',), 1382515263: ('0.02235622230076798',), 1382515262: ('0.02235622230076798',), 1382515261: ('0.02235622230076798',), 1382515220: ('0.02235622230076798',), 1382515219: ('0.02235622230076798',), 1382515218: ('0.02235622230076798',), 1382515217: ('0.02235622230076798',), 1382515216: ('0.02235622230076798',), 1382515168: ('0.02235622230076798',), 1382515167: ('0.02235622230076798',), 1382515166: ('0.02235622230076798',), 1382515165: ('0.02235622230076798',), 1382515164: ('0.02235622230076798',), 1382515163: ('0.02235622230076798',), 1382515074: ('0.02235622230076798',), 1382515073: ('0.02235622230076798',), 1382515072: ('0.02235622230076798',), 1382515071: ('0.02235622230076798',), 1382514952: ('0.02235622230076798',), 1382514951: ('0.02235622230076798',), 1382514950: ('0.02235622230076798',), 1382514949: ('0.02235622230076798',), 1382514948: ('0.02235622230076798',), 1382514803: ('0.02235622230076798',), 1382514801: ('0.02235622230076798',), 1382514799: ('0.02235622230076798',), 1382514797: ('0.02235622230076798',), 1382514795: ('0.02235622230076798',), 1382514793: ('0.02235622230076798',)} args : 1382515071 depend.output_id : 0 input_args_next_step : {1382515264: ('0.02235622230076798',), 1382515263: ('0.02235622230076798',), 1382515262: ('0.02235622230076798',), 1382515261: ('0.02235622230076798',), 1382515220: ('0.02235622230076798',), 1382515219: ('0.02235622230076798',), 1382515218: ('0.02235622230076798',), 1382515217: ('0.02235622230076798',), 1382515216: ('0.02235622230076798',), 1382515168: ('0.02235622230076798',), 1382515167: ('0.02235622230076798',), 1382515166: ('0.02235622230076798',), 1382515165: ('0.02235622230076798',), 1382515164: ('0.02235622230076798',), 1382515163: ('0.02235622230076798',), 1382515074: ('0.02235622230076798',), 1382515073: ('0.02235622230076798',), 1382515072: ('0.02235622230076798',), 1382515071: ('0.02235622230076798',), 1382514952: ()} output_args : {1382515264: ('0.02235622230076798',), 1382515263: ('0.02235622230076798',), 1382515262: ('0.02235622230076798',), 1382515261: ('0.02235622230076798',), 1382515220: ('0.02235622230076798',), 1382515219: ('0.02235622230076798',), 1382515218: ('0.02235622230076798',), 1382515217: ('0.02235622230076798',), 1382515216: ('0.02235622230076798',), 1382515168: ('0.02235622230076798',), 1382515167: ('0.02235622230076798',), 1382515166: ('0.02235622230076798',), 1382515165: ('0.02235622230076798',), 1382515164: ('0.02235622230076798',), 1382515163: ('0.02235622230076798',), 1382515074: ('0.02235622230076798',), 1382515073: ('0.02235622230076798',), 1382515072: ('0.02235622230076798',), 1382515071: ('0.02235622230076798',), 1382514952: ('0.02235622230076798',), 1382514951: ('0.02235622230076798',), 1382514950: ('0.02235622230076798',), 1382514949: ('0.02235622230076798',), 1382514948: ('0.02235622230076798',), 1382514803: ('0.02235622230076798',), 1382514801: ('0.02235622230076798',), 1382514799: ('0.02235622230076798',), 1382514797: ('0.02235622230076798',), 1382514795: ('0.02235622230076798',), 1382514793: ('0.02235622230076798',)} args : 1382514952 depend.output_id : 0 input_args_next_step : {1382515264: ('0.02235622230076798',), 1382515263: ('0.02235622230076798',), 1382515262: ('0.02235622230076798',), 1382515261: ('0.02235622230076798',), 1382515220: ('0.02235622230076798',), 1382515219: ('0.02235622230076798',), 1382515218: ('0.02235622230076798',), 1382515217: ('0.02235622230076798',), 1382515216: ('0.02235622230076798',), 1382515168: ('0.02235622230076798',), 1382515167: ('0.02235622230076798',), 1382515166: ('0.02235622230076798',), 1382515165: ('0.02235622230076798',), 1382515164: ('0.02235622230076798',), 1382515163: ('0.02235622230076798',), 1382515074: ('0.02235622230076798',), 1382515073: ('0.02235622230076798',), 1382515072: ('0.02235622230076798',), 1382515071: ('0.02235622230076798',), 1382514952: ('0.02235622230076798',), 1382514951: ()} output_args : {1382515264: ('0.02235622230076798',), 1382515263: ('0.02235622230076798',), 1382515262: ('0.02235622230076798',), 1382515261: ('0.02235622230076798',), 1382515220: ('0.02235622230076798',), 1382515219: ('0.02235622230076798',), 1382515218: ('0.02235622230076798',), 1382515217: ('0.02235622230076798',), 1382515216: ('0.02235622230076798',), 1382515168: ('0.02235622230076798',), 1382515167: ('0.02235622230076798',), 1382515166: ('0.02235622230076798',), 1382515165: ('0.02235622230076798',), 1382515164: ('0.02235622230076798',), 1382515163: ('0.02235622230076798',), 1382515074: ('0.02235622230076798',), 1382515073: ('0.02235622230076798',), 1382515072: ('0.02235622230076798',), 1382515071: ('0.02235622230076798',), 1382514952: ('0.02235622230076798',), 1382514951: ('0.02235622230076798',), 1382514950: ('0.02235622230076798',), 1382514949: ('0.02235622230076798',), 1382514948: ('0.02235622230076798',), 1382514803: ('0.02235622230076798',), 1382514801: ('0.02235622230076798',), 1382514799: ('0.02235622230076798',), 1382514797: ('0.02235622230076798',), 1382514795: ('0.02235622230076798',), 1382514793: ('0.02235622230076798',)} args : 1382514951 depend.output_id : 0 input_args_next_step : {1382515264: ('0.02235622230076798',), 1382515263: ('0.02235622230076798',), 1382515262: ('0.02235622230076798',), 1382515261: ('0.02235622230076798',), 1382515220: ('0.02235622230076798',), 1382515219: ('0.02235622230076798',), 1382515218: ('0.02235622230076798',), 1382515217: ('0.02235622230076798',), 1382515216: ('0.02235622230076798',), 1382515168: ('0.02235622230076798',), 1382515167: ('0.02235622230076798',), 1382515166: ('0.02235622230076798',), 1382515165: ('0.02235622230076798',), 1382515164: ('0.02235622230076798',), 1382515163: ('0.02235622230076798',), 1382515074: ('0.02235622230076798',), 1382515073: ('0.02235622230076798',), 1382515072: ('0.02235622230076798',), 1382515071: ('0.02235622230076798',), 1382514952: ('0.02235622230076798',), 1382514951: ('0.02235622230076798',), 1382514950: ()} output_args : {1382515264: ('0.02235622230076798',), 1382515263: ('0.02235622230076798',), 1382515262: ('0.02235622230076798',), 1382515261: ('0.02235622230076798',), 1382515220: ('0.02235622230076798',), 1382515219: ('0.02235622230076798',), 1382515218: ('0.02235622230076798',), 1382515217: ('0.02235622230076798',), 1382515216: ('0.02235622230076798',), 1382515168: ('0.02235622230076798',), 1382515167: ('0.02235622230076798',), 1382515166: ('0.02235622230076798',), 1382515165: ('0.02235622230076798',), 1382515164: ('0.02235622230076798',), 1382515163: ('0.02235622230076798',), 1382515074: ('0.02235622230076798',), 1382515073: ('0.02235622230076798',), 1382515072: ('0.02235622230076798',), 1382515071: ('0.02235622230076798',), 1382514952: ('0.02235622230076798',), 1382514951: ('0.02235622230076798',), 1382514950: ('0.02235622230076798',), 1382514949: ('0.02235622230076798',), 1382514948: ('0.02235622230076798',), 1382514803: ('0.02235622230076798',), 1382514801: ('0.02235622230076798',), 1382514799: ('0.02235622230076798',), 1382514797: ('0.02235622230076798',), 1382514795: ('0.02235622230076798',), 1382514793: ('0.02235622230076798',)} args : 1382514950 depend.output_id : 0 input_args_next_step : {1382515264: ('0.02235622230076798',), 1382515263: ('0.02235622230076798',), 1382515262: ('0.02235622230076798',), 1382515261: ('0.02235622230076798',), 1382515220: ('0.02235622230076798',), 1382515219: ('0.02235622230076798',), 1382515218: ('0.02235622230076798',), 1382515217: ('0.02235622230076798',), 1382515216: ('0.02235622230076798',), 1382515168: ('0.02235622230076798',), 1382515167: ('0.02235622230076798',), 1382515166: ('0.02235622230076798',), 1382515165: ('0.02235622230076798',), 1382515164: ('0.02235622230076798',), 1382515163: ('0.02235622230076798',), 1382515074: ('0.02235622230076798',), 1382515073: ('0.02235622230076798',), 1382515072: ('0.02235622230076798',), 1382515071: ('0.02235622230076798',), 1382514952: ('0.02235622230076798',), 1382514951: ('0.02235622230076798',), 1382514950: ('0.02235622230076798',), 1382514949: ()} output_args : {1382515264: ('0.02235622230076798',), 1382515263: ('0.02235622230076798',), 1382515262: ('0.02235622230076798',), 1382515261: ('0.02235622230076798',), 1382515220: ('0.02235622230076798',), 1382515219: ('0.02235622230076798',), 1382515218: ('0.02235622230076798',), 1382515217: ('0.02235622230076798',), 1382515216: ('0.02235622230076798',), 1382515168: ('0.02235622230076798',), 1382515167: ('0.02235622230076798',), 1382515166: ('0.02235622230076798',), 1382515165: ('0.02235622230076798',), 1382515164: ('0.02235622230076798',), 1382515163: ('0.02235622230076798',), 1382515074: ('0.02235622230076798',), 1382515073: ('0.02235622230076798',), 1382515072: ('0.02235622230076798',), 1382515071: ('0.02235622230076798',), 1382514952: ('0.02235622230076798',), 1382514951: ('0.02235622230076798',), 1382514950: ('0.02235622230076798',), 1382514949: ('0.02235622230076798',), 1382514948: ('0.02235622230076798',), 1382514803: ('0.02235622230076798',), 1382514801: ('0.02235622230076798',), 1382514799: ('0.02235622230076798',), 1382514797: ('0.02235622230076798',), 1382514795: ('0.02235622230076798',), 1382514793: ('0.02235622230076798',)} args : 1382514949 depend.output_id : 0 input_args_next_step : {1382515264: ('0.02235622230076798',), 1382515263: ('0.02235622230076798',), 1382515262: ('0.02235622230076798',), 1382515261: ('0.02235622230076798',), 1382515220: ('0.02235622230076798',), 1382515219: ('0.02235622230076798',), 1382515218: ('0.02235622230076798',), 1382515217: ('0.02235622230076798',), 1382515216: ('0.02235622230076798',), 1382515168: ('0.02235622230076798',), 1382515167: ('0.02235622230076798',), 1382515166: ('0.02235622230076798',), 1382515165: ('0.02235622230076798',), 1382515164: ('0.02235622230076798',), 1382515163: ('0.02235622230076798',), 1382515074: ('0.02235622230076798',), 1382515073: ('0.02235622230076798',), 1382515072: ('0.02235622230076798',), 1382515071: ('0.02235622230076798',), 1382514952: ('0.02235622230076798',), 1382514951: ('0.02235622230076798',), 1382514950: ('0.02235622230076798',), 1382514949: ('0.02235622230076798',), 1382514948: ()} output_args : {1382515264: ('0.02235622230076798',), 1382515263: ('0.02235622230076798',), 1382515262: ('0.02235622230076798',), 1382515261: ('0.02235622230076798',), 1382515220: ('0.02235622230076798',), 1382515219: ('0.02235622230076798',), 1382515218: ('0.02235622230076798',), 1382515217: ('0.02235622230076798',), 1382515216: ('0.02235622230076798',), 1382515168: ('0.02235622230076798',), 1382515167: ('0.02235622230076798',), 1382515166: ('0.02235622230076798',), 1382515165: ('0.02235622230076798',), 1382515164: ('0.02235622230076798',), 1382515163: ('0.02235622230076798',), 1382515074: ('0.02235622230076798',), 1382515073: ('0.02235622230076798',), 1382515072: ('0.02235622230076798',), 1382515071: ('0.02235622230076798',), 1382514952: ('0.02235622230076798',), 1382514951: ('0.02235622230076798',), 1382514950: ('0.02235622230076798',), 1382514949: ('0.02235622230076798',), 1382514948: ('0.02235622230076798',), 1382514803: ('0.02235622230076798',), 1382514801: ('0.02235622230076798',), 1382514799: ('0.02235622230076798',), 1382514797: ('0.02235622230076798',), 1382514795: ('0.02235622230076798',), 1382514793: ('0.02235622230076798',)} args : 1382514948 depend.output_id : 0 input_args_next_step : {1382515264: ('0.02235622230076798',), 1382515263: ('0.02235622230076798',), 1382515262: ('0.02235622230076798',), 1382515261: ('0.02235622230076798',), 1382515220: ('0.02235622230076798',), 1382515219: ('0.02235622230076798',), 1382515218: ('0.02235622230076798',), 1382515217: ('0.02235622230076798',), 1382515216: ('0.02235622230076798',), 1382515168: ('0.02235622230076798',), 1382515167: ('0.02235622230076798',), 1382515166: ('0.02235622230076798',), 1382515165: ('0.02235622230076798',), 1382515164: ('0.02235622230076798',), 1382515163: ('0.02235622230076798',), 1382515074: ('0.02235622230076798',), 1382515073: ('0.02235622230076798',), 1382515072: ('0.02235622230076798',), 1382515071: ('0.02235622230076798',), 1382514952: ('0.02235622230076798',), 1382514951: ('0.02235622230076798',), 1382514950: ('0.02235622230076798',), 1382514949: ('0.02235622230076798',), 1382514948: ('0.02235622230076798',), 1382514803: ()} output_args : {1382515264: ('0.02235622230076798',), 1382515263: ('0.02235622230076798',), 1382515262: ('0.02235622230076798',), 1382515261: ('0.02235622230076798',), 1382515220: ('0.02235622230076798',), 1382515219: ('0.02235622230076798',), 1382515218: ('0.02235622230076798',), 1382515217: ('0.02235622230076798',), 1382515216: ('0.02235622230076798',), 1382515168: ('0.02235622230076798',), 1382515167: ('0.02235622230076798',), 1382515166: ('0.02235622230076798',), 1382515165: ('0.02235622230076798',), 1382515164: ('0.02235622230076798',), 1382515163: ('0.02235622230076798',), 1382515074: ('0.02235622230076798',), 1382515073: ('0.02235622230076798',), 1382515072: ('0.02235622230076798',), 1382515071: ('0.02235622230076798',), 1382514952: ('0.02235622230076798',), 1382514951: ('0.02235622230076798',), 1382514950: ('0.02235622230076798',), 1382514949: ('0.02235622230076798',), 1382514948: ('0.02235622230076798',), 1382514803: ('0.02235622230076798',), 1382514801: ('0.02235622230076798',), 1382514799: ('0.02235622230076798',), 1382514797: ('0.02235622230076798',), 1382514795: ('0.02235622230076798',), 1382514793: ('0.02235622230076798',)} args : 1382514803 depend.output_id : 0 input_args_next_step : {1382515264: ('0.02235622230076798',), 1382515263: ('0.02235622230076798',), 1382515262: ('0.02235622230076798',), 1382515261: ('0.02235622230076798',), 1382515220: ('0.02235622230076798',), 1382515219: ('0.02235622230076798',), 1382515218: ('0.02235622230076798',), 1382515217: ('0.02235622230076798',), 1382515216: ('0.02235622230076798',), 1382515168: ('0.02235622230076798',), 1382515167: ('0.02235622230076798',), 1382515166: ('0.02235622230076798',), 1382515165: ('0.02235622230076798',), 1382515164: ('0.02235622230076798',), 1382515163: ('0.02235622230076798',), 1382515074: ('0.02235622230076798',), 1382515073: ('0.02235622230076798',), 1382515072: ('0.02235622230076798',), 1382515071: ('0.02235622230076798',), 1382514952: ('0.02235622230076798',), 1382514951: ('0.02235622230076798',), 1382514950: ('0.02235622230076798',), 1382514949: ('0.02235622230076798',), 1382514948: ('0.02235622230076798',), 1382514803: ('0.02235622230076798',), 1382514801: ()} output_args : {1382515264: ('0.02235622230076798',), 1382515263: ('0.02235622230076798',), 1382515262: ('0.02235622230076798',), 1382515261: ('0.02235622230076798',), 1382515220: ('0.02235622230076798',), 1382515219: ('0.02235622230076798',), 1382515218: ('0.02235622230076798',), 1382515217: ('0.02235622230076798',), 1382515216: ('0.02235622230076798',), 1382515168: ('0.02235622230076798',), 1382515167: ('0.02235622230076798',), 1382515166: ('0.02235622230076798',), 1382515165: ('0.02235622230076798',), 1382515164: ('0.02235622230076798',), 1382515163: ('0.02235622230076798',), 1382515074: ('0.02235622230076798',), 1382515073: ('0.02235622230076798',), 1382515072: ('0.02235622230076798',), 1382515071: ('0.02235622230076798',), 1382514952: ('0.02235622230076798',), 1382514951: ('0.02235622230076798',), 1382514950: ('0.02235622230076798',), 1382514949: ('0.02235622230076798',), 1382514948: ('0.02235622230076798',), 1382514803: ('0.02235622230076798',), 1382514801: ('0.02235622230076798',), 1382514799: ('0.02235622230076798',), 1382514797: ('0.02235622230076798',), 1382514795: ('0.02235622230076798',), 1382514793: ('0.02235622230076798',)} args : 1382514801 depend.output_id : 0 input_args_next_step : {1382515264: ('0.02235622230076798',), 1382515263: ('0.02235622230076798',), 1382515262: ('0.02235622230076798',), 1382515261: ('0.02235622230076798',), 1382515220: ('0.02235622230076798',), 1382515219: ('0.02235622230076798',), 1382515218: ('0.02235622230076798',), 1382515217: ('0.02235622230076798',), 1382515216: ('0.02235622230076798',), 1382515168: ('0.02235622230076798',), 1382515167: ('0.02235622230076798',), 1382515166: ('0.02235622230076798',), 1382515165: ('0.02235622230076798',), 1382515164: ('0.02235622230076798',), 1382515163: ('0.02235622230076798',), 1382515074: ('0.02235622230076798',), 1382515073: ('0.02235622230076798',), 1382515072: ('0.02235622230076798',), 1382515071: ('0.02235622230076798',), 1382514952: ('0.02235622230076798',), 1382514951: ('0.02235622230076798',), 1382514950: ('0.02235622230076798',), 1382514949: ('0.02235622230076798',), 1382514948: ('0.02235622230076798',), 1382514803: ('0.02235622230076798',), 1382514801: ('0.02235622230076798',), 1382514799: ()} output_args : {1382515264: ('0.02235622230076798',), 1382515263: ('0.02235622230076798',), 1382515262: ('0.02235622230076798',), 1382515261: ('0.02235622230076798',), 1382515220: ('0.02235622230076798',), 1382515219: ('0.02235622230076798',), 1382515218: ('0.02235622230076798',), 1382515217: ('0.02235622230076798',), 1382515216: ('0.02235622230076798',), 1382515168: ('0.02235622230076798',), 1382515167: ('0.02235622230076798',), 1382515166: ('0.02235622230076798',), 1382515165: ('0.02235622230076798',), 1382515164: ('0.02235622230076798',), 1382515163: ('0.02235622230076798',), 1382515074: ('0.02235622230076798',), 1382515073: ('0.02235622230076798',), 1382515072: ('0.02235622230076798',), 1382515071: ('0.02235622230076798',), 1382514952: ('0.02235622230076798',), 1382514951: ('0.02235622230076798',), 1382514950: ('0.02235622230076798',), 1382514949: ('0.02235622230076798',), 1382514948: ('0.02235622230076798',), 1382514803: ('0.02235622230076798',), 1382514801: ('0.02235622230076798',), 1382514799: ('0.02235622230076798',), 1382514797: ('0.02235622230076798',), 1382514795: ('0.02235622230076798',), 1382514793: ('0.02235622230076798',)} args : 1382514799 depend.output_id : 0 input_args_next_step : {1382515264: ('0.02235622230076798',), 1382515263: ('0.02235622230076798',), 1382515262: ('0.02235622230076798',), 1382515261: ('0.02235622230076798',), 1382515220: ('0.02235622230076798',), 1382515219: ('0.02235622230076798',), 1382515218: ('0.02235622230076798',), 1382515217: ('0.02235622230076798',), 1382515216: ('0.02235622230076798',), 1382515168: ('0.02235622230076798',), 1382515167: ('0.02235622230076798',), 1382515166: ('0.02235622230076798',), 1382515165: ('0.02235622230076798',), 1382515164: ('0.02235622230076798',), 1382515163: ('0.02235622230076798',), 1382515074: ('0.02235622230076798',), 1382515073: ('0.02235622230076798',), 1382515072: ('0.02235622230076798',), 1382515071: ('0.02235622230076798',), 1382514952: ('0.02235622230076798',), 1382514951: ('0.02235622230076798',), 1382514950: ('0.02235622230076798',), 1382514949: ('0.02235622230076798',), 1382514948: ('0.02235622230076798',), 1382514803: ('0.02235622230076798',), 1382514801: ('0.02235622230076798',), 1382514799: ('0.02235622230076798',), 1382514797: ()} output_args : {1382515264: ('0.02235622230076798',), 1382515263: ('0.02235622230076798',), 1382515262: ('0.02235622230076798',), 1382515261: ('0.02235622230076798',), 1382515220: ('0.02235622230076798',), 1382515219: ('0.02235622230076798',), 1382515218: ('0.02235622230076798',), 1382515217: ('0.02235622230076798',), 1382515216: ('0.02235622230076798',), 1382515168: ('0.02235622230076798',), 1382515167: ('0.02235622230076798',), 1382515166: ('0.02235622230076798',), 1382515165: ('0.02235622230076798',), 1382515164: ('0.02235622230076798',), 1382515163: ('0.02235622230076798',), 1382515074: ('0.02235622230076798',), 1382515073: ('0.02235622230076798',), 1382515072: ('0.02235622230076798',), 1382515071: ('0.02235622230076798',), 1382514952: ('0.02235622230076798',), 1382514951: ('0.02235622230076798',), 1382514950: ('0.02235622230076798',), 1382514949: ('0.02235622230076798',), 1382514948: ('0.02235622230076798',), 1382514803: ('0.02235622230076798',), 1382514801: ('0.02235622230076798',), 1382514799: ('0.02235622230076798',), 1382514797: ('0.02235622230076798',), 1382514795: ('0.02235622230076798',), 1382514793: ('0.02235622230076798',)} args : 1382514797 depend.output_id : 0 input_args_next_step : {1382515264: ('0.02235622230076798',), 1382515263: ('0.02235622230076798',), 1382515262: ('0.02235622230076798',), 1382515261: ('0.02235622230076798',), 1382515220: ('0.02235622230076798',), 1382515219: ('0.02235622230076798',), 1382515218: ('0.02235622230076798',), 1382515217: ('0.02235622230076798',), 1382515216: ('0.02235622230076798',), 1382515168: ('0.02235622230076798',), 1382515167: ('0.02235622230076798',), 1382515166: ('0.02235622230076798',), 1382515165: ('0.02235622230076798',), 1382515164: ('0.02235622230076798',), 1382515163: ('0.02235622230076798',), 1382515074: ('0.02235622230076798',), 1382515073: ('0.02235622230076798',), 1382515072: ('0.02235622230076798',), 1382515071: ('0.02235622230076798',), 1382514952: ('0.02235622230076798',), 1382514951: ('0.02235622230076798',), 1382514950: ('0.02235622230076798',), 1382514949: ('0.02235622230076798',), 1382514948: ('0.02235622230076798',), 1382514803: ('0.02235622230076798',), 1382514801: ('0.02235622230076798',), 1382514799: ('0.02235622230076798',), 1382514797: ('0.02235622230076798',), 1382514795: ()} output_args : {1382515264: ('0.02235622230076798',), 1382515263: ('0.02235622230076798',), 1382515262: ('0.02235622230076798',), 1382515261: ('0.02235622230076798',), 1382515220: ('0.02235622230076798',), 1382515219: ('0.02235622230076798',), 1382515218: ('0.02235622230076798',), 1382515217: ('0.02235622230076798',), 1382515216: ('0.02235622230076798',), 1382515168: ('0.02235622230076798',), 1382515167: ('0.02235622230076798',), 1382515166: ('0.02235622230076798',), 1382515165: ('0.02235622230076798',), 1382515164: ('0.02235622230076798',), 1382515163: ('0.02235622230076798',), 1382515074: ('0.02235622230076798',), 1382515073: ('0.02235622230076798',), 1382515072: ('0.02235622230076798',), 1382515071: ('0.02235622230076798',), 1382514952: ('0.02235622230076798',), 1382514951: ('0.02235622230076798',), 1382514950: ('0.02235622230076798',), 1382514949: ('0.02235622230076798',), 1382514948: ('0.02235622230076798',), 1382514803: ('0.02235622230076798',), 1382514801: ('0.02235622230076798',), 1382514799: ('0.02235622230076798',), 1382514797: ('0.02235622230076798',), 1382514795: ('0.02235622230076798',), 1382514793: ('0.02235622230076798',)} args : 1382514795 depend.output_id : 0 input_args_next_step : {1382515264: ('0.02235622230076798',), 1382515263: ('0.02235622230076798',), 1382515262: ('0.02235622230076798',), 1382515261: ('0.02235622230076798',), 1382515220: ('0.02235622230076798',), 1382515219: ('0.02235622230076798',), 1382515218: ('0.02235622230076798',), 1382515217: ('0.02235622230076798',), 1382515216: ('0.02235622230076798',), 1382515168: ('0.02235622230076798',), 1382515167: ('0.02235622230076798',), 1382515166: ('0.02235622230076798',), 1382515165: ('0.02235622230076798',), 1382515164: ('0.02235622230076798',), 1382515163: ('0.02235622230076798',), 1382515074: ('0.02235622230076798',), 1382515073: ('0.02235622230076798',), 1382515072: ('0.02235622230076798',), 1382515071: ('0.02235622230076798',), 1382514952: ('0.02235622230076798',), 1382514951: ('0.02235622230076798',), 1382514950: ('0.02235622230076798',), 1382514949: ('0.02235622230076798',), 1382514948: ('0.02235622230076798',), 1382514803: ('0.02235622230076798',), 1382514801: ('0.02235622230076798',), 1382514799: ('0.02235622230076798',), 1382514797: ('0.02235622230076798',), 1382514795: ('0.02235622230076798',), 1382514793: ()} output_args : {1382515264: ('0.02235622230076798',), 1382515263: ('0.02235622230076798',), 1382515262: ('0.02235622230076798',), 1382515261: ('0.02235622230076798',), 1382515220: ('0.02235622230076798',), 1382515219: ('0.02235622230076798',), 1382515218: ('0.02235622230076798',), 1382515217: ('0.02235622230076798',), 1382515216: ('0.02235622230076798',), 1382515168: ('0.02235622230076798',), 1382515167: ('0.02235622230076798',), 1382515166: ('0.02235622230076798',), 1382515165: ('0.02235622230076798',), 1382515164: ('0.02235622230076798',), 1382515163: ('0.02235622230076798',), 1382515074: ('0.02235622230076798',), 1382515073: ('0.02235622230076798',), 1382515072: ('0.02235622230076798',), 1382515071: ('0.02235622230076798',), 1382514952: ('0.02235622230076798',), 1382514951: ('0.02235622230076798',), 1382514950: ('0.02235622230076798',), 1382514949: ('0.02235622230076798',), 1382514948: ('0.02235622230076798',), 1382514803: ('0.02235622230076798',), 1382514801: ('0.02235622230076798',), 1382514799: ('0.02235622230076798',), 1382514797: ('0.02235622230076798',), 1382514795: ('0.02235622230076798',), 1382514793: ('0.02235622230076798',)} args : 1382514793 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 : {26636452: [{'cartonnette': 26636470, 'kraft': 26636471, 'flou': 26636472, 'papier': 26636473, 'plastique': 26636474, 'Teint_Dans_La_Masse': 26636475, 'autre_refus': 26636476, 'metal': 26636477, 'Carton_gris': 26636478, 'mal_croppe': 26636479, 'environnement': 26636480, 'Carton_brun': 26636481}]} input_args_next_step : {1382515264: ('0.02235622230076798',), 1382515263: ('0.02235622230076798',), 1382515262: ('0.02235622230076798',), 1382515261: ('0.02235622230076798',), 1382515220: ('0.02235622230076798',), 1382515219: ('0.02235622230076798',), 1382515218: ('0.02235622230076798',), 1382515217: ('0.02235622230076798',), 1382515216: ('0.02235622230076798',), 1382515168: ('0.02235622230076798',), 1382515167: ('0.02235622230076798',), 1382515166: ('0.02235622230076798',), 1382515165: ('0.02235622230076798',), 1382515164: ('0.02235622230076798',), 1382515163: ('0.02235622230076798',), 1382515074: ('0.02235622230076798',), 1382515073: ('0.02235622230076798',), 1382515072: ('0.02235622230076798',), 1382515071: ('0.02235622230076798',), 1382514952: ('0.02235622230076798',), 1382514951: ('0.02235622230076798',), 1382514950: ('0.02235622230076798',), 1382514949: ('0.02235622230076798',), 1382514948: ('0.02235622230076798',), 1382514803: ('0.02235622230076798',), 1382514801: ('0.02235622230076798',), 1382514799: ('0.02235622230076798',), 1382514797: ('0.02235622230076798',), 1382514795: ('0.02235622230076798',), 1382514793: ('0.02235622230076798',), 26636452: ()} output_args : {26636452: [{'cartonnette': 26636470, 'kraft': 26636471, 'flou': 26636472, 'papier': 26636473, 'plastique': 26636474, 'Teint_Dans_La_Masse': 26636475, 'autre_refus': 26636476, 'metal': 26636477, 'Carton_gris': 26636478, 'mal_croppe': 26636479, 'environnement': 26636480, 'Carton_brun': 26636481}]} args : 26636452 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 :31, first value : ('0.02235622230076798',) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (26636452) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {} map_subphoto_mainphoto : {} dans la step send mail cod work_area: /home/admin/workarea/git/Velours/python in order to get the selector url, please entre the license of selector SELECT photo_id, url FROM MTRBack.photos ph WHERE photo_id IN (1382515264,1382515263,1382515262,1382515261,1382515220,1382515219,1382515218,1382515217,1382515216,1382515168,1382515167,1382515166,1382515165,1382515164,1382515163,1382515074,1382515073,1382515072,1382515071,1382514952,1382514951,1382514950,1382514949,1382514948,1382514803,1382514801,1382514799,1382514797,1382514795,1382514793) Found this number of photos: 30 ##### Call download_photos : nb_thread : 5 begin to download photo : 1382514793 begin to download photo : 1382514949 begin to download photo : 1382515074 begin to download photo : 1382515216 begin to download photo : 1382515263 download finish for photo 1382515263 begin to download photo : 1382515264 download finish for photo 1382514793 begin to download photo : 1382514795 download finish for photo 1382515074 begin to download photo : 1382515163 download finish for photo 1382515216 begin to download photo : 1382515217 download finish for photo 1382514949 begin to download photo : 1382514950 download finish for photo 1382515264 download finish for photo 1382515163 begin to download photo : 1382515164 download finish for photo 1382514795 begin to download photo : 1382514797 download finish for photo 1382515217 begin to download photo : 1382515218 download finish for photo 1382514950 begin to download photo : 1382514951 download finish for photo 1382514797 begin to download photo : 1382514799 download finish for photo 1382515164 begin to download photo : 1382515165 download finish for photo 1382515218 begin to download photo : 1382515219 download finish for photo 1382514951 begin to download photo : 1382514952 download finish for photo 1382515165 begin to download photo : 1382515166 download finish for photo 1382514799 begin to download photo : 1382514801 download finish for photo 1382515219 begin to download photo : 1382515220 download finish for photo 1382514952 begin to download photo : 1382515071 download finish for photo 1382515166 begin to download photo : 1382515167 download finish for photo 1382515220 begin to download photo : 1382515261 download finish for photo 1382514801 begin to download photo : 1382514803 download finish for photo 1382515071 begin to download photo : 1382515072 download finish for photo 1382515167 begin to download photo : 1382515168 download finish for photo 1382514803 begin to download photo : 1382514948 download finish for photo 1382515261 begin to download photo : 1382515262 download finish for photo 1382515072 begin to download photo : 1382515073 download finish for photo 1382515168 download finish for photo 1382515262 download finish for photo 1382515073 download finish for photo 1382514948 we have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB ##### After download_photos imagette266364701757325179/ imagette266364711757325179/ imagette266364721757325179/ imagette266364741757325179/ imagette266364761757325179/ imagette266364771757325179/ imagette266364791757325179/ length of list_filenames : 30 ; length of list_pids : 30 ; length of list_args : 30 results_Auto_P26636452_08-09-2025_11_52_59.pdf 26636470 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=26636470 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette266364701757325179 26636471 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=26636471 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette266364711757325179 26636472 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=26636472 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette266364721757325179 26636474 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=26636474 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette266364741757325179 26636476 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=26636476 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette266364761757325179 26636477 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=26636477 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette266364771757325179 26636479 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=26636479 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette266364791757325179 26636475 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=26636475 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1382515058: '1757324907_1782778_1382514757_165ae82b434f04aaef7c1b8c249138bc_12693402_rle_crop_3950740419_0.png', 1382515059: '1757324907_1782778_1382514756_19440f0b23cdc08542ca62d0ab00c532_62809800_rle_crop_3950740427_0.png', 1382515060: '1757324907_1782778_1382514756_19440f0b23cdc08542ca62d0ab00c532_62809800_rle_crop_3950740432_0.png', 1382515061: '1757324907_1782778_1382514756_19440f0b23cdc08542ca62d0ab00c532_62809800_rle_crop_3950740434_0.png', 1382515062: '1757324907_1782778_1382514756_19440f0b23cdc08542ca62d0ab00c532_62809800_rle_crop_3950740428_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/8/c250f4965fce0a966ae52fa3d0878ce7_67248561.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/8/40d75a86c9dd8d15a88776ac766420f6_55165223.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/8/25a3f3ba87e5023591512da2ecd05d02_40880793.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/8/f2e86a2d13a016a0e3eb08356865d2c6_18520233.png change filename to text .imagette266364751757325179/ imagette266364751757325179/1757324907_1782778_1382514756_19440f0b23cdc08542ca62d0ab00c532_62809800_rle_crop_3950740428_0.png.png imagette266364751757325179/1757324907_1782778_1382514756_19440f0b23cdc08542ca62d0ab00c532_62809800_rle_crop_3950740434_0.png.png imagette266364751757325179/1757324907_1782778_1382514756_19440f0b23cdc08542ca62d0ab00c532_62809800_rle_crop_3950740432_0.png.png imagette266364751757325179/1757324907_1782778_1382514757_165ae82b434f04aaef7c1b8c249138bc_12693402_rle_crop_3950740419_0.png.png imagette266364751757325179/1757324907_1782778_1382514756_19440f0b23cdc08542ca62d0ab00c532_62809800_rle_crop_3950740427_0.png.png wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/8/8e02d50818ab1d9939e5f9a1f270cff4_87825358.png imagette266364751757325179 26636478 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=26636478 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1382515063: '1757324907_1782778_1382514751_ac3a093c907ab88bb24b60464cfd8dca_70635838_rle_crop_3950740444_0.png'} change filename to text .imagette266364781757325179/ imagette266364781757325179/1757324907_1782778_1382514751_ac3a093c907ab88bb24b60464cfd8dca_70635838_rle_crop_3950740444_0.png.png imagette266364811757325179/ wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/8/18de445c937dfde065cf1aad4b740a7d_15756149.png imagette266364781757325179 26636481 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=26636481 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette266364811757325179 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=26636452 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://marlene.fotonower.com/velours/26636484,26636485,26636486,26636487,26636488,26636489,26636490,26636491,26636492,26636493,26636494,26636495?tags=cartonnette,kraft,flou,papier,plastique,Teint_Dans_La_Masse,autre_refus,metal,Carton_gris,mal_croppe,environnement,Carton_brun your option no_mail is active, we will not send the real mail to your client args[1382515264] : ('0.02235622230076798',) no score found for photo 1382515264 We are sending mail with results at report@fotonower.com args[1382515263] : ('0.02235622230076798',) no score found for photo 1382515263 We are sending mail with results at report@fotonower.com args[1382515262] : ('0.02235622230076798',) no score found for photo 1382515262 We are sending mail with results at report@fotonower.com args[1382515261] : ('0.02235622230076798',) no score found for photo 1382515261 We are sending mail with results at report@fotonower.com args[1382515220] : ('0.02235622230076798',) no score found for photo 1382515220 We are sending mail with results at report@fotonower.com args[1382515219] : ('0.02235622230076798',) no score found for photo 1382515219 We are sending mail with results at report@fotonower.com args[1382515218] : ('0.02235622230076798',) no score found for photo 1382515218 We are sending mail with results at report@fotonower.com args[1382515217] : ('0.02235622230076798',) no score found for photo 1382515217 We are sending mail with results at report@fotonower.com args[1382515216] : ('0.02235622230076798',) no score found for photo 1382515216 We are sending mail with results at report@fotonower.com args[1382515168] : ('0.02235622230076798',) no score found for photo 1382515168 We are sending mail with results at report@fotonower.com args[1382515167] : ('0.02235622230076798',) no score found for photo 1382515167 We are sending mail with results at report@fotonower.com args[1382515166] : ('0.02235622230076798',) no score found for photo 1382515166 We are sending mail with results at report@fotonower.com args[1382515165] : ('0.02235622230076798',) no score found for photo 1382515165 We are sending mail with results at report@fotonower.com args[1382515164] : ('0.02235622230076798',) no score found for photo 1382515164 We are sending mail with results at report@fotonower.com args[1382515163] : ('0.02235622230076798',) no score found for photo 1382515163 We are sending mail with results at report@fotonower.com args[1382515074] : ('0.02235622230076798',) no score found for photo 1382515074 We are sending mail with results at report@fotonower.com args[1382515073] : ('0.02235622230076798',) no score found for photo 1382515073 We are sending mail with results at report@fotonower.com args[1382515072] : ('0.02235622230076798',) no score found for photo 1382515072 We are sending mail with results at report@fotonower.com args[1382515071] : ('0.02235622230076798',) no score found for photo 1382515071 We are sending mail with results at report@fotonower.com args[1382514952] : ('0.02235622230076798',) no score found for photo 1382514952 We are sending mail with results at report@fotonower.com args[1382514951] : ('0.02235622230076798',) no score found for photo 1382514951 We are sending mail with results at report@fotonower.com args[1382514950] : ('0.02235622230076798',) no score found for photo 1382514950 We are sending mail with results at report@fotonower.com args[1382514949] : ('0.02235622230076798',) no score found for photo 1382514949 We are sending mail with results at report@fotonower.com args[1382514948] : ('0.02235622230076798',) no score found for photo 1382514948 We are sending mail with results at report@fotonower.com args[1382514803] : ('0.02235622230076798',) no score found for photo 1382514803 We are sending mail with results at report@fotonower.com args[1382514801] : ('0.02235622230076798',) no score found for photo 1382514801 We are sending mail with results at report@fotonower.com args[1382514799] : ('0.02235622230076798',) no score found for photo 1382514799 We are sending mail with results at report@fotonower.com args[1382514797] : ('0.02235622230076798',) no score found for photo 1382514797 We are sending mail with results at report@fotonower.com args[1382514795] : ('0.02235622230076798',) no score found for photo 1382514795 We are sending mail with results at report@fotonower.com args[1382514793] : ('0.02235622230076798',) no score found for photo 1382514793 We are sending mail with results at report@fotonower.com refus_total : 0.02235622230076798 2022-04-13 10:29:59 0 SELECT ph.photo_id,ph.url,ph.username,ph.uploaded_at,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=26636452 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_P26636452_08-09-2025_11_52_59.pdf results_Auto_P26636452_08-09-2025_11_52_59.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26636452_08-09-2025_11_52_59.pdf start insert file to database insert into MTRUser.mtr_files (mtd_id,mtr_portfolio_id,text,url,format,tags,file_size,value) values ('4302','26636452','results_Auto_P26636452_08-09-2025_11_52_59.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26636452_08-09-2025_11_52_59.pdf','pdf','','0.23','0.02235622230076798') After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([26636452]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1382515264, 1382515263, 1382515262, 1382515261, 1382515220, 1382515219, 1382515218, 1382515217, 1382515216, 1382515168, 1382515167, 1382515166, 1382515165, 1382515164, 1382515163, 1382515074, 1382515073, 1382515072, 1382515071, 1382514952, 1382514951, 1382514950, 1382514949, 1382514948, 1382514803, 1382514801, 1382514799, 1382514797, 1382514795, 1382514793] map_info['map_portfolio_photo'] : {26636452: [1382515264, 1382515263, 1382515262, 1382515261, 1382515220, 1382515219, 1382515218, 1382515217, 1382515216, 1382515168, 1382515167, 1382515166, 1382515165, 1382515164, 1382515163, 1382515074, 1382515073, 1382515072, 1382515071, 1382514952, 1382514951, 1382514950, 1382514949, 1382514948, 1382514803, 1382514801, 1382514799, 1382514797, 1382514795, 1382514793, 1382514757, 1382514756, 1382514755, 1382514751]} final : False mtd_id 4302 list_pids : [1382515264, 1382515263, 1382515262, 1382515261, 1382515220, 1382515219, 1382515218, 1382515217, 1382515216, 1382515168, 1382515167, 1382515166, 1382515165, 1382515164, 1382515163, 1382515074, 1382515073, 1382515072, 1382515071, 1382514952, 1382514951, 1382514950, 1382514949, 1382514948, 1382514803, 1382514801, 1382514799, 1382514797, 1382514795, 1382514793] 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, '3677892') ('4302', '26636452', '1382515264', None, None, None, None, None, '3677892') ('4302', None, None, None, None, None, None, None, '3677892') ('4302', '26636452', '1382515263', None, None, None, None, None, '3677892') ('4302', None, None, None, None, None, None, None, '3677892') ('4302', '26636452', '1382515262', None, None, None, None, None, '3677892') ('4302', None, None, None, None, None, None, None, '3677892') ('4302', '26636452', '1382515261', None, None, None, None, None, '3677892') ('4302', None, None, None, None, None, None, None, '3677892') ('4302', '26636452', '1382515220', None, None, None, None, None, '3677892') ('4302', None, None, None, None, None, None, None, '3677892') ('4302', '26636452', '1382515219', None, None, None, None, None, '3677892') ('4302', None, None, None, None, None, None, None, '3677892') ('4302', '26636452', '1382515218', None, None, None, None, None, '3677892') ('4302', None, None, None, None, None, None, None, '3677892') ('4302', '26636452', '1382515217', None, None, None, None, None, '3677892') ('4302', None, None, None, None, None, None, None, '3677892') ('4302', '26636452', '1382515216', None, None, None, None, None, '3677892') ('4302', None, None, None, None, None, None, None, '3677892') ('4302', '26636452', '1382515168', None, None, None, None, None, '3677892') ('4302', None, None, None, None, None, None, None, '3677892') ('4302', '26636452', '1382515167', None, None, None, None, None, '3677892') ('4302', None, None, None, None, None, None, None, '3677892') ('4302', '26636452', '1382515166', None, None, None, None, None, '3677892') ('4302', None, None, None, None, None, None, None, '3677892') ('4302', '26636452', '1382515165', None, None, None, None, None, '3677892') ('4302', None, None, None, None, None, None, None, '3677892') ('4302', '26636452', '1382515164', None, None, None, None, None, '3677892') ('4302', None, None, None, None, None, None, None, '3677892') ('4302', '26636452', '1382515163', None, None, None, None, None, '3677892') ('4302', None, None, None, None, None, None, None, '3677892') ('4302', '26636452', '1382515074', None, None, None, None, None, '3677892') ('4302', None, None, None, None, None, None, None, '3677892') ('4302', '26636452', '1382515073', None, None, None, None, None, '3677892') ('4302', None, None, None, None, None, None, None, '3677892') ('4302', '26636452', '1382515072', None, None, None, None, None, '3677892') ('4302', None, None, None, None, None, None, None, '3677892') ('4302', '26636452', '1382515071', None, None, None, None, None, '3677892') ('4302', None, None, None, None, None, None, None, '3677892') ('4302', '26636452', '1382514952', None, None, None, None, None, '3677892') ('4302', None, None, None, None, None, None, None, '3677892') ('4302', '26636452', '1382514951', None, None, None, None, None, '3677892') ('4302', None, None, None, None, None, None, None, '3677892') ('4302', '26636452', '1382514950', None, None, None, None, None, '3677892') ('4302', None, None, None, None, None, None, None, '3677892') ('4302', '26636452', '1382514949', None, None, None, None, None, '3677892') ('4302', None, None, None, None, None, None, None, '3677892') ('4302', '26636452', '1382514948', None, None, None, None, None, '3677892') ('4302', None, None, None, None, None, None, None, '3677892') ('4302', '26636452', '1382514803', None, None, None, None, None, '3677892') ('4302', None, None, None, None, None, None, None, '3677892') ('4302', '26636452', '1382514801', None, None, None, None, None, '3677892') ('4302', None, None, None, None, None, None, None, '3677892') ('4302', '26636452', '1382514799', None, None, None, None, None, '3677892') ('4302', None, None, None, None, None, None, None, '3677892') ('4302', '26636452', '1382514797', None, None, None, None, None, '3677892') ('4302', None, None, None, None, None, None, None, '3677892') ('4302', '26636452', '1382514795', None, None, None, None, None, '3677892') ('4302', None, None, None, None, None, None, None, '3677892') ('4302', '26636452', '1382514793', None, None, None, None, None, '3677892') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 30 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', '26636452', '1382515264', None, None, None, None, None, '3677892'), ('4302', '26636452', '1382515263', None, None, None, None, None, '3677892'), ('4302', '26636452', '1382515262', None, None, None, None, None, '3677892'), ('4302', '26636452', '1382515261', None, None, None, None, None, '3677892'), ('4302', '26636452', '1382515220', None, None, None, None, None, '3677892'), ('4302', '26636452', '1382515219', None, None, None, None, None, '3677892'), ('4302', '26636452', '1382515218', None, None, None, None, None, '3677892'), ('4302', '26636452', '1382515217', None, None, None, None, None, '3677892'), ('4302', '26636452', '1382515216', None, None, None, None, None, '3677892'), ('4302', '26636452', '1382515168', None, None, None, None, None, '3677892'), ('4302', '26636452', '1382515167', None, None, None, None, None, '3677892'), ('4302', '26636452', '1382515166', None, None, None, None, None, '3677892'), ('4302', '26636452', '1382515165', None, None, None, None, None, '3677892'), ('4302', '26636452', '1382515164', None, None, None, None, None, '3677892'), ('4302', '26636452', '1382515163', None, None, None, None, None, '3677892'), ('4302', '26636452', '1382515074', None, None, None, None, None, '3677892'), ('4302', '26636452', '1382515073', None, None, None, None, None, '3677892'), ('4302', '26636452', '1382515072', None, None, None, None, None, '3677892'), ('4302', '26636452', '1382515071', None, None, None, None, None, '3677892'), ('4302', '26636452', '1382514952', None, None, None, None, None, '3677892'), ('4302', '26636452', '1382514951', None, None, None, None, None, '3677892'), ('4302', '26636452', '1382514950', None, None, None, None, None, '3677892'), ('4302', '26636452', '1382514949', None, None, None, None, None, '3677892'), ('4302', '26636452', '1382514948', None, None, None, None, None, '3677892'), ('4302', '26636452', '1382514803', None, None, None, None, None, '3677892'), ('4302', '26636452', '1382514801', None, None, None, None, None, '3677892'), ('4302', '26636452', '1382514799', None, None, None, None, None, '3677892'), ('4302', '26636452', '1382514797', None, None, None, None, None, '3677892'), ('4302', '26636452', '1382514795', None, None, None, None, None, '3677892'), ('4302', '26636452', '1382514793', None, None, None, None, None, '3677892')] time used for this insertion : 0.016830921173095703 save_final save missing photos in datou_result : time spend for datou_step_exec : 3.0344951152801514 time spend to save output : 0.017396926879882812 total time spend for step 4 : 3.051892042160034 step5:split_time_score Mon Sep 8 11:53:01 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 : ['26636452'] 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 : [('26636452',)] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (26636452) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {1382515263: {'path': 'temp/1757325178_1862918_1382515263_f0052039591b09f9b280a29635ad38ce_38862467.jpg', 'extension': 'jpg'}, 1382515264: {'path': 'temp/1757325178_1862918_1382515264_8e4066fe3d333a128906439e922d2d6e_26559014.jpg', 'extension': 'jpg'}, 1382515074: {'path': 'temp/1757325178_1862918_1382515074_0c2b574d675be10a2c74e9e2a5b3327a_17910589.jpg', 'extension': 'jpg'}, 1382515163: {'path': 'temp/1757325178_1862918_1382515163_3bd736db5bd4c9ddb192d96bf72a6ad3_48971526.jpg', 'extension': 'jpg'}, 1382515164: {'path': 'temp/1757325178_1862918_1382515164_eb9c321d3af7230084c4773134c2d051_8631760.jpg', 'extension': 'jpg'}, 1382515165: {'path': 'temp/1757325178_1862918_1382515165_a70424f50a7069a6b126cd3e8e51da1e_57554002.jpg', 'extension': 'jpg'}, 1382515166: {'path': 'temp/1757325178_1862918_1382515166_25efb1e7a85b399819697487434215ad_79982956.jpg', 'extension': 'jpg'}, 1382515167: {'path': 'temp/1757325178_1862918_1382515167_fb1f26eae3109b4e791384272e56e224_16072857.jpg', 'extension': 'jpg'}, 1382515168: {'path': 'temp/1757325178_1862918_1382515168_6ac5a37266b28dac84eb9354333befed_23369449.jpg', 'extension': 'jpg'}, 1382515216: {'path': 'temp/1757325178_1862918_1382515216_d268fad10afe325f6b7053c809b1cdd9_69128657.jpg', 'extension': 'jpg'}, 1382515217: {'path': 'temp/1757325178_1862918_1382515217_6a25a01721bf0ab10caf901d44e9daac_98216042.jpg', 'extension': 'jpg'}, 1382515218: {'path': 'temp/1757325178_1862918_1382515218_e84ada9b363f58ed6891462f175af4e3_60524708.jpg', 'extension': 'jpg'}, 1382515219: {'path': 'temp/1757325178_1862918_1382515219_b3d7619237aa94de998fdd5695600e86_2602638.jpg', 'extension': 'jpg'}, 1382515220: {'path': 'temp/1757325178_1862918_1382515220_c87f94b99ef7fb4d748bb99383c0f377_80140514.jpg', 'extension': 'jpg'}, 1382515261: {'path': 'temp/1757325178_1862918_1382515261_bc7104a31ea6a28c7d2f02142082c8e5_29779549.jpg', 'extension': 'jpg'}, 1382515262: {'path': 'temp/1757325178_1862918_1382515262_c38177fd68ce6d6dfcd7842d9348a1fa_19263038.jpg', 'extension': 'jpg'}, 1382514949: {'path': 'temp/1757325178_1862918_1382514949_013c8ad6b26eacedcbb67556f105cca8_89832718.jpg', 'extension': 'jpg'}, 1382514950: {'path': 'temp/1757325178_1862918_1382514950_0d1bb8075ba8365762f8cea764139e3c_33932580.jpg', 'extension': 'jpg'}, 1382514951: {'path': 'temp/1757325178_1862918_1382514951_d4f8b00d7f54ca0d1af77241ec060ad0_67395927.jpg', 'extension': 'jpg'}, 1382514952: {'path': 'temp/1757325178_1862918_1382514952_05e3d64484bf0eac55d03ab60f01664c_81609233.jpg', 'extension': 'jpg'}, 1382515071: {'path': 'temp/1757325178_1862918_1382515071_65878c2cdb4de1f3c34cb46b563dc010_60193922.jpg', 'extension': 'jpg'}, 1382515072: {'path': 'temp/1757325178_1862918_1382515072_a2ec1f1f599d4ed968ff6bff2a3a056d_75052847.jpg', 'extension': 'jpg'}, 1382515073: {'path': 'temp/1757325178_1862918_1382515073_6833ed922fdc100e0b10475173ab745b_37380275.jpg', 'extension': 'jpg'}, 1382514793: {'path': 'temp/1757325178_1862918_1382514793_6bc9e123fe4ae69480491b77d589ec72_74932293.jpg', 'extension': 'jpg'}, 1382514795: {'path': 'temp/1757325178_1862918_1382514795_1c381bfee7f88416e53c728dc4e03bc3_1448857.jpg', 'extension': 'jpg'}, 1382514797: {'path': 'temp/1757325178_1862918_1382514797_b95ca541ac125504f3f1da85600777e0_45482691.jpg', 'extension': 'jpg'}, 1382514799: {'path': 'temp/1757325178_1862918_1382514799_10975e1956b0131347eea571471ee865_81621207.jpg', 'extension': 'jpg'}, 1382514801: {'path': 'temp/1757325178_1862918_1382514801_58e9e8bae1ecdf9289ff600b6e9c9a45_65463362.jpg', 'extension': 'jpg'}, 1382514803: {'path': 'temp/1757325178_1862918_1382514803_fcb5d5ff21a5c05be8ae2d7a0b8678fe_49449442.jpg', 'extension': 'jpg'}, 1382514948: {'path': 'temp/1757325178_1862918_1382514948_ddc2aaa36c4af2f40b5f086bbe0d0197_23787466.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 = 26636452; (('arc_en_ciel_jrm_live',), ('arc_en_ciel_jrm',)) TODO : Insert select and so on Begin split_port_in_batch_balle thcls : [{'id': 861, 'mtr_user_id': 31, 'name': 'Rungis_class_dechets_1212', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'Rungis_Aluminium,Rungis_Carton,Rungis_Papier,Rungis_Plastique_clair,Rungis_Plastique_dur,Rungis_Plastique_fonce,Rungis_Tapis_vide,Rungis_Tetrapak', 'svm_portfolios_learning': '1160730,571842,571844,571839,571933,571840,571841,572307', 'photo_hashtag_type': 999, 'photo_desc_type': 3963, 'type_classification': 'caffe', 'hashtag_id_list': '2107751280,2107750907,2107750908,2107750909,2107750910,2107750911,2107750912,2107750913'}] thcls : [{'id': 758, 'mtr_user_id': 31, 'name': 'Rungis_amount_dechets_fall_2018_v2', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': '05102018_Papier_non_papier_dense,05102018_Papier_non_papier_peu_dense,05102018_Papier_non_papier_presque_vide,05102018_Papier_non_papier_tres_dense,05102018_Papier_non_papier_tres_peu_dense', 'svm_portfolios_learning': '1108385,1108386,1108388,1108384,1108387', 'photo_hashtag_type': 856, 'photo_desc_type': 3853, 'type_classification': 'caffe', 'hashtag_id_list': '2107751013,2107751014,2107751015,2107751016,2107751017'}] select SUBSTRING(ph.text,16,2) as h, count(*) from MTRUser.mtr_portfolio_photos mpp inner join MTRBack.photos ph on mpp.mtr_photo_id = ph.photo_id where mpp.mtr_portfolio_id = 26636452 group by h (('11', 34),) SELECT ph.photo_id,ph.url,ph.username,ph.uploaded_at,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=26636452 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 (26636452) 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 (26636452) AND cps.thcl in (758) order by cps.score desc LIMIT 0, 100000 ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 08092025 26636452 Nombre de photos uploadées : 34 / 23040 (0%) 08092025 26636452 Nombre de photos taguées (types de déchets): 0 / 34 (0%) 08092025 26636452 Nombre de photos taguées (volume) : 0 / 34 (0%) [{'photo_id': 1382514757, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/8/165ae82b434f04aaef7c1b8c249138bc_12693402.jpg', 'username': None, 'uploaded_at': 1757324777, 'text': 'image_08092025_11_45_03_009128m0.jpg 1e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1382514756, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/8/19440f0b23cdc08542ca62d0ab00c532_62809800.jpg', 'username': None, 'uploaded_at': 1757324777, 'text': 'image_08092025_11_45_13_010142m0.jpg 2e-05 for time 1, id_amount 3 this amount prod time diff : 1e-05'}, {'photo_id': 1382514755, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/8/e7848ed2aaaf11ed2a8d25080a6c57d6_63849975.jpg', 'username': None, 'uploaded_at': 1757324777, 'text': 'image_08092025_11_45_23_010152m0.jpg 3.0000000000000004e-05 for time 1, id_amount 0 this amount prod time diff : 1e-05'}, {'photo_id': 1382514803, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/8/fcb5d5ff21a5c05be8ae2d7a0b8678fe_49449442.jpg', 'username': None, 'uploaded_at': 1757324833, 'text': 'image_08092025_11_45_43_10143.jpg'}] 0 [] elapsed_time : load_data_split_time_score 1.9073486328125e-06 elapsed_time : order_list_meta_photo_and_scores 4.291534423828125e-06 ?????????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.0012290477752685547 INSERT INTO `MTRPhoto`.`dashboard_entry_day` (`dashboard_place_id`, `mtr_portfolio_id`, `date`) VALUES ( 10, 26636452, '2025-09-08' ) ON DUPLICATE KEY UPDATE updated_at=NOW(); Catched exception ! Connect or reconnect ! SELECT id FROM MTRPhoto.dashboard_entry_day where dashboard_place_id = 10 and date = '2025-09-08' ; INSERT INTO `MTRPhoto`.`dashboard_run_ids` (`dashboard_entry_day`, `mtr_user_id`, `misc_info`) VALUES (2247147,979,"{}"); Catched exception ! Connect or reconnect ! elapsed_time : insert_dashboard_record_day_entry 0.2217557430267334 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= 2247147 AND ded.last_run_id=dri.id AND dri.dashboard_entry_day=ded.id AND dri.id=dr.dashboard_run_id [{'dashboat_entry_day': 2247147, 'dashboard_run_id': 2256473, 'mtr_portfolio_id': 26626191, 'dashboard_result_id': 14873565, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26626191_08-09-2025_07_08_58.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 26626192, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26626193, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26626194, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26626195, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26626196, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26626197, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26626198, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26626199, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26626200, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26626201, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26626202, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26626203, 'pht': 3726}}"}, {'dashboat_entry_day': 2247147, 'dashboard_run_id': 2256473, 'mtr_portfolio_id': 26626437, 'dashboard_result_id': 14873566, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26626437_08-09-2025_08_00_40.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26626499, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26626500, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26626501, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26626503, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26626504, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26626505, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26626507, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26626508, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26626509, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26626511, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26626512, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26626513, 'pht': 3726}}"}, {'dashboat_entry_day': 2247147, 'dashboard_run_id': 2256473, 'mtr_portfolio_id': 26628100, 'dashboard_result_id': 14873567, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26628100_08-09-2025_08_01_05.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26628189, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26628190, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26628191, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26628192, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26628193, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26628194, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26628195, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26628196, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26628197, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26628198, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26628199, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26628200, 'pht': 3726}}"}, {'dashboat_entry_day': 2247147, 'dashboard_run_id': 2256473, 'mtr_portfolio_id': 26628102, 'dashboard_result_id': 14873568, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26628102_08-09-2025_08_00_37.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26628158, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26628159, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26628160, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26628161, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26628162, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26628163, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26628164, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26628165, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26628166, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26628167, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26628168, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26628169, 'pht': 3726}}"}, {'dashboat_entry_day': 2247147, 'dashboard_run_id': 2256473, 'mtr_portfolio_id': 26628116, 'dashboard_result_id': 14873569, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26628116_08-09-2025_08_16_58.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 26628132, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26628133, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26628134, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26628135, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26628136, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26628137, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26628138, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26628139, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26628140, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26628141, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26628142, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26628143, 'pht': 3726}}"}, {'dashboat_entry_day': 2247147, 'dashboard_run_id': 2256473, 'mtr_portfolio_id': 26629001, 'dashboard_result_id': 14873570, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26629001_08-09-2025_09_00_29.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26629009, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26629010, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26629011, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26629012, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26629013, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26629014, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26629015, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26629016, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26629017, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26629018, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26629019, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26629020, 'pht': 3726}}"}, {'dashboat_entry_day': 2247147, 'dashboard_run_id': 2256473, 'mtr_portfolio_id': 26630241, 'dashboard_result_id': 14873571, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26630241_08-09-2025_09_00_59.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26630309, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26630310, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26630311, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26630312, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26630313, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26630314, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26630315, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26630316, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26630317, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26630318, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26630319, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26630320, 'pht': 3726}}"}, {'dashboat_entry_day': 2247147, 'dashboard_run_id': 2256473, 'mtr_portfolio_id': 26630243, 'dashboard_result_id': 14873572, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26630243_08-09-2025_09_35_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26630272, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26630273, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26630274, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26630275, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26630276, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26630277, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26630278, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26630279, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26630280, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26630281, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26630282, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26630283, 'pht': 3726}}"}, {'dashboat_entry_day': 2247147, 'dashboard_run_id': 2256473, 'mtr_portfolio_id': 26631124, 'dashboard_result_id': 14873573, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26631124_08-09-2025_09_46_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26631166, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26631167, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26631168, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26631169, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26631170, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26631171, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26631172, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26631173, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26631174, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26631175, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26631176, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26631177, 'pht': 3726}}"}, {'dashboat_entry_day': 2247147, 'dashboard_run_id': 2256473, 'mtr_portfolio_id': 26631533, 'dashboard_result_id': 14873574, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26631533_08-09-2025_10_02_59.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26631538, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26631539, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26631540, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26631541, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26631542, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26631543, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26631544, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26631545, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26631546, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26631547, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26631548, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26631549, 'pht': 3726}}"}, {'dashboat_entry_day': 2247147, 'dashboard_run_id': 2256473, 'mtr_portfolio_id': 26631982, 'dashboard_result_id': 14873575, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26631982_08-09-2025_10_16_58.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26632036, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26632037, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26632038, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26632039, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26632040, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26632041, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26632042, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26632043, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26632044, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26632045, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26632046, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26632047, 'pht': 3726}}"}, {'dashboat_entry_day': 2247147, 'dashboard_run_id': 2256473, 'mtr_portfolio_id': 26632644, 'dashboard_result_id': 14873576, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26632644_08-09-2025_10_33_00.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26632678, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26632679, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26632680, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26632681, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26632682, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26632683, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26632684, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26632685, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26632686, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26632687, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26632688, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26632689, 'pht': 3726}}"}, {'dashboat_entry_day': 2247147, 'dashboard_run_id': 2256473, 'mtr_portfolio_id': 26633406, 'dashboard_result_id': 14873577, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26633406_08-09-2025_10_47_00.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26633443, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26633444, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26633445, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26633446, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26633447, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26633448, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26633449, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26633450, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26633451, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26633452, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26633453, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26633454, 'pht': 3726}}"}, {'dashboat_entry_day': 2247147, 'dashboard_run_id': 2256473, 'mtr_portfolio_id': 26633894, 'dashboard_result_id': 14873578, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26633894_08-09-2025_10_58_29.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 26633933, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26633934, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26633935, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26633936, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26633937, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26633938, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26633939, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26633940, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26633941, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26633942, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26633943, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26633944, 'pht': 3726}}"}, {'dashboat_entry_day': 2247147, 'dashboard_run_id': 2256473, 'mtr_portfolio_id': 26634596, 'dashboard_result_id': 14873579, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26634596_08-09-2025_11_17_00.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 26634627, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26634628, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26634629, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26634630, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26634631, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26634632, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26634633, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26634634, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26634635, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26634636, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26634637, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26634638, 'pht': 3726}}"}, {'dashboat_entry_day': 2247147, 'dashboard_run_id': 2256473, 'mtr_portfolio_id': 26635579, 'dashboard_result_id': 14873580, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26635579_08-09-2025_11_32_59.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 26635598, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26635599, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26635600, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26635601, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26635602, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26635603, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26635604, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26635605, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26635606, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26635607, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26635608, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26635609, 'pht': 3726}}"}, {'dashboat_entry_day': 2247147, 'dashboard_run_id': 2256473, 'mtr_portfolio_id': 26635971, 'dashboard_result_id': 14873581, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26635971_08-09-2025_11_46_59.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 26635987, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26635988, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26635989, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26635990, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26635991, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26635992, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26635993, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26635995, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26635996, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26635997, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26635998, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26635999, 'pht': 3726}}"}, {'dashboat_entry_day': 2247147, 'dashboard_run_id': 2256473, 'mtr_portfolio_id': 26636452, 'dashboard_result_id': 14873582, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26636452_08-09-2025_11_47_35.pdf'}"}] SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26626191 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3676466, 'mtr_portfolio_id': 26626191, 'created_at': datetime.datetime(2025, 9, 8, 7, 8, 57), 'result': '0.03931114016813149', 'result_long': None, 'result_double': None}] Qualite : 0.03931114016813149 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26626191 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26626191_08-09-2025_07_08_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26626191 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26626191_08-09-2025_07_08_58.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 26626192, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26626193, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26626194, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26626195, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26626196, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26626197, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26626198, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26626199, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26626200, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26626201, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26626202, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26626203, 'pht': 3726}}" where mtr_portfolio_id = 26626191 and dashboard_run_id = 2256473 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26626191 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14873565, 0.03931114016813149, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26626191_08-09-2025_07_08_58.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 26626192, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26626193, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26626194, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26626195, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26626196, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26626197, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26626198, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26626199, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26626200, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26626201, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26626202, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26626203, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26626437 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3676523, 'mtr_portfolio_id': 26626437, 'created_at': datetime.datetime(2025, 9, 8, 8, 0, 39), 'result': '0.08271884324514443', 'result_long': None, 'result_double': None}] Qualite : 0.08271884324514443 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26626437 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26626437_08-09-2025_08_00_40.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26626437 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26626437_08-09-2025_08_00_40.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26626499, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26626500, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26626501, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26626503, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26626504, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26626505, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26626507, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26626508, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26626509, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26626511, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26626512, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26626513, 'pht': 3726}}" where mtr_portfolio_id = 26626437 and dashboard_run_id = 2256473 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26626437 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14873566, 0.08271884324514443, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26626437_08-09-2025_08_00_40.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26626499, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26626500, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26626501, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26626503, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26626504, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26626505, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26626507, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26626508, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26626509, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26626511, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26626512, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26626513, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26628100 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3676756, 'mtr_portfolio_id': 26628100, 'created_at': datetime.datetime(2025, 9, 8, 8, 1, 2), 'result': '0.044786541287536855', 'result_long': None, 'result_double': None}] Qualite : 0.044786541287536855 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26628100 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26628100_08-09-2025_08_01_05.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26628100 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26628100_08-09-2025_08_01_05.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26628189, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26628190, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26628191, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26628192, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26628193, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26628194, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26628195, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26628196, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26628197, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26628198, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26628199, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26628200, 'pht': 3726}}" where mtr_portfolio_id = 26628100 and dashboard_run_id = 2256473 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26628100 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14873567, 0.044786541287536855, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26628100_08-09-2025_08_01_05.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26628189, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26628190, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26628191, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26628192, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26628193, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26628194, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26628195, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26628196, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26628197, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26628198, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26628199, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26628200, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26628102 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3676757, 'mtr_portfolio_id': 26628102, 'created_at': datetime.datetime(2025, 9, 8, 8, 0, 32), 'result': '0.04578014833404169', 'result_long': None, 'result_double': None}] Qualite : 0.04578014833404169 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26628102 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26628102_08-09-2025_08_00_37.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26628102 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26628102_08-09-2025_08_00_37.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26628158, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26628159, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26628160, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26628161, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26628162, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26628163, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26628164, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26628165, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26628166, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26628167, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26628168, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26628169, 'pht': 3726}}" where mtr_portfolio_id = 26628102 and dashboard_run_id = 2256473 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26628102 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14873568, 0.04578014833404169, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26628102_08-09-2025_08_00_37.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26628158, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26628159, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26628160, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26628161, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26628162, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26628163, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26628164, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26628165, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26628166, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26628167, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26628168, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26628169, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26628116 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3676758, 'mtr_portfolio_id': 26628116, 'created_at': datetime.datetime(2025, 9, 8, 8, 16, 57), 'result': '0.056836177853837884', 'result_long': None, 'result_double': None}] Qualite : 0.056836177853837884 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26628116 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26628116_08-09-2025_08_16_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26628116 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26628116_08-09-2025_08_16_58.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 26628132, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26628133, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26628134, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26628135, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26628136, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26628137, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26628138, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26628139, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26628140, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26628141, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26628142, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26628143, 'pht': 3726}}" where mtr_portfolio_id = 26628116 and dashboard_run_id = 2256473 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26628116 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14873569, 0.056836177853837884, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26628116_08-09-2025_08_16_58.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 26628132, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26628133, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26628134, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26628135, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26628136, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26628137, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26628138, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26628139, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26628140, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26628141, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26628142, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26628143, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26629001 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3676857, 'mtr_portfolio_id': 26629001, 'created_at': datetime.datetime(2025, 9, 8, 9, 0, 29), 'result': '0.06451120726467724', 'result_long': None, 'result_double': None}] Qualite : 0.06451120726467724 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26629001 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26629001_08-09-2025_09_00_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26629001 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26629001_08-09-2025_09_00_29.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26629009, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26629010, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26629011, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26629012, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26629013, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26629014, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26629015, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26629016, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26629017, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26629018, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26629019, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26629020, 'pht': 3726}}" where mtr_portfolio_id = 26629001 and dashboard_run_id = 2256473 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26629001 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14873570, 0.06451120726467724, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26629001_08-09-2025_09_00_29.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26629009, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26629010, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26629011, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26629012, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26629013, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26629014, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26629015, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26629016, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26629017, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26629018, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26629019, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26629020, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26630241 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3677013, 'mtr_portfolio_id': 26630241, 'created_at': datetime.datetime(2025, 9, 8, 9, 0, 57), 'result': '0.04381628583006562', 'result_long': None, 'result_double': None}] Qualite : 0.04381628583006562 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26630241 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26630241_08-09-2025_09_00_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26630241 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26630241_08-09-2025_09_00_59.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26630309, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26630310, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26630311, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26630312, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26630313, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26630314, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26630315, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26630316, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26630317, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26630318, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26630319, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26630320, 'pht': 3726}}" where mtr_portfolio_id = 26630241 and dashboard_run_id = 2256473 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26630241 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14873571, 0.04381628583006562, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26630241_08-09-2025_09_00_59.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26630309, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26630310, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26630311, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26630312, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26630313, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26630314, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26630315, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26630316, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26630317, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26630318, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26630319, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26630320, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26630243 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3677014, 'mtr_portfolio_id': 26630243, 'created_at': datetime.datetime(2025, 9, 8, 9, 34, 59), 'result': '0.03972888889945434', 'result_long': None, 'result_double': None}] Qualite : 0.03972888889945434 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26630243 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26630243_08-09-2025_09_35_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26630243 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26630243_08-09-2025_09_35_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26630272, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26630273, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26630274, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26630275, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26630276, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26630277, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26630278, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26630279, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26630280, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26630281, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26630282, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26630283, 'pht': 3726}}" where mtr_portfolio_id = 26630243 and dashboard_run_id = 2256473 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26630243 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14873572, 0.03972888889945434, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26630243_08-09-2025_09_35_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26630272, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26630273, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26630274, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26630275, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26630276, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26630277, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26630278, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26630279, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26630280, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26630281, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26630282, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26630283, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26631124 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3677104, 'mtr_portfolio_id': 26631124, 'created_at': datetime.datetime(2025, 9, 8, 9, 46, 58), 'result': '0.025311875635176163', 'result_long': None, 'result_double': None}] Qualite : 0.025311875635176163 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26631124 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26631124_08-09-2025_09_46_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26631124 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26631124_08-09-2025_09_46_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26631166, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26631167, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26631168, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26631169, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26631170, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26631171, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26631172, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26631173, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26631174, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26631175, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26631176, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26631177, 'pht': 3726}}" where mtr_portfolio_id = 26631124 and dashboard_run_id = 2256473 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26631124 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14873573, 0.025311875635176163, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26631124_08-09-2025_09_46_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26631166, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26631167, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26631168, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26631169, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26631170, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26631171, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26631172, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26631173, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26631174, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26631175, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26631176, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26631177, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26631533 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3677136, 'mtr_portfolio_id': 26631533, 'created_at': datetime.datetime(2025, 9, 8, 10, 2, 59), 'result': '0.01676931298820364', 'result_long': None, 'result_double': None}] Qualite : 0.01676931298820364 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26631533 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26631533_08-09-2025_10_02_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26631533 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26631533_08-09-2025_10_02_59.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26631538, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26631539, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26631540, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26631541, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26631542, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26631543, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26631544, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26631545, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26631546, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26631547, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26631548, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26631549, 'pht': 3726}}" where mtr_portfolio_id = 26631533 and dashboard_run_id = 2256473 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26631533 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14873574, 0.01676931298820364, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26631533_08-09-2025_10_02_59.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26631538, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26631539, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26631540, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26631541, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26631542, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26631543, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26631544, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26631545, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26631546, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26631547, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26631548, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26631549, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26631982 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3677194, 'mtr_portfolio_id': 26631982, 'created_at': datetime.datetime(2025, 9, 8, 10, 16, 58), 'result': '0.07313993208863147', 'result_long': None, 'result_double': None}] Qualite : 0.07313993208863147 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26631982 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26631982_08-09-2025_10_16_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26631982 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26631982_08-09-2025_10_16_58.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26632036, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26632037, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26632038, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26632039, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26632040, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26632041, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26632042, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26632043, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26632044, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26632045, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26632046, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26632047, 'pht': 3726}}" where mtr_portfolio_id = 26631982 and dashboard_run_id = 2256473 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26631982 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14873575, 0.07313993208863147, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26631982_08-09-2025_10_16_58.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26632036, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26632037, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26632038, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26632039, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26632040, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26632041, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26632042, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26632043, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26632044, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26632045, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26632046, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26632047, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26632644 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3677285, 'mtr_portfolio_id': 26632644, 'created_at': datetime.datetime(2025, 9, 8, 10, 32, 59), 'result': '0.04720224858145797', 'result_long': None, 'result_double': None}] Qualite : 0.04720224858145797 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26632644 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26632644_08-09-2025_10_33_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26632644 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26632644_08-09-2025_10_33_00.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26632678, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26632679, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26632680, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26632681, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26632682, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26632683, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26632684, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26632685, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26632686, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26632687, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26632688, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26632689, 'pht': 3726}}" where mtr_portfolio_id = 26632644 and dashboard_run_id = 2256473 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26632644 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14873576, 0.04720224858145797, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26632644_08-09-2025_10_33_00.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26632678, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26632679, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26632680, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26632681, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26632682, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26632683, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26632684, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26632685, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26632686, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26632687, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26632688, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26632689, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26633406 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3677453, 'mtr_portfolio_id': 26633406, 'created_at': datetime.datetime(2025, 9, 8, 10, 46, 59), 'result': '0.029791162809496112', 'result_long': None, 'result_double': None}] Qualite : 0.029791162809496112 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26633406 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26633406_08-09-2025_10_47_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26633406 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26633406_08-09-2025_10_47_00.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26633443, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26633444, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26633445, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26633446, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26633447, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26633448, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26633449, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26633450, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26633451, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26633452, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26633453, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26633454, 'pht': 3726}}" where mtr_portfolio_id = 26633406 and dashboard_run_id = 2256473 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26633406 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14873577, 0.029791162809496112, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26633406_08-09-2025_10_47_00.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26633443, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26633444, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26633445, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26633446, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26633447, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26633448, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26633449, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26633450, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26633451, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26633452, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26633453, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26633454, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26633894 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3677531, 'mtr_portfolio_id': 26633894, 'created_at': datetime.datetime(2025, 9, 8, 11, 2, 59), 'result': '0.05312641378778945', 'result_long': None, 'result_double': None}] Qualite : 0.05312641378778945 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26633894 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26633894_08-09-2025_11_02_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26633894 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26633894_08-09-2025_11_02_59.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 26633933, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26633934, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26633935, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26633936, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26633937, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26633938, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26633939, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26633940, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26633941, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26633942, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26633943, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26633944, 'pht': 3726}}" where mtr_portfolio_id = 26633894 and dashboard_run_id = 2256473 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26633894 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14873578, 0.05312641378778945, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26633894_08-09-2025_11_02_59.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 26633933, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26633934, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26633935, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26633936, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26633937, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26633938, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26633939, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26633940, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26633941, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26633942, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26633943, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26633944, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26634596 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3677628, 'mtr_portfolio_id': 26634596, 'created_at': datetime.datetime(2025, 9, 8, 11, 16, 59), 'result': '0.05477247346638851', 'result_long': None, 'result_double': None}] Qualite : 0.05477247346638851 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26634596 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26634596_08-09-2025_11_17_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26634596 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26634596_08-09-2025_11_17_00.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 26634627, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26634628, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26634629, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26634630, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26634631, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26634632, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26634633, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26634634, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26634635, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26634636, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26634637, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26634638, 'pht': 3726}}" where mtr_portfolio_id = 26634596 and dashboard_run_id = 2256475 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26634596 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14873579, 0.05477247346638851, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26634596_08-09-2025_11_17_00.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 26634627, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26634628, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26634629, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26634630, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26634631, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26634632, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26634633, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26634634, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26634635, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26634636, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26634637, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26634638, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26635579 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3677740, 'mtr_portfolio_id': 26635579, 'created_at': datetime.datetime(2025, 9, 8, 11, 32, 58), 'result': '0.04803114076644756', 'result_long': None, 'result_double': None}] Qualite : 0.04803114076644756 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26635579 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26635579_08-09-2025_11_32_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26635579 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26635579_08-09-2025_11_32_59.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 26635598, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26635599, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26635600, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26635601, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26635602, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26635603, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26635604, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26635605, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26635606, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26635607, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26635608, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26635609, 'pht': 3726}}" where mtr_portfolio_id = 26635579 and dashboard_run_id = 2256475 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26635579 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14873580, 0.04803114076644756, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26635579_08-09-2025_11_32_59.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 26635598, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26635599, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26635600, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26635601, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26635602, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26635603, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26635604, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26635605, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26635606, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26635607, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26635608, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26635609, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26635971 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3677803, 'mtr_portfolio_id': 26635971, 'created_at': datetime.datetime(2025, 9, 8, 11, 46, 58), 'result': '0.06106104364603964', 'result_long': None, 'result_double': None}] Qualite : 0.06106104364603964 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26635971 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26635971_08-09-2025_11_46_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26635971 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26635971_08-09-2025_11_46_59.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 26635987, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26635988, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26635989, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26635990, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26635991, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26635992, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26635993, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26635995, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26635996, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26635997, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26635998, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26635999, 'pht': 3726}}" where mtr_portfolio_id = 26635971 and dashboard_run_id = 2256475 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26635971 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14873581, 0.06106104364603964, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26635971_08-09-2025_11_46_59.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 26635987, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26635988, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26635989, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26635990, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26635991, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26635992, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26635993, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26635995, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26635996, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26635997, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26635998, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26635999, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26636452 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3677892, 'mtr_portfolio_id': 26636452, 'created_at': datetime.datetime(2025, 9, 8, 11, 52, 57), 'result': '0.02235622230076798', 'result_long': None, 'result_double': None}] Qualite : 0.02235622230076798 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26636452 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26636452_08-09-2025_11_52_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26636452 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26636452_08-09-2025_11_52_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26636470, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26636471, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26636472, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26636473, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26636474, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26636475, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26636476, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26636477, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26636478, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26636479, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26636480, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26636481, 'pht': 3726}}" where mtr_portfolio_id = 26636452 and dashboard_run_id = 2256475 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26636452 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14873582, 0.02235622230076798, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26636452_08-09-2025_11_52_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26636470, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26636471, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26636472, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26636473, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26636474, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26636475, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26636476, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26636477, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26636478, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26636479, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26636480, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26636481, '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 (26626191,26626437,26628100,26628102,26628116,26629001,26630241,26630243,26631124,26631533,26631982,26632644,26633406,26633894,26634596,26635579,26635971,26636452) result : ((1382464638,), (1382464639,), (1382464661,), (1382464662,), (1382464688,), (1382464689,), (1382464724,), (1382464725,), (1382464726,), (1382464728,), (1382464765,), (1382464766,), (1382464767,), (1382464768,), (1382465313,), (1382465316,), (1382465319,), (1382468244,), (1382467139,), (1382468243,), (1382468287,), (1382468339,), (1382468340,), (1382468431,), (1382468513,), (1382468514,), (1382468566,), (1382468567,), (1382468568,), (1382468569,), (1382468772,), (1382468775,), (1382468778,), (1382468969,), (1382468970,), (1382469027,), (1382469028,), (1382469029,), (1382469030,), (1382469072,), (1382469141,), (1382469142,), (1382469227,), (1382469228,), (1382469229,), (1382469230,), (1382469231,), (1382469232,), (1382469280,), (1382469282,), (1382469283,), (1382469284,), (1382469285,), (1382469286,), (1382469341,), (1382469352,), (1382469353,), (1382469354,), (1382469355,), (1382469417,), (1382469419,), (1382469421,), (1382469422,), (1382469457,), (1382469459,), (1382469462,), (1382469464,), (1382469515,), (1382469516,), (1382469517,), (1382469543,), (1382469544,), (1382469545,), (1382469546,), (1382469547,), (1382469548,), (1382469553,), (1382469596,), (1382469597,), (1382469598,), (1382469599,), (1382469600,), (1382469677,), (1382469678,), (1382469679,), (1382469680,), (1382469681,), (1382469828,), (1382469829,), (1382469830,), (1382469831,), (1382469832,), (1382469926,), (1382469928,), (1382469931,), (1382469933,), (1382470071,), (1382470072,), (1382470073,), (1382470074,), (1382470075,), (1382470132,), (1382470127,), (1382470128,), (1382470129,), (1382470130,), (1382470131,), (1382470217,), (1382470218,), (1382470219,), (1382470296,), (1382470298,), (1382470300,), (1382470364,), (1382470365,), (1382470366,), (1382470367,), (1382470368,), (1382470369,), (1382470407,), (1382470408,), (1382470409,), (1382470410,), (1382470412,), (1382470413,), (1382470420,), (1382470421,), (1382470423,), (1382470425,), (1382470476,), (1382470477,), (1382470478,), (1382470479,), (1382470549,), (1382470550,), (1382470551,), (1382470552,), (1382470553,), (1382470620,), (1382470621,), (1382470622,), (1382470623,), (1382470624,), (1382470704,), (1382470734,), (1382470735,), (1382470736,), (1382470737,), (1382470738,), (1382470928,), (1382470930,), (1382470932,), (1382470934,), (1382470936,), (1382470938,), (1382471052,), (1382471053,), (1382471054,), (1382471055,), (1382471056,), (1382471120,), (1382471121,), (1382471122,), (1382471123,), (1382471195,), (1382471196,), (1382471197,), (1382471198,), (1382471199,), (1382471200,), (1382471389,), (1382471390,), (1382471391,), (1382471437,), (1382471438,), (1382471439,), (1382471440,), (1382471441,), (1382471442,), (1382471448,), (1382471449,), (1382471450,), (1382471512,), (1382471508,), (1382471509,), (1382471510,), (1382471511,), (1382471563,), (1382471564,), (1382471565,), (1382471611,), (1382471625,), (1382471627,), (1382471628,), (1382471629,), (1382471630,), (1382471681,), (1382471682,), (1382471683,), (1382471684,), (1382471685,), (1382471760,), (1382471762,), (1382471763,), (1382471825,), (1382471826,), (1382471827,), (1382471828,), (1382471829,), (1382471904,), (1382471905,), (1382471906,), (1382471907,), (1382471908,), (1382472041,), (1382472042,), (1382472043,), (1382472176,), (1382472177,), (1382472178,), (1382472179,), (1382472180,), (1382472181,), (1382472255,), (1382472256,), (1382472257,), (1382472259,), (1382472260,), (1382472261,), (1382472266,), (1382472267,), (1382472268,), (1382472269,), (1382472270,), (1382472310,), (1382472311,), (1382472312,), (1382472313,), (1382472314,), (1382472315,), (1382472356,), (1382472357,), (1382472358,), (1382472359,), (1382472439,), (1382472440,), (1382472441,), (1382472442,), (1382472859,), (1382472862,), (1382472865,), (1382472868,), (1382473504,), (1382473501,), (1382474202,), (1382474205,), (1382474208,), (1382474211,), (1382474214,), (1382474996,), (1382475000,), (1382475004,), (1382475008,), (1382475012,), (1382475799,), (1382475800,), (1382475801,), (1382475802,), (1382476328,), (1382476330,), (1382476333,), (1382476335,), (1382476337,), (1382476339,), (1382476387,), (1382476388,), (1382476390,), (1382476578,), (1382476579,), (1382476580,), (1382476581,), (1382476582,), (1382476626,), (1382476628,), (1382476630,), (1382476723,), (1382476724,), (1382476725,), (1382476726,), (1382476727,), (1382479354,), (1382479350,), (1382479351,), (1382479352,), (1382479353,), (1382479409,), (1382479411,), (1382479413,), (1382479415,), (1382479417,), (1382479419,), (1382479690,), (1382479692,), (1382480079,), (1382480080,), (1382480081,), (1382480082,), (1382480242,), (1382480243,), (1382480244,), (1382480245,), (1382480246,), (1382480384,), (1382480385,), (1382480386,), (1382480387,), (1382480388,), (1382480415,), (1382480416,), (1382480417,), (1382480504,), (1382480505,), (1382480506,), (1382480699,), (1382480700,), (1382480701,), (1382480702,), (1382480703,), (1382480704,), (1382480708,), (1382480709,), (1382480796,), (1382480792,), (1382480793,), (1382480794,), (1382480795,), (1382480900,), (1382480901,), (1382480902,), (1382480903,), (1382480904,), (1382480987,), (1382480988,), (1382480989,), (1382480990,), (1382480991,), (1382481180,), (1382481181,), (1382481182,), (1382481183,), (1382481184,), (1382481225,), (1382481226,), (1382481227,), (1382481228,), (1382481229,), (1382481298,), (1382481299,), (1382481300,), (1382481301,), (1382481302,), (1382481303,), (1382481444,), (1382481445,), (1382481446,), (1382481516,), (1382481517,), (1382481518,), (1382481519,), (1382481520,), (1382481521,), (1382481555,), (1382481556,), (1382481557,), (1382481558,), (1382481559,), (1382481590,), (1382481591,), (1382481592,), (1382481639,), (1382481839,), (1382488671,), (1382488669,), (1382489017,), (1382489284,), (1382489285,), (1382489286,), (1382489396,), (1382489556,), (1382489602,), (1382489603,), (1382489690,), (1382489694,), (1382489699,), (1382489908,), (1382489978,), (1382490017,), (1382490018,), (1382490019,), (1382490047,), (1382490048,), (1382490049,), (1382490050,), (1382490129,), (1382490128,), (1382490162,), (1382490163,), (1382490784,), (1382490837,), (1382490839,), (1382491179,), (1382491181,), (1382491182,), (1382491183,), (1382491229,), (1382491230,), (1382491262,), (1382491263,), (1382491264,), (1382491265,), (1382491306,), (1382491307,), (1382491308,), (1382491309,), (1382491391,), (1382491392,), (1382491393,), (1382491394,), (1382491395,), (1382491396,), (1382491473,), (1382491474,), (1382491475,), (1382491476,), (1382491477,), (1382492603,), (1382492607,), (1382492611,), (1382492616,), (1382492622,), (1382492751,), (1382492755,), (1382492758,), (1382492761,), (1382493205,), (1382493200,), (1382493202,), (1382493707,), (1382493711,), (1382493715,), (1382493719,), (1382493723,), (1382493727,), (1382494038,), (1382494039,), (1382494040,), (1382494041,), (1382494042,), (1382494208,), (1382494210,), (1382494212,), (1382494214,), (1382494364,), (1382494365,), (1382494366,), (1382494367,), (1382494368,), (1382494369,), (1382494379,), (1382494381,), (1382494383,), (1382494415,), (1382494416,), (1382494418,), (1382494420,), (1382494422,), (1382494424,), (1382494480,), (1382494481,), (1382494482,), (1382494483,), (1382494484,), (1382494553,), (1382494555,), (1382494556,), (1382494615,), (1382494616,), (1382494617,), (1382494618,), (1382494619,), (1382494620,), (1382494817,), (1382494818,), (1382494819,), (1382494820,), (1382494821,), (1382494886,), (1382494887,), (1382494888,), (1382494889,), (1382494890,), (1382494891,), (1382495152,), (1382495154,), (1382495156,), (1382495158,), (1382495608,), (1382495610,), (1382495612,), (1382495614,), (1382495616,), (1382495618,), (1382495753,), (1382495754,), (1382495755,), (1382495777,), (1382495778,), (1382495779,), (1382495780,), (1382495781,), (1382495783,), (1382495790,), (1382495792,), (1382495793,), (1382495846,), (1382495836,), (1382495838,), (1382495840,), (1382495842,), (1382495844,), (1382495919,), (1382495920,), (1382495921,), (1382495922,), (1382496189,), (1382496191,), (1382496193,), (1382496195,), (1382496339,), (1382496340,), (1382496341,), (1382496342,), (1382496343,), (1382496400,), (1382496401,), (1382496402,), (1382496403,), (1382496771,), (1382496773,), (1382496775,), (1382496778,), (1382496780,), (1382496901,), (1382496903,), (1382496905,), (1382496907,), (1382497070,), (1382497071,), (1382497072,), (1382497073,), (1382497074,), (1382497075,), (1382497123,), (1382497134,), (1382497135,), (1382497136,), (1382497301,), (1382497302,), (1382497303,), (1382497304,), (1382497305,), (1382497306,), (1382497511,), (1382497513,), (1382497515,), (1382497517,), (1382497519,), (1382497625,), (1382497626,), (1382497627,), (1382497628,), (1382497712,), (1382497713,), (1382497714,), (1382497715,), (1382497716,), (1382497781,), (1382497782,), (1382497783,), (1382497784,), (1382497785,), (1382497994,), (1382497995,), (1382497996,), (1382498088,), (1382498083,), (1382498084,), (1382498085,), (1382498086,), (1382498087,), (1382498299,), (1382498301,), (1382498303,), (1382498306,), (1382498309,), (1382498781,), (1382498783,), (1382498785,), (1382498787,), (1382499017,), (1382499019,), (1382499021,), (1382499023,), (1382499025,), (1382499358,), (1382499359,), (1382499360,), (1382499361,), (1382499362,), (1382499363,), (1382499421,), (1382499424,), (1382499427,), (1382499430,), (1382499432,), (1382499664,), (1382499666,), (1382499668,), (1382499670,), (1382499971,), (1382499972,), (1382499973,), (1382499974,), (1382499975,), (1382500361,), (1382500362,), (1382500468,), (1382500471,), (1382500681,), (1382500682,), (1382500773,), (1382500774,), (1382500775,), (1382500776,), (1382500826,), (1382500822,), (1382500823,), (1382500824,), (1382500825,), (1382501346,), (1382501495,), (1382501496,), (1382501497,), (1382501574,), (1382501575,), (1382501576,), (1382501577,), (1382501927,), (1382501929,), (1382501931,), (1382501933,), (1382501934,), (1382502213,), (1382502215,), (1382502217,), (1382502219,), (1382502221,), (1382502398,), (1382502400,), (1382502402,), (1382502404,), (1382502406,), (1382502820,), (1382502822,), (1382502824,), (1382503020,), (1382503021,), (1382503022,), (1382503023,), (1382503026,), (1382503130,), (1382503132,), (1382503134,), (1382503136,), (1382503137,), (1382503138,), (1382503422,), (1382503423,), (1382503424,), (1382503425,), (1382503550,), (1382503551,), (1382503552,), (1382504446,), (1382504450,), (1382504453,), (1382504456,), (1382504459,), (1382504462,), (1382504577,), (1382504580,), (1382504583,), (1382504587,), (1382504590,), (1382505300,), (1382505295,), (1382505297,), (1382506243,), (1382506247,), (1382506251,), (1382506255,), (1382506259,), (1382507043,), (1382507045,), (1382507047,), (1382507049,), (1382507051,), (1382507487,), (1382507489,), (1382507491,), (1382507493,), (1382507495,), (1382507712,), (1382507714,), (1382507716,), (1382507718,), (1382507720,), (1382507722,), (1382507781,), (1382507783,), (1382507785,), (1382507787,), (1382508014,), (1382508015,), (1382508016,), (1382508285,), (1382508286,), (1382508287,), (1382508288,), (1382508289,), (1382508290,), (1382508485,), (1382508487,), (1382508489,), (1382508491,), (1382508493,), (1382508496,), (1382508567,), (1382508568,), (1382508569,), (1382508605,), (1382508606,), (1382508607,), (1382508608,), (1382508609,), (1382508610,), (1382508659,), (1382508660,), (1382508661,), (1382508662,), (1382508798,), (1382508800,), (1382508802,), (1382508968,), (1382508969,), (1382508970,), (1382509328,), (1382509329,), (1382509330,), (1382509457,), (1382509459,), (1382509461,), (1382509464,), (1382509466,), (1382509592,), (1382509837,), (1382509839,), (1382509841,), (1382510098,), (1382510326,), (1382510328,), (1382510401,), (1382510402,), (1382510403,), (1382510404,), (1382510405,), (1382510778,), (1382510781,), (1382510784,), (1382511136,), (1382511137,), (1382511138,), (1382511140,), (1382511252,), (1382511253,), (1382511254,), (1382511255,), (1382511256,), (1382511413,), (1382511415,), (1382511417,), (1382511419,), (1382511421,), (1382511423,), (1382511433,), (1382511434,), (1382511435,), (1382511437,), (1382511439,), (1382511551,), (1382511552,), (1382511553,), (1382511729,), (1382511731,), (1382511734,), (1382511736,), (1382511738,), (1382511740,), (1382512041,), (1382512060,), (1382512061,), (1382512062,), (1382512064,), (1382512200,), (1382512201,), (1382512202,), (1382512203,), (1382512204,), (1382512205,), (1382512318,), (1382512319,), (1382512320,), (1382512321,), (1382512322,), (1382512323,), (1382512440,), (1382512436,), (1382512437,), (1382512438,), (1382512439,), (1382512532,), (1382512533,), (1382512534,), (1382512535,), (1382512536,), (1382512565,), (1382512566,), (1382512567,), (1382512568,), (1382512569,), (1382512715,), (1382512716,), (1382512717,), (1382513027,), (1382513029,), (1382513031,), (1382513033,), (1382513035,), (1382513037,), (1382513087,), (1382513089,), (1382513251,), (1382513252,), (1382513253,), (1382513254,), (1382513255,), (1382513256,), (1382513622,), (1382513625,), (1382513627,), (1382513629,), (1382513631,), (1382513633,), (1382513685,), (1382513686,), (1382513688,), (1382513689,), (1382513690,), (1382513691,), (1382513714,), (1382513718,), (1382513722,), (1382513726,), (1382513730,), (1382513888,), (1382513892,), (1382513896,), (1382513900,), (1382513905,), (1382513908,), (1382513995,), (1382513996,), (1382513997,), (1382513998,), (1382514388,), (1382514390,), (1382514392,), (1382514394,), (1382514396,), (1382514499,), (1382514500,), (1382514501,), (1382514502,), (1382514503,), (1382514589,), (1382514590,), (1382514591,), (1382514592,), (1382514593,), (1382514684,), (1382514685,), (1382514686,), (1382514687,), (1382514719,), (1382514720,), (1382514721,), (1382514722,), (1382514723,), (1382514724,), (1382514730,), (1382514733,), (1382514735,), (1382514736,), (1382514758,), (1382514751,), (1382514755,), (1382514756,), (1382514757,), (1382514793,), (1382514795,), (1382514797,), (1382514799,), (1382514801,), (1382514803,), (1382514948,), (1382514949,), (1382514950,), (1382514951,), (1382514952,), (1382515071,), (1382515072,), (1382515073,), (1382515074,), (1382515163,), (1382515164,), (1382515165,), (1382515166,), (1382515167,), (1382515168,), (1382515216,), (1382515217,), (1382515218,), (1382515219,), (1382515220,), (1382515261,), (1382515262,), (1382515263,), (1382515264,)) NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'08092025': {'nb_upload': 34, 'nb_taggue_class': 0, 'nb_taggue_densite': 0}} After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([26636452]) Inside saveOutput : final : True verbose : True saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1382515264, 1382515263, 1382515262, 1382515261, 1382515220, 1382515219, 1382515218, 1382515217, 1382515216, 1382515168, 1382515167, 1382515166, 1382515165, 1382515164, 1382515163, 1382515074, 1382515073, 1382515072, 1382515071, 1382514952, 1382514951, 1382514950, 1382514949, 1382514948, 1382514803, 1382514801, 1382514799, 1382514797, 1382514795, 1382514793] map_info['map_portfolio_photo'] : {26636452: [1382515264, 1382515263, 1382515262, 1382515261, 1382515220, 1382515219, 1382515218, 1382515217, 1382515216, 1382515168, 1382515167, 1382515166, 1382515165, 1382515164, 1382515163, 1382515074, 1382515073, 1382515072, 1382515071, 1382514952, 1382514951, 1382514950, 1382514949, 1382514948, 1382514803, 1382514801, 1382514799, 1382514797, 1382514795, 1382514793, 1382514757, 1382514756, 1382514755, 1382514751]} final : True mtd_id 4302 list_pids : [1382515264, 1382515263, 1382515262, 1382515261, 1382515220, 1382515219, 1382515218, 1382515217, 1382515216, 1382515168, 1382515167, 1382515166, 1382515165, 1382515164, 1382515163, 1382515074, 1382515073, 1382515072, 1382515071, 1382514952, 1382514951, 1382514950, 1382514949, 1382514948, 1382514803, 1382514801, 1382514799, 1382514797, 1382514795, 1382514793] Looping around the photos to save general results len do output : 1 /26636452Didn'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, '3677892') ('4302', '26636452', '1382515264', None, None, None, None, None, '3677892') ('4302', None, None, None, None, None, None, None, '3677892') ('4302', '26636452', '1382515263', None, None, None, None, None, '3677892') ('4302', None, None, None, None, None, None, None, '3677892') ('4302', '26636452', '1382515262', None, None, None, None, None, '3677892') ('4302', None, None, None, None, None, None, None, '3677892') ('4302', '26636452', '1382515261', None, None, None, None, None, '3677892') ('4302', None, None, None, None, None, None, None, '3677892') ('4302', '26636452', '1382515220', None, None, None, None, None, '3677892') ('4302', None, None, None, None, None, None, None, '3677892') ('4302', '26636452', '1382515219', None, None, None, None, None, '3677892') ('4302', None, None, None, None, None, None, None, '3677892') ('4302', '26636452', '1382515218', None, None, None, None, None, '3677892') ('4302', None, None, None, None, None, None, None, '3677892') ('4302', '26636452', '1382515217', None, None, None, None, None, '3677892') ('4302', None, None, None, None, None, None, None, '3677892') ('4302', '26636452', '1382515216', None, None, None, None, None, '3677892') ('4302', None, None, None, None, None, None, None, '3677892') ('4302', '26636452', '1382515168', None, None, None, None, None, '3677892') ('4302', None, None, None, None, None, None, None, '3677892') ('4302', '26636452', '1382515167', None, None, None, None, None, '3677892') ('4302', None, None, None, None, None, None, None, '3677892') ('4302', '26636452', '1382515166', None, None, None, None, None, '3677892') ('4302', None, None, None, None, None, None, None, '3677892') ('4302', '26636452', '1382515165', None, None, None, None, None, '3677892') ('4302', None, None, None, None, None, None, None, '3677892') ('4302', '26636452', '1382515164', None, None, None, None, None, '3677892') ('4302', None, None, None, None, None, None, None, '3677892') ('4302', '26636452', '1382515163', None, None, None, None, None, '3677892') ('4302', None, None, None, None, None, None, None, '3677892') ('4302', '26636452', '1382515074', None, None, None, None, None, '3677892') ('4302', None, None, None, None, None, None, None, '3677892') ('4302', '26636452', '1382515073', None, None, None, None, None, '3677892') ('4302', None, None, None, None, None, None, None, '3677892') ('4302', '26636452', '1382515072', None, None, None, None, None, '3677892') ('4302', None, None, None, None, None, None, None, '3677892') ('4302', '26636452', '1382515071', None, None, None, None, None, '3677892') ('4302', None, None, None, None, None, None, None, '3677892') ('4302', '26636452', '1382514952', None, None, None, None, None, '3677892') ('4302', None, None, None, None, None, None, None, '3677892') ('4302', '26636452', '1382514951', None, None, None, None, None, '3677892') ('4302', None, None, None, None, None, None, None, '3677892') ('4302', '26636452', '1382514950', None, None, None, None, None, '3677892') ('4302', None, None, None, None, None, None, None, '3677892') ('4302', '26636452', '1382514949', None, None, None, None, None, '3677892') ('4302', None, None, None, None, None, None, None, '3677892') ('4302', '26636452', '1382514948', None, None, None, None, None, '3677892') ('4302', None, None, None, None, None, None, None, '3677892') ('4302', '26636452', '1382514803', None, None, None, None, None, '3677892') ('4302', None, None, None, None, None, None, None, '3677892') ('4302', '26636452', '1382514801', None, None, None, None, None, '3677892') ('4302', None, None, None, None, None, None, None, '3677892') ('4302', '26636452', '1382514799', None, None, None, None, None, '3677892') ('4302', None, None, None, None, None, None, None, '3677892') ('4302', '26636452', '1382514797', None, None, None, None, None, '3677892') ('4302', None, None, None, None, None, None, None, '3677892') ('4302', '26636452', '1382514795', None, None, None, None, None, '3677892') ('4302', None, None, None, None, None, None, None, '3677892') ('4302', '26636452', '1382514793', None, None, None, None, None, '3677892') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 31 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, '26636452', 'None', None, None, None, None, '3677892'), ('4302', '26636452', '1382515264', None, None, None, None, None, '3677892'), ('4302', '26636452', '1382515263', None, None, None, None, None, '3677892'), ('4302', '26636452', '1382515262', None, None, None, None, None, '3677892'), ('4302', '26636452', '1382515261', None, None, None, None, None, '3677892'), ('4302', '26636452', '1382515220', None, None, None, None, None, '3677892'), ('4302', '26636452', '1382515219', None, None, None, None, None, '3677892'), ('4302', '26636452', '1382515218', None, None, None, None, None, '3677892'), ('4302', '26636452', '1382515217', None, None, None, None, None, '3677892'), ('4302', '26636452', '1382515216', None, None, None, None, None, '3677892'), ('4302', '26636452', '1382515168', None, None, None, None, None, '3677892'), ('4302', '26636452', '1382515167', None, None, None, None, None, '3677892'), ('4302', '26636452', '1382515166', None, None, None, None, None, '3677892'), ('4302', '26636452', '1382515165', None, None, None, None, None, '3677892'), ('4302', '26636452', '1382515164', None, None, None, None, None, '3677892'), ('4302', '26636452', '1382515163', None, None, None, None, None, '3677892'), ('4302', '26636452', '1382515074', None, None, None, None, None, '3677892'), ('4302', '26636452', '1382515073', None, None, None, None, None, '3677892'), ('4302', '26636452', '1382515072', None, None, None, None, None, '3677892'), ('4302', '26636452', '1382515071', None, None, None, None, None, '3677892'), ('4302', '26636452', '1382514952', None, None, None, None, None, '3677892'), ('4302', '26636452', '1382514951', None, None, None, None, None, '3677892'), ('4302', '26636452', '1382514950', None, None, None, None, None, '3677892'), ('4302', '26636452', '1382514949', None, None, None, None, None, '3677892'), ('4302', '26636452', '1382514948', None, None, None, None, None, '3677892'), ('4302', '26636452', '1382514803', None, None, None, None, None, '3677892'), ('4302', '26636452', '1382514801', None, None, None, None, None, '3677892'), ('4302', '26636452', '1382514799', None, None, None, None, None, '3677892'), ('4302', '26636452', '1382514797', None, None, None, None, None, '3677892'), ('4302', '26636452', '1382514795', None, None, None, None, None, '3677892'), ('4302', '26636452', '1382514793', None, None, None, None, None, '3677892')] time used for this insertion : 0.018490314483642578 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.372187852859497 time spend to save output : 0.01881241798400879 total time spend for step 5 : 1.3910002708435059 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 (3677892) 2.60user 2.49system 0:08.05elapsed 63%CPU (0avgtext+0avgdata 169268maxresident)k 50496inputs+15376outputs (185major+76356minor)pagefaults 0swaps