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 : 2293984 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 (3650384) updating current state to 1 UPDATE MTRPhoto.mtr_datou_current SET state=1, hostname='marlene' WHERE id in (3650384) SELECT count(*) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26427997 AND hide_status = 0 list_input_json: [] Current got : datou_id : 4302, datou_cur_ids : ['3650384'] with mtr_portfolio_ids : ['26427997'] and first list_photo_ids : [] new path : /proc/2293984/ Name: python3 Umask: 0002 State: R (running) Tgid: 2293984 Ngid: 0 Pid: 2293984 PPid: 2293983 TracerPid: 0 Uid: 1006 1006 1006 1006 Gid: 1009 1009 1009 1009 FDSize: 64 Groups: 27 1009 1026 NStgid: 2293984 NSpid: 2293984 NSpgid: 2289326 NSsid: 2289326 VmPeak: 1107252 kB VmSize: 1107252 kB VmLck: 0 kB VmPin: 0 kB VmHWM: 98192 kB VmRSS: 98192 kB RssAnon: 60164 kB RssFile: 38028 kB RssShmem: 0 kB VmData: 866004 kB VmStk: 132 kB VmExe: 2644 kB VmLib: 130468 kB VmPTE: 608 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: 112 nonvoluntary_ctxt_switches: 105 {'Name': 'python3', 'Umask': '0002', 'State': 'R (running)', 'Tgid': '2293984', 'Ngid': '0', 'Pid': '2293984', 'PPid': '2293983', 'TracerPid': '0', 'Uid': '1006,1006,1006,1006', 'Gid': '1009,1009,1009,1009', 'FDSize': '64', 'Groups': '27 1009 1026', 'NStgid': '2293984', 'NSpid': '2293984', 'NSpgid': '2289326', 'NSsid': '2289326', 'VmPeak': '1107252 kB', 'VmSize': '1107252 kB', 'VmLck': '0 kB', 'VmPin': '0 kB', 'VmHWM': '98192 kB', 'VmRSS': '98192 kB', 'RssAnon': '60164 kB', 'RssFile': '38028 kB', 'RssShmem': '0 kB', 'VmData': '866004 kB', 'VmStk': '132 kB', 'VmExe': '2644 kB', 'VmLib': '130468 kB', 'VmPTE': '608 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': '112', 'nonvoluntary_ctxt_switches': '105'} ('datou_batch_current', '2293984', '1107252', '0', '1107252', '866004', '98192', b'', 'marlene', '3650384') 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 (26427997) 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 (3650384 ) ) 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 (26427997) AND hide_status = 0 ORDER by mtr_photo_id desc LIMIT 0, 200 list_result: [{'photo_id': 1380784309, 'portfolio_id': 26427997}, {'photo_id': 1380783963, 'portfolio_id': 26427997}, {'photo_id': 1380783539, 'portfolio_id': 26427997}, {'photo_id': 1380783536, 'portfolio_id': 26427997}, {'photo_id': 1380783533, 'portfolio_id': 26427997}, {'photo_id': 1380783530, 'portfolio_id': 26427997}, {'photo_id': 1380783527, 'portfolio_id': 26427997}, {'photo_id': 1380783523, 'portfolio_id': 26427997}, {'photo_id': 1380783234, 'portfolio_id': 26427997}, {'photo_id': 1380783232, 'portfolio_id': 26427997}, {'photo_id': 1380783230, 'portfolio_id': 26427997}, {'photo_id': 1380783228, 'portfolio_id': 26427997}, {'photo_id': 1380783226, 'portfolio_id': 26427997}, {'photo_id': 1380783225, 'portfolio_id': 26427997}, {'photo_id': 1380782918, 'portfolio_id': 26427997}, {'photo_id': 1380782916, 'portfolio_id': 26427997}, {'photo_id': 1380782569, 'portfolio_id': 26427997}, {'photo_id': 1380782567, 'portfolio_id': 26427997}, {'photo_id': 1380782565, 'portfolio_id': 26427997}, {'photo_id': 1380782563, 'portfolio_id': 26427997}, {'photo_id': 1380782347, 'portfolio_id': 26427997}, {'photo_id': 1380782346, 'portfolio_id': 26427997}, {'photo_id': 1380782344, 'portfolio_id': 26427997}, {'photo_id': 1380782328, 'portfolio_id': 26427997}, {'photo_id': 1380782327, 'portfolio_id': 26427997}, {'photo_id': 1380782300, 'portfolio_id': 26427997}, {'photo_id': 1380782299, 'portfolio_id': 26427997}, {'photo_id': 1380782298, 'portfolio_id': 26427997}, {'photo_id': 1380782278, 'portfolio_id': 26427997}, {'photo_id': 1380782277, 'portfolio_id': 26427997}, {'photo_id': 1380782276, 'portfolio_id': 26427997}, {'photo_id': 1380782275, 'portfolio_id': 26427997}, {'photo_id': 1380782243, 'portfolio_id': 26427997}, {'photo_id': 1380782239, 'portfolio_id': 26427997}, {'photo_id': 1380782238, 'portfolio_id': 26427997}, {'photo_id': 1380782237, 'portfolio_id': 26427997}, {'photo_id': 1380782236, 'portfolio_id': 26427997}, {'photo_id': 1380782235, 'portfolio_id': 26427997}, {'photo_id': 1380782234, 'portfolio_id': 26427997}, {'photo_id': 1380782218, 'portfolio_id': 26427997}, {'photo_id': 1380782217, 'portfolio_id': 26427997}, {'photo_id': 1380782216, 'portfolio_id': 26427997}, {'photo_id': 1380782215, 'portfolio_id': 26427997}, {'photo_id': 1380782214, 'portfolio_id': 26427997}, {'photo_id': 1380782176, 'portfolio_id': 26427997}, {'photo_id': 1380782152, 'portfolio_id': 26427997}, {'photo_id': 1380782151, 'portfolio_id': 26427997}, {'photo_id': 1380782149, 'portfolio_id': 26427997}, {'photo_id': 1380782116, 'portfolio_id': 26427997}, {'photo_id': 1380782115, 'portfolio_id': 26427997}, {'photo_id': 1380782096, 'portfolio_id': 26427997}, {'photo_id': 1380782095, 'portfolio_id': 26427997}, {'photo_id': 1380782093, 'portfolio_id': 26427997}, {'photo_id': 1380782058, 'portfolio_id': 26427997}, {'photo_id': 1380782057, 'portfolio_id': 26427997}] map_portfolio_id_photo_id: {26427997: [1380784309, 1380783963, 1380783539, 1380783536, 1380783533, 1380783530, 1380783527, 1380783523, 1380783234, 1380783232, 1380783230, 1380783228, 1380783226, 1380783225, 1380782918, 1380782916, 1380782569, 1380782567, 1380782565, 1380782563, 1380782347, 1380782346, 1380782344, 1380782328, 1380782327, 1380782300, 1380782299, 1380782298, 1380782278, 1380782277, 1380782276, 1380782275, 1380782243, 1380782239, 1380782238, 1380782237, 1380782236, 1380782235, 1380782234, 1380782218, 1380782217, 1380782216, 1380782215, 1380782214, 1380782176, 1380782152, 1380782151, 1380782149, 1380782116, 1380782115, 1380782096, 1380782095, 1380782093, 1380782058, 1380782057]} ##### 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.027138948440551758 #### 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 Tue Sep 2 09:00: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 After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (26427997) 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 : 26427997 get user id for portfolio 26427997 get sub ptf for main ptf 26427997, type 3726 and hashtags ['kraft', 'metal', 'flou', 'environnement', 'autre_refus', 'Carton_brun', 'plastique', 'cartonnette', 'papier', 'Teint_Dans_La_Masse', 'mal_croppe', 'Carton_gris'] SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26427997 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('kraft','metal','flou','environnement','autre_refus','Carton_brun','plastique','cartonnette','papier','Teint_Dans_La_Masse','mal_croppe','Carton_gris')) AND mptpi.`min_score`=0.5 SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26427997 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('kraft','metal','flou','environnement','autre_refus','Carton_brun','plastique','cartonnette','papier','Teint_Dans_La_Masse','mal_croppe','Carton_gris')) AND mptpi.`min_score`=0.5 To do returned map {'papier': {'main_port_id': 26427997, 'sub_port_id': 26428044, 'hashtag': 'papier', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17785455, 'last_updated_at': datetime.datetime(2025, 9, 2, 8, 4, 58), 'last_updated_at_desc': datetime.datetime(2025, 9, 2, 8, 4, 58), 'last_updated_at_asc': datetime.datetime(2025, 9, 2, 8, 3, 28)}, 'mal_croppe': {'main_port_id': 26427997, 'sub_port_id': 26428045, 'hashtag': 'mal_croppe', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17785456, 'last_updated_at': datetime.datetime(2025, 9, 2, 8, 4, 58), 'last_updated_at_desc': datetime.datetime(2025, 9, 2, 8, 4, 58), 'last_updated_at_asc': datetime.datetime(2025, 9, 2, 8, 3, 28)}, 'cartonnette': {'main_port_id': 26427997, 'sub_port_id': 26428046, 'hashtag': 'cartonnette', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17785457, 'last_updated_at': datetime.datetime(2025, 9, 2, 8, 4, 58), 'last_updated_at_desc': datetime.datetime(2025, 9, 2, 8, 4, 58), 'last_updated_at_asc': datetime.datetime(2025, 9, 2, 8, 3, 28)}, 'plastique': {'main_port_id': 26427997, 'sub_port_id': 26428047, 'hashtag': 'plastique', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17785458, 'last_updated_at': datetime.datetime(2025, 9, 2, 8, 4, 58), 'last_updated_at_desc': datetime.datetime(2025, 9, 2, 8, 4, 58), 'last_updated_at_asc': datetime.datetime(2025, 9, 2, 8, 3, 28)}, 'Carton_brun': {'main_port_id': 26427997, 'sub_port_id': 26428048, 'hashtag': 'Carton_brun', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17785459, 'last_updated_at': datetime.datetime(2025, 9, 2, 8, 4, 58), 'last_updated_at_desc': datetime.datetime(2025, 9, 2, 8, 4, 58), 'last_updated_at_asc': datetime.datetime(2025, 9, 2, 8, 3, 28)}, 'Carton_gris': {'main_port_id': 26427997, 'sub_port_id': 26428049, 'hashtag': 'Carton_gris', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17785460, 'last_updated_at': datetime.datetime(2025, 9, 2, 8, 4, 58), 'last_updated_at_desc': datetime.datetime(2025, 9, 2, 8, 4, 58), 'last_updated_at_asc': datetime.datetime(2025, 9, 2, 8, 3, 28)}, 'kraft': {'main_port_id': 26427997, 'sub_port_id': 26428050, 'hashtag': 'kraft', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17785461, 'last_updated_at': datetime.datetime(2025, 9, 2, 8, 4, 58), 'last_updated_at_desc': datetime.datetime(2025, 9, 2, 8, 4, 58), 'last_updated_at_asc': datetime.datetime(2025, 9, 2, 8, 3, 28)}, 'metal': {'main_port_id': 26427997, 'sub_port_id': 26428051, 'hashtag': 'metal', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17785462, 'last_updated_at': datetime.datetime(2025, 9, 2, 8, 4, 58), 'last_updated_at_desc': datetime.datetime(2025, 9, 2, 8, 4, 58), 'last_updated_at_asc': datetime.datetime(2025, 9, 2, 8, 3, 28)}, 'Teint_Dans_La_Masse': {'main_port_id': 26427997, 'sub_port_id': 26428052, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17785463, 'last_updated_at': datetime.datetime(2025, 9, 2, 8, 4, 58), 'last_updated_at_desc': datetime.datetime(2025, 9, 2, 8, 4, 58), 'last_updated_at_asc': datetime.datetime(2025, 9, 2, 8, 3, 28)}, 'flou': {'main_port_id': 26427997, 'sub_port_id': 26428053, 'hashtag': 'flou', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17785464, 'last_updated_at': datetime.datetime(2025, 9, 2, 8, 4, 58), 'last_updated_at_desc': datetime.datetime(2025, 9, 2, 8, 4, 58), 'last_updated_at_asc': datetime.datetime(2025, 9, 2, 8, 3, 28)}, 'environnement': {'main_port_id': 26427997, 'sub_port_id': 26428054, 'hashtag': 'environnement', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17785465, 'last_updated_at': datetime.datetime(2025, 9, 2, 8, 4, 58), 'last_updated_at_desc': datetime.datetime(2025, 9, 2, 8, 4, 58), 'last_updated_at_asc': datetime.datetime(2025, 9, 2, 8, 3, 28)}, 'autre_refus': {'main_port_id': 26427997, 'sub_port_id': 26428055, 'hashtag': 'autre_refus', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17785466, 'last_updated_at': datetime.datetime(2025, 9, 2, 8, 4, 58), 'last_updated_at_desc': datetime.datetime(2025, 9, 2, 8, 4, 58), 'last_updated_at_asc': datetime.datetime(2025, 9, 2, 8, 3, 28)}} insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 26428044 , 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=26427997 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 (26428044) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26427997) result : ((1380782057,), (1380782058,), (1380782093,), (1380782095,), (1380782096,), (1380782115,), (1380782116,), (1380782149,), (1380782151,), (1380782152,), (1380782176,), (1380782214,), (1380782215,), (1380782216,), (1380782217,), (1380782218,), (1380782234,), (1380782235,), (1380782236,), (1380782237,), (1380782238,), (1380782239,), (1380782243,), (1380782275,), (1380782276,), (1380782277,), (1380782278,), (1380782298,), (1380782299,), (1380782300,), (1380782327,), (1380782328,), (1380782344,), (1380782346,), (1380782347,), (1380782563,), (1380782565,), (1380782567,), (1380782569,), (1380782916,), (1380782918,), (1380783225,), (1380783226,), (1380783228,), (1380783230,), (1380783232,), (1380783234,), (1380783523,), (1380783527,), (1380783530,), (1380783533,), (1380783536,), (1380783539,), (1380783963,), (1380784309,)) 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 (1380782300) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 26428045 , 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=26427997 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 (26428045) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26427997) result : ((1380782057,), (1380782058,), (1380782093,), (1380782095,), (1380782096,), (1380782115,), (1380782116,), (1380782149,), (1380782151,), (1380782152,), (1380782176,), (1380782214,), (1380782215,), (1380782216,), (1380782217,), (1380782218,), (1380782234,), (1380782235,), (1380782236,), (1380782237,), (1380782238,), (1380782239,), (1380782243,), (1380782275,), (1380782276,), (1380782277,), (1380782278,), (1380782298,), (1380782299,), (1380782300,), (1380782327,), (1380782328,), (1380782344,), (1380782346,), (1380782347,), (1380782563,), (1380782565,), (1380782567,), (1380782569,), (1380782916,), (1380782918,), (1380783225,), (1380783226,), (1380783228,), (1380783230,), (1380783232,), (1380783234,), (1380783523,), (1380783527,), (1380783530,), (1380783533,), (1380783536,), (1380783539,), (1380783963,), (1380784309,)) 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 (1380782300) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 26428046 , 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=26427997 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 (26428046) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26427997) result : ((1380782057,), (1380782058,), (1380782093,), (1380782095,), (1380782096,), (1380782115,), (1380782116,), (1380782149,), (1380782151,), (1380782152,), (1380782176,), (1380782214,), (1380782215,), (1380782216,), (1380782217,), (1380782218,), (1380782234,), (1380782235,), (1380782236,), (1380782237,), (1380782238,), (1380782239,), (1380782243,), (1380782275,), (1380782276,), (1380782277,), (1380782278,), (1380782298,), (1380782299,), (1380782300,), (1380782327,), (1380782328,), (1380782344,), (1380782346,), (1380782347,), (1380782563,), (1380782565,), (1380782567,), (1380782569,), (1380782916,), (1380782918,), (1380783225,), (1380783226,), (1380783228,), (1380783230,), (1380783232,), (1380783234,), (1380783523,), (1380783527,), (1380783530,), (1380783533,), (1380783536,), (1380783539,), (1380783963,), (1380784309,)) 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 (1380782300) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 26428047 , 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=26427997 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 (26428047) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26427997) result : ((1380782057,), (1380782058,), (1380782093,), (1380782095,), (1380782096,), (1380782115,), (1380782116,), (1380782149,), (1380782151,), (1380782152,), (1380782176,), (1380782214,), (1380782215,), (1380782216,), (1380782217,), (1380782218,), (1380782234,), (1380782235,), (1380782236,), (1380782237,), (1380782238,), (1380782239,), (1380782243,), (1380782275,), (1380782276,), (1380782277,), (1380782278,), (1380782298,), (1380782299,), (1380782300,), (1380782327,), (1380782328,), (1380782344,), (1380782346,), (1380782347,), (1380782563,), (1380782565,), (1380782567,), (1380782569,), (1380782916,), (1380782918,), (1380783225,), (1380783226,), (1380783228,), (1380783230,), (1380783232,), (1380783234,), (1380783523,), (1380783527,), (1380783530,), (1380783533,), (1380783536,), (1380783539,), (1380783963,), (1380784309,)) 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 (1380782300) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 26428048 , 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=26427997 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 (26428048) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26427997) result : ((1380782057,), (1380782058,), (1380782093,), (1380782095,), (1380782096,), (1380782115,), (1380782116,), (1380782149,), (1380782151,), (1380782152,), (1380782176,), (1380782214,), (1380782215,), (1380782216,), (1380782217,), (1380782218,), (1380782234,), (1380782235,), (1380782236,), (1380782237,), (1380782238,), (1380782239,), (1380782243,), (1380782275,), (1380782276,), (1380782277,), (1380782278,), (1380782298,), (1380782299,), (1380782300,), (1380782327,), (1380782328,), (1380782344,), (1380782346,), (1380782347,), (1380782563,), (1380782565,), (1380782567,), (1380782569,), (1380782916,), (1380782918,), (1380783225,), (1380783226,), (1380783228,), (1380783230,), (1380783232,), (1380783234,), (1380783523,), (1380783527,), (1380783530,), (1380783533,), (1380783536,), (1380783539,), (1380783963,), (1380784309,)) 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 (1380782300) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 26428049 , 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=26427997 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 (26428049) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26427997) result : ((1380782057,), (1380782058,), (1380782093,), (1380782095,), (1380782096,), (1380782115,), (1380782116,), (1380782149,), (1380782151,), (1380782152,), (1380782176,), (1380782214,), (1380782215,), (1380782216,), (1380782217,), (1380782218,), (1380782234,), (1380782235,), (1380782236,), (1380782237,), (1380782238,), (1380782239,), (1380782243,), (1380782275,), (1380782276,), (1380782277,), (1380782278,), (1380782298,), (1380782299,), (1380782300,), (1380782327,), (1380782328,), (1380782344,), (1380782346,), (1380782347,), (1380782563,), (1380782565,), (1380782567,), (1380782569,), (1380782916,), (1380782918,), (1380783225,), (1380783226,), (1380783228,), (1380783230,), (1380783232,), (1380783234,), (1380783523,), (1380783527,), (1380783530,), (1380783533,), (1380783536,), (1380783539,), (1380783963,), (1380784309,)) 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 (1380782300) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 26428050 , 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=26427997 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 (26428050) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26427997) result : ((1380782057,), (1380782058,), (1380782093,), (1380782095,), (1380782096,), (1380782115,), (1380782116,), (1380782149,), (1380782151,), (1380782152,), (1380782176,), (1380782214,), (1380782215,), (1380782216,), (1380782217,), (1380782218,), (1380782234,), (1380782235,), (1380782236,), (1380782237,), (1380782238,), (1380782239,), (1380782243,), (1380782275,), (1380782276,), (1380782277,), (1380782278,), (1380782298,), (1380782299,), (1380782300,), (1380782327,), (1380782328,), (1380782344,), (1380782346,), (1380782347,), (1380782563,), (1380782565,), (1380782567,), (1380782569,), (1380782916,), (1380782918,), (1380783225,), (1380783226,), (1380783228,), (1380783230,), (1380783232,), (1380783234,), (1380783523,), (1380783527,), (1380783530,), (1380783533,), (1380783536,), (1380783539,), (1380783963,), (1380784309,)) 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 (1380782300) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 26428051 , 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=26427997 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 (26428051) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26427997) result : ((1380782057,), (1380782058,), (1380782093,), (1380782095,), (1380782096,), (1380782115,), (1380782116,), (1380782149,), (1380782151,), (1380782152,), (1380782176,), (1380782214,), (1380782215,), (1380782216,), (1380782217,), (1380782218,), (1380782234,), (1380782235,), (1380782236,), (1380782237,), (1380782238,), (1380782239,), (1380782243,), (1380782275,), (1380782276,), (1380782277,), (1380782278,), (1380782298,), (1380782299,), (1380782300,), (1380782327,), (1380782328,), (1380782344,), (1380782346,), (1380782347,), (1380782563,), (1380782565,), (1380782567,), (1380782569,), (1380782916,), (1380782918,), (1380783225,), (1380783226,), (1380783228,), (1380783230,), (1380783232,), (1380783234,), (1380783523,), (1380783527,), (1380783530,), (1380783533,), (1380783536,), (1380783539,), (1380783963,), (1380784309,)) 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 (1380782300) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 26428052 , 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=26427997 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 (26428052) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26427997) result : ((1380782057,), (1380782058,), (1380782093,), (1380782095,), (1380782096,), (1380782115,), (1380782116,), (1380782149,), (1380782151,), (1380782152,), (1380782176,), (1380782214,), (1380782215,), (1380782216,), (1380782217,), (1380782218,), (1380782234,), (1380782235,), (1380782236,), (1380782237,), (1380782238,), (1380782239,), (1380782243,), (1380782275,), (1380782276,), (1380782277,), (1380782278,), (1380782298,), (1380782299,), (1380782300,), (1380782327,), (1380782328,), (1380782344,), (1380782346,), (1380782347,), (1380782563,), (1380782565,), (1380782567,), (1380782569,), (1380782916,), (1380782918,), (1380783225,), (1380783226,), (1380783228,), (1380783230,), (1380783232,), (1380783234,), (1380783523,), (1380783527,), (1380783530,), (1380783533,), (1380783536,), (1380783539,), (1380783963,), (1380784309,)) 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 (1380782300) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 26428053 , 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=26427997 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 (26428053) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26427997) result : ((1380782057,), (1380782058,), (1380782093,), (1380782095,), (1380782096,), (1380782115,), (1380782116,), (1380782149,), (1380782151,), (1380782152,), (1380782176,), (1380782214,), (1380782215,), (1380782216,), (1380782217,), (1380782218,), (1380782234,), (1380782235,), (1380782236,), (1380782237,), (1380782238,), (1380782239,), (1380782243,), (1380782275,), (1380782276,), (1380782277,), (1380782278,), (1380782298,), (1380782299,), (1380782300,), (1380782327,), (1380782328,), (1380782344,), (1380782346,), (1380782347,), (1380782563,), (1380782565,), (1380782567,), (1380782569,), (1380782916,), (1380782918,), (1380783225,), (1380783226,), (1380783228,), (1380783230,), (1380783232,), (1380783234,), (1380783523,), (1380783527,), (1380783530,), (1380783533,), (1380783536,), (1380783539,), (1380783963,), (1380784309,)) 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 (1380782300) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 26428054 , 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=26427997 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 (26428054) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26427997) result : ((1380782057,), (1380782058,), (1380782093,), (1380782095,), (1380782096,), (1380782115,), (1380782116,), (1380782149,), (1380782151,), (1380782152,), (1380782176,), (1380782214,), (1380782215,), (1380782216,), (1380782217,), (1380782218,), (1380782234,), (1380782235,), (1380782236,), (1380782237,), (1380782238,), (1380782239,), (1380782243,), (1380782275,), (1380782276,), (1380782277,), (1380782278,), (1380782298,), (1380782299,), (1380782300,), (1380782327,), (1380782328,), (1380782344,), (1380782346,), (1380782347,), (1380782563,), (1380782565,), (1380782567,), (1380782569,), (1380782916,), (1380782918,), (1380783225,), (1380783226,), (1380783228,), (1380783230,), (1380783232,), (1380783234,), (1380783523,), (1380783527,), (1380783530,), (1380783533,), (1380783536,), (1380783539,), (1380783963,), (1380784309,)) 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 (1380782300) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 26428055 , 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=26427997 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 (26428055) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26427997) result : ((1380782057,), (1380782058,), (1380782093,), (1380782095,), (1380782096,), (1380782115,), (1380782116,), (1380782149,), (1380782151,), (1380782152,), (1380782176,), (1380782214,), (1380782215,), (1380782216,), (1380782217,), (1380782218,), (1380782234,), (1380782235,), (1380782236,), (1380782237,), (1380782238,), (1380782239,), (1380782243,), (1380782275,), (1380782276,), (1380782277,), (1380782278,), (1380782298,), (1380782299,), (1380782300,), (1380782327,), (1380782328,), (1380782344,), (1380782346,), (1380782347,), (1380782563,), (1380782565,), (1380782567,), (1380782569,), (1380782916,), (1380782918,), (1380783225,), (1380783226,), (1380783228,), (1380783230,), (1380783232,), (1380783234,), (1380783523,), (1380783527,), (1380783530,), (1380783533,), (1380783536,), (1380783539,), (1380783963,), (1380784309,)) 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 (1380782300) and cspi.crop_hashtag_id = chi.id; To do ! Use context local managing function ! SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26427997 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('kraft','metal','flou','environnement','autre_refus','Carton_brun','plastique','cartonnette','papier','Teint_Dans_La_Masse','mal_croppe','Carton_gris')) AND mptpi.`min_score`=0.5 SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26427997 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('kraft','metal','flou','environnement','autre_refus','Carton_brun','plastique','cartonnette','papier','Teint_Dans_La_Masse','mal_croppe','Carton_gris')) AND mptpi.`min_score`=0.5 To do returned map {'papier': {'main_port_id': 26427997, 'sub_port_id': 26428057, 'hashtag': 'papier', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17785467, 'last_updated_at': datetime.datetime(2025, 9, 2, 8, 3, 34), 'last_updated_at_desc': datetime.datetime(2025, 9, 2, 8, 3, 34), 'last_updated_at_asc': datetime.datetime(2025, 9, 2, 8, 3, 34)}, 'mal_croppe': {'main_port_id': 26427997, 'sub_port_id': 26428058, 'hashtag': 'mal_croppe', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17785468, 'last_updated_at': datetime.datetime(2025, 9, 2, 8, 3, 34), 'last_updated_at_desc': datetime.datetime(2025, 9, 2, 8, 3, 34), 'last_updated_at_asc': datetime.datetime(2025, 9, 2, 8, 3, 34)}, 'cartonnette': {'main_port_id': 26427997, 'sub_port_id': 26428059, 'hashtag': 'cartonnette', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17785469, 'last_updated_at': datetime.datetime(2025, 9, 2, 8, 3, 34), 'last_updated_at_desc': datetime.datetime(2025, 9, 2, 8, 3, 34), 'last_updated_at_asc': datetime.datetime(2025, 9, 2, 8, 3, 34)}, 'plastique': {'main_port_id': 26427997, 'sub_port_id': 26428060, 'hashtag': 'plastique', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17785470, 'last_updated_at': datetime.datetime(2025, 9, 2, 8, 3, 34), 'last_updated_at_desc': datetime.datetime(2025, 9, 2, 8, 3, 34), 'last_updated_at_asc': datetime.datetime(2025, 9, 2, 8, 3, 34)}, 'Carton_brun': {'main_port_id': 26427997, 'sub_port_id': 26428061, 'hashtag': 'Carton_brun', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17785471, 'last_updated_at': datetime.datetime(2025, 9, 2, 8, 3, 34), 'last_updated_at_desc': datetime.datetime(2025, 9, 2, 8, 3, 34), 'last_updated_at_asc': datetime.datetime(2025, 9, 2, 8, 3, 34)}, 'Carton_gris': {'main_port_id': 26427997, 'sub_port_id': 26428062, 'hashtag': 'Carton_gris', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17785472, 'last_updated_at': datetime.datetime(2025, 9, 2, 8, 3, 34), 'last_updated_at_desc': datetime.datetime(2025, 9, 2, 8, 3, 34), 'last_updated_at_asc': datetime.datetime(2025, 9, 2, 8, 3, 34)}, 'kraft': {'main_port_id': 26427997, 'sub_port_id': 26428063, 'hashtag': 'kraft', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17785473, 'last_updated_at': datetime.datetime(2025, 9, 2, 8, 3, 34), 'last_updated_at_desc': datetime.datetime(2025, 9, 2, 8, 3, 34), 'last_updated_at_asc': datetime.datetime(2025, 9, 2, 8, 3, 34)}, 'metal': {'main_port_id': 26427997, 'sub_port_id': 26428064, 'hashtag': 'metal', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17785474, 'last_updated_at': datetime.datetime(2025, 9, 2, 8, 3, 34), 'last_updated_at_desc': datetime.datetime(2025, 9, 2, 8, 3, 34), 'last_updated_at_asc': datetime.datetime(2025, 9, 2, 8, 3, 34)}, 'Teint_Dans_La_Masse': {'main_port_id': 26427997, 'sub_port_id': 26428065, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17785475, 'last_updated_at': datetime.datetime(2025, 9, 2, 8, 3, 34), 'last_updated_at_desc': datetime.datetime(2025, 9, 2, 8, 3, 34), 'last_updated_at_asc': datetime.datetime(2025, 9, 2, 8, 3, 34)}, 'flou': {'main_port_id': 26427997, 'sub_port_id': 26428066, 'hashtag': 'flou', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17785476, 'last_updated_at': datetime.datetime(2025, 9, 2, 8, 3, 34), 'last_updated_at_desc': datetime.datetime(2025, 9, 2, 8, 3, 34), 'last_updated_at_asc': datetime.datetime(2025, 9, 2, 8, 3, 34)}, 'environnement': {'main_port_id': 26427997, 'sub_port_id': 26428067, 'hashtag': 'environnement', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17785477, 'last_updated_at': datetime.datetime(2025, 9, 2, 8, 3, 34), 'last_updated_at_desc': datetime.datetime(2025, 9, 2, 8, 3, 34), 'last_updated_at_asc': datetime.datetime(2025, 9, 2, 8, 3, 34)}, 'autre_refus': {'main_port_id': 26427997, 'sub_port_id': 26428068, 'hashtag': 'autre_refus', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17785478, 'last_updated_at': datetime.datetime(2025, 9, 2, 8, 4, 58), 'last_updated_at_desc': datetime.datetime(2025, 9, 2, 8, 4, 58), 'last_updated_at_asc': datetime.datetime(2025, 9, 2, 8, 3, 34)}} insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26428057,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26428044 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26428058,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26428045 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26428059,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26428046 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26428060,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26428047 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26428061,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26428048 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26428062,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26428049 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26428063,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26428050 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26428064,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26428051 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26428065,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26428052 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26428066,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26428053 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26428067,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26428054 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26428068,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26428055 lien utilise dans velours : https://marlene.fotonower.com/velours/26428057,26428058,26428059,26428060,26428061,26428062,26428063,26428064,26428065,26428066,26428067,26428068?tags=papier,mal_croppe,cartonnette,plastique,Carton_brun,Carton_gris,kraft,metal,Teint_Dans_La_Masse,flou,environnement,autre_refus After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([26427997]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1380784309, 1380783963, 1380783539, 1380783536, 1380783533, 1380783530, 1380783527, 1380783523, 1380783234, 1380783232, 1380783230, 1380783228, 1380783226, 1380783225, 1380782918, 1380782916, 1380782569, 1380782567, 1380782565, 1380782563, 1380782347, 1380782346, 1380782344, 1380782328, 1380782327, 1380782300, 1380782299, 1380782298, 1380782278, 1380782277, 1380782276, 1380782275, 1380782243, 1380782239, 1380782238, 1380782237, 1380782236, 1380782235, 1380782234, 1380782218, 1380782217, 1380782216, 1380782215, 1380782214, 1380782176] map_info['map_portfolio_photo'] : {26427997: [1380784309, 1380783963, 1380783539, 1380783536, 1380783533, 1380783530, 1380783527, 1380783523, 1380783234, 1380783232, 1380783230, 1380783228, 1380783226, 1380783225, 1380782918, 1380782916, 1380782569, 1380782567, 1380782565, 1380782563, 1380782347, 1380782346, 1380782344, 1380782328, 1380782327, 1380782300, 1380782299, 1380782298, 1380782278, 1380782277, 1380782276, 1380782275, 1380782243, 1380782239, 1380782238, 1380782237, 1380782236, 1380782235, 1380782234, 1380782218, 1380782217, 1380782216, 1380782215, 1380782214, 1380782176, 1380782152, 1380782151, 1380782149, 1380782116, 1380782115, 1380782096, 1380782095, 1380782093, 1380782058, 1380782057]} final : False mtd_id 4302 list_pids : [1380784309, 1380783963, 1380783539, 1380783536, 1380783533, 1380783530, 1380783527, 1380783523, 1380783234, 1380783232, 1380783230, 1380783228, 1380783226, 1380783225, 1380782918, 1380782916, 1380782569, 1380782567, 1380782565, 1380782563, 1380782347, 1380782346, 1380782344, 1380782328, 1380782327, 1380782300, 1380782299, 1380782298, 1380782278, 1380782277, 1380782276, 1380782275, 1380782243, 1380782239, 1380782238, 1380782237, 1380782236, 1380782235, 1380782234, 1380782218, 1380782217, 1380782216, 1380782215, 1380782214, 1380782176] Looping around the photos to save general results len do output : 1 /26427997. 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, '3650384') ('4302', '26427997', '1380784309', None, None, None, None, None, '3650384') ('4302', None, None, None, None, None, None, None, '3650384') ('4302', '26427997', '1380783963', None, None, None, None, None, '3650384') ('4302', None, None, None, None, None, None, None, '3650384') ('4302', '26427997', '1380783539', None, None, None, None, None, '3650384') ('4302', None, None, None, None, None, None, None, '3650384') ('4302', '26427997', '1380783536', None, None, None, None, None, '3650384') ('4302', None, None, None, None, None, None, None, '3650384') ('4302', '26427997', '1380783533', None, None, None, None, None, '3650384') ('4302', None, None, None, None, None, None, None, '3650384') ('4302', '26427997', '1380783530', None, None, None, None, None, '3650384') ('4302', None, None, None, None, None, None, None, '3650384') ('4302', '26427997', '1380783527', None, None, None, None, None, '3650384') ('4302', None, None, None, None, None, None, None, '3650384') ('4302', '26427997', '1380783523', None, None, None, None, None, '3650384') ('4302', None, None, None, None, None, None, None, '3650384') ('4302', '26427997', '1380783234', None, None, None, None, None, '3650384') ('4302', None, None, None, None, None, None, None, '3650384') ('4302', '26427997', '1380783232', None, None, None, None, None, '3650384') ('4302', None, None, None, None, None, None, None, '3650384') ('4302', '26427997', '1380783230', None, None, None, None, None, '3650384') ('4302', None, None, None, None, None, None, None, '3650384') ('4302', '26427997', '1380783228', None, None, None, None, None, '3650384') ('4302', None, None, None, None, None, None, None, '3650384') ('4302', '26427997', '1380783226', None, None, None, None, None, '3650384') ('4302', None, None, None, None, None, None, None, '3650384') ('4302', '26427997', '1380783225', None, None, None, None, None, '3650384') ('4302', None, None, None, None, None, None, None, '3650384') ('4302', '26427997', '1380782918', None, None, None, None, None, '3650384') ('4302', None, None, None, None, None, None, None, '3650384') ('4302', '26427997', '1380782916', None, None, None, None, None, '3650384') ('4302', None, None, None, None, None, None, None, '3650384') ('4302', '26427997', '1380782569', None, None, None, None, None, '3650384') ('4302', None, None, None, None, None, None, None, '3650384') ('4302', '26427997', '1380782567', None, None, None, None, None, '3650384') ('4302', None, None, None, None, None, None, None, '3650384') ('4302', '26427997', '1380782565', None, None, None, None, None, '3650384') ('4302', None, None, None, None, None, None, None, '3650384') ('4302', '26427997', '1380782563', None, None, None, None, None, '3650384') ('4302', None, None, None, None, None, None, None, '3650384') ('4302', '26427997', '1380782347', None, None, None, None, None, '3650384') ('4302', None, None, None, None, None, None, None, '3650384') ('4302', '26427997', '1380782346', None, None, None, None, None, '3650384') ('4302', None, None, None, None, None, None, None, '3650384') ('4302', '26427997', '1380782344', None, None, None, None, None, '3650384') ('4302', None, None, None, None, None, None, None, '3650384') ('4302', '26427997', '1380782328', None, None, None, None, None, '3650384') ('4302', None, None, None, None, None, None, None, '3650384') ('4302', '26427997', '1380782327', None, None, None, None, None, '3650384') ('4302', None, None, None, None, None, None, None, '3650384') ('4302', '26427997', '1380782300', None, None, None, None, None, '3650384') ('4302', None, None, None, None, None, None, None, '3650384') ('4302', '26427997', '1380782299', None, None, None, None, None, '3650384') ('4302', None, None, None, None, None, None, None, '3650384') ('4302', '26427997', '1380782298', None, None, None, None, None, '3650384') ('4302', None, None, None, None, None, None, None, '3650384') ('4302', '26427997', '1380782278', None, None, None, None, None, '3650384') ('4302', None, None, None, None, None, None, None, '3650384') ('4302', '26427997', '1380782277', None, None, None, None, None, '3650384') ('4302', None, None, None, None, None, None, None, '3650384') ('4302', '26427997', '1380782276', None, None, None, None, None, '3650384') ('4302', None, None, None, None, None, None, None, '3650384') ('4302', '26427997', '1380782275', None, None, None, None, None, '3650384') ('4302', None, None, None, None, None, None, None, '3650384') ('4302', '26427997', '1380782243', None, None, None, None, None, '3650384') ('4302', None, None, None, None, None, None, None, '3650384') ('4302', '26427997', '1380782239', None, None, None, None, None, '3650384') ('4302', None, None, None, None, None, None, None, '3650384') ('4302', '26427997', '1380782238', None, None, None, None, None, '3650384') ('4302', None, None, None, None, None, None, None, '3650384') ('4302', '26427997', '1380782237', None, None, None, None, None, '3650384') ('4302', None, None, None, None, None, None, None, '3650384') ('4302', '26427997', '1380782236', None, None, None, None, None, '3650384') ('4302', None, None, None, None, None, None, None, '3650384') ('4302', '26427997', '1380782235', None, None, None, None, None, '3650384') ('4302', None, None, None, None, None, None, None, '3650384') ('4302', '26427997', '1380782234', None, None, None, None, None, '3650384') ('4302', None, None, None, None, None, None, None, '3650384') ('4302', '26427997', '1380782218', None, None, None, None, None, '3650384') ('4302', None, None, None, None, None, None, None, '3650384') ('4302', '26427997', '1380782217', None, None, None, None, None, '3650384') ('4302', None, None, None, None, None, None, None, '3650384') ('4302', '26427997', '1380782216', None, None, None, None, None, '3650384') ('4302', None, None, None, None, None, None, None, '3650384') ('4302', '26427997', '1380782215', None, None, None, None, None, '3650384') ('4302', None, None, None, None, None, None, None, '3650384') ('4302', '26427997', '1380782214', None, None, None, None, None, '3650384') ('4302', None, None, None, None, None, None, None, '3650384') ('4302', '26427997', '1380782176', None, None, None, None, None, '3650384') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 46 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, '26427997', "{'papier': 26428044, 'mal_croppe': 26428045, 'cartonnette': 26428046, 'plastique': 26428047, 'Carton_brun': 26428048, 'Carton_gris': 26428049, 'kraft': 26428050, 'metal': 26428051, 'Teint_Dans_La_Masse': 26428052, 'flou': 26428053, 'environnement': 26428054, 'autre_refus': 26428055}", None, None, None, None, '3650384'), ('4302', '26427997', '1380784309', None, None, None, None, None, '3650384'), ('4302', '26427997', '1380783963', None, None, None, None, None, '3650384'), ('4302', '26427997', '1380783539', None, None, None, None, None, '3650384'), ('4302', '26427997', '1380783536', None, None, None, None, None, '3650384'), ('4302', '26427997', '1380783533', None, None, None, None, None, '3650384'), ('4302', '26427997', '1380783530', None, None, None, None, None, '3650384'), ('4302', '26427997', '1380783527', None, None, None, None, None, '3650384'), ('4302', '26427997', '1380783523', None, None, None, None, None, '3650384'), ('4302', '26427997', '1380783234', None, None, None, None, None, '3650384'), ('4302', '26427997', '1380783232', None, None, None, None, None, '3650384'), ('4302', '26427997', '1380783230', None, None, None, None, None, '3650384'), ('4302', '26427997', '1380783228', None, None, None, None, None, '3650384'), ('4302', '26427997', '1380783226', None, None, None, None, None, '3650384'), ('4302', '26427997', '1380783225', None, None, None, None, None, '3650384'), ('4302', '26427997', '1380782918', None, None, None, None, None, '3650384'), ('4302', '26427997', '1380782916', None, None, None, None, None, '3650384'), ('4302', '26427997', '1380782569', None, None, None, None, None, '3650384'), ('4302', '26427997', '1380782567', None, None, None, None, None, '3650384'), ('4302', '26427997', '1380782565', None, None, None, None, None, '3650384'), ('4302', '26427997', '1380782563', None, None, None, None, None, '3650384'), ('4302', '26427997', '1380782347', None, None, None, None, None, '3650384'), ('4302', '26427997', '1380782346', None, None, None, None, None, '3650384'), ('4302', '26427997', '1380782344', None, None, None, None, None, '3650384'), ('4302', '26427997', '1380782328', None, None, None, None, None, '3650384'), ('4302', '26427997', '1380782327', None, None, None, None, None, '3650384'), ('4302', '26427997', '1380782300', None, None, None, None, None, '3650384'), ('4302', '26427997', '1380782299', None, None, None, None, None, '3650384'), ('4302', '26427997', '1380782298', None, None, None, None, None, '3650384'), ('4302', '26427997', '1380782278', None, None, None, None, None, '3650384'), ('4302', '26427997', '1380782277', None, None, None, None, None, '3650384'), ('4302', '26427997', '1380782276', None, None, None, None, None, '3650384'), ('4302', '26427997', '1380782275', None, None, None, None, None, '3650384'), ('4302', '26427997', '1380782243', None, None, None, None, None, '3650384'), ('4302', '26427997', '1380782239', None, None, None, None, None, '3650384'), ('4302', '26427997', '1380782238', None, None, None, None, None, '3650384'), ('4302', '26427997', '1380782237', None, None, None, None, None, '3650384'), ('4302', '26427997', '1380782236', None, None, None, None, None, '3650384'), ('4302', '26427997', '1380782235', None, None, None, None, None, '3650384'), ('4302', '26427997', '1380782234', None, None, None, None, None, '3650384'), ('4302', '26427997', '1380782218', None, None, None, None, None, '3650384'), ('4302', '26427997', '1380782217', None, None, None, None, None, '3650384'), ('4302', '26427997', '1380782216', None, None, None, None, None, '3650384'), ('4302', '26427997', '1380782215', None, None, None, None, None, '3650384'), ('4302', '26427997', '1380782214', None, None, None, None, None, '3650384'), ('4302', '26427997', '1380782176', None, None, None, None, None, '3650384')] time used for this insertion : 0.03639030456542969 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.8037159442901611 time spend to save output : 0.03695821762084961 total time spend for step 1 : 0.8406741619110107 step2:final Tue Sep 2 09:00:59 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec 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 (26427997) 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 26427997 : SELECT photo_id, hashtag_id, ratio from MTRPhoto.photo_carac_ratio where hashtag_type = 3726 and photo_id in (1380782058,1380782057,1380782096,1380782095,1380782093,1380782116,1380782115,1380782152,1380782151,1380782149,1380782176,1380782218,1380782243,1380782217,1380782239,1380782238,1380782216,1380782237,1380782215,1380782236,1380782214,1380782235,1380782234,1380782278,1380782277,1380782276,1380782275,1380782300,1380782299,1380782298,1380782328,1380782327,1380782347,1380782346,1380782344,1380782569,1380782567,1380782565,1380782563,1380782918,1380782916,1380783234,1380783232,1380783230,1380783228,1380783226,1380783225,1380783539,1380783536,1380783533,1380783530,1380783527,1380783523,1380783963,1380784309); After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([26427997]) Inside saveOutput : final : False verbose : True original output for save of step final : {1380784309: ('0.0',), 1380783963: ('0.0',), 1380783539: ('0.0',), 1380783536: ('0.0',), 1380783533: ('0.0',), 1380783530: ('0.0',), 1380783527: ('0.0',), 1380783523: ('0.0',), 1380783234: ('0.0',), 1380783232: ('0.0',), 1380783230: ('0.0',), 1380783228: ('0.0',), 1380783226: ('0.0',), 1380783225: ('0.0',), 1380782918: ('0.0',), 1380782916: ('0.0',), 1380782569: ('0.0',), 1380782567: ('0.0',), 1380782565: ('0.0',), 1380782563: ('0.0',), 1380782347: ('0.0',), 1380782346: ('0.0',), 1380782344: ('0.0',), 1380782328: ('0.0',), 1380782327: ('0.0',), 1380782300: ('0.0',), 1380782299: ('0.0',), 1380782298: ('0.0',), 1380782278: ('0.0',), 1380782277: ('0.0',), 1380782276: ('0.0',), 1380782275: ('0.0',), 1380782243: ('0.0',), 1380782239: ('0.0',), 1380782238: ('0.0',), 1380782237: ('0.0',), 1380782236: ('0.0',), 1380782235: ('0.0',), 1380782234: ('0.0',), 1380782218: ('0.0',), 1380782217: ('0.0',), 1380782216: ('0.0',), 1380782215: ('0.0',), 1380782214: ('0.0',), 1380782176: ('0.0',)} new output for save of step final : {1380784309: ('0.0',), 1380783963: ('0.0',), 1380783539: ('0.0',), 1380783536: ('0.0',), 1380783533: ('0.0',), 1380783530: ('0.0',), 1380783527: ('0.0',), 1380783523: ('0.0',), 1380783234: ('0.0',), 1380783232: ('0.0',), 1380783230: ('0.0',), 1380783228: ('0.0',), 1380783226: ('0.0',), 1380783225: ('0.0',), 1380782918: ('0.0',), 1380782916: ('0.0',), 1380782569: ('0.0',), 1380782567: ('0.0',), 1380782565: ('0.0',), 1380782563: ('0.0',), 1380782347: ('0.0',), 1380782346: ('0.0',), 1380782344: ('0.0',), 1380782328: ('0.0',), 1380782327: ('0.0',), 1380782300: ('0.0',), 1380782299: ('0.0',), 1380782298: ('0.0',), 1380782278: ('0.0',), 1380782277: ('0.0',), 1380782276: ('0.0',), 1380782275: ('0.0',), 1380782243: ('0.0',), 1380782239: ('0.0',), 1380782238: ('0.0',), 1380782237: ('0.0',), 1380782236: ('0.0',), 1380782235: ('0.0',), 1380782234: ('0.0',), 1380782218: ('0.0',), 1380782217: ('0.0',), 1380782216: ('0.0',), 1380782215: ('0.0',), 1380782214: ('0.0',), 1380782176: ('0.0',)} [1380784309, 1380783963, 1380783539, 1380783536, 1380783533, 1380783530, 1380783527, 1380783523, 1380783234, 1380783232, 1380783230, 1380783228, 1380783226, 1380783225, 1380782918, 1380782916, 1380782569, 1380782567, 1380782565, 1380782563, 1380782347, 1380782346, 1380782344, 1380782328, 1380782327, 1380782300, 1380782299, 1380782298, 1380782278, 1380782277, 1380782276, 1380782275, 1380782243, 1380782239, 1380782238, 1380782237, 1380782236, 1380782235, 1380782234, 1380782218, 1380782217, 1380782216, 1380782215, 1380782214, 1380782176] map_info['map_portfolio_photo'] : {26427997: [1380784309, 1380783963, 1380783539, 1380783536, 1380783533, 1380783530, 1380783527, 1380783523, 1380783234, 1380783232, 1380783230, 1380783228, 1380783226, 1380783225, 1380782918, 1380782916, 1380782569, 1380782567, 1380782565, 1380782563, 1380782347, 1380782346, 1380782344, 1380782328, 1380782327, 1380782300, 1380782299, 1380782298, 1380782278, 1380782277, 1380782276, 1380782275, 1380782243, 1380782239, 1380782238, 1380782237, 1380782236, 1380782235, 1380782234, 1380782218, 1380782217, 1380782216, 1380782215, 1380782214, 1380782176, 1380782152, 1380782151, 1380782149, 1380782116, 1380782115, 1380782096, 1380782095, 1380782093, 1380782058, 1380782057]} final : False mtd_id 4302 list_pids : [1380784309, 1380783963, 1380783539, 1380783536, 1380783533, 1380783530, 1380783527, 1380783523, 1380783234, 1380783232, 1380783230, 1380783228, 1380783226, 1380783225, 1380782918, 1380782916, 1380782569, 1380782567, 1380782565, 1380782563, 1380782347, 1380782346, 1380782344, 1380782328, 1380782327, 1380782300, 1380782299, 1380782298, 1380782278, 1380782277, 1380782276, 1380782275, 1380782243, 1380782239, 1380782238, 1380782237, 1380782236, 1380782235, 1380782234, 1380782218, 1380782217, 1380782216, 1380782215, 1380782214, 1380782176] Looping around the photos to save general results len do output : 45 /1380784309.Didn't retrieve data . /1380783963.Didn't retrieve data . /1380783539.Didn't retrieve data . /1380783536.Didn't retrieve data . /1380783533.Didn't retrieve data . /1380783530.Didn't retrieve data . /1380783527.Didn't retrieve data . /1380783523.Didn't retrieve data . /1380783234.Didn't retrieve data . /1380783232.Didn't retrieve data . /1380783230.Didn't retrieve data . /1380783228.Didn't retrieve data . /1380783226.Didn't retrieve data . /1380783225.Didn't retrieve data . /1380782918.Didn't retrieve data . /1380782916.Didn't retrieve data . /1380782569.Didn't retrieve data . /1380782567.Didn't retrieve data . /1380782565.Didn't retrieve data . /1380782563.Didn't retrieve data . /1380782347.Didn't retrieve data . /1380782346.Didn't retrieve data . /1380782344.Didn't retrieve data . /1380782328.Didn't retrieve data . /1380782327.Didn't retrieve data . /1380782300.Didn't retrieve data . /1380782299.Didn't retrieve data . /1380782298.Didn't retrieve data . /1380782278.Didn't retrieve data . /1380782277.Didn't retrieve data . /1380782276.Didn't retrieve data . /1380782275.Didn't retrieve data . /1380782243.Didn't retrieve data . /1380782239.Didn't retrieve data . /1380782238.Didn't retrieve data . /1380782237.Didn't retrieve data . /1380782236.Didn't retrieve data . /1380782235.Didn't retrieve data . /1380782234.Didn't retrieve data . /1380782218.Didn't retrieve data . /1380782217.Didn't retrieve data . /1380782216.Didn't retrieve data . /1380782215.Didn't retrieve data . /1380782214.Didn't retrieve data . /1380782176.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, '3650384') ('4302', '26427997', '1380784309', None, None, None, None, None, '3650384') ('4302', None, None, None, None, None, None, None, '3650384') ('4302', '26427997', '1380783963', None, None, None, None, None, '3650384') ('4302', None, None, None, None, None, None, None, '3650384') ('4302', '26427997', '1380783539', None, None, None, None, None, '3650384') ('4302', None, None, None, None, None, None, None, '3650384') ('4302', '26427997', '1380783536', None, None, None, None, None, '3650384') ('4302', None, None, None, None, None, None, None, '3650384') ('4302', '26427997', '1380783533', None, None, None, None, None, '3650384') ('4302', None, None, None, None, None, None, None, '3650384') ('4302', '26427997', '1380783530', None, None, None, None, None, '3650384') ('4302', None, None, None, None, None, None, None, '3650384') ('4302', '26427997', '1380783527', None, None, None, None, None, '3650384') ('4302', None, None, None, None, None, None, None, '3650384') ('4302', '26427997', '1380783523', None, None, None, None, None, '3650384') ('4302', None, None, None, None, None, None, None, '3650384') ('4302', '26427997', '1380783234', None, None, None, None, None, '3650384') ('4302', None, None, None, None, None, None, None, '3650384') ('4302', '26427997', '1380783232', None, None, None, None, None, '3650384') ('4302', None, None, None, None, None, None, None, '3650384') ('4302', '26427997', '1380783230', None, None, None, None, None, '3650384') ('4302', None, None, None, None, None, None, None, '3650384') ('4302', '26427997', '1380783228', None, None, None, None, None, '3650384') ('4302', None, None, None, None, None, None, None, '3650384') ('4302', '26427997', '1380783226', None, None, None, None, None, '3650384') ('4302', None, None, None, None, None, None, None, '3650384') ('4302', '26427997', '1380783225', None, None, None, None, None, '3650384') ('4302', None, None, None, None, None, None, None, '3650384') ('4302', '26427997', '1380782918', None, None, None, None, None, '3650384') ('4302', None, None, None, None, None, None, None, '3650384') ('4302', '26427997', '1380782916', None, None, None, None, None, '3650384') ('4302', None, None, None, None, None, None, None, '3650384') ('4302', '26427997', '1380782569', None, None, None, None, None, '3650384') ('4302', None, None, None, None, None, None, None, '3650384') ('4302', '26427997', '1380782567', None, None, None, None, None, '3650384') ('4302', None, None, None, None, None, None, None, '3650384') ('4302', '26427997', '1380782565', None, None, None, None, None, '3650384') ('4302', None, None, None, None, None, None, None, '3650384') ('4302', '26427997', '1380782563', None, None, None, None, None, '3650384') ('4302', None, None, None, None, None, None, None, '3650384') ('4302', '26427997', '1380782347', None, None, None, None, None, '3650384') ('4302', None, None, None, None, None, None, None, '3650384') ('4302', '26427997', '1380782346', None, None, None, None, None, '3650384') ('4302', None, None, None, None, None, None, None, '3650384') ('4302', '26427997', '1380782344', None, None, None, None, None, '3650384') ('4302', None, None, None, None, None, None, None, '3650384') ('4302', '26427997', '1380782328', None, None, None, None, None, '3650384') ('4302', None, None, None, None, None, None, None, '3650384') ('4302', '26427997', '1380782327', None, None, None, None, None, '3650384') ('4302', None, None, None, None, None, None, None, '3650384') ('4302', '26427997', '1380782300', None, None, None, None, None, '3650384') ('4302', None, None, None, None, None, None, None, '3650384') ('4302', '26427997', '1380782299', None, None, None, None, None, '3650384') ('4302', None, None, None, None, None, None, None, '3650384') ('4302', '26427997', '1380782298', None, None, None, None, None, '3650384') ('4302', None, None, None, None, None, None, None, '3650384') ('4302', '26427997', '1380782278', None, None, None, None, None, '3650384') ('4302', None, None, None, None, None, None, None, '3650384') ('4302', '26427997', '1380782277', None, None, None, None, None, '3650384') ('4302', None, None, None, None, None, None, None, '3650384') ('4302', '26427997', '1380782276', None, None, None, None, None, '3650384') ('4302', None, None, None, None, None, None, None, '3650384') ('4302', '26427997', '1380782275', None, None, None, None, None, '3650384') ('4302', None, None, None, None, None, None, None, '3650384') ('4302', '26427997', '1380782243', None, None, None, None, None, '3650384') ('4302', None, None, None, None, None, None, None, '3650384') ('4302', '26427997', '1380782239', None, None, None, None, None, '3650384') ('4302', None, None, None, None, None, None, None, '3650384') ('4302', '26427997', '1380782238', None, None, None, None, None, '3650384') ('4302', None, None, None, None, None, None, None, '3650384') ('4302', '26427997', '1380782237', None, None, None, None, None, '3650384') ('4302', None, None, None, None, None, None, None, '3650384') ('4302', '26427997', '1380782236', None, None, None, None, None, '3650384') ('4302', None, None, None, None, None, None, None, '3650384') ('4302', '26427997', '1380782235', None, None, None, None, None, '3650384') ('4302', None, None, None, None, None, None, None, '3650384') ('4302', '26427997', '1380782234', None, None, None, None, None, '3650384') ('4302', None, None, None, None, None, None, None, '3650384') ('4302', '26427997', '1380782218', None, None, None, None, None, '3650384') ('4302', None, None, None, None, None, None, None, '3650384') ('4302', '26427997', '1380782217', None, None, None, None, None, '3650384') ('4302', None, None, None, None, None, None, None, '3650384') ('4302', '26427997', '1380782216', None, None, None, None, None, '3650384') ('4302', None, None, None, None, None, None, None, '3650384') ('4302', '26427997', '1380782215', None, None, None, None, None, '3650384') ('4302', None, None, None, None, None, None, None, '3650384') ('4302', '26427997', '1380782214', None, None, None, None, None, '3650384') ('4302', None, None, None, None, None, None, None, '3650384') ('4302', '26427997', '1380782176', None, None, None, None, None, '3650384') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 135 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', '26427997', '1380784309', '0.0', None, None, None, None, '3650384'), ('4302', '26427997', '1380783963', '0.0', None, None, None, None, '3650384'), ('4302', '26427997', '1380783539', '0.0', None, None, None, None, '3650384'), ('4302', '26427997', '1380783536', '0.0', None, None, None, None, '3650384'), ('4302', '26427997', '1380783533', '0.0', None, None, None, None, '3650384'), ('4302', '26427997', '1380783530', '0.0', None, None, None, None, '3650384'), ('4302', '26427997', '1380783527', '0.0', None, None, None, None, '3650384'), ('4302', '26427997', '1380783523', '0.0', None, None, None, None, '3650384'), ('4302', '26427997', '1380783234', '0.0', None, None, None, None, '3650384'), ('4302', '26427997', '1380783232', '0.0', None, None, None, None, '3650384'), ('4302', '26427997', '1380783230', '0.0', None, None, None, None, '3650384'), ('4302', '26427997', '1380783228', '0.0', None, None, None, None, '3650384'), ('4302', '26427997', '1380783226', '0.0', None, None, None, None, '3650384'), ('4302', '26427997', '1380783225', '0.0', None, None, None, None, '3650384'), ('4302', '26427997', '1380782918', '0.0', None, None, None, None, '3650384'), ('4302', '26427997', '1380782916', '0.0', None, None, None, None, '3650384'), ('4302', '26427997', '1380782569', '0.0', None, None, None, None, '3650384'), ('4302', '26427997', '1380782567', '0.0', None, None, None, None, '3650384'), ('4302', '26427997', '1380782565', '0.0', None, None, None, None, '3650384'), ('4302', '26427997', '1380782563', '0.0', None, None, None, None, '3650384'), ('4302', '26427997', '1380782347', '0.0', None, None, None, None, '3650384'), ('4302', '26427997', '1380782346', '0.0', None, None, None, None, '3650384'), ('4302', '26427997', '1380782344', '0.0', None, None, None, None, '3650384'), ('4302', '26427997', '1380782328', '0.0', None, None, None, None, '3650384'), ('4302', '26427997', '1380782327', '0.0', None, None, None, None, '3650384'), ('4302', '26427997', '1380782300', '0.0', None, None, None, None, '3650384'), ('4302', '26427997', '1380782299', '0.0', None, None, None, None, '3650384'), ('4302', '26427997', '1380782298', '0.0', None, None, None, None, '3650384'), ('4302', '26427997', '1380782278', '0.0', None, None, None, None, '3650384'), ('4302', '26427997', '1380782277', '0.0', None, None, None, None, '3650384'), ('4302', '26427997', '1380782276', '0.0', None, None, None, None, '3650384'), ('4302', '26427997', '1380782275', '0.0', None, None, None, None, '3650384'), ('4302', '26427997', '1380782243', '0.0', None, None, None, None, '3650384'), ('4302', '26427997', '1380782239', '0.0', None, None, None, None, '3650384'), ('4302', '26427997', '1380782238', '0.0', None, None, None, None, '3650384'), ('4302', '26427997', '1380782237', '0.0', None, None, None, None, '3650384'), ('4302', '26427997', '1380782236', '0.0', None, None, None, None, '3650384'), ('4302', '26427997', '1380782235', '0.0', None, None, None, None, '3650384'), ('4302', '26427997', '1380782234', '0.0', None, None, None, None, '3650384'), ('4302', '26427997', '1380782218', '0.0', None, None, None, None, '3650384'), ('4302', '26427997', '1380782217', '0.0', None, None, None, None, '3650384'), ('4302', '26427997', '1380782216', '0.0', None, None, None, None, '3650384'), ('4302', '26427997', '1380782215', '0.0', None, None, None, None, '3650384'), ('4302', '26427997', '1380782214', '0.0', None, None, None, None, '3650384'), ('4302', '26427997', '1380782176', '0.0', None, None, None, None, '3650384')] time used for this insertion : 0.026297330856323242 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.11411023139953613 time spend to save output : 0.028196096420288086 total time spend for step 2 : 0.14230632781982422 step3:velours_tree Tue Sep 2 09:00:59 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec 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 : {26427997: [{'papier': 26428044, 'mal_croppe': 26428045, 'cartonnette': 26428046, 'plastique': 26428047, 'Carton_brun': 26428048, 'Carton_gris': 26428049, 'kraft': 26428050, 'metal': 26428051, 'Teint_Dans_La_Masse': 26428052, 'flou': 26428053, 'environnement': 26428054, 'autre_refus': 26428055}]} input_args_next_step : {26427997: ()} output_args : {26427997: [{'papier': 26428044, 'mal_croppe': 26428045, 'cartonnette': 26428046, 'plastique': 26428047, 'Carton_brun': 26428048, 'Carton_gris': 26428049, 'kraft': 26428050, 'metal': 26428051, 'Teint_Dans_La_Masse': 26428052, 'flou': 26428053, 'environnement': 26428054, 'autre_refus': 26428055}]} args : 26427997 depend.output_id : 0 VR 22-3-18 : For now we do not clean correctly the datou structure input_args_next_step, len :1, first value : ({'papier': 26428044, 'mal_croppe': 26428045, 'cartonnette': 26428046, 'plastique': 26428047, 'Carton_brun': 26428048, 'Carton_gris': 26428049, 'kraft': 26428050, 'metal': 26428051, 'Teint_Dans_La_Masse': 26428052, 'flou': 26428053, 'environnement': 26428054, 'autre_refus': 26428055},) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (26427997) 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([26427997]) 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.4895589351654053 time spend to save output : 7.772445678710938e-05 total time spend for step 3 : 0.4896366596221924 step4:send_mail_cod Tue Sep 2 09:00:59 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec 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 : {1380784309: ('0.0',), 1380783963: ('0.0',), 1380783539: ('0.0',), 1380783536: ('0.0',), 1380783533: ('0.0',), 1380783530: ('0.0',), 1380783527: ('0.0',), 1380783523: ('0.0',), 1380783234: ('0.0',), 1380783232: ('0.0',), 1380783230: ('0.0',), 1380783228: ('0.0',), 1380783226: ('0.0',), 1380783225: ('0.0',), 1380782918: ('0.0',), 1380782916: ('0.0',), 1380782569: ('0.0',), 1380782567: ('0.0',), 1380782565: ('0.0',), 1380782563: ('0.0',), 1380782347: ('0.0',), 1380782346: ('0.0',), 1380782344: ('0.0',), 1380782328: ('0.0',), 1380782327: ('0.0',), 1380782300: ('0.0',), 1380782299: ('0.0',), 1380782298: ('0.0',), 1380782278: ('0.0',), 1380782277: ('0.0',), 1380782276: ('0.0',), 1380782275: ('0.0',), 1380782243: ('0.0',), 1380782239: ('0.0',), 1380782238: ('0.0',), 1380782237: ('0.0',), 1380782236: ('0.0',), 1380782235: ('0.0',), 1380782234: ('0.0',), 1380782218: ('0.0',), 1380782217: ('0.0',), 1380782216: ('0.0',), 1380782215: ('0.0',), 1380782214: ('0.0',), 1380782176: ('0.0',)} input_args_next_step : {1380784309: ()} output_args : {1380784309: ('0.0',), 1380783963: ('0.0',), 1380783539: ('0.0',), 1380783536: ('0.0',), 1380783533: ('0.0',), 1380783530: ('0.0',), 1380783527: ('0.0',), 1380783523: ('0.0',), 1380783234: ('0.0',), 1380783232: ('0.0',), 1380783230: ('0.0',), 1380783228: ('0.0',), 1380783226: ('0.0',), 1380783225: ('0.0',), 1380782918: ('0.0',), 1380782916: ('0.0',), 1380782569: ('0.0',), 1380782567: ('0.0',), 1380782565: ('0.0',), 1380782563: ('0.0',), 1380782347: ('0.0',), 1380782346: ('0.0',), 1380782344: ('0.0',), 1380782328: ('0.0',), 1380782327: ('0.0',), 1380782300: ('0.0',), 1380782299: ('0.0',), 1380782298: ('0.0',), 1380782278: ('0.0',), 1380782277: ('0.0',), 1380782276: ('0.0',), 1380782275: ('0.0',), 1380782243: ('0.0',), 1380782239: ('0.0',), 1380782238: ('0.0',), 1380782237: ('0.0',), 1380782236: ('0.0',), 1380782235: ('0.0',), 1380782234: ('0.0',), 1380782218: ('0.0',), 1380782217: ('0.0',), 1380782216: ('0.0',), 1380782215: ('0.0',), 1380782214: ('0.0',), 1380782176: ('0.0',)} args : 1380784309 depend.output_id : 0 input_args_next_step : {1380784309: ('0.0',), 1380783963: ()} output_args : {1380784309: ('0.0',), 1380783963: ('0.0',), 1380783539: ('0.0',), 1380783536: ('0.0',), 1380783533: ('0.0',), 1380783530: ('0.0',), 1380783527: ('0.0',), 1380783523: ('0.0',), 1380783234: ('0.0',), 1380783232: ('0.0',), 1380783230: ('0.0',), 1380783228: ('0.0',), 1380783226: ('0.0',), 1380783225: ('0.0',), 1380782918: ('0.0',), 1380782916: ('0.0',), 1380782569: ('0.0',), 1380782567: ('0.0',), 1380782565: ('0.0',), 1380782563: ('0.0',), 1380782347: ('0.0',), 1380782346: ('0.0',), 1380782344: ('0.0',), 1380782328: ('0.0',), 1380782327: ('0.0',), 1380782300: ('0.0',), 1380782299: ('0.0',), 1380782298: ('0.0',), 1380782278: ('0.0',), 1380782277: ('0.0',), 1380782276: ('0.0',), 1380782275: ('0.0',), 1380782243: ('0.0',), 1380782239: ('0.0',), 1380782238: ('0.0',), 1380782237: ('0.0',), 1380782236: ('0.0',), 1380782235: ('0.0',), 1380782234: ('0.0',), 1380782218: ('0.0',), 1380782217: ('0.0',), 1380782216: ('0.0',), 1380782215: ('0.0',), 1380782214: ('0.0',), 1380782176: ('0.0',)} args : 1380783963 depend.output_id : 0 input_args_next_step : {1380784309: ('0.0',), 1380783963: ('0.0',), 1380783539: ()} output_args : {1380784309: ('0.0',), 1380783963: ('0.0',), 1380783539: ('0.0',), 1380783536: ('0.0',), 1380783533: ('0.0',), 1380783530: ('0.0',), 1380783527: ('0.0',), 1380783523: ('0.0',), 1380783234: ('0.0',), 1380783232: ('0.0',), 1380783230: ('0.0',), 1380783228: ('0.0',), 1380783226: ('0.0',), 1380783225: ('0.0',), 1380782918: ('0.0',), 1380782916: ('0.0',), 1380782569: ('0.0',), 1380782567: ('0.0',), 1380782565: ('0.0',), 1380782563: ('0.0',), 1380782347: ('0.0',), 1380782346: ('0.0',), 1380782344: ('0.0',), 1380782328: ('0.0',), 1380782327: ('0.0',), 1380782300: ('0.0',), 1380782299: ('0.0',), 1380782298: ('0.0',), 1380782278: ('0.0',), 1380782277: ('0.0',), 1380782276: ('0.0',), 1380782275: ('0.0',), 1380782243: ('0.0',), 1380782239: ('0.0',), 1380782238: ('0.0',), 1380782237: ('0.0',), 1380782236: ('0.0',), 1380782235: ('0.0',), 1380782234: ('0.0',), 1380782218: ('0.0',), 1380782217: ('0.0',), 1380782216: ('0.0',), 1380782215: ('0.0',), 1380782214: ('0.0',), 1380782176: ('0.0',)} args : 1380783539 depend.output_id : 0 input_args_next_step : {1380784309: ('0.0',), 1380783963: ('0.0',), 1380783539: ('0.0',), 1380783536: ()} output_args : {1380784309: ('0.0',), 1380783963: ('0.0',), 1380783539: ('0.0',), 1380783536: ('0.0',), 1380783533: ('0.0',), 1380783530: ('0.0',), 1380783527: ('0.0',), 1380783523: ('0.0',), 1380783234: ('0.0',), 1380783232: ('0.0',), 1380783230: ('0.0',), 1380783228: ('0.0',), 1380783226: ('0.0',), 1380783225: ('0.0',), 1380782918: ('0.0',), 1380782916: ('0.0',), 1380782569: ('0.0',), 1380782567: ('0.0',), 1380782565: ('0.0',), 1380782563: ('0.0',), 1380782347: ('0.0',), 1380782346: ('0.0',), 1380782344: ('0.0',), 1380782328: ('0.0',), 1380782327: ('0.0',), 1380782300: ('0.0',), 1380782299: ('0.0',), 1380782298: ('0.0',), 1380782278: ('0.0',), 1380782277: ('0.0',), 1380782276: ('0.0',), 1380782275: ('0.0',), 1380782243: ('0.0',), 1380782239: ('0.0',), 1380782238: ('0.0',), 1380782237: ('0.0',), 1380782236: ('0.0',), 1380782235: ('0.0',), 1380782234: ('0.0',), 1380782218: ('0.0',), 1380782217: ('0.0',), 1380782216: ('0.0',), 1380782215: ('0.0',), 1380782214: ('0.0',), 1380782176: ('0.0',)} args : 1380783536 depend.output_id : 0 input_args_next_step : {1380784309: ('0.0',), 1380783963: ('0.0',), 1380783539: ('0.0',), 1380783536: ('0.0',), 1380783533: ()} output_args : {1380784309: ('0.0',), 1380783963: ('0.0',), 1380783539: ('0.0',), 1380783536: ('0.0',), 1380783533: ('0.0',), 1380783530: ('0.0',), 1380783527: ('0.0',), 1380783523: ('0.0',), 1380783234: ('0.0',), 1380783232: ('0.0',), 1380783230: ('0.0',), 1380783228: ('0.0',), 1380783226: ('0.0',), 1380783225: ('0.0',), 1380782918: ('0.0',), 1380782916: ('0.0',), 1380782569: ('0.0',), 1380782567: ('0.0',), 1380782565: ('0.0',), 1380782563: ('0.0',), 1380782347: ('0.0',), 1380782346: ('0.0',), 1380782344: ('0.0',), 1380782328: ('0.0',), 1380782327: ('0.0',), 1380782300: ('0.0',), 1380782299: ('0.0',), 1380782298: ('0.0',), 1380782278: ('0.0',), 1380782277: ('0.0',), 1380782276: ('0.0',), 1380782275: ('0.0',), 1380782243: ('0.0',), 1380782239: ('0.0',), 1380782238: ('0.0',), 1380782237: ('0.0',), 1380782236: ('0.0',), 1380782235: ('0.0',), 1380782234: ('0.0',), 1380782218: ('0.0',), 1380782217: ('0.0',), 1380782216: ('0.0',), 1380782215: ('0.0',), 1380782214: ('0.0',), 1380782176: ('0.0',)} args : 1380783533 depend.output_id : 0 input_args_next_step : {1380784309: ('0.0',), 1380783963: ('0.0',), 1380783539: ('0.0',), 1380783536: ('0.0',), 1380783533: ('0.0',), 1380783530: ()} output_args : {1380784309: ('0.0',), 1380783963: ('0.0',), 1380783539: ('0.0',), 1380783536: ('0.0',), 1380783533: ('0.0',), 1380783530: ('0.0',), 1380783527: ('0.0',), 1380783523: ('0.0',), 1380783234: ('0.0',), 1380783232: ('0.0',), 1380783230: ('0.0',), 1380783228: ('0.0',), 1380783226: ('0.0',), 1380783225: ('0.0',), 1380782918: ('0.0',), 1380782916: ('0.0',), 1380782569: ('0.0',), 1380782567: ('0.0',), 1380782565: ('0.0',), 1380782563: ('0.0',), 1380782347: ('0.0',), 1380782346: ('0.0',), 1380782344: ('0.0',), 1380782328: ('0.0',), 1380782327: ('0.0',), 1380782300: ('0.0',), 1380782299: ('0.0',), 1380782298: ('0.0',), 1380782278: ('0.0',), 1380782277: ('0.0',), 1380782276: ('0.0',), 1380782275: ('0.0',), 1380782243: ('0.0',), 1380782239: ('0.0',), 1380782238: ('0.0',), 1380782237: ('0.0',), 1380782236: ('0.0',), 1380782235: ('0.0',), 1380782234: ('0.0',), 1380782218: ('0.0',), 1380782217: ('0.0',), 1380782216: ('0.0',), 1380782215: ('0.0',), 1380782214: ('0.0',), 1380782176: ('0.0',)} args : 1380783530 depend.output_id : 0 input_args_next_step : {1380784309: ('0.0',), 1380783963: ('0.0',), 1380783539: ('0.0',), 1380783536: ('0.0',), 1380783533: ('0.0',), 1380783530: ('0.0',), 1380783527: ()} output_args : {1380784309: ('0.0',), 1380783963: ('0.0',), 1380783539: ('0.0',), 1380783536: ('0.0',), 1380783533: ('0.0',), 1380783530: ('0.0',), 1380783527: ('0.0',), 1380783523: ('0.0',), 1380783234: ('0.0',), 1380783232: ('0.0',), 1380783230: ('0.0',), 1380783228: ('0.0',), 1380783226: ('0.0',), 1380783225: ('0.0',), 1380782918: ('0.0',), 1380782916: ('0.0',), 1380782569: ('0.0',), 1380782567: ('0.0',), 1380782565: ('0.0',), 1380782563: ('0.0',), 1380782347: ('0.0',), 1380782346: ('0.0',), 1380782344: ('0.0',), 1380782328: ('0.0',), 1380782327: ('0.0',), 1380782300: ('0.0',), 1380782299: ('0.0',), 1380782298: ('0.0',), 1380782278: ('0.0',), 1380782277: ('0.0',), 1380782276: ('0.0',), 1380782275: ('0.0',), 1380782243: ('0.0',), 1380782239: ('0.0',), 1380782238: ('0.0',), 1380782237: ('0.0',), 1380782236: ('0.0',), 1380782235: ('0.0',), 1380782234: ('0.0',), 1380782218: ('0.0',), 1380782217: ('0.0',), 1380782216: ('0.0',), 1380782215: ('0.0',), 1380782214: ('0.0',), 1380782176: ('0.0',)} args : 1380783527 depend.output_id : 0 input_args_next_step : {1380784309: ('0.0',), 1380783963: ('0.0',), 1380783539: ('0.0',), 1380783536: ('0.0',), 1380783533: ('0.0',), 1380783530: ('0.0',), 1380783527: ('0.0',), 1380783523: ()} output_args : {1380784309: ('0.0',), 1380783963: ('0.0',), 1380783539: ('0.0',), 1380783536: ('0.0',), 1380783533: ('0.0',), 1380783530: ('0.0',), 1380783527: ('0.0',), 1380783523: ('0.0',), 1380783234: ('0.0',), 1380783232: ('0.0',), 1380783230: ('0.0',), 1380783228: ('0.0',), 1380783226: ('0.0',), 1380783225: ('0.0',), 1380782918: ('0.0',), 1380782916: ('0.0',), 1380782569: ('0.0',), 1380782567: ('0.0',), 1380782565: ('0.0',), 1380782563: ('0.0',), 1380782347: ('0.0',), 1380782346: ('0.0',), 1380782344: ('0.0',), 1380782328: ('0.0',), 1380782327: ('0.0',), 1380782300: ('0.0',), 1380782299: ('0.0',), 1380782298: ('0.0',), 1380782278: ('0.0',), 1380782277: ('0.0',), 1380782276: ('0.0',), 1380782275: ('0.0',), 1380782243: ('0.0',), 1380782239: ('0.0',), 1380782238: ('0.0',), 1380782237: ('0.0',), 1380782236: ('0.0',), 1380782235: ('0.0',), 1380782234: ('0.0',), 1380782218: ('0.0',), 1380782217: ('0.0',), 1380782216: ('0.0',), 1380782215: ('0.0',), 1380782214: ('0.0',), 1380782176: ('0.0',)} args : 1380783523 depend.output_id : 0 input_args_next_step : {1380784309: ('0.0',), 1380783963: ('0.0',), 1380783539: ('0.0',), 1380783536: ('0.0',), 1380783533: ('0.0',), 1380783530: ('0.0',), 1380783527: ('0.0',), 1380783523: ('0.0',), 1380783234: ()} output_args : {1380784309: ('0.0',), 1380783963: ('0.0',), 1380783539: ('0.0',), 1380783536: ('0.0',), 1380783533: ('0.0',), 1380783530: ('0.0',), 1380783527: ('0.0',), 1380783523: ('0.0',), 1380783234: ('0.0',), 1380783232: ('0.0',), 1380783230: ('0.0',), 1380783228: ('0.0',), 1380783226: ('0.0',), 1380783225: ('0.0',), 1380782918: ('0.0',), 1380782916: ('0.0',), 1380782569: ('0.0',), 1380782567: ('0.0',), 1380782565: ('0.0',), 1380782563: ('0.0',), 1380782347: ('0.0',), 1380782346: ('0.0',), 1380782344: ('0.0',), 1380782328: ('0.0',), 1380782327: ('0.0',), 1380782300: ('0.0',), 1380782299: ('0.0',), 1380782298: ('0.0',), 1380782278: ('0.0',), 1380782277: ('0.0',), 1380782276: ('0.0',), 1380782275: ('0.0',), 1380782243: ('0.0',), 1380782239: ('0.0',), 1380782238: ('0.0',), 1380782237: ('0.0',), 1380782236: ('0.0',), 1380782235: ('0.0',), 1380782234: ('0.0',), 1380782218: ('0.0',), 1380782217: ('0.0',), 1380782216: ('0.0',), 1380782215: ('0.0',), 1380782214: ('0.0',), 1380782176: ('0.0',)} args : 1380783234 depend.output_id : 0 input_args_next_step : {1380784309: ('0.0',), 1380783963: ('0.0',), 1380783539: ('0.0',), 1380783536: ('0.0',), 1380783533: ('0.0',), 1380783530: ('0.0',), 1380783527: ('0.0',), 1380783523: ('0.0',), 1380783234: ('0.0',), 1380783232: ()} output_args : {1380784309: ('0.0',), 1380783963: ('0.0',), 1380783539: ('0.0',), 1380783536: ('0.0',), 1380783533: ('0.0',), 1380783530: ('0.0',), 1380783527: ('0.0',), 1380783523: ('0.0',), 1380783234: ('0.0',), 1380783232: ('0.0',), 1380783230: ('0.0',), 1380783228: ('0.0',), 1380783226: ('0.0',), 1380783225: ('0.0',), 1380782918: ('0.0',), 1380782916: ('0.0',), 1380782569: ('0.0',), 1380782567: ('0.0',), 1380782565: ('0.0',), 1380782563: ('0.0',), 1380782347: ('0.0',), 1380782346: ('0.0',), 1380782344: ('0.0',), 1380782328: ('0.0',), 1380782327: ('0.0',), 1380782300: ('0.0',), 1380782299: ('0.0',), 1380782298: ('0.0',), 1380782278: ('0.0',), 1380782277: ('0.0',), 1380782276: ('0.0',), 1380782275: ('0.0',), 1380782243: ('0.0',), 1380782239: ('0.0',), 1380782238: ('0.0',), 1380782237: ('0.0',), 1380782236: ('0.0',), 1380782235: ('0.0',), 1380782234: ('0.0',), 1380782218: ('0.0',), 1380782217: ('0.0',), 1380782216: ('0.0',), 1380782215: ('0.0',), 1380782214: ('0.0',), 1380782176: ('0.0',)} args : 1380783232 depend.output_id : 0 input_args_next_step : {1380784309: ('0.0',), 1380783963: ('0.0',), 1380783539: ('0.0',), 1380783536: ('0.0',), 1380783533: ('0.0',), 1380783530: ('0.0',), 1380783527: ('0.0',), 1380783523: ('0.0',), 1380783234: ('0.0',), 1380783232: ('0.0',), 1380783230: ()} output_args : {1380784309: ('0.0',), 1380783963: ('0.0',), 1380783539: ('0.0',), 1380783536: ('0.0',), 1380783533: ('0.0',), 1380783530: ('0.0',), 1380783527: ('0.0',), 1380783523: ('0.0',), 1380783234: ('0.0',), 1380783232: ('0.0',), 1380783230: ('0.0',), 1380783228: ('0.0',), 1380783226: ('0.0',), 1380783225: ('0.0',), 1380782918: ('0.0',), 1380782916: ('0.0',), 1380782569: ('0.0',), 1380782567: ('0.0',), 1380782565: ('0.0',), 1380782563: ('0.0',), 1380782347: ('0.0',), 1380782346: ('0.0',), 1380782344: ('0.0',), 1380782328: ('0.0',), 1380782327: ('0.0',), 1380782300: ('0.0',), 1380782299: ('0.0',), 1380782298: ('0.0',), 1380782278: ('0.0',), 1380782277: ('0.0',), 1380782276: ('0.0',), 1380782275: ('0.0',), 1380782243: ('0.0',), 1380782239: ('0.0',), 1380782238: ('0.0',), 1380782237: ('0.0',), 1380782236: ('0.0',), 1380782235: ('0.0',), 1380782234: ('0.0',), 1380782218: ('0.0',), 1380782217: ('0.0',), 1380782216: ('0.0',), 1380782215: ('0.0',), 1380782214: ('0.0',), 1380782176: ('0.0',)} args : 1380783230 depend.output_id : 0 input_args_next_step : {1380784309: ('0.0',), 1380783963: ('0.0',), 1380783539: ('0.0',), 1380783536: ('0.0',), 1380783533: ('0.0',), 1380783530: ('0.0',), 1380783527: ('0.0',), 1380783523: ('0.0',), 1380783234: ('0.0',), 1380783232: ('0.0',), 1380783230: ('0.0',), 1380783228: ()} output_args : {1380784309: ('0.0',), 1380783963: ('0.0',), 1380783539: ('0.0',), 1380783536: ('0.0',), 1380783533: ('0.0',), 1380783530: ('0.0',), 1380783527: ('0.0',), 1380783523: ('0.0',), 1380783234: ('0.0',), 1380783232: ('0.0',), 1380783230: ('0.0',), 1380783228: ('0.0',), 1380783226: ('0.0',), 1380783225: ('0.0',), 1380782918: ('0.0',), 1380782916: ('0.0',), 1380782569: ('0.0',), 1380782567: ('0.0',), 1380782565: ('0.0',), 1380782563: ('0.0',), 1380782347: ('0.0',), 1380782346: ('0.0',), 1380782344: ('0.0',), 1380782328: ('0.0',), 1380782327: ('0.0',), 1380782300: ('0.0',), 1380782299: ('0.0',), 1380782298: ('0.0',), 1380782278: ('0.0',), 1380782277: ('0.0',), 1380782276: ('0.0',), 1380782275: ('0.0',), 1380782243: ('0.0',), 1380782239: ('0.0',), 1380782238: ('0.0',), 1380782237: ('0.0',), 1380782236: ('0.0',), 1380782235: ('0.0',), 1380782234: ('0.0',), 1380782218: ('0.0',), 1380782217: ('0.0',), 1380782216: ('0.0',), 1380782215: ('0.0',), 1380782214: ('0.0',), 1380782176: ('0.0',)} args : 1380783228 depend.output_id : 0 input_args_next_step : {1380784309: ('0.0',), 1380783963: ('0.0',), 1380783539: ('0.0',), 1380783536: ('0.0',), 1380783533: ('0.0',), 1380783530: ('0.0',), 1380783527: ('0.0',), 1380783523: ('0.0',), 1380783234: ('0.0',), 1380783232: ('0.0',), 1380783230: ('0.0',), 1380783228: ('0.0',), 1380783226: ()} output_args : {1380784309: ('0.0',), 1380783963: ('0.0',), 1380783539: ('0.0',), 1380783536: ('0.0',), 1380783533: ('0.0',), 1380783530: ('0.0',), 1380783527: ('0.0',), 1380783523: ('0.0',), 1380783234: ('0.0',), 1380783232: ('0.0',), 1380783230: ('0.0',), 1380783228: ('0.0',), 1380783226: ('0.0',), 1380783225: ('0.0',), 1380782918: ('0.0',), 1380782916: ('0.0',), 1380782569: ('0.0',), 1380782567: ('0.0',), 1380782565: ('0.0',), 1380782563: ('0.0',), 1380782347: ('0.0',), 1380782346: ('0.0',), 1380782344: ('0.0',), 1380782328: ('0.0',), 1380782327: ('0.0',), 1380782300: ('0.0',), 1380782299: ('0.0',), 1380782298: ('0.0',), 1380782278: ('0.0',), 1380782277: ('0.0',), 1380782276: ('0.0',), 1380782275: ('0.0',), 1380782243: ('0.0',), 1380782239: ('0.0',), 1380782238: ('0.0',), 1380782237: ('0.0',), 1380782236: ('0.0',), 1380782235: ('0.0',), 1380782234: ('0.0',), 1380782218: ('0.0',), 1380782217: ('0.0',), 1380782216: ('0.0',), 1380782215: ('0.0',), 1380782214: ('0.0',), 1380782176: ('0.0',)} args : 1380783226 depend.output_id : 0 input_args_next_step : {1380784309: ('0.0',), 1380783963: ('0.0',), 1380783539: ('0.0',), 1380783536: ('0.0',), 1380783533: ('0.0',), 1380783530: ('0.0',), 1380783527: ('0.0',), 1380783523: ('0.0',), 1380783234: ('0.0',), 1380783232: ('0.0',), 1380783230: ('0.0',), 1380783228: ('0.0',), 1380783226: ('0.0',), 1380783225: ()} output_args : {1380784309: ('0.0',), 1380783963: ('0.0',), 1380783539: ('0.0',), 1380783536: ('0.0',), 1380783533: ('0.0',), 1380783530: ('0.0',), 1380783527: ('0.0',), 1380783523: ('0.0',), 1380783234: ('0.0',), 1380783232: ('0.0',), 1380783230: ('0.0',), 1380783228: ('0.0',), 1380783226: ('0.0',), 1380783225: ('0.0',), 1380782918: ('0.0',), 1380782916: ('0.0',), 1380782569: ('0.0',), 1380782567: ('0.0',), 1380782565: ('0.0',), 1380782563: ('0.0',), 1380782347: ('0.0',), 1380782346: ('0.0',), 1380782344: ('0.0',), 1380782328: ('0.0',), 1380782327: ('0.0',), 1380782300: ('0.0',), 1380782299: ('0.0',), 1380782298: ('0.0',), 1380782278: ('0.0',), 1380782277: ('0.0',), 1380782276: ('0.0',), 1380782275: ('0.0',), 1380782243: ('0.0',), 1380782239: ('0.0',), 1380782238: ('0.0',), 1380782237: ('0.0',), 1380782236: ('0.0',), 1380782235: ('0.0',), 1380782234: ('0.0',), 1380782218: ('0.0',), 1380782217: ('0.0',), 1380782216: ('0.0',), 1380782215: ('0.0',), 1380782214: ('0.0',), 1380782176: ('0.0',)} args : 1380783225 depend.output_id : 0 input_args_next_step : {1380784309: ('0.0',), 1380783963: ('0.0',), 1380783539: ('0.0',), 1380783536: ('0.0',), 1380783533: ('0.0',), 1380783530: ('0.0',), 1380783527: ('0.0',), 1380783523: ('0.0',), 1380783234: ('0.0',), 1380783232: ('0.0',), 1380783230: ('0.0',), 1380783228: ('0.0',), 1380783226: ('0.0',), 1380783225: ('0.0',), 1380782918: ()} output_args : {1380784309: ('0.0',), 1380783963: ('0.0',), 1380783539: ('0.0',), 1380783536: ('0.0',), 1380783533: ('0.0',), 1380783530: ('0.0',), 1380783527: ('0.0',), 1380783523: ('0.0',), 1380783234: ('0.0',), 1380783232: ('0.0',), 1380783230: ('0.0',), 1380783228: ('0.0',), 1380783226: ('0.0',), 1380783225: ('0.0',), 1380782918: ('0.0',), 1380782916: ('0.0',), 1380782569: ('0.0',), 1380782567: ('0.0',), 1380782565: ('0.0',), 1380782563: ('0.0',), 1380782347: ('0.0',), 1380782346: ('0.0',), 1380782344: ('0.0',), 1380782328: ('0.0',), 1380782327: ('0.0',), 1380782300: ('0.0',), 1380782299: ('0.0',), 1380782298: ('0.0',), 1380782278: ('0.0',), 1380782277: ('0.0',), 1380782276: ('0.0',), 1380782275: ('0.0',), 1380782243: ('0.0',), 1380782239: ('0.0',), 1380782238: ('0.0',), 1380782237: ('0.0',), 1380782236: ('0.0',), 1380782235: ('0.0',), 1380782234: ('0.0',), 1380782218: ('0.0',), 1380782217: ('0.0',), 1380782216: ('0.0',), 1380782215: ('0.0',), 1380782214: ('0.0',), 1380782176: ('0.0',)} args : 1380782918 depend.output_id : 0 input_args_next_step : {1380784309: ('0.0',), 1380783963: ('0.0',), 1380783539: ('0.0',), 1380783536: ('0.0',), 1380783533: ('0.0',), 1380783530: ('0.0',), 1380783527: ('0.0',), 1380783523: ('0.0',), 1380783234: ('0.0',), 1380783232: ('0.0',), 1380783230: ('0.0',), 1380783228: ('0.0',), 1380783226: ('0.0',), 1380783225: ('0.0',), 1380782918: ('0.0',), 1380782916: ()} output_args : {1380784309: ('0.0',), 1380783963: ('0.0',), 1380783539: ('0.0',), 1380783536: ('0.0',), 1380783533: ('0.0',), 1380783530: ('0.0',), 1380783527: ('0.0',), 1380783523: ('0.0',), 1380783234: ('0.0',), 1380783232: ('0.0',), 1380783230: ('0.0',), 1380783228: ('0.0',), 1380783226: ('0.0',), 1380783225: ('0.0',), 1380782918: ('0.0',), 1380782916: ('0.0',), 1380782569: ('0.0',), 1380782567: ('0.0',), 1380782565: ('0.0',), 1380782563: ('0.0',), 1380782347: ('0.0',), 1380782346: ('0.0',), 1380782344: ('0.0',), 1380782328: ('0.0',), 1380782327: ('0.0',), 1380782300: ('0.0',), 1380782299: ('0.0',), 1380782298: ('0.0',), 1380782278: ('0.0',), 1380782277: ('0.0',), 1380782276: ('0.0',), 1380782275: ('0.0',), 1380782243: ('0.0',), 1380782239: ('0.0',), 1380782238: ('0.0',), 1380782237: ('0.0',), 1380782236: ('0.0',), 1380782235: ('0.0',), 1380782234: ('0.0',), 1380782218: ('0.0',), 1380782217: ('0.0',), 1380782216: ('0.0',), 1380782215: ('0.0',), 1380782214: ('0.0',), 1380782176: ('0.0',)} args : 1380782916 depend.output_id : 0 input_args_next_step : {1380784309: ('0.0',), 1380783963: ('0.0',), 1380783539: ('0.0',), 1380783536: ('0.0',), 1380783533: ('0.0',), 1380783530: ('0.0',), 1380783527: ('0.0',), 1380783523: ('0.0',), 1380783234: ('0.0',), 1380783232: ('0.0',), 1380783230: ('0.0',), 1380783228: ('0.0',), 1380783226: ('0.0',), 1380783225: ('0.0',), 1380782918: ('0.0',), 1380782916: ('0.0',), 1380782569: ()} output_args : {1380784309: ('0.0',), 1380783963: ('0.0',), 1380783539: ('0.0',), 1380783536: ('0.0',), 1380783533: ('0.0',), 1380783530: ('0.0',), 1380783527: ('0.0',), 1380783523: ('0.0',), 1380783234: ('0.0',), 1380783232: ('0.0',), 1380783230: ('0.0',), 1380783228: ('0.0',), 1380783226: ('0.0',), 1380783225: ('0.0',), 1380782918: ('0.0',), 1380782916: ('0.0',), 1380782569: ('0.0',), 1380782567: ('0.0',), 1380782565: ('0.0',), 1380782563: ('0.0',), 1380782347: ('0.0',), 1380782346: ('0.0',), 1380782344: ('0.0',), 1380782328: ('0.0',), 1380782327: ('0.0',), 1380782300: ('0.0',), 1380782299: ('0.0',), 1380782298: ('0.0',), 1380782278: ('0.0',), 1380782277: ('0.0',), 1380782276: ('0.0',), 1380782275: ('0.0',), 1380782243: ('0.0',), 1380782239: ('0.0',), 1380782238: ('0.0',), 1380782237: ('0.0',), 1380782236: ('0.0',), 1380782235: ('0.0',), 1380782234: ('0.0',), 1380782218: ('0.0',), 1380782217: ('0.0',), 1380782216: ('0.0',), 1380782215: ('0.0',), 1380782214: ('0.0',), 1380782176: ('0.0',)} args : 1380782569 depend.output_id : 0 input_args_next_step : {1380784309: ('0.0',), 1380783963: ('0.0',), 1380783539: ('0.0',), 1380783536: ('0.0',), 1380783533: ('0.0',), 1380783530: ('0.0',), 1380783527: ('0.0',), 1380783523: ('0.0',), 1380783234: ('0.0',), 1380783232: ('0.0',), 1380783230: ('0.0',), 1380783228: ('0.0',), 1380783226: ('0.0',), 1380783225: ('0.0',), 1380782918: ('0.0',), 1380782916: ('0.0',), 1380782569: ('0.0',), 1380782567: ()} output_args : {1380784309: ('0.0',), 1380783963: ('0.0',), 1380783539: ('0.0',), 1380783536: ('0.0',), 1380783533: ('0.0',), 1380783530: ('0.0',), 1380783527: ('0.0',), 1380783523: ('0.0',), 1380783234: ('0.0',), 1380783232: ('0.0',), 1380783230: ('0.0',), 1380783228: ('0.0',), 1380783226: ('0.0',), 1380783225: ('0.0',), 1380782918: ('0.0',), 1380782916: ('0.0',), 1380782569: ('0.0',), 1380782567: ('0.0',), 1380782565: ('0.0',), 1380782563: ('0.0',), 1380782347: ('0.0',), 1380782346: ('0.0',), 1380782344: ('0.0',), 1380782328: ('0.0',), 1380782327: ('0.0',), 1380782300: ('0.0',), 1380782299: ('0.0',), 1380782298: ('0.0',), 1380782278: ('0.0',), 1380782277: ('0.0',), 1380782276: ('0.0',), 1380782275: ('0.0',), 1380782243: ('0.0',), 1380782239: ('0.0',), 1380782238: ('0.0',), 1380782237: ('0.0',), 1380782236: ('0.0',), 1380782235: ('0.0',), 1380782234: ('0.0',), 1380782218: ('0.0',), 1380782217: ('0.0',), 1380782216: ('0.0',), 1380782215: ('0.0',), 1380782214: ('0.0',), 1380782176: ('0.0',)} args : 1380782567 depend.output_id : 0 input_args_next_step : {1380784309: ('0.0',), 1380783963: ('0.0',), 1380783539: ('0.0',), 1380783536: ('0.0',), 1380783533: ('0.0',), 1380783530: ('0.0',), 1380783527: ('0.0',), 1380783523: ('0.0',), 1380783234: ('0.0',), 1380783232: ('0.0',), 1380783230: ('0.0',), 1380783228: ('0.0',), 1380783226: ('0.0',), 1380783225: ('0.0',), 1380782918: ('0.0',), 1380782916: ('0.0',), 1380782569: ('0.0',), 1380782567: ('0.0',), 1380782565: ()} output_args : {1380784309: ('0.0',), 1380783963: ('0.0',), 1380783539: ('0.0',), 1380783536: ('0.0',), 1380783533: ('0.0',), 1380783530: ('0.0',), 1380783527: ('0.0',), 1380783523: ('0.0',), 1380783234: ('0.0',), 1380783232: ('0.0',), 1380783230: ('0.0',), 1380783228: ('0.0',), 1380783226: ('0.0',), 1380783225: ('0.0',), 1380782918: ('0.0',), 1380782916: ('0.0',), 1380782569: ('0.0',), 1380782567: ('0.0',), 1380782565: ('0.0',), 1380782563: ('0.0',), 1380782347: ('0.0',), 1380782346: ('0.0',), 1380782344: ('0.0',), 1380782328: ('0.0',), 1380782327: ('0.0',), 1380782300: ('0.0',), 1380782299: ('0.0',), 1380782298: ('0.0',), 1380782278: ('0.0',), 1380782277: ('0.0',), 1380782276: ('0.0',), 1380782275: ('0.0',), 1380782243: ('0.0',), 1380782239: ('0.0',), 1380782238: ('0.0',), 1380782237: ('0.0',), 1380782236: ('0.0',), 1380782235: ('0.0',), 1380782234: ('0.0',), 1380782218: ('0.0',), 1380782217: ('0.0',), 1380782216: ('0.0',), 1380782215: ('0.0',), 1380782214: ('0.0',), 1380782176: ('0.0',)} args : 1380782565 depend.output_id : 0 input_args_next_step : {1380784309: ('0.0',), 1380783963: ('0.0',), 1380783539: ('0.0',), 1380783536: ('0.0',), 1380783533: ('0.0',), 1380783530: ('0.0',), 1380783527: ('0.0',), 1380783523: ('0.0',), 1380783234: ('0.0',), 1380783232: ('0.0',), 1380783230: ('0.0',), 1380783228: ('0.0',), 1380783226: ('0.0',), 1380783225: ('0.0',), 1380782918: ('0.0',), 1380782916: ('0.0',), 1380782569: ('0.0',), 1380782567: ('0.0',), 1380782565: ('0.0',), 1380782563: ()} output_args : {1380784309: ('0.0',), 1380783963: ('0.0',), 1380783539: ('0.0',), 1380783536: ('0.0',), 1380783533: ('0.0',), 1380783530: ('0.0',), 1380783527: ('0.0',), 1380783523: ('0.0',), 1380783234: ('0.0',), 1380783232: ('0.0',), 1380783230: ('0.0',), 1380783228: ('0.0',), 1380783226: ('0.0',), 1380783225: ('0.0',), 1380782918: ('0.0',), 1380782916: ('0.0',), 1380782569: ('0.0',), 1380782567: ('0.0',), 1380782565: ('0.0',), 1380782563: ('0.0',), 1380782347: ('0.0',), 1380782346: ('0.0',), 1380782344: ('0.0',), 1380782328: ('0.0',), 1380782327: ('0.0',), 1380782300: ('0.0',), 1380782299: ('0.0',), 1380782298: ('0.0',), 1380782278: ('0.0',), 1380782277: ('0.0',), 1380782276: ('0.0',), 1380782275: ('0.0',), 1380782243: ('0.0',), 1380782239: ('0.0',), 1380782238: ('0.0',), 1380782237: ('0.0',), 1380782236: ('0.0',), 1380782235: ('0.0',), 1380782234: ('0.0',), 1380782218: ('0.0',), 1380782217: ('0.0',), 1380782216: ('0.0',), 1380782215: ('0.0',), 1380782214: ('0.0',), 1380782176: ('0.0',)} args : 1380782563 depend.output_id : 0 input_args_next_step : {1380784309: ('0.0',), 1380783963: ('0.0',), 1380783539: ('0.0',), 1380783536: ('0.0',), 1380783533: ('0.0',), 1380783530: ('0.0',), 1380783527: ('0.0',), 1380783523: ('0.0',), 1380783234: ('0.0',), 1380783232: ('0.0',), 1380783230: ('0.0',), 1380783228: ('0.0',), 1380783226: ('0.0',), 1380783225: ('0.0',), 1380782918: ('0.0',), 1380782916: ('0.0',), 1380782569: ('0.0',), 1380782567: ('0.0',), 1380782565: ('0.0',), 1380782563: ('0.0',), 1380782347: ()} output_args : {1380784309: ('0.0',), 1380783963: ('0.0',), 1380783539: ('0.0',), 1380783536: ('0.0',), 1380783533: ('0.0',), 1380783530: ('0.0',), 1380783527: ('0.0',), 1380783523: ('0.0',), 1380783234: ('0.0',), 1380783232: ('0.0',), 1380783230: ('0.0',), 1380783228: ('0.0',), 1380783226: ('0.0',), 1380783225: ('0.0',), 1380782918: ('0.0',), 1380782916: ('0.0',), 1380782569: ('0.0',), 1380782567: ('0.0',), 1380782565: ('0.0',), 1380782563: ('0.0',), 1380782347: ('0.0',), 1380782346: ('0.0',), 1380782344: ('0.0',), 1380782328: ('0.0',), 1380782327: ('0.0',), 1380782300: ('0.0',), 1380782299: ('0.0',), 1380782298: ('0.0',), 1380782278: ('0.0',), 1380782277: ('0.0',), 1380782276: ('0.0',), 1380782275: ('0.0',), 1380782243: ('0.0',), 1380782239: ('0.0',), 1380782238: ('0.0',), 1380782237: ('0.0',), 1380782236: ('0.0',), 1380782235: ('0.0',), 1380782234: ('0.0',), 1380782218: ('0.0',), 1380782217: ('0.0',), 1380782216: ('0.0',), 1380782215: ('0.0',), 1380782214: ('0.0',), 1380782176: ('0.0',)} args : 1380782347 depend.output_id : 0 input_args_next_step : {1380784309: ('0.0',), 1380783963: ('0.0',), 1380783539: ('0.0',), 1380783536: ('0.0',), 1380783533: ('0.0',), 1380783530: ('0.0',), 1380783527: ('0.0',), 1380783523: ('0.0',), 1380783234: ('0.0',), 1380783232: ('0.0',), 1380783230: ('0.0',), 1380783228: ('0.0',), 1380783226: ('0.0',), 1380783225: ('0.0',), 1380782918: ('0.0',), 1380782916: ('0.0',), 1380782569: ('0.0',), 1380782567: ('0.0',), 1380782565: ('0.0',), 1380782563: ('0.0',), 1380782347: ('0.0',), 1380782346: ()} output_args : {1380784309: ('0.0',), 1380783963: ('0.0',), 1380783539: ('0.0',), 1380783536: ('0.0',), 1380783533: ('0.0',), 1380783530: ('0.0',), 1380783527: ('0.0',), 1380783523: ('0.0',), 1380783234: ('0.0',), 1380783232: ('0.0',), 1380783230: ('0.0',), 1380783228: ('0.0',), 1380783226: ('0.0',), 1380783225: ('0.0',), 1380782918: ('0.0',), 1380782916: ('0.0',), 1380782569: ('0.0',), 1380782567: ('0.0',), 1380782565: ('0.0',), 1380782563: ('0.0',), 1380782347: ('0.0',), 1380782346: ('0.0',), 1380782344: ('0.0',), 1380782328: ('0.0',), 1380782327: ('0.0',), 1380782300: ('0.0',), 1380782299: ('0.0',), 1380782298: ('0.0',), 1380782278: ('0.0',), 1380782277: ('0.0',), 1380782276: ('0.0',), 1380782275: ('0.0',), 1380782243: ('0.0',), 1380782239: ('0.0',), 1380782238: ('0.0',), 1380782237: ('0.0',), 1380782236: ('0.0',), 1380782235: ('0.0',), 1380782234: ('0.0',), 1380782218: ('0.0',), 1380782217: ('0.0',), 1380782216: ('0.0',), 1380782215: ('0.0',), 1380782214: ('0.0',), 1380782176: ('0.0',)} args : 1380782346 depend.output_id : 0 input_args_next_step : {1380784309: ('0.0',), 1380783963: ('0.0',), 1380783539: ('0.0',), 1380783536: ('0.0',), 1380783533: ('0.0',), 1380783530: ('0.0',), 1380783527: ('0.0',), 1380783523: ('0.0',), 1380783234: ('0.0',), 1380783232: ('0.0',), 1380783230: ('0.0',), 1380783228: ('0.0',), 1380783226: ('0.0',), 1380783225: ('0.0',), 1380782918: ('0.0',), 1380782916: ('0.0',), 1380782569: ('0.0',), 1380782567: ('0.0',), 1380782565: ('0.0',), 1380782563: ('0.0',), 1380782347: ('0.0',), 1380782346: ('0.0',), 1380782344: ()} output_args : {1380784309: ('0.0',), 1380783963: ('0.0',), 1380783539: ('0.0',), 1380783536: ('0.0',), 1380783533: ('0.0',), 1380783530: ('0.0',), 1380783527: ('0.0',), 1380783523: ('0.0',), 1380783234: ('0.0',), 1380783232: ('0.0',), 1380783230: ('0.0',), 1380783228: ('0.0',), 1380783226: ('0.0',), 1380783225: ('0.0',), 1380782918: ('0.0',), 1380782916: ('0.0',), 1380782569: ('0.0',), 1380782567: ('0.0',), 1380782565: ('0.0',), 1380782563: ('0.0',), 1380782347: ('0.0',), 1380782346: ('0.0',), 1380782344: ('0.0',), 1380782328: ('0.0',), 1380782327: ('0.0',), 1380782300: ('0.0',), 1380782299: ('0.0',), 1380782298: ('0.0',), 1380782278: ('0.0',), 1380782277: ('0.0',), 1380782276: ('0.0',), 1380782275: ('0.0',), 1380782243: ('0.0',), 1380782239: ('0.0',), 1380782238: ('0.0',), 1380782237: ('0.0',), 1380782236: ('0.0',), 1380782235: ('0.0',), 1380782234: ('0.0',), 1380782218: ('0.0',), 1380782217: ('0.0',), 1380782216: ('0.0',), 1380782215: ('0.0',), 1380782214: ('0.0',), 1380782176: ('0.0',)} args : 1380782344 depend.output_id : 0 input_args_next_step : {1380784309: ('0.0',), 1380783963: ('0.0',), 1380783539: ('0.0',), 1380783536: ('0.0',), 1380783533: ('0.0',), 1380783530: ('0.0',), 1380783527: ('0.0',), 1380783523: ('0.0',), 1380783234: ('0.0',), 1380783232: ('0.0',), 1380783230: ('0.0',), 1380783228: ('0.0',), 1380783226: ('0.0',), 1380783225: ('0.0',), 1380782918: ('0.0',), 1380782916: ('0.0',), 1380782569: ('0.0',), 1380782567: ('0.0',), 1380782565: ('0.0',), 1380782563: ('0.0',), 1380782347: ('0.0',), 1380782346: ('0.0',), 1380782344: ('0.0',), 1380782328: ()} output_args : {1380784309: ('0.0',), 1380783963: ('0.0',), 1380783539: ('0.0',), 1380783536: ('0.0',), 1380783533: ('0.0',), 1380783530: ('0.0',), 1380783527: ('0.0',), 1380783523: ('0.0',), 1380783234: ('0.0',), 1380783232: ('0.0',), 1380783230: ('0.0',), 1380783228: ('0.0',), 1380783226: ('0.0',), 1380783225: ('0.0',), 1380782918: ('0.0',), 1380782916: ('0.0',), 1380782569: ('0.0',), 1380782567: ('0.0',), 1380782565: ('0.0',), 1380782563: ('0.0',), 1380782347: ('0.0',), 1380782346: ('0.0',), 1380782344: ('0.0',), 1380782328: ('0.0',), 1380782327: ('0.0',), 1380782300: ('0.0',), 1380782299: ('0.0',), 1380782298: ('0.0',), 1380782278: ('0.0',), 1380782277: ('0.0',), 1380782276: ('0.0',), 1380782275: ('0.0',), 1380782243: ('0.0',), 1380782239: ('0.0',), 1380782238: ('0.0',), 1380782237: ('0.0',), 1380782236: ('0.0',), 1380782235: ('0.0',), 1380782234: ('0.0',), 1380782218: ('0.0',), 1380782217: ('0.0',), 1380782216: ('0.0',), 1380782215: ('0.0',), 1380782214: ('0.0',), 1380782176: ('0.0',)} args : 1380782328 depend.output_id : 0 input_args_next_step : {1380784309: ('0.0',), 1380783963: ('0.0',), 1380783539: ('0.0',), 1380783536: ('0.0',), 1380783533: ('0.0',), 1380783530: ('0.0',), 1380783527: ('0.0',), 1380783523: ('0.0',), 1380783234: ('0.0',), 1380783232: ('0.0',), 1380783230: ('0.0',), 1380783228: ('0.0',), 1380783226: ('0.0',), 1380783225: ('0.0',), 1380782918: ('0.0',), 1380782916: ('0.0',), 1380782569: ('0.0',), 1380782567: ('0.0',), 1380782565: ('0.0',), 1380782563: ('0.0',), 1380782347: ('0.0',), 1380782346: ('0.0',), 1380782344: ('0.0',), 1380782328: ('0.0',), 1380782327: ()} output_args : {1380784309: ('0.0',), 1380783963: ('0.0',), 1380783539: ('0.0',), 1380783536: ('0.0',), 1380783533: ('0.0',), 1380783530: ('0.0',), 1380783527: ('0.0',), 1380783523: ('0.0',), 1380783234: ('0.0',), 1380783232: ('0.0',), 1380783230: ('0.0',), 1380783228: ('0.0',), 1380783226: ('0.0',), 1380783225: ('0.0',), 1380782918: ('0.0',), 1380782916: ('0.0',), 1380782569: ('0.0',), 1380782567: ('0.0',), 1380782565: ('0.0',), 1380782563: ('0.0',), 1380782347: ('0.0',), 1380782346: ('0.0',), 1380782344: ('0.0',), 1380782328: ('0.0',), 1380782327: ('0.0',), 1380782300: ('0.0',), 1380782299: ('0.0',), 1380782298: ('0.0',), 1380782278: ('0.0',), 1380782277: ('0.0',), 1380782276: ('0.0',), 1380782275: ('0.0',), 1380782243: ('0.0',), 1380782239: ('0.0',), 1380782238: ('0.0',), 1380782237: ('0.0',), 1380782236: ('0.0',), 1380782235: ('0.0',), 1380782234: ('0.0',), 1380782218: ('0.0',), 1380782217: ('0.0',), 1380782216: ('0.0',), 1380782215: ('0.0',), 1380782214: ('0.0',), 1380782176: ('0.0',)} args : 1380782327 depend.output_id : 0 input_args_next_step : {1380784309: ('0.0',), 1380783963: ('0.0',), 1380783539: ('0.0',), 1380783536: ('0.0',), 1380783533: ('0.0',), 1380783530: ('0.0',), 1380783527: ('0.0',), 1380783523: ('0.0',), 1380783234: ('0.0',), 1380783232: ('0.0',), 1380783230: ('0.0',), 1380783228: ('0.0',), 1380783226: ('0.0',), 1380783225: ('0.0',), 1380782918: ('0.0',), 1380782916: ('0.0',), 1380782569: ('0.0',), 1380782567: ('0.0',), 1380782565: ('0.0',), 1380782563: ('0.0',), 1380782347: ('0.0',), 1380782346: ('0.0',), 1380782344: ('0.0',), 1380782328: ('0.0',), 1380782327: ('0.0',), 1380782300: ()} output_args : {1380784309: ('0.0',), 1380783963: ('0.0',), 1380783539: ('0.0',), 1380783536: ('0.0',), 1380783533: ('0.0',), 1380783530: ('0.0',), 1380783527: ('0.0',), 1380783523: ('0.0',), 1380783234: ('0.0',), 1380783232: ('0.0',), 1380783230: ('0.0',), 1380783228: ('0.0',), 1380783226: ('0.0',), 1380783225: ('0.0',), 1380782918: ('0.0',), 1380782916: ('0.0',), 1380782569: ('0.0',), 1380782567: ('0.0',), 1380782565: ('0.0',), 1380782563: ('0.0',), 1380782347: ('0.0',), 1380782346: ('0.0',), 1380782344: ('0.0',), 1380782328: ('0.0',), 1380782327: ('0.0',), 1380782300: ('0.0',), 1380782299: ('0.0',), 1380782298: ('0.0',), 1380782278: ('0.0',), 1380782277: ('0.0',), 1380782276: ('0.0',), 1380782275: ('0.0',), 1380782243: ('0.0',), 1380782239: ('0.0',), 1380782238: ('0.0',), 1380782237: ('0.0',), 1380782236: ('0.0',), 1380782235: ('0.0',), 1380782234: ('0.0',), 1380782218: ('0.0',), 1380782217: ('0.0',), 1380782216: ('0.0',), 1380782215: ('0.0',), 1380782214: ('0.0',), 1380782176: ('0.0',)} args : 1380782300 depend.output_id : 0 input_args_next_step : {1380784309: ('0.0',), 1380783963: ('0.0',), 1380783539: ('0.0',), 1380783536: ('0.0',), 1380783533: ('0.0',), 1380783530: ('0.0',), 1380783527: ('0.0',), 1380783523: ('0.0',), 1380783234: ('0.0',), 1380783232: ('0.0',), 1380783230: ('0.0',), 1380783228: ('0.0',), 1380783226: ('0.0',), 1380783225: ('0.0',), 1380782918: ('0.0',), 1380782916: ('0.0',), 1380782569: ('0.0',), 1380782567: ('0.0',), 1380782565: ('0.0',), 1380782563: ('0.0',), 1380782347: ('0.0',), 1380782346: ('0.0',), 1380782344: ('0.0',), 1380782328: ('0.0',), 1380782327: ('0.0',), 1380782300: ('0.0',), 1380782299: ()} output_args : {1380784309: ('0.0',), 1380783963: ('0.0',), 1380783539: ('0.0',), 1380783536: ('0.0',), 1380783533: ('0.0',), 1380783530: ('0.0',), 1380783527: ('0.0',), 1380783523: ('0.0',), 1380783234: ('0.0',), 1380783232: ('0.0',), 1380783230: ('0.0',), 1380783228: ('0.0',), 1380783226: ('0.0',), 1380783225: ('0.0',), 1380782918: ('0.0',), 1380782916: ('0.0',), 1380782569: ('0.0',), 1380782567: ('0.0',), 1380782565: ('0.0',), 1380782563: ('0.0',), 1380782347: ('0.0',), 1380782346: ('0.0',), 1380782344: ('0.0',), 1380782328: ('0.0',), 1380782327: ('0.0',), 1380782300: ('0.0',), 1380782299: ('0.0',), 1380782298: ('0.0',), 1380782278: ('0.0',), 1380782277: ('0.0',), 1380782276: ('0.0',), 1380782275: ('0.0',), 1380782243: ('0.0',), 1380782239: ('0.0',), 1380782238: ('0.0',), 1380782237: ('0.0',), 1380782236: ('0.0',), 1380782235: ('0.0',), 1380782234: ('0.0',), 1380782218: ('0.0',), 1380782217: ('0.0',), 1380782216: ('0.0',), 1380782215: ('0.0',), 1380782214: ('0.0',), 1380782176: ('0.0',)} args : 1380782299 depend.output_id : 0 input_args_next_step : {1380784309: ('0.0',), 1380783963: ('0.0',), 1380783539: ('0.0',), 1380783536: ('0.0',), 1380783533: ('0.0',), 1380783530: ('0.0',), 1380783527: ('0.0',), 1380783523: ('0.0',), 1380783234: ('0.0',), 1380783232: ('0.0',), 1380783230: ('0.0',), 1380783228: ('0.0',), 1380783226: ('0.0',), 1380783225: ('0.0',), 1380782918: ('0.0',), 1380782916: ('0.0',), 1380782569: ('0.0',), 1380782567: ('0.0',), 1380782565: ('0.0',), 1380782563: ('0.0',), 1380782347: ('0.0',), 1380782346: ('0.0',), 1380782344: ('0.0',), 1380782328: ('0.0',), 1380782327: ('0.0',), 1380782300: ('0.0',), 1380782299: ('0.0',), 1380782298: ()} output_args : {1380784309: ('0.0',), 1380783963: ('0.0',), 1380783539: ('0.0',), 1380783536: ('0.0',), 1380783533: ('0.0',), 1380783530: ('0.0',), 1380783527: ('0.0',), 1380783523: ('0.0',), 1380783234: ('0.0',), 1380783232: ('0.0',), 1380783230: ('0.0',), 1380783228: ('0.0',), 1380783226: ('0.0',), 1380783225: ('0.0',), 1380782918: ('0.0',), 1380782916: ('0.0',), 1380782569: ('0.0',), 1380782567: ('0.0',), 1380782565: ('0.0',), 1380782563: ('0.0',), 1380782347: ('0.0',), 1380782346: ('0.0',), 1380782344: ('0.0',), 1380782328: ('0.0',), 1380782327: ('0.0',), 1380782300: ('0.0',), 1380782299: ('0.0',), 1380782298: ('0.0',), 1380782278: ('0.0',), 1380782277: ('0.0',), 1380782276: ('0.0',), 1380782275: ('0.0',), 1380782243: ('0.0',), 1380782239: ('0.0',), 1380782238: ('0.0',), 1380782237: ('0.0',), 1380782236: ('0.0',), 1380782235: ('0.0',), 1380782234: ('0.0',), 1380782218: ('0.0',), 1380782217: ('0.0',), 1380782216: ('0.0',), 1380782215: ('0.0',), 1380782214: ('0.0',), 1380782176: ('0.0',)} args : 1380782298 depend.output_id : 0 input_args_next_step : {1380784309: ('0.0',), 1380783963: ('0.0',), 1380783539: ('0.0',), 1380783536: ('0.0',), 1380783533: ('0.0',), 1380783530: ('0.0',), 1380783527: ('0.0',), 1380783523: ('0.0',), 1380783234: ('0.0',), 1380783232: ('0.0',), 1380783230: ('0.0',), 1380783228: ('0.0',), 1380783226: ('0.0',), 1380783225: ('0.0',), 1380782918: ('0.0',), 1380782916: ('0.0',), 1380782569: ('0.0',), 1380782567: ('0.0',), 1380782565: ('0.0',), 1380782563: ('0.0',), 1380782347: ('0.0',), 1380782346: ('0.0',), 1380782344: ('0.0',), 1380782328: ('0.0',), 1380782327: ('0.0',), 1380782300: ('0.0',), 1380782299: ('0.0',), 1380782298: ('0.0',), 1380782278: ()} output_args : {1380784309: ('0.0',), 1380783963: ('0.0',), 1380783539: ('0.0',), 1380783536: ('0.0',), 1380783533: ('0.0',), 1380783530: ('0.0',), 1380783527: ('0.0',), 1380783523: ('0.0',), 1380783234: ('0.0',), 1380783232: ('0.0',), 1380783230: ('0.0',), 1380783228: ('0.0',), 1380783226: ('0.0',), 1380783225: ('0.0',), 1380782918: ('0.0',), 1380782916: ('0.0',), 1380782569: ('0.0',), 1380782567: ('0.0',), 1380782565: ('0.0',), 1380782563: ('0.0',), 1380782347: ('0.0',), 1380782346: ('0.0',), 1380782344: ('0.0',), 1380782328: ('0.0',), 1380782327: ('0.0',), 1380782300: ('0.0',), 1380782299: ('0.0',), 1380782298: ('0.0',), 1380782278: ('0.0',), 1380782277: ('0.0',), 1380782276: ('0.0',), 1380782275: ('0.0',), 1380782243: ('0.0',), 1380782239: ('0.0',), 1380782238: ('0.0',), 1380782237: ('0.0',), 1380782236: ('0.0',), 1380782235: ('0.0',), 1380782234: ('0.0',), 1380782218: ('0.0',), 1380782217: ('0.0',), 1380782216: ('0.0',), 1380782215: ('0.0',), 1380782214: ('0.0',), 1380782176: ('0.0',)} args : 1380782278 depend.output_id : 0 input_args_next_step : {1380784309: ('0.0',), 1380783963: ('0.0',), 1380783539: ('0.0',), 1380783536: ('0.0',), 1380783533: ('0.0',), 1380783530: ('0.0',), 1380783527: ('0.0',), 1380783523: ('0.0',), 1380783234: ('0.0',), 1380783232: ('0.0',), 1380783230: ('0.0',), 1380783228: ('0.0',), 1380783226: ('0.0',), 1380783225: ('0.0',), 1380782918: ('0.0',), 1380782916: ('0.0',), 1380782569: ('0.0',), 1380782567: ('0.0',), 1380782565: ('0.0',), 1380782563: ('0.0',), 1380782347: ('0.0',), 1380782346: ('0.0',), 1380782344: ('0.0',), 1380782328: ('0.0',), 1380782327: ('0.0',), 1380782300: ('0.0',), 1380782299: ('0.0',), 1380782298: ('0.0',), 1380782278: ('0.0',), 1380782277: ()} output_args : {1380784309: ('0.0',), 1380783963: ('0.0',), 1380783539: ('0.0',), 1380783536: ('0.0',), 1380783533: ('0.0',), 1380783530: ('0.0',), 1380783527: ('0.0',), 1380783523: ('0.0',), 1380783234: ('0.0',), 1380783232: ('0.0',), 1380783230: ('0.0',), 1380783228: ('0.0',), 1380783226: ('0.0',), 1380783225: ('0.0',), 1380782918: ('0.0',), 1380782916: ('0.0',), 1380782569: ('0.0',), 1380782567: ('0.0',), 1380782565: ('0.0',), 1380782563: ('0.0',), 1380782347: ('0.0',), 1380782346: ('0.0',), 1380782344: ('0.0',), 1380782328: ('0.0',), 1380782327: ('0.0',), 1380782300: ('0.0',), 1380782299: ('0.0',), 1380782298: ('0.0',), 1380782278: ('0.0',), 1380782277: ('0.0',), 1380782276: ('0.0',), 1380782275: ('0.0',), 1380782243: ('0.0',), 1380782239: ('0.0',), 1380782238: ('0.0',), 1380782237: ('0.0',), 1380782236: ('0.0',), 1380782235: ('0.0',), 1380782234: ('0.0',), 1380782218: ('0.0',), 1380782217: ('0.0',), 1380782216: ('0.0',), 1380782215: ('0.0',), 1380782214: ('0.0',), 1380782176: ('0.0',)} args : 1380782277 depend.output_id : 0 input_args_next_step : {1380784309: ('0.0',), 1380783963: ('0.0',), 1380783539: ('0.0',), 1380783536: ('0.0',), 1380783533: ('0.0',), 1380783530: ('0.0',), 1380783527: ('0.0',), 1380783523: ('0.0',), 1380783234: ('0.0',), 1380783232: ('0.0',), 1380783230: ('0.0',), 1380783228: ('0.0',), 1380783226: ('0.0',), 1380783225: ('0.0',), 1380782918: ('0.0',), 1380782916: ('0.0',), 1380782569: ('0.0',), 1380782567: ('0.0',), 1380782565: ('0.0',), 1380782563: ('0.0',), 1380782347: ('0.0',), 1380782346: ('0.0',), 1380782344: ('0.0',), 1380782328: ('0.0',), 1380782327: ('0.0',), 1380782300: ('0.0',), 1380782299: ('0.0',), 1380782298: ('0.0',), 1380782278: ('0.0',), 1380782277: ('0.0',), 1380782276: ()} output_args : {1380784309: ('0.0',), 1380783963: ('0.0',), 1380783539: ('0.0',), 1380783536: ('0.0',), 1380783533: ('0.0',), 1380783530: ('0.0',), 1380783527: ('0.0',), 1380783523: ('0.0',), 1380783234: ('0.0',), 1380783232: ('0.0',), 1380783230: ('0.0',), 1380783228: ('0.0',), 1380783226: ('0.0',), 1380783225: ('0.0',), 1380782918: ('0.0',), 1380782916: ('0.0',), 1380782569: ('0.0',), 1380782567: ('0.0',), 1380782565: ('0.0',), 1380782563: ('0.0',), 1380782347: ('0.0',), 1380782346: ('0.0',), 1380782344: ('0.0',), 1380782328: ('0.0',), 1380782327: ('0.0',), 1380782300: ('0.0',), 1380782299: ('0.0',), 1380782298: ('0.0',), 1380782278: ('0.0',), 1380782277: ('0.0',), 1380782276: ('0.0',), 1380782275: ('0.0',), 1380782243: ('0.0',), 1380782239: ('0.0',), 1380782238: ('0.0',), 1380782237: ('0.0',), 1380782236: ('0.0',), 1380782235: ('0.0',), 1380782234: ('0.0',), 1380782218: ('0.0',), 1380782217: ('0.0',), 1380782216: ('0.0',), 1380782215: ('0.0',), 1380782214: ('0.0',), 1380782176: ('0.0',)} args : 1380782276 depend.output_id : 0 input_args_next_step : {1380784309: ('0.0',), 1380783963: ('0.0',), 1380783539: ('0.0',), 1380783536: ('0.0',), 1380783533: ('0.0',), 1380783530: ('0.0',), 1380783527: ('0.0',), 1380783523: ('0.0',), 1380783234: ('0.0',), 1380783232: ('0.0',), 1380783230: ('0.0',), 1380783228: ('0.0',), 1380783226: ('0.0',), 1380783225: ('0.0',), 1380782918: ('0.0',), 1380782916: ('0.0',), 1380782569: ('0.0',), 1380782567: ('0.0',), 1380782565: ('0.0',), 1380782563: ('0.0',), 1380782347: ('0.0',), 1380782346: ('0.0',), 1380782344: ('0.0',), 1380782328: ('0.0',), 1380782327: ('0.0',), 1380782300: ('0.0',), 1380782299: ('0.0',), 1380782298: ('0.0',), 1380782278: ('0.0',), 1380782277: ('0.0',), 1380782276: ('0.0',), 1380782275: ()} output_args : {1380784309: ('0.0',), 1380783963: ('0.0',), 1380783539: ('0.0',), 1380783536: ('0.0',), 1380783533: ('0.0',), 1380783530: ('0.0',), 1380783527: ('0.0',), 1380783523: ('0.0',), 1380783234: ('0.0',), 1380783232: ('0.0',), 1380783230: ('0.0',), 1380783228: ('0.0',), 1380783226: ('0.0',), 1380783225: ('0.0',), 1380782918: ('0.0',), 1380782916: ('0.0',), 1380782569: ('0.0',), 1380782567: ('0.0',), 1380782565: ('0.0',), 1380782563: ('0.0',), 1380782347: ('0.0',), 1380782346: ('0.0',), 1380782344: ('0.0',), 1380782328: ('0.0',), 1380782327: ('0.0',), 1380782300: ('0.0',), 1380782299: ('0.0',), 1380782298: ('0.0',), 1380782278: ('0.0',), 1380782277: ('0.0',), 1380782276: ('0.0',), 1380782275: ('0.0',), 1380782243: ('0.0',), 1380782239: ('0.0',), 1380782238: ('0.0',), 1380782237: ('0.0',), 1380782236: ('0.0',), 1380782235: ('0.0',), 1380782234: ('0.0',), 1380782218: ('0.0',), 1380782217: ('0.0',), 1380782216: ('0.0',), 1380782215: ('0.0',), 1380782214: ('0.0',), 1380782176: ('0.0',)} args : 1380782275 depend.output_id : 0 input_args_next_step : {1380784309: ('0.0',), 1380783963: ('0.0',), 1380783539: ('0.0',), 1380783536: ('0.0',), 1380783533: ('0.0',), 1380783530: ('0.0',), 1380783527: ('0.0',), 1380783523: ('0.0',), 1380783234: ('0.0',), 1380783232: ('0.0',), 1380783230: ('0.0',), 1380783228: ('0.0',), 1380783226: ('0.0',), 1380783225: ('0.0',), 1380782918: ('0.0',), 1380782916: ('0.0',), 1380782569: ('0.0',), 1380782567: ('0.0',), 1380782565: ('0.0',), 1380782563: ('0.0',), 1380782347: ('0.0',), 1380782346: ('0.0',), 1380782344: ('0.0',), 1380782328: ('0.0',), 1380782327: ('0.0',), 1380782300: ('0.0',), 1380782299: ('0.0',), 1380782298: ('0.0',), 1380782278: ('0.0',), 1380782277: ('0.0',), 1380782276: ('0.0',), 1380782275: ('0.0',), 1380782243: ()} output_args : {1380784309: ('0.0',), 1380783963: ('0.0',), 1380783539: ('0.0',), 1380783536: ('0.0',), 1380783533: ('0.0',), 1380783530: ('0.0',), 1380783527: ('0.0',), 1380783523: ('0.0',), 1380783234: ('0.0',), 1380783232: ('0.0',), 1380783230: ('0.0',), 1380783228: ('0.0',), 1380783226: ('0.0',), 1380783225: ('0.0',), 1380782918: ('0.0',), 1380782916: ('0.0',), 1380782569: ('0.0',), 1380782567: ('0.0',), 1380782565: ('0.0',), 1380782563: ('0.0',), 1380782347: ('0.0',), 1380782346: ('0.0',), 1380782344: ('0.0',), 1380782328: ('0.0',), 1380782327: ('0.0',), 1380782300: ('0.0',), 1380782299: ('0.0',), 1380782298: ('0.0',), 1380782278: ('0.0',), 1380782277: ('0.0',), 1380782276: ('0.0',), 1380782275: ('0.0',), 1380782243: ('0.0',), 1380782239: ('0.0',), 1380782238: ('0.0',), 1380782237: ('0.0',), 1380782236: ('0.0',), 1380782235: ('0.0',), 1380782234: ('0.0',), 1380782218: ('0.0',), 1380782217: ('0.0',), 1380782216: ('0.0',), 1380782215: ('0.0',), 1380782214: ('0.0',), 1380782176: ('0.0',)} args : 1380782243 depend.output_id : 0 input_args_next_step : {1380784309: ('0.0',), 1380783963: ('0.0',), 1380783539: ('0.0',), 1380783536: ('0.0',), 1380783533: ('0.0',), 1380783530: ('0.0',), 1380783527: ('0.0',), 1380783523: ('0.0',), 1380783234: ('0.0',), 1380783232: ('0.0',), 1380783230: ('0.0',), 1380783228: ('0.0',), 1380783226: ('0.0',), 1380783225: ('0.0',), 1380782918: ('0.0',), 1380782916: ('0.0',), 1380782569: ('0.0',), 1380782567: ('0.0',), 1380782565: ('0.0',), 1380782563: ('0.0',), 1380782347: ('0.0',), 1380782346: ('0.0',), 1380782344: ('0.0',), 1380782328: ('0.0',), 1380782327: ('0.0',), 1380782300: ('0.0',), 1380782299: ('0.0',), 1380782298: ('0.0',), 1380782278: ('0.0',), 1380782277: ('0.0',), 1380782276: ('0.0',), 1380782275: ('0.0',), 1380782243: ('0.0',), 1380782239: ()} output_args : {1380784309: ('0.0',), 1380783963: ('0.0',), 1380783539: ('0.0',), 1380783536: ('0.0',), 1380783533: ('0.0',), 1380783530: ('0.0',), 1380783527: ('0.0',), 1380783523: ('0.0',), 1380783234: ('0.0',), 1380783232: ('0.0',), 1380783230: ('0.0',), 1380783228: ('0.0',), 1380783226: ('0.0',), 1380783225: ('0.0',), 1380782918: ('0.0',), 1380782916: ('0.0',), 1380782569: ('0.0',), 1380782567: ('0.0',), 1380782565: ('0.0',), 1380782563: ('0.0',), 1380782347: ('0.0',), 1380782346: ('0.0',), 1380782344: ('0.0',), 1380782328: ('0.0',), 1380782327: ('0.0',), 1380782300: ('0.0',), 1380782299: ('0.0',), 1380782298: ('0.0',), 1380782278: ('0.0',), 1380782277: ('0.0',), 1380782276: ('0.0',), 1380782275: ('0.0',), 1380782243: ('0.0',), 1380782239: ('0.0',), 1380782238: ('0.0',), 1380782237: ('0.0',), 1380782236: ('0.0',), 1380782235: ('0.0',), 1380782234: ('0.0',), 1380782218: ('0.0',), 1380782217: ('0.0',), 1380782216: ('0.0',), 1380782215: ('0.0',), 1380782214: ('0.0',), 1380782176: ('0.0',)} args : 1380782239 depend.output_id : 0 input_args_next_step : {1380784309: ('0.0',), 1380783963: ('0.0',), 1380783539: ('0.0',), 1380783536: ('0.0',), 1380783533: ('0.0',), 1380783530: ('0.0',), 1380783527: ('0.0',), 1380783523: ('0.0',), 1380783234: ('0.0',), 1380783232: ('0.0',), 1380783230: ('0.0',), 1380783228: ('0.0',), 1380783226: ('0.0',), 1380783225: ('0.0',), 1380782918: ('0.0',), 1380782916: ('0.0',), 1380782569: ('0.0',), 1380782567: ('0.0',), 1380782565: ('0.0',), 1380782563: ('0.0',), 1380782347: ('0.0',), 1380782346: ('0.0',), 1380782344: ('0.0',), 1380782328: ('0.0',), 1380782327: ('0.0',), 1380782300: ('0.0',), 1380782299: ('0.0',), 1380782298: ('0.0',), 1380782278: ('0.0',), 1380782277: ('0.0',), 1380782276: ('0.0',), 1380782275: ('0.0',), 1380782243: ('0.0',), 1380782239: ('0.0',), 1380782238: ()} output_args : {1380784309: ('0.0',), 1380783963: ('0.0',), 1380783539: ('0.0',), 1380783536: ('0.0',), 1380783533: ('0.0',), 1380783530: ('0.0',), 1380783527: ('0.0',), 1380783523: ('0.0',), 1380783234: ('0.0',), 1380783232: ('0.0',), 1380783230: ('0.0',), 1380783228: ('0.0',), 1380783226: ('0.0',), 1380783225: ('0.0',), 1380782918: ('0.0',), 1380782916: ('0.0',), 1380782569: ('0.0',), 1380782567: ('0.0',), 1380782565: ('0.0',), 1380782563: ('0.0',), 1380782347: ('0.0',), 1380782346: ('0.0',), 1380782344: ('0.0',), 1380782328: ('0.0',), 1380782327: ('0.0',), 1380782300: ('0.0',), 1380782299: ('0.0',), 1380782298: ('0.0',), 1380782278: ('0.0',), 1380782277: ('0.0',), 1380782276: ('0.0',), 1380782275: ('0.0',), 1380782243: ('0.0',), 1380782239: ('0.0',), 1380782238: ('0.0',), 1380782237: ('0.0',), 1380782236: ('0.0',), 1380782235: ('0.0',), 1380782234: ('0.0',), 1380782218: ('0.0',), 1380782217: ('0.0',), 1380782216: ('0.0',), 1380782215: ('0.0',), 1380782214: ('0.0',), 1380782176: ('0.0',)} args : 1380782238 depend.output_id : 0 input_args_next_step : {1380784309: ('0.0',), 1380783963: ('0.0',), 1380783539: ('0.0',), 1380783536: ('0.0',), 1380783533: ('0.0',), 1380783530: ('0.0',), 1380783527: ('0.0',), 1380783523: ('0.0',), 1380783234: ('0.0',), 1380783232: ('0.0',), 1380783230: ('0.0',), 1380783228: ('0.0',), 1380783226: ('0.0',), 1380783225: ('0.0',), 1380782918: ('0.0',), 1380782916: ('0.0',), 1380782569: ('0.0',), 1380782567: ('0.0',), 1380782565: ('0.0',), 1380782563: ('0.0',), 1380782347: ('0.0',), 1380782346: ('0.0',), 1380782344: ('0.0',), 1380782328: ('0.0',), 1380782327: ('0.0',), 1380782300: ('0.0',), 1380782299: ('0.0',), 1380782298: ('0.0',), 1380782278: ('0.0',), 1380782277: ('0.0',), 1380782276: ('0.0',), 1380782275: ('0.0',), 1380782243: ('0.0',), 1380782239: ('0.0',), 1380782238: ('0.0',), 1380782237: ()} output_args : {1380784309: ('0.0',), 1380783963: ('0.0',), 1380783539: ('0.0',), 1380783536: ('0.0',), 1380783533: ('0.0',), 1380783530: ('0.0',), 1380783527: ('0.0',), 1380783523: ('0.0',), 1380783234: ('0.0',), 1380783232: ('0.0',), 1380783230: ('0.0',), 1380783228: ('0.0',), 1380783226: ('0.0',), 1380783225: ('0.0',), 1380782918: ('0.0',), 1380782916: ('0.0',), 1380782569: ('0.0',), 1380782567: ('0.0',), 1380782565: ('0.0',), 1380782563: ('0.0',), 1380782347: ('0.0',), 1380782346: ('0.0',), 1380782344: ('0.0',), 1380782328: ('0.0',), 1380782327: ('0.0',), 1380782300: ('0.0',), 1380782299: ('0.0',), 1380782298: ('0.0',), 1380782278: ('0.0',), 1380782277: ('0.0',), 1380782276: ('0.0',), 1380782275: ('0.0',), 1380782243: ('0.0',), 1380782239: ('0.0',), 1380782238: ('0.0',), 1380782237: ('0.0',), 1380782236: ('0.0',), 1380782235: ('0.0',), 1380782234: ('0.0',), 1380782218: ('0.0',), 1380782217: ('0.0',), 1380782216: ('0.0',), 1380782215: ('0.0',), 1380782214: ('0.0',), 1380782176: ('0.0',)} args : 1380782237 depend.output_id : 0 input_args_next_step : {1380784309: ('0.0',), 1380783963: ('0.0',), 1380783539: ('0.0',), 1380783536: ('0.0',), 1380783533: ('0.0',), 1380783530: ('0.0',), 1380783527: ('0.0',), 1380783523: ('0.0',), 1380783234: ('0.0',), 1380783232: ('0.0',), 1380783230: ('0.0',), 1380783228: ('0.0',), 1380783226: ('0.0',), 1380783225: ('0.0',), 1380782918: ('0.0',), 1380782916: ('0.0',), 1380782569: ('0.0',), 1380782567: ('0.0',), 1380782565: ('0.0',), 1380782563: ('0.0',), 1380782347: ('0.0',), 1380782346: ('0.0',), 1380782344: ('0.0',), 1380782328: ('0.0',), 1380782327: ('0.0',), 1380782300: ('0.0',), 1380782299: ('0.0',), 1380782298: ('0.0',), 1380782278: ('0.0',), 1380782277: ('0.0',), 1380782276: ('0.0',), 1380782275: ('0.0',), 1380782243: ('0.0',), 1380782239: ('0.0',), 1380782238: ('0.0',), 1380782237: ('0.0',), 1380782236: ()} output_args : {1380784309: ('0.0',), 1380783963: ('0.0',), 1380783539: ('0.0',), 1380783536: ('0.0',), 1380783533: ('0.0',), 1380783530: ('0.0',), 1380783527: ('0.0',), 1380783523: ('0.0',), 1380783234: ('0.0',), 1380783232: ('0.0',), 1380783230: ('0.0',), 1380783228: ('0.0',), 1380783226: ('0.0',), 1380783225: ('0.0',), 1380782918: ('0.0',), 1380782916: ('0.0',), 1380782569: ('0.0',), 1380782567: ('0.0',), 1380782565: ('0.0',), 1380782563: ('0.0',), 1380782347: ('0.0',), 1380782346: ('0.0',), 1380782344: ('0.0',), 1380782328: ('0.0',), 1380782327: ('0.0',), 1380782300: ('0.0',), 1380782299: ('0.0',), 1380782298: ('0.0',), 1380782278: ('0.0',), 1380782277: ('0.0',), 1380782276: ('0.0',), 1380782275: ('0.0',), 1380782243: ('0.0',), 1380782239: ('0.0',), 1380782238: ('0.0',), 1380782237: ('0.0',), 1380782236: ('0.0',), 1380782235: ('0.0',), 1380782234: ('0.0',), 1380782218: ('0.0',), 1380782217: ('0.0',), 1380782216: ('0.0',), 1380782215: ('0.0',), 1380782214: ('0.0',), 1380782176: ('0.0',)} args : 1380782236 depend.output_id : 0 input_args_next_step : {1380784309: ('0.0',), 1380783963: ('0.0',), 1380783539: ('0.0',), 1380783536: ('0.0',), 1380783533: ('0.0',), 1380783530: ('0.0',), 1380783527: ('0.0',), 1380783523: ('0.0',), 1380783234: ('0.0',), 1380783232: ('0.0',), 1380783230: ('0.0',), 1380783228: ('0.0',), 1380783226: ('0.0',), 1380783225: ('0.0',), 1380782918: ('0.0',), 1380782916: ('0.0',), 1380782569: ('0.0',), 1380782567: ('0.0',), 1380782565: ('0.0',), 1380782563: ('0.0',), 1380782347: ('0.0',), 1380782346: ('0.0',), 1380782344: ('0.0',), 1380782328: ('0.0',), 1380782327: ('0.0',), 1380782300: ('0.0',), 1380782299: ('0.0',), 1380782298: ('0.0',), 1380782278: ('0.0',), 1380782277: ('0.0',), 1380782276: ('0.0',), 1380782275: ('0.0',), 1380782243: ('0.0',), 1380782239: ('0.0',), 1380782238: ('0.0',), 1380782237: ('0.0',), 1380782236: ('0.0',), 1380782235: ()} output_args : {1380784309: ('0.0',), 1380783963: ('0.0',), 1380783539: ('0.0',), 1380783536: ('0.0',), 1380783533: ('0.0',), 1380783530: ('0.0',), 1380783527: ('0.0',), 1380783523: ('0.0',), 1380783234: ('0.0',), 1380783232: ('0.0',), 1380783230: ('0.0',), 1380783228: ('0.0',), 1380783226: ('0.0',), 1380783225: ('0.0',), 1380782918: ('0.0',), 1380782916: ('0.0',), 1380782569: ('0.0',), 1380782567: ('0.0',), 1380782565: ('0.0',), 1380782563: ('0.0',), 1380782347: ('0.0',), 1380782346: ('0.0',), 1380782344: ('0.0',), 1380782328: ('0.0',), 1380782327: ('0.0',), 1380782300: ('0.0',), 1380782299: ('0.0',), 1380782298: ('0.0',), 1380782278: ('0.0',), 1380782277: ('0.0',), 1380782276: ('0.0',), 1380782275: ('0.0',), 1380782243: ('0.0',), 1380782239: ('0.0',), 1380782238: ('0.0',), 1380782237: ('0.0',), 1380782236: ('0.0',), 1380782235: ('0.0',), 1380782234: ('0.0',), 1380782218: ('0.0',), 1380782217: ('0.0',), 1380782216: ('0.0',), 1380782215: ('0.0',), 1380782214: ('0.0',), 1380782176: ('0.0',)} args : 1380782235 depend.output_id : 0 input_args_next_step : {1380784309: ('0.0',), 1380783963: ('0.0',), 1380783539: ('0.0',), 1380783536: ('0.0',), 1380783533: ('0.0',), 1380783530: ('0.0',), 1380783527: ('0.0',), 1380783523: ('0.0',), 1380783234: ('0.0',), 1380783232: ('0.0',), 1380783230: ('0.0',), 1380783228: ('0.0',), 1380783226: ('0.0',), 1380783225: ('0.0',), 1380782918: ('0.0',), 1380782916: ('0.0',), 1380782569: ('0.0',), 1380782567: ('0.0',), 1380782565: ('0.0',), 1380782563: ('0.0',), 1380782347: ('0.0',), 1380782346: ('0.0',), 1380782344: ('0.0',), 1380782328: ('0.0',), 1380782327: ('0.0',), 1380782300: ('0.0',), 1380782299: ('0.0',), 1380782298: ('0.0',), 1380782278: ('0.0',), 1380782277: ('0.0',), 1380782276: ('0.0',), 1380782275: ('0.0',), 1380782243: ('0.0',), 1380782239: ('0.0',), 1380782238: ('0.0',), 1380782237: ('0.0',), 1380782236: ('0.0',), 1380782235: ('0.0',), 1380782234: ()} output_args : {1380784309: ('0.0',), 1380783963: ('0.0',), 1380783539: ('0.0',), 1380783536: ('0.0',), 1380783533: ('0.0',), 1380783530: ('0.0',), 1380783527: ('0.0',), 1380783523: ('0.0',), 1380783234: ('0.0',), 1380783232: ('0.0',), 1380783230: ('0.0',), 1380783228: ('0.0',), 1380783226: ('0.0',), 1380783225: ('0.0',), 1380782918: ('0.0',), 1380782916: ('0.0',), 1380782569: ('0.0',), 1380782567: ('0.0',), 1380782565: ('0.0',), 1380782563: ('0.0',), 1380782347: ('0.0',), 1380782346: ('0.0',), 1380782344: ('0.0',), 1380782328: ('0.0',), 1380782327: ('0.0',), 1380782300: ('0.0',), 1380782299: ('0.0',), 1380782298: ('0.0',), 1380782278: ('0.0',), 1380782277: ('0.0',), 1380782276: ('0.0',), 1380782275: ('0.0',), 1380782243: ('0.0',), 1380782239: ('0.0',), 1380782238: ('0.0',), 1380782237: ('0.0',), 1380782236: ('0.0',), 1380782235: ('0.0',), 1380782234: ('0.0',), 1380782218: ('0.0',), 1380782217: ('0.0',), 1380782216: ('0.0',), 1380782215: ('0.0',), 1380782214: ('0.0',), 1380782176: ('0.0',)} args : 1380782234 depend.output_id : 0 input_args_next_step : {1380784309: ('0.0',), 1380783963: ('0.0',), 1380783539: ('0.0',), 1380783536: ('0.0',), 1380783533: ('0.0',), 1380783530: ('0.0',), 1380783527: ('0.0',), 1380783523: ('0.0',), 1380783234: ('0.0',), 1380783232: ('0.0',), 1380783230: ('0.0',), 1380783228: ('0.0',), 1380783226: ('0.0',), 1380783225: ('0.0',), 1380782918: ('0.0',), 1380782916: ('0.0',), 1380782569: ('0.0',), 1380782567: ('0.0',), 1380782565: ('0.0',), 1380782563: ('0.0',), 1380782347: ('0.0',), 1380782346: ('0.0',), 1380782344: ('0.0',), 1380782328: ('0.0',), 1380782327: ('0.0',), 1380782300: ('0.0',), 1380782299: ('0.0',), 1380782298: ('0.0',), 1380782278: ('0.0',), 1380782277: ('0.0',), 1380782276: ('0.0',), 1380782275: ('0.0',), 1380782243: ('0.0',), 1380782239: ('0.0',), 1380782238: ('0.0',), 1380782237: ('0.0',), 1380782236: ('0.0',), 1380782235: ('0.0',), 1380782234: ('0.0',), 1380782218: ()} output_args : {1380784309: ('0.0',), 1380783963: ('0.0',), 1380783539: ('0.0',), 1380783536: ('0.0',), 1380783533: ('0.0',), 1380783530: ('0.0',), 1380783527: ('0.0',), 1380783523: ('0.0',), 1380783234: ('0.0',), 1380783232: ('0.0',), 1380783230: ('0.0',), 1380783228: ('0.0',), 1380783226: ('0.0',), 1380783225: ('0.0',), 1380782918: ('0.0',), 1380782916: ('0.0',), 1380782569: ('0.0',), 1380782567: ('0.0',), 1380782565: ('0.0',), 1380782563: ('0.0',), 1380782347: ('0.0',), 1380782346: ('0.0',), 1380782344: ('0.0',), 1380782328: ('0.0',), 1380782327: ('0.0',), 1380782300: ('0.0',), 1380782299: ('0.0',), 1380782298: ('0.0',), 1380782278: ('0.0',), 1380782277: ('0.0',), 1380782276: ('0.0',), 1380782275: ('0.0',), 1380782243: ('0.0',), 1380782239: ('0.0',), 1380782238: ('0.0',), 1380782237: ('0.0',), 1380782236: ('0.0',), 1380782235: ('0.0',), 1380782234: ('0.0',), 1380782218: ('0.0',), 1380782217: ('0.0',), 1380782216: ('0.0',), 1380782215: ('0.0',), 1380782214: ('0.0',), 1380782176: ('0.0',)} args : 1380782218 depend.output_id : 0 input_args_next_step : {1380784309: ('0.0',), 1380783963: ('0.0',), 1380783539: ('0.0',), 1380783536: ('0.0',), 1380783533: ('0.0',), 1380783530: ('0.0',), 1380783527: ('0.0',), 1380783523: ('0.0',), 1380783234: ('0.0',), 1380783232: ('0.0',), 1380783230: ('0.0',), 1380783228: ('0.0',), 1380783226: ('0.0',), 1380783225: ('0.0',), 1380782918: ('0.0',), 1380782916: ('0.0',), 1380782569: ('0.0',), 1380782567: ('0.0',), 1380782565: ('0.0',), 1380782563: ('0.0',), 1380782347: ('0.0',), 1380782346: ('0.0',), 1380782344: ('0.0',), 1380782328: ('0.0',), 1380782327: ('0.0',), 1380782300: ('0.0',), 1380782299: ('0.0',), 1380782298: ('0.0',), 1380782278: ('0.0',), 1380782277: ('0.0',), 1380782276: ('0.0',), 1380782275: ('0.0',), 1380782243: ('0.0',), 1380782239: ('0.0',), 1380782238: ('0.0',), 1380782237: ('0.0',), 1380782236: ('0.0',), 1380782235: ('0.0',), 1380782234: ('0.0',), 1380782218: ('0.0',), 1380782217: ()} output_args : {1380784309: ('0.0',), 1380783963: ('0.0',), 1380783539: ('0.0',), 1380783536: ('0.0',), 1380783533: ('0.0',), 1380783530: ('0.0',), 1380783527: ('0.0',), 1380783523: ('0.0',), 1380783234: ('0.0',), 1380783232: ('0.0',), 1380783230: ('0.0',), 1380783228: ('0.0',), 1380783226: ('0.0',), 1380783225: ('0.0',), 1380782918: ('0.0',), 1380782916: ('0.0',), 1380782569: ('0.0',), 1380782567: ('0.0',), 1380782565: ('0.0',), 1380782563: ('0.0',), 1380782347: ('0.0',), 1380782346: ('0.0',), 1380782344: ('0.0',), 1380782328: ('0.0',), 1380782327: ('0.0',), 1380782300: ('0.0',), 1380782299: ('0.0',), 1380782298: ('0.0',), 1380782278: ('0.0',), 1380782277: ('0.0',), 1380782276: ('0.0',), 1380782275: ('0.0',), 1380782243: ('0.0',), 1380782239: ('0.0',), 1380782238: ('0.0',), 1380782237: ('0.0',), 1380782236: ('0.0',), 1380782235: ('0.0',), 1380782234: ('0.0',), 1380782218: ('0.0',), 1380782217: ('0.0',), 1380782216: ('0.0',), 1380782215: ('0.0',), 1380782214: ('0.0',), 1380782176: ('0.0',)} args : 1380782217 depend.output_id : 0 input_args_next_step : {1380784309: ('0.0',), 1380783963: ('0.0',), 1380783539: ('0.0',), 1380783536: ('0.0',), 1380783533: ('0.0',), 1380783530: ('0.0',), 1380783527: ('0.0',), 1380783523: ('0.0',), 1380783234: ('0.0',), 1380783232: ('0.0',), 1380783230: ('0.0',), 1380783228: ('0.0',), 1380783226: ('0.0',), 1380783225: ('0.0',), 1380782918: ('0.0',), 1380782916: ('0.0',), 1380782569: ('0.0',), 1380782567: ('0.0',), 1380782565: ('0.0',), 1380782563: ('0.0',), 1380782347: ('0.0',), 1380782346: ('0.0',), 1380782344: ('0.0',), 1380782328: ('0.0',), 1380782327: ('0.0',), 1380782300: ('0.0',), 1380782299: ('0.0',), 1380782298: ('0.0',), 1380782278: ('0.0',), 1380782277: ('0.0',), 1380782276: ('0.0',), 1380782275: ('0.0',), 1380782243: ('0.0',), 1380782239: ('0.0',), 1380782238: ('0.0',), 1380782237: ('0.0',), 1380782236: ('0.0',), 1380782235: ('0.0',), 1380782234: ('0.0',), 1380782218: ('0.0',), 1380782217: ('0.0',), 1380782216: ()} output_args : {1380784309: ('0.0',), 1380783963: ('0.0',), 1380783539: ('0.0',), 1380783536: ('0.0',), 1380783533: ('0.0',), 1380783530: ('0.0',), 1380783527: ('0.0',), 1380783523: ('0.0',), 1380783234: ('0.0',), 1380783232: ('0.0',), 1380783230: ('0.0',), 1380783228: ('0.0',), 1380783226: ('0.0',), 1380783225: ('0.0',), 1380782918: ('0.0',), 1380782916: ('0.0',), 1380782569: ('0.0',), 1380782567: ('0.0',), 1380782565: ('0.0',), 1380782563: ('0.0',), 1380782347: ('0.0',), 1380782346: ('0.0',), 1380782344: ('0.0',), 1380782328: ('0.0',), 1380782327: ('0.0',), 1380782300: ('0.0',), 1380782299: ('0.0',), 1380782298: ('0.0',), 1380782278: ('0.0',), 1380782277: ('0.0',), 1380782276: ('0.0',), 1380782275: ('0.0',), 1380782243: ('0.0',), 1380782239: ('0.0',), 1380782238: ('0.0',), 1380782237: ('0.0',), 1380782236: ('0.0',), 1380782235: ('0.0',), 1380782234: ('0.0',), 1380782218: ('0.0',), 1380782217: ('0.0',), 1380782216: ('0.0',), 1380782215: ('0.0',), 1380782214: ('0.0',), 1380782176: ('0.0',)} args : 1380782216 depend.output_id : 0 input_args_next_step : {1380784309: ('0.0',), 1380783963: ('0.0',), 1380783539: ('0.0',), 1380783536: ('0.0',), 1380783533: ('0.0',), 1380783530: ('0.0',), 1380783527: ('0.0',), 1380783523: ('0.0',), 1380783234: ('0.0',), 1380783232: ('0.0',), 1380783230: ('0.0',), 1380783228: ('0.0',), 1380783226: ('0.0',), 1380783225: ('0.0',), 1380782918: ('0.0',), 1380782916: ('0.0',), 1380782569: ('0.0',), 1380782567: ('0.0',), 1380782565: ('0.0',), 1380782563: ('0.0',), 1380782347: ('0.0',), 1380782346: ('0.0',), 1380782344: ('0.0',), 1380782328: ('0.0',), 1380782327: ('0.0',), 1380782300: ('0.0',), 1380782299: ('0.0',), 1380782298: ('0.0',), 1380782278: ('0.0',), 1380782277: ('0.0',), 1380782276: ('0.0',), 1380782275: ('0.0',), 1380782243: ('0.0',), 1380782239: ('0.0',), 1380782238: ('0.0',), 1380782237: ('0.0',), 1380782236: ('0.0',), 1380782235: ('0.0',), 1380782234: ('0.0',), 1380782218: ('0.0',), 1380782217: ('0.0',), 1380782216: ('0.0',), 1380782215: ()} output_args : {1380784309: ('0.0',), 1380783963: ('0.0',), 1380783539: ('0.0',), 1380783536: ('0.0',), 1380783533: ('0.0',), 1380783530: ('0.0',), 1380783527: ('0.0',), 1380783523: ('0.0',), 1380783234: ('0.0',), 1380783232: ('0.0',), 1380783230: ('0.0',), 1380783228: ('0.0',), 1380783226: ('0.0',), 1380783225: ('0.0',), 1380782918: ('0.0',), 1380782916: ('0.0',), 1380782569: ('0.0',), 1380782567: ('0.0',), 1380782565: ('0.0',), 1380782563: ('0.0',), 1380782347: ('0.0',), 1380782346: ('0.0',), 1380782344: ('0.0',), 1380782328: ('0.0',), 1380782327: ('0.0',), 1380782300: ('0.0',), 1380782299: ('0.0',), 1380782298: ('0.0',), 1380782278: ('0.0',), 1380782277: ('0.0',), 1380782276: ('0.0',), 1380782275: ('0.0',), 1380782243: ('0.0',), 1380782239: ('0.0',), 1380782238: ('0.0',), 1380782237: ('0.0',), 1380782236: ('0.0',), 1380782235: ('0.0',), 1380782234: ('0.0',), 1380782218: ('0.0',), 1380782217: ('0.0',), 1380782216: ('0.0',), 1380782215: ('0.0',), 1380782214: ('0.0',), 1380782176: ('0.0',)} args : 1380782215 depend.output_id : 0 input_args_next_step : {1380784309: ('0.0',), 1380783963: ('0.0',), 1380783539: ('0.0',), 1380783536: ('0.0',), 1380783533: ('0.0',), 1380783530: ('0.0',), 1380783527: ('0.0',), 1380783523: ('0.0',), 1380783234: ('0.0',), 1380783232: ('0.0',), 1380783230: ('0.0',), 1380783228: ('0.0',), 1380783226: ('0.0',), 1380783225: ('0.0',), 1380782918: ('0.0',), 1380782916: ('0.0',), 1380782569: ('0.0',), 1380782567: ('0.0',), 1380782565: ('0.0',), 1380782563: ('0.0',), 1380782347: ('0.0',), 1380782346: ('0.0',), 1380782344: ('0.0',), 1380782328: ('0.0',), 1380782327: ('0.0',), 1380782300: ('0.0',), 1380782299: ('0.0',), 1380782298: ('0.0',), 1380782278: ('0.0',), 1380782277: ('0.0',), 1380782276: ('0.0',), 1380782275: ('0.0',), 1380782243: ('0.0',), 1380782239: ('0.0',), 1380782238: ('0.0',), 1380782237: ('0.0',), 1380782236: ('0.0',), 1380782235: ('0.0',), 1380782234: ('0.0',), 1380782218: ('0.0',), 1380782217: ('0.0',), 1380782216: ('0.0',), 1380782215: ('0.0',), 1380782214: ()} output_args : {1380784309: ('0.0',), 1380783963: ('0.0',), 1380783539: ('0.0',), 1380783536: ('0.0',), 1380783533: ('0.0',), 1380783530: ('0.0',), 1380783527: ('0.0',), 1380783523: ('0.0',), 1380783234: ('0.0',), 1380783232: ('0.0',), 1380783230: ('0.0',), 1380783228: ('0.0',), 1380783226: ('0.0',), 1380783225: ('0.0',), 1380782918: ('0.0',), 1380782916: ('0.0',), 1380782569: ('0.0',), 1380782567: ('0.0',), 1380782565: ('0.0',), 1380782563: ('0.0',), 1380782347: ('0.0',), 1380782346: ('0.0',), 1380782344: ('0.0',), 1380782328: ('0.0',), 1380782327: ('0.0',), 1380782300: ('0.0',), 1380782299: ('0.0',), 1380782298: ('0.0',), 1380782278: ('0.0',), 1380782277: ('0.0',), 1380782276: ('0.0',), 1380782275: ('0.0',), 1380782243: ('0.0',), 1380782239: ('0.0',), 1380782238: ('0.0',), 1380782237: ('0.0',), 1380782236: ('0.0',), 1380782235: ('0.0',), 1380782234: ('0.0',), 1380782218: ('0.0',), 1380782217: ('0.0',), 1380782216: ('0.0',), 1380782215: ('0.0',), 1380782214: ('0.0',), 1380782176: ('0.0',)} args : 1380782214 depend.output_id : 0 input_args_next_step : {1380784309: ('0.0',), 1380783963: ('0.0',), 1380783539: ('0.0',), 1380783536: ('0.0',), 1380783533: ('0.0',), 1380783530: ('0.0',), 1380783527: ('0.0',), 1380783523: ('0.0',), 1380783234: ('0.0',), 1380783232: ('0.0',), 1380783230: ('0.0',), 1380783228: ('0.0',), 1380783226: ('0.0',), 1380783225: ('0.0',), 1380782918: ('0.0',), 1380782916: ('0.0',), 1380782569: ('0.0',), 1380782567: ('0.0',), 1380782565: ('0.0',), 1380782563: ('0.0',), 1380782347: ('0.0',), 1380782346: ('0.0',), 1380782344: ('0.0',), 1380782328: ('0.0',), 1380782327: ('0.0',), 1380782300: ('0.0',), 1380782299: ('0.0',), 1380782298: ('0.0',), 1380782278: ('0.0',), 1380782277: ('0.0',), 1380782276: ('0.0',), 1380782275: ('0.0',), 1380782243: ('0.0',), 1380782239: ('0.0',), 1380782238: ('0.0',), 1380782237: ('0.0',), 1380782236: ('0.0',), 1380782235: ('0.0',), 1380782234: ('0.0',), 1380782218: ('0.0',), 1380782217: ('0.0',), 1380782216: ('0.0',), 1380782215: ('0.0',), 1380782214: ('0.0',), 1380782176: ()} output_args : {1380784309: ('0.0',), 1380783963: ('0.0',), 1380783539: ('0.0',), 1380783536: ('0.0',), 1380783533: ('0.0',), 1380783530: ('0.0',), 1380783527: ('0.0',), 1380783523: ('0.0',), 1380783234: ('0.0',), 1380783232: ('0.0',), 1380783230: ('0.0',), 1380783228: ('0.0',), 1380783226: ('0.0',), 1380783225: ('0.0',), 1380782918: ('0.0',), 1380782916: ('0.0',), 1380782569: ('0.0',), 1380782567: ('0.0',), 1380782565: ('0.0',), 1380782563: ('0.0',), 1380782347: ('0.0',), 1380782346: ('0.0',), 1380782344: ('0.0',), 1380782328: ('0.0',), 1380782327: ('0.0',), 1380782300: ('0.0',), 1380782299: ('0.0',), 1380782298: ('0.0',), 1380782278: ('0.0',), 1380782277: ('0.0',), 1380782276: ('0.0',), 1380782275: ('0.0',), 1380782243: ('0.0',), 1380782239: ('0.0',), 1380782238: ('0.0',), 1380782237: ('0.0',), 1380782236: ('0.0',), 1380782235: ('0.0',), 1380782234: ('0.0',), 1380782218: ('0.0',), 1380782217: ('0.0',), 1380782216: ('0.0',), 1380782215: ('0.0',), 1380782214: ('0.0',), 1380782176: ('0.0',)} args : 1380782176 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 : {26427997: [{'papier': 26428044, 'mal_croppe': 26428045, 'cartonnette': 26428046, 'plastique': 26428047, 'Carton_brun': 26428048, 'Carton_gris': 26428049, 'kraft': 26428050, 'metal': 26428051, 'Teint_Dans_La_Masse': 26428052, 'flou': 26428053, 'environnement': 26428054, 'autre_refus': 26428055}]} input_args_next_step : {1380784309: ('0.0',), 1380783963: ('0.0',), 1380783539: ('0.0',), 1380783536: ('0.0',), 1380783533: ('0.0',), 1380783530: ('0.0',), 1380783527: ('0.0',), 1380783523: ('0.0',), 1380783234: ('0.0',), 1380783232: ('0.0',), 1380783230: ('0.0',), 1380783228: ('0.0',), 1380783226: ('0.0',), 1380783225: ('0.0',), 1380782918: ('0.0',), 1380782916: ('0.0',), 1380782569: ('0.0',), 1380782567: ('0.0',), 1380782565: ('0.0',), 1380782563: ('0.0',), 1380782347: ('0.0',), 1380782346: ('0.0',), 1380782344: ('0.0',), 1380782328: ('0.0',), 1380782327: ('0.0',), 1380782300: ('0.0',), 1380782299: ('0.0',), 1380782298: ('0.0',), 1380782278: ('0.0',), 1380782277: ('0.0',), 1380782276: ('0.0',), 1380782275: ('0.0',), 1380782243: ('0.0',), 1380782239: ('0.0',), 1380782238: ('0.0',), 1380782237: ('0.0',), 1380782236: ('0.0',), 1380782235: ('0.0',), 1380782234: ('0.0',), 1380782218: ('0.0',), 1380782217: ('0.0',), 1380782216: ('0.0',), 1380782215: ('0.0',), 1380782214: ('0.0',), 1380782176: ('0.0',), 26427997: ()} output_args : {26427997: [{'papier': 26428044, 'mal_croppe': 26428045, 'cartonnette': 26428046, 'plastique': 26428047, 'Carton_brun': 26428048, 'Carton_gris': 26428049, 'kraft': 26428050, 'metal': 26428051, 'Teint_Dans_La_Masse': 26428052, 'flou': 26428053, 'environnement': 26428054, 'autre_refus': 26428055}]} args : 26427997 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 :46, first value : ('0.0',) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (26427997) 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 (1380784309,1380783963,1380783539,1380783536,1380783533,1380783530,1380783527,1380783523,1380783234,1380783232,1380783230,1380783228,1380783226,1380783225,1380782918,1380782916,1380782569,1380782567,1380782565,1380782563,1380782347,1380782346,1380782344,1380782328,1380782327,1380782300,1380782299,1380782298,1380782278,1380782277,1380782276,1380782275,1380782243,1380782239,1380782238,1380782237,1380782236,1380782235,1380782234,1380782218,1380782217,1380782216,1380782215,1380782214,1380782176) Found this number of photos: 45 ##### Call download_photos : nb_thread : 5 begin to download photo : 1380782176 begin to download photo : 1380782238 begin to download photo : 1380782327 begin to download photo : 1380782918 begin to download photo : 1380783533 download finish for photo 1380782327 begin to download photo : 1380782328 download finish for photo 1380782238 begin to download photo : 1380782239 download finish for photo 1380782918 begin to download photo : 1380783225 download finish for photo 1380782176 begin to download photo : 1380782214 download finish for photo 1380783533 begin to download photo : 1380783536 download finish for photo 1380782239 begin to download photo : 1380782243 download finish for photo 1380782328 begin to download photo : 1380782344 download finish for photo 1380783225 begin to download photo : 1380783226 download finish for photo 1380782214 begin to download photo : 1380782215 download finish for photo 1380783536 begin to download photo : 1380783539 download finish for photo 1380782243 begin to download photo : 1380782275 download finish for photo 1380782344 begin to download photo : 1380782346 download finish for photo 1380782215 begin to download photo : 1380782216 download finish for photo 1380783539 begin to download photo : 1380783963 download finish for photo 1380783226 begin to download photo : 1380783228 download finish for photo 1380782275 begin to download photo : 1380782276 download finish for photo 1380782346 begin to download photo : 1380782347 download finish for photo 1380783963 begin to download photo : 1380784309 download finish for photo 1380783228 begin to download photo : 1380783230 download finish for photo 1380782216 begin to download photo : 1380782217 download finish for photo 1380782347 begin to download photo : 1380782563 download finish for photo 1380782276 begin to download photo : 1380782277 download finish for photo 1380782217 begin to download photo : 1380782218 download finish for photo 1380784309 download finish for photo 1380783230 begin to download photo : 1380783232 download finish for photo 1380782563 begin to download photo : 1380782565 download finish for photo 1380782277 begin to download photo : 1380782278 download finish for photo 1380783232 begin to download photo : 1380783234 download finish for photo 1380782565 begin to download photo : 1380782567 download finish for photo 1380782278 begin to download photo : 1380782298 download finish for photo 1380783234 begin to download photo : 1380783523 download finish for photo 1380782567 begin to download photo : 1380782569 download finish for photo 1380782298 begin to download photo : 1380782299 download finish for photo 1380783523 begin to download photo : 1380783527 download finish for photo 1380782569 begin to download photo : 1380782916 download finish for photo 1380782299 begin to download photo : 1380782300 download finish for photo 1380783527 begin to download photo : 1380783530 download finish for photo 1380782916 download finish for photo 1380782300 download finish for photo 1380783530 download finish for photo 1380782218 begin to download photo : 1380782234 download finish for photo 1380782234 begin to download photo : 1380782235 download finish for photo 1380782235 begin to download photo : 1380782236 download finish for photo 1380782236 begin to download photo : 1380782237 download finish for photo 1380782237 we have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB ##### After download_photos imagette264280451756796462/ imagette264280461756796462/ imagette264280471756796462/ imagette264280501756796462/ imagette264280511756796462/ imagette264280531756796462/ imagette264280551756796462/ imagette264280481756796462/ imagette264280491756796462/ imagette264280521756796462/ length of list_filenames : 45 ; length of list_pids : 45 ; length of list_args : 45 results_Auto_P26427997_02-09-2025_09_01_02.pdf 26428045 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=26428045 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette264280451756796462 26428046 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=26428046 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette264280461756796462 26428047 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=26428047 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette264280471756796462 26428050 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=26428050 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette264280501756796462 26428051 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=26428051 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette264280511756796462 26428053 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=26428053 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette264280531756796462 26428055 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=26428055 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette264280551756796462 26428048 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=26428048 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette264280481756796462 26428049 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=26428049 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette264280491756796462 26428052 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=26428052 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette264280521756796462 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=26427997 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://marlene.fotonower.com/velours/26428057,26428058,26428059,26428060,26428061,26428062,26428063,26428064,26428065,26428066,26428067,26428068?tags=papier,mal_croppe,cartonnette,plastique,Carton_brun,Carton_gris,kraft,metal,Teint_Dans_La_Masse,flou,environnement,autre_refus your option no_mail is active, we will not send the real mail to your client args[1380784309] : ('0.0',) no score found for photo 1380784309 We are sending mail with results at report@fotonower.com args[1380783963] : ('0.0',) no score found for photo 1380783963 We are sending mail with results at report@fotonower.com args[1380783539] : ('0.0',) no score found for photo 1380783539 We are sending mail with results at report@fotonower.com args[1380783536] : ('0.0',) no score found for photo 1380783536 We are sending mail with results at report@fotonower.com args[1380783533] : ('0.0',) no score found for photo 1380783533 We are sending mail with results at report@fotonower.com args[1380783530] : ('0.0',) no score found for photo 1380783530 We are sending mail with results at report@fotonower.com args[1380783527] : ('0.0',) no score found for photo 1380783527 We are sending mail with results at report@fotonower.com args[1380783523] : ('0.0',) no score found for photo 1380783523 We are sending mail with results at report@fotonower.com args[1380783234] : ('0.0',) no score found for photo 1380783234 We are sending mail with results at report@fotonower.com args[1380783232] : ('0.0',) no score found for photo 1380783232 We are sending mail with results at report@fotonower.com args[1380783230] : ('0.0',) no score found for photo 1380783230 We are sending mail with results at report@fotonower.com args[1380783228] : ('0.0',) no score found for photo 1380783228 We are sending mail with results at report@fotonower.com args[1380783226] : ('0.0',) no score found for photo 1380783226 We are sending mail with results at report@fotonower.com args[1380783225] : ('0.0',) no score found for photo 1380783225 We are sending mail with results at report@fotonower.com args[1380782918] : ('0.0',) no score found for photo 1380782918 We are sending mail with results at report@fotonower.com args[1380782916] : ('0.0',) no score found for photo 1380782916 We are sending mail with results at report@fotonower.com args[1380782569] : ('0.0',) no score found for photo 1380782569 We are sending mail with results at report@fotonower.com args[1380782567] : ('0.0',) no score found for photo 1380782567 We are sending mail with results at report@fotonower.com args[1380782565] : ('0.0',) no score found for photo 1380782565 We are sending mail with results at report@fotonower.com args[1380782563] : ('0.0',) no score found for photo 1380782563 We are sending mail with results at report@fotonower.com args[1380782347] : ('0.0',) no score found for photo 1380782347 We are sending mail with results at report@fotonower.com args[1380782346] : ('0.0',) no score found for photo 1380782346 We are sending mail with results at report@fotonower.com args[1380782344] : ('0.0',) no score found for photo 1380782344 We are sending mail with results at report@fotonower.com args[1380782328] : ('0.0',) no score found for photo 1380782328 We are sending mail with results at report@fotonower.com args[1380782327] : ('0.0',) no score found for photo 1380782327 We are sending mail with results at report@fotonower.com args[1380782300] : ('0.0',) no score found for photo 1380782300 We are sending mail with results at report@fotonower.com args[1380782299] : ('0.0',) no score found for photo 1380782299 We are sending mail with results at report@fotonower.com args[1380782298] : ('0.0',) no score found for photo 1380782298 We are sending mail with results at report@fotonower.com args[1380782278] : ('0.0',) no score found for photo 1380782278 We are sending mail with results at report@fotonower.com args[1380782277] : ('0.0',) no score found for photo 1380782277 We are sending mail with results at report@fotonower.com args[1380782276] : ('0.0',) no score found for photo 1380782276 We are sending mail with results at report@fotonower.com args[1380782275] : ('0.0',) no score found for photo 1380782275 We are sending mail with results at report@fotonower.com args[1380782243] : ('0.0',) no score found for photo 1380782243 We are sending mail with results at report@fotonower.com args[1380782239] : ('0.0',) no score found for photo 1380782239 We are sending mail with results at report@fotonower.com args[1380782238] : ('0.0',) no score found for photo 1380782238 We are sending mail with results at report@fotonower.com args[1380782237] : ('0.0',) no score found for photo 1380782237 We are sending mail with results at report@fotonower.com args[1380782236] : ('0.0',) no score found for photo 1380782236 We are sending mail with results at report@fotonower.com args[1380782235] : ('0.0',) no score found for photo 1380782235 We are sending mail with results at report@fotonower.com args[1380782234] : ('0.0',) no score found for photo 1380782234 We are sending mail with results at report@fotonower.com args[1380782218] : ('0.0',) no score found for photo 1380782218 We are sending mail with results at report@fotonower.com args[1380782217] : ('0.0',) no score found for photo 1380782217 We are sending mail with results at report@fotonower.com args[1380782216] : ('0.0',) no score found for photo 1380782216 We are sending mail with results at report@fotonower.com args[1380782215] : ('0.0',) no score found for photo 1380782215 We are sending mail with results at report@fotonower.com args[1380782214] : ('0.0',) no score found for photo 1380782214 We are sending mail with results at report@fotonower.com args[1380782176] : ('0.0',) no score found for photo 1380782176 We are sending mail with results at report@fotonower.com refus_total : 0.0 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=26427997 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_P26427997_02-09-2025_09_01_02.pdf results_Auto_P26427997_02-09-2025_09_01_02.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26427997_02-09-2025_09_01_02.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','26427997','results_Auto_P26427997_02-09-2025_09_01_02.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26427997_02-09-2025_09_01_02.pdf','pdf','','0.32','0.0') After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([26427997]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1380784309, 1380783963, 1380783539, 1380783536, 1380783533, 1380783530, 1380783527, 1380783523, 1380783234, 1380783232, 1380783230, 1380783228, 1380783226, 1380783225, 1380782918, 1380782916, 1380782569, 1380782567, 1380782565, 1380782563, 1380782347, 1380782346, 1380782344, 1380782328, 1380782327, 1380782300, 1380782299, 1380782298, 1380782278, 1380782277, 1380782276, 1380782275, 1380782243, 1380782239, 1380782238, 1380782237, 1380782236, 1380782235, 1380782234, 1380782218, 1380782217, 1380782216, 1380782215, 1380782214, 1380782176] map_info['map_portfolio_photo'] : {26427997: [1380784309, 1380783963, 1380783539, 1380783536, 1380783533, 1380783530, 1380783527, 1380783523, 1380783234, 1380783232, 1380783230, 1380783228, 1380783226, 1380783225, 1380782918, 1380782916, 1380782569, 1380782567, 1380782565, 1380782563, 1380782347, 1380782346, 1380782344, 1380782328, 1380782327, 1380782300, 1380782299, 1380782298, 1380782278, 1380782277, 1380782276, 1380782275, 1380782243, 1380782239, 1380782238, 1380782237, 1380782236, 1380782235, 1380782234, 1380782218, 1380782217, 1380782216, 1380782215, 1380782214, 1380782176, 1380782152, 1380782151, 1380782149, 1380782116, 1380782115, 1380782096, 1380782095, 1380782093, 1380782058, 1380782057]} final : False mtd_id 4302 list_pids : [1380784309, 1380783963, 1380783539, 1380783536, 1380783533, 1380783530, 1380783527, 1380783523, 1380783234, 1380783232, 1380783230, 1380783228, 1380783226, 1380783225, 1380782918, 1380782916, 1380782569, 1380782567, 1380782565, 1380782563, 1380782347, 1380782346, 1380782344, 1380782328, 1380782327, 1380782300, 1380782299, 1380782298, 1380782278, 1380782277, 1380782276, 1380782275, 1380782243, 1380782239, 1380782238, 1380782237, 1380782236, 1380782235, 1380782234, 1380782218, 1380782217, 1380782216, 1380782215, 1380782214, 1380782176] 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, '3650384') ('4302', '26427997', '1380784309', None, None, None, None, None, '3650384') ('4302', None, None, None, None, None, None, None, '3650384') ('4302', '26427997', '1380783963', None, None, None, None, None, '3650384') ('4302', None, None, None, None, None, None, None, '3650384') ('4302', '26427997', '1380783539', None, None, None, None, None, '3650384') ('4302', None, None, None, None, None, None, None, '3650384') ('4302', '26427997', '1380783536', None, None, None, None, None, '3650384') ('4302', None, None, None, None, None, None, None, '3650384') ('4302', '26427997', '1380783533', None, None, None, None, None, '3650384') ('4302', None, None, None, None, None, None, None, '3650384') ('4302', '26427997', '1380783530', None, None, None, None, None, '3650384') ('4302', None, None, None, None, None, None, None, '3650384') ('4302', '26427997', '1380783527', None, None, None, None, None, '3650384') ('4302', None, None, None, None, None, None, None, '3650384') ('4302', '26427997', '1380783523', None, None, None, None, None, '3650384') ('4302', None, None, None, None, None, None, None, '3650384') ('4302', '26427997', '1380783234', None, None, None, None, None, '3650384') ('4302', None, None, None, None, None, None, None, '3650384') ('4302', '26427997', '1380783232', None, None, None, None, None, '3650384') ('4302', None, None, None, None, None, None, None, '3650384') ('4302', '26427997', '1380783230', None, None, None, None, None, '3650384') ('4302', None, None, None, None, None, None, None, '3650384') ('4302', '26427997', '1380783228', None, None, None, None, None, '3650384') ('4302', None, None, None, None, None, None, None, '3650384') ('4302', '26427997', '1380783226', None, None, None, None, None, '3650384') ('4302', None, None, None, None, None, None, None, '3650384') ('4302', '26427997', '1380783225', None, None, None, None, None, '3650384') ('4302', None, None, None, None, None, None, None, '3650384') ('4302', '26427997', '1380782918', None, None, None, None, None, '3650384') ('4302', None, None, None, None, None, None, None, '3650384') ('4302', '26427997', '1380782916', None, None, None, None, None, '3650384') ('4302', None, None, None, None, None, None, None, '3650384') ('4302', '26427997', '1380782569', None, None, None, None, None, '3650384') ('4302', None, None, None, None, None, None, None, '3650384') ('4302', '26427997', '1380782567', None, None, None, None, None, '3650384') ('4302', None, None, None, None, None, None, None, '3650384') ('4302', '26427997', '1380782565', None, None, None, None, None, '3650384') ('4302', None, None, None, None, None, None, None, '3650384') ('4302', '26427997', '1380782563', None, None, None, None, None, '3650384') ('4302', None, None, None, None, None, None, None, '3650384') ('4302', '26427997', '1380782347', None, None, None, None, None, '3650384') ('4302', None, None, None, None, None, None, None, '3650384') ('4302', '26427997', '1380782346', None, None, None, None, None, '3650384') ('4302', None, None, None, None, None, None, None, '3650384') ('4302', '26427997', '1380782344', None, None, None, None, None, '3650384') ('4302', None, None, None, None, None, None, None, '3650384') ('4302', '26427997', '1380782328', None, None, None, None, None, '3650384') ('4302', None, None, None, None, None, None, None, '3650384') ('4302', '26427997', '1380782327', None, None, None, None, None, '3650384') ('4302', None, None, None, None, None, None, None, '3650384') ('4302', '26427997', '1380782300', None, None, None, None, None, '3650384') ('4302', None, None, None, None, None, None, None, '3650384') ('4302', '26427997', '1380782299', None, None, None, None, None, '3650384') ('4302', None, None, None, None, None, None, None, '3650384') ('4302', '26427997', '1380782298', None, None, None, None, None, '3650384') ('4302', None, None, None, None, None, None, None, '3650384') ('4302', '26427997', '1380782278', None, None, None, None, None, '3650384') ('4302', None, None, None, None, None, None, None, '3650384') ('4302', '26427997', '1380782277', None, None, None, None, None, '3650384') ('4302', None, None, None, None, None, None, None, '3650384') ('4302', '26427997', '1380782276', None, None, None, None, None, '3650384') ('4302', None, None, None, None, None, None, None, '3650384') ('4302', '26427997', '1380782275', None, None, None, None, None, '3650384') ('4302', None, None, None, None, None, None, None, '3650384') ('4302', '26427997', '1380782243', None, None, None, None, None, '3650384') ('4302', None, None, None, None, None, None, None, '3650384') ('4302', '26427997', '1380782239', None, None, None, None, None, '3650384') ('4302', None, None, None, None, None, None, None, '3650384') ('4302', '26427997', '1380782238', None, None, None, None, None, '3650384') ('4302', None, None, None, None, None, None, None, '3650384') ('4302', '26427997', '1380782237', None, None, None, None, None, '3650384') ('4302', None, None, None, None, None, None, None, '3650384') ('4302', '26427997', '1380782236', None, None, None, None, None, '3650384') ('4302', None, None, None, None, None, None, None, '3650384') ('4302', '26427997', '1380782235', None, None, None, None, None, '3650384') ('4302', None, None, None, None, None, None, None, '3650384') ('4302', '26427997', '1380782234', None, None, None, None, None, '3650384') ('4302', None, None, None, None, None, None, None, '3650384') ('4302', '26427997', '1380782218', None, None, None, None, None, '3650384') ('4302', None, None, None, None, None, None, None, '3650384') ('4302', '26427997', '1380782217', None, None, None, None, None, '3650384') ('4302', None, None, None, None, None, None, None, '3650384') ('4302', '26427997', '1380782216', None, None, None, None, None, '3650384') ('4302', None, None, None, None, None, None, None, '3650384') ('4302', '26427997', '1380782215', None, None, None, None, None, '3650384') ('4302', None, None, None, None, None, None, None, '3650384') ('4302', '26427997', '1380782214', None, None, None, None, None, '3650384') ('4302', None, None, None, None, None, None, None, '3650384') ('4302', '26427997', '1380782176', None, None, None, None, None, '3650384') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 45 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', '26427997', '1380784309', None, None, None, None, None, '3650384'), ('4302', '26427997', '1380783963', None, None, None, None, None, '3650384'), ('4302', '26427997', '1380783539', None, None, None, None, None, '3650384'), ('4302', '26427997', '1380783536', None, None, None, None, None, '3650384'), ('4302', '26427997', '1380783533', None, None, None, None, None, '3650384'), ('4302', '26427997', '1380783530', None, None, None, None, None, '3650384'), ('4302', '26427997', '1380783527', None, None, None, None, None, '3650384'), ('4302', '26427997', '1380783523', None, None, None, None, None, '3650384'), ('4302', '26427997', '1380783234', None, None, None, None, None, '3650384'), ('4302', '26427997', '1380783232', None, None, None, None, None, '3650384'), ('4302', '26427997', '1380783230', None, None, None, None, None, '3650384'), ('4302', '26427997', '1380783228', None, None, None, None, None, '3650384'), ('4302', '26427997', '1380783226', None, None, None, None, None, '3650384'), ('4302', '26427997', '1380783225', None, None, None, None, None, '3650384'), ('4302', '26427997', '1380782918', None, None, None, None, None, '3650384'), ('4302', '26427997', '1380782916', None, None, None, None, None, '3650384'), ('4302', '26427997', '1380782569', None, None, None, None, None, '3650384'), ('4302', '26427997', '1380782567', None, None, None, None, None, '3650384'), ('4302', '26427997', '1380782565', None, None, None, None, None, '3650384'), ('4302', '26427997', '1380782563', None, None, None, None, None, '3650384'), ('4302', '26427997', '1380782347', None, None, None, None, None, '3650384'), ('4302', '26427997', '1380782346', None, None, None, None, None, '3650384'), ('4302', '26427997', '1380782344', None, None, None, None, None, '3650384'), ('4302', '26427997', '1380782328', None, None, None, None, None, '3650384'), ('4302', '26427997', '1380782327', None, None, None, None, None, '3650384'), ('4302', '26427997', '1380782300', None, None, None, None, None, '3650384'), ('4302', '26427997', '1380782299', None, None, None, None, None, '3650384'), ('4302', '26427997', '1380782298', None, None, None, None, None, '3650384'), ('4302', '26427997', '1380782278', None, None, None, None, None, '3650384'), ('4302', '26427997', '1380782277', None, None, None, None, None, '3650384'), ('4302', '26427997', '1380782276', None, None, None, None, None, '3650384'), ('4302', '26427997', '1380782275', None, None, None, None, None, '3650384'), ('4302', '26427997', '1380782243', None, None, None, None, None, '3650384'), ('4302', '26427997', '1380782239', None, None, None, None, None, '3650384'), ('4302', '26427997', '1380782238', None, None, None, None, None, '3650384'), ('4302', '26427997', '1380782237', None, None, None, None, None, '3650384'), ('4302', '26427997', '1380782236', None, None, None, None, None, '3650384'), ('4302', '26427997', '1380782235', None, None, None, None, None, '3650384'), ('4302', '26427997', '1380782234', None, None, None, None, None, '3650384'), ('4302', '26427997', '1380782218', None, None, None, None, None, '3650384'), ('4302', '26427997', '1380782217', None, None, None, None, None, '3650384'), ('4302', '26427997', '1380782216', None, None, None, None, None, '3650384'), ('4302', '26427997', '1380782215', None, None, None, None, None, '3650384'), ('4302', '26427997', '1380782214', None, None, None, None, None, '3650384'), ('4302', '26427997', '1380782176', None, None, None, None, None, '3650384')] time used for this insertion : 0.02494502067565918 save_final save missing photos in datou_result : time spend for datou_step_exec : 5.7938337326049805 time spend to save output : 0.025337696075439453 total time spend for step 4 : 5.81917142868042 step5:split_time_score Tue Sep 2 09:01:05 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 : ['26427997'] 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 : [('26427997',)] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (26427997) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {1380783533: {'path': 'temp/1756796459_2293984_1380783533_3dd759cac1311dd9be7d0f7b1cdf4961_36061892.jpg', 'extension': 'jpg'}, 1380783536: {'path': 'temp/1756796459_2293984_1380783536_f68c158071b3fdb394208404db702fb5_96252253.jpg', 'extension': 'jpg'}, 1380783539: {'path': 'temp/1756796459_2293984_1380783539_672d67ad1b3a3e0268e00f5392af364d_8429039.jpg', 'extension': 'jpg'}, 1380783963: {'path': 'temp/1756796459_2293984_1380783963_301200f9c9e26104cf54b4b6c696da41_94518772.jpg', 'extension': 'jpg'}, 1380784309: {'path': 'temp/1756796459_2293984_1380784309_301200f9c9e26104cf54b4b6c696da41_85399834.jpg', 'extension': 'jpg'}, 1380782327: {'path': 'temp/1756796459_2293984_1380782327_bb3830cc22cc9d84e221208e553effb0_58163635.jpg', 'extension': 'jpg'}, 1380782328: {'path': 'temp/1756796459_2293984_1380782328_a773ca7c504b0b60fc3add13bce4c456_63947041.jpg', 'extension': 'jpg'}, 1380782344: {'path': 'temp/1756796459_2293984_1380782344_c842f32b1686862cccead0acc343c48d_42439652.jpg', 'extension': 'jpg'}, 1380782346: {'path': 'temp/1756796459_2293984_1380782346_571c89fa56c6c87cc92b4465032cc58e_7414925.jpg', 'extension': 'jpg'}, 1380782347: {'path': 'temp/1756796459_2293984_1380782347_8033c39f98c66ae596afd13d263467f3_86359852.jpg', 'extension': 'jpg'}, 1380782563: {'path': 'temp/1756796459_2293984_1380782563_7a3fe7f07c26ab081b35fc5817022d25_1086137.jpg', 'extension': 'jpg'}, 1380782565: {'path': 'temp/1756796459_2293984_1380782565_15c901e95cbddcb98ae9fe46a6656051_2367738.jpg', 'extension': 'jpg'}, 1380782567: {'path': 'temp/1756796459_2293984_1380782567_49b60d7e822ff6b0cc822a423ad7c58a_68675828.jpg', 'extension': 'jpg'}, 1380782569: {'path': 'temp/1756796459_2293984_1380782569_f42b6be70d3f59295f1ca3e6d16a285e_7668358.jpg', 'extension': 'jpg'}, 1380782916: {'path': 'temp/1756796459_2293984_1380782916_18db6f6288bab2e76fcfb5a393f91b0a_77247084.jpg', 'extension': 'jpg'}, 1380782238: {'path': 'temp/1756796459_2293984_1380782238_8d6115678f72188876f92c665f8c0cbf_14110350.jpg', 'extension': 'jpg'}, 1380782239: {'path': 'temp/1756796459_2293984_1380782239_d3e2e59b73601b104ccbc6f9f9fc1940_31456372.jpg', 'extension': 'jpg'}, 1380782243: {'path': 'temp/1756796459_2293984_1380782243_540ad4bb4fbe3a362249cb6e972349d9_85254995.jpg', 'extension': 'jpg'}, 1380782275: {'path': 'temp/1756796459_2293984_1380782275_7aef0ae4e2ac4e7901ed415f4ed8b3d9_83277994.jpg', 'extension': 'jpg'}, 1380782276: {'path': 'temp/1756796459_2293984_1380782276_cbace9d8abb96e1856fb12fc9abe487b_91456314.jpg', 'extension': 'jpg'}, 1380782277: {'path': 'temp/1756796459_2293984_1380782277_3bf442082e7331d22abf17bf96b72aa3_22773376.jpg', 'extension': 'jpg'}, 1380782278: {'path': 'temp/1756796459_2293984_1380782278_e1641b69bd043c993e79a0a150f5e3a6_90167468.jpg', 'extension': 'jpg'}, 1380782298: {'path': 'temp/1756796459_2293984_1380782298_a30b8d09ce6279faa9609ca90503526f_76120694.jpg', 'extension': 'jpg'}, 1380782299: {'path': 'temp/1756796459_2293984_1380782299_0740b8ea32b52e538a540f1fa0ecbd21_8437550.jpg', 'extension': 'jpg'}, 1380782300: {'path': 'temp/1756796459_2293984_1380782300_61094ab1e69628105fcdadb2b5fd977e_28000396.jpg', 'extension': 'jpg'}, 1380782918: {'path': 'temp/1756796459_2293984_1380782918_c530217e2dad5cc8834cb10f31b2ca2f_68883675.jpg', 'extension': 'jpg'}, 1380783225: {'path': 'temp/1756796459_2293984_1380783225_95d695e2d69eb49b498d851ee5d37863_97876776.jpg', 'extension': 'jpg'}, 1380783226: {'path': 'temp/1756796459_2293984_1380783226_826da8cc85ea544908405899e7fda30b_99171560.jpg', 'extension': 'jpg'}, 1380783228: {'path': 'temp/1756796459_2293984_1380783228_135baaf01b1cd927756f11bec6469be8_99355684.jpg', 'extension': 'jpg'}, 1380783230: {'path': 'temp/1756796459_2293984_1380783230_7d2dcee2eb276d5c30226b908ca775e0_93496337.jpg', 'extension': 'jpg'}, 1380783232: {'path': 'temp/1756796459_2293984_1380783232_01b341acb667cf37ce613a33ca4ef66a_24904846.jpg', 'extension': 'jpg'}, 1380783234: {'path': 'temp/1756796459_2293984_1380783234_8a025ed54be85d97585248fc38958339_41617313.jpg', 'extension': 'jpg'}, 1380783523: {'path': 'temp/1756796459_2293984_1380783523_fad1b1ae03c675e463be90dc2322c678_63252236.jpg', 'extension': 'jpg'}, 1380783527: {'path': 'temp/1756796459_2293984_1380783527_8821e6dec2a065ffefb3c8d508c6ebf8_24011590.jpg', 'extension': 'jpg'}, 1380783530: {'path': 'temp/1756796459_2293984_1380783530_0754d0b20e4993562dbb2e1347c1849d_22950607.jpg', 'extension': 'jpg'}, 1380782176: {'path': 'temp/1756796459_2293984_1380782176_09e8d5e9ca3fbac3803ea136c8e0b39c_95778394.jpg', 'extension': 'jpg'}, 1380782214: {'path': 'temp/1756796459_2293984_1380782214_f443cc3aa3f7e007e677199f6b11b01d_20457516.jpg', 'extension': 'jpg'}, 1380782215: {'path': 'temp/1756796459_2293984_1380782215_a59a0f9ad103e55510435d14ae9081f8_34568091.jpg', 'extension': 'jpg'}, 1380782216: {'path': 'temp/1756796459_2293984_1380782216_8d6115678f72188876f92c665f8c0cbf_32628700.jpg', 'extension': 'jpg'}, 1380782217: {'path': 'temp/1756796459_2293984_1380782217_d3e2e59b73601b104ccbc6f9f9fc1940_73414272.jpg', 'extension': 'jpg'}, 1380782218: {'path': 'temp/1756796459_2293984_1380782218_540ad4bb4fbe3a362249cb6e972349d9_93536973.jpg', 'extension': 'jpg'}, 1380782234: {'path': 'temp/1756796459_2293984_1380782234_8cd04d5db83b658557734e7cd72a19e3_54790331.jpg', 'extension': 'jpg'}, 1380782235: {'path': 'temp/1756796459_2293984_1380782235_41f6fb957cbe515f28394227e5c346a6_51813679.jpg', 'extension': 'jpg'}, 1380782236: {'path': 'temp/1756796459_2293984_1380782236_f443cc3aa3f7e007e677199f6b11b01d_81986726.jpg', 'extension': 'jpg'}, 1380782237: {'path': 'temp/1756796459_2293984_1380782237_a59a0f9ad103e55510435d14ae9081f8_34190375.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 = 26427997; (('arc_en_ciel_jrm_live',), ('arc_en_ciel_jrm_bis',), ('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 = 26427997 group by h (('08', 55),) 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=26427997 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 (26427997) 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 (26427997) AND cps.thcl in (758) order by cps.score desc LIMIT 0, 100000 ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 02092025 26427997 Nombre de photos uploadées : 55 / 23040 (0%) 02092025 26427997 Nombre de photos taguées (types de déchets): 0 / 55 (0%) 02092025 26427997 Nombre de photos taguées (volume) : 0 / 55 (0%) [{'photo_id': 1380782058, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/2/039d529bb65acb971ccf4f0e356a029e_29359058.jpg', 'username': None, 'uploaded_at': 1756792873, 'text': 'image_02092025_08_00_24_10155.jpg'}, {'photo_id': 1380782057, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/2/b57932a98eed61168a2c5511b94ba760_20939954.jpg', 'username': None, 'uploaded_at': 1756792873, 'text': 'image_02092025_08_00_33_9130.jpg'}, {'photo_id': 1380782096, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/2/04296ed8ab694ca52920ed93d67abb14_93684135.jpg', 'username': None, 'uploaded_at': 1756792937, 'text': 'image_02092025_08_00_43_10140.jpg'}, {'photo_id': 1380782095, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/2/8cf63a2e15f315b7944ef03dc5c90663_43649264.jpg', 'username': None, 'uploaded_at': 1756792937, 'text': 'image_02092025_08_01_14_10136.jpg'}] 0 [] elapsed_time : load_data_split_time_score 2.6226043701171875e-06 elapsed_time : order_list_meta_photo_and_scores 1.0013580322265625e-05 ??????????????????????????????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.002772808074951172 INSERT INTO `MTRPhoto`.`dashboard_entry_day` (`dashboard_place_id`, `mtr_portfolio_id`, `date`) VALUES ( 10, 26427997, '2025-09-02' ) 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-02' ; INSERT INTO `MTRPhoto`.`dashboard_run_ids` (`dashboard_entry_day`, `mtr_user_id`, `misc_info`) VALUES (2213047,979,"{}"); Catched exception ! Connect or reconnect ! elapsed_time : insert_dashboard_record_day_entry 0.26807093620300293 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= 2213047 AND ded.last_run_id=dri.id AND dri.dashboard_entry_day=ded.id AND dri.id=dr.dashboard_run_id [{'dashboat_entry_day': 2213047, 'dashboard_run_id': 2222619, 'mtr_portfolio_id': 26419800, 'dashboard_result_id': 14575190, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26419800_02-09-2025_06_10_41.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26419801, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26419802, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26419803, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26419804, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26419805, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26419806, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26419807, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26419808, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26419809, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26419810, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26419811, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26419812, 'pht': 3726}}"}, {'dashboat_entry_day': 2213047, 'dashboard_run_id': 2222619, 'mtr_portfolio_id': 26420091, 'dashboard_result_id': 14575191, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26420091_02-09-2025_06_11_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26420092, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26420093, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26420094, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26420095, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26420096, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26420097, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26420098, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26420099, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26420100, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26420101, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26420102, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26420103, 'pht': 3726}}"}, {'dashboat_entry_day': 2213047, 'dashboard_run_id': 2222619, 'mtr_portfolio_id': 26420215, 'dashboard_result_id': 14575192, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26420215_02-09-2025_06_11_31.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26420216, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26420217, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26420218, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26420219, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26420220, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26420221, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26420222, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26420223, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26420224, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26420225, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26420226, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26420227, 'pht': 3726}}"}, {'dashboat_entry_day': 2213047, 'dashboard_run_id': 2222619, 'mtr_portfolio_id': 26420269, 'dashboard_result_id': 14575193, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26420269_02-09-2025_06_12_02.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26420270, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26420271, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26420272, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26420273, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26420274, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26420275, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26420276, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26420277, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26420278, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26420279, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26420280, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26420281, 'pht': 3726}}"}, {'dashboat_entry_day': 2213047, 'dashboard_run_id': 2222619, 'mtr_portfolio_id': 26420665, 'dashboard_result_id': 14575194, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26420665_02-09-2025_06_12_30.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26420666, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26420667, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26420668, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26420669, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26420670, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26420671, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26420672, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26420673, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26420674, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26420675, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26420676, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26420677, 'pht': 3726}}"}, {'dashboat_entry_day': 2213047, 'dashboard_run_id': 2222619, 'mtr_portfolio_id': 26420821, 'dashboard_result_id': 14575195, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26420821_02-09-2025_06_12_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26420822, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26420823, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26420824, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26420825, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26420826, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26420827, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26420828, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26420829, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26420830, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26420831, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26420832, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26420833, 'pht': 3726}}"}, {'dashboat_entry_day': 2213047, 'dashboard_run_id': 2222619, 'mtr_portfolio_id': 26421082, 'dashboard_result_id': 14575196, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26421082_02-09-2025_06_13_31.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26421083, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26421084, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26421085, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26421086, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26421087, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26421088, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26421089, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26421090, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26421091, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26421092, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26421093, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26421094, 'pht': 3726}}"}, {'dashboat_entry_day': 2213047, 'dashboard_run_id': 2222619, 'mtr_portfolio_id': 26421275, 'dashboard_result_id': 14575197, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26421275_02-09-2025_06_14_00.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26421277, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26421278, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26421279, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26421280, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26421281, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26421282, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26421283, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26421284, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26421285, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26421286, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26421287, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26421288, 'pht': 3726}}"}, {'dashboat_entry_day': 2213047, 'dashboard_run_id': 2222619, 'mtr_portfolio_id': 26421697, 'dashboard_result_id': 14575198, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26421697_02-09-2025_06_14_29.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26421698, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26421699, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26421700, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26421701, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26421702, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26421703, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26421704, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26421705, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26421706, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26421707, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26421708, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26421709, 'pht': 3726}}"}, {'dashboat_entry_day': 2213047, 'dashboard_run_id': 2222619, 'mtr_portfolio_id': 26421773, 'dashboard_result_id': 14575199, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26421773_02-09-2025_06_15_01.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26421775, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26421776, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26421777, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26421778, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26421779, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26421780, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26421781, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26421782, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26421783, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26421784, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26421785, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26421786, 'pht': 3726}}"}, {'dashboat_entry_day': 2213047, 'dashboard_run_id': 2222619, 'mtr_portfolio_id': 26421852, 'dashboard_result_id': 14575200, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26421852_02-09-2025_06_15_28.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26421853, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26421854, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26421855, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26421856, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26421857, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26421858, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26421859, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26421860, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26421861, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26421862, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26421863, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26421864, 'pht': 3726}}"}, {'dashboat_entry_day': 2213047, 'dashboard_run_id': 2222619, 'mtr_portfolio_id': 26422348, 'dashboard_result_id': 14575201, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26422348_02-09-2025_06_15_41.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26422350, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26422351, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26422352, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26422353, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26422354, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26422355, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26422356, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26422357, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26422358, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26422359, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26422360, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26422361, 'pht': 3726}}"}, {'dashboat_entry_day': 2213047, 'dashboard_run_id': 2222619, 'mtr_portfolio_id': 26422569, 'dashboard_result_id': 14575202, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26422569_02-09-2025_05_40_41.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 26422571, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26422572, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26422573, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26422574, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26422575, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26422576, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26422577, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26422578, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26422579, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26422580, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26422581, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26422582, 'pht': 3726}}"}, {'dashboat_entry_day': 2213047, 'dashboard_run_id': 2222619, 'mtr_portfolio_id': 26422847, 'dashboard_result_id': 14575203, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26422847_02-09-2025_05_49_00.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 26422888, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26422889, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26422890, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26422891, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26422892, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26422893, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26422894, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26422895, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26422896, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26422897, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26422898, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26422899, 'pht': 3726}}"}, {'dashboat_entry_day': 2213047, 'dashboard_run_id': 2222619, 'mtr_portfolio_id': 26423247, 'dashboard_result_id': 14575204, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26423247_02-09-2025_06_03_28.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26423251, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26423252, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26423253, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26423254, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26423255, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26423256, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26423257, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26423258, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26423259, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26423260, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26423261, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26423262, 'pht': 3726}}"}, {'dashboat_entry_day': 2213047, 'dashboard_run_id': 2222619, 'mtr_portfolio_id': 26423697, 'dashboard_result_id': 14575205, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26423697_02-09-2025_07_00_43.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26423711, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26423712, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26423713, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26423714, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26423715, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26423716, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26423717, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26423718, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26423719, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26423720, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26423721, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26423722, 'pht': 3726}}"}, {'dashboat_entry_day': 2213047, 'dashboard_run_id': 2222619, 'mtr_portfolio_id': 26425366, 'dashboard_result_id': 14575206, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26425366_02-09-2025_07_01_07.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26425447, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26425448, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26425449, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26425450, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26425451, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26425452, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26425453, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26425454, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26425455, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26425456, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26425457, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26425458, 'pht': 3726}}"}, {'dashboat_entry_day': 2213047, 'dashboard_run_id': 2222619, 'mtr_portfolio_id': 26425367, 'dashboard_result_id': 14575207, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26425367_02-09-2025_07_00_37.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26425417, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26425418, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26425419, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26425420, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26425421, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26425422, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26425423, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26425424, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26425425, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26425426, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26425427, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26425428, 'pht': 3726}}"}, {'dashboat_entry_day': 2213047, 'dashboard_run_id': 2222619, 'mtr_portfolio_id': 26425368, 'dashboard_result_id': 14575208, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26425368_02-09-2025_07_16_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26425369, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26425370, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26425371, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26425372, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26425373, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26425374, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26425375, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26425376, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26425377, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26425378, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26425379, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26425380, 'pht': 3726}}"}, {'dashboat_entry_day': 2213047, 'dashboard_run_id': 2222619, 'mtr_portfolio_id': 26426242, 'dashboard_result_id': 14575209, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26426242_02-09-2025_07_24_58.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26426272, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26426273, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26426274, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26426275, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26426276, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26426277, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26426278, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26426279, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26426280, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26426281, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26426282, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26426283, 'pht': 3726}}"}, {'dashboat_entry_day': 2213047, 'dashboard_run_id': 2222619, 'mtr_portfolio_id': 26426742, 'dashboard_result_id': 14575210, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26426742_02-09-2025_07_33_01.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26426745, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26426746, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26426747, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26426748, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26426749, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26426750, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26426751, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26426752, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26426753, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26426754, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26426755, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26426756, 'pht': 3726}}"}, {'dashboat_entry_day': 2213047, 'dashboard_run_id': 2222619, 'mtr_portfolio_id': 26426922, 'dashboard_result_id': 14575211, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26426922_02-09-2025_07_48_58.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 26426928, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26426929, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26426930, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26426931, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26426932, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26426933, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26426934, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26426935, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26426936, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26426937, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26426938, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26426939, 'pht': 3726}}"}, {'dashboat_entry_day': 2213047, 'dashboard_run_id': 2222619, 'mtr_portfolio_id': 26427649, 'dashboard_result_id': 14575212, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26427649_02-09-2025_08_03_01.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26427691, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26427692, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26427693, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26427694, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26427695, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26427696, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26427697, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26427698, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26427699, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26427700, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26427701, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26427702, 'pht': 3726}}"}, {'dashboat_entry_day': 2213047, 'dashboard_run_id': 2222619, 'mtr_portfolio_id': 26427997, 'dashboard_result_id': 14575213, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26427997_02-09-2025_08_04_59.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 26428044, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26428045, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26428046, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26428047, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26428048, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26428049, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26428050, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26428051, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26428052, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26428053, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26428054, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26428055, 'pht': 3726}}"}, {'dashboat_entry_day': 2213047, 'dashboard_run_id': 2222619, 'mtr_portfolio_id': 26429064, 'dashboard_result_id': 14575214, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': ''}"}, {'dashboat_entry_day': 2213047, 'dashboard_run_id': 2222619, 'mtr_portfolio_id': 26429066, 'dashboard_result_id': 14575215, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26429066_02-09-2025_09_00_34.pdf'}"}, {'dashboat_entry_day': 2213047, 'dashboard_run_id': 2222619, 'mtr_portfolio_id': 26429069, 'dashboard_result_id': 14575216, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26429069_02-09-2025_08_59_59.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 = 26419800 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3649621, 'mtr_portfolio_id': 26419800, 'created_at': datetime.datetime(2025, 9, 2, 6, 10, 40), 'result': '0.03686026602506332', 'result_long': None, 'result_double': None}] Qualite : 0.03686026602506332 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26419800 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26419800_02-09-2025_06_10_41.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26419800 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26419800_02-09-2025_06_10_41.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26419801, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26419802, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26419803, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26419804, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26419805, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26419806, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26419807, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26419808, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26419809, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26419810, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26419811, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26419812, 'pht': 3726}}" where mtr_portfolio_id = 26419800 and dashboard_run_id = 2222619 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26419800 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14575190, 0.03686026602506332, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26419800_02-09-2025_06_10_41.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26419801, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26419802, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26419803, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26419804, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26419805, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26419806, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26419807, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26419808, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26419809, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26419810, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26419811, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26419812, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26420091 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3649622, 'mtr_portfolio_id': 26420091, 'created_at': datetime.datetime(2025, 9, 2, 6, 11), 'result': '0.0030135671054280005', 'result_long': None, 'result_double': None}] Qualite : 0.0030135671054280005 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26420091 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26420091_02-09-2025_06_11_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26420091 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26420091_02-09-2025_06_11_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26420092, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26420093, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26420094, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26420095, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26420096, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26420097, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26420098, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26420099, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26420100, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26420101, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26420102, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26420103, 'pht': 3726}}" where mtr_portfolio_id = 26420091 and dashboard_run_id = 2222619 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26420091 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14575191, 0.0030135671054280005, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26420091_02-09-2025_06_11_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26420092, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26420093, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26420094, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26420095, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26420096, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26420097, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26420098, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26420099, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26420100, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26420101, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26420102, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26420103, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26420215 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3649623, 'mtr_portfolio_id': 26420215, 'created_at': datetime.datetime(2025, 9, 2, 6, 11, 30), 'result': '0.021580946659637567', 'result_long': None, 'result_double': None}] Qualite : 0.021580946659637567 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26420215 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26420215_02-09-2025_06_11_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26420215 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26420215_02-09-2025_06_11_31.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26420216, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26420217, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26420218, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26420219, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26420220, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26420221, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26420222, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26420223, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26420224, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26420225, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26420226, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26420227, 'pht': 3726}}" where mtr_portfolio_id = 26420215 and dashboard_run_id = 2222619 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26420215 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14575192, 0.021580946659637567, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26420215_02-09-2025_06_11_31.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26420216, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26420217, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26420218, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26420219, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26420220, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26420221, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26420222, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26420223, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26420224, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26420225, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26420226, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26420227, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26420269 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3649624, 'mtr_portfolio_id': 26420269, 'created_at': datetime.datetime(2025, 9, 2, 6, 12, 1), 'result': '0.024971925645642143', 'result_long': None, 'result_double': None}] Qualite : 0.024971925645642143 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26420269 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26420269_02-09-2025_06_12_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26420269 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26420269_02-09-2025_06_12_02.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26420270, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26420271, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26420272, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26420273, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26420274, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26420275, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26420276, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26420277, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26420278, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26420279, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26420280, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26420281, 'pht': 3726}}" where mtr_portfolio_id = 26420269 and dashboard_run_id = 2222619 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26420269 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14575193, 0.024971925645642143, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26420269_02-09-2025_06_12_02.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26420270, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26420271, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26420272, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26420273, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26420274, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26420275, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26420276, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26420277, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26420278, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26420279, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26420280, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26420281, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26420665 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3649625, 'mtr_portfolio_id': 26420665, 'created_at': datetime.datetime(2025, 9, 2, 6, 12, 29), 'result': '0.11729822377686816', 'result_long': None, 'result_double': None}] Qualite : 0.11729822377686816 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26420665 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26420665_02-09-2025_06_12_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26420665 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26420665_02-09-2025_06_12_30.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26420666, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26420667, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26420668, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26420669, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26420670, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26420671, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26420672, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26420673, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26420674, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26420675, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26420676, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26420677, 'pht': 3726}}" where mtr_portfolio_id = 26420665 and dashboard_run_id = 2222619 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26420665 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14575194, 0.11729822377686816, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26420665_02-09-2025_06_12_30.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26420666, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26420667, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26420668, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26420669, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26420670, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26420671, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26420672, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26420673, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26420674, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26420675, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26420676, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26420677, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26420821 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3649626, 'mtr_portfolio_id': 26420821, 'created_at': datetime.datetime(2025, 9, 2, 6, 12, 58), 'result': '0.017734543541633403', 'result_long': None, 'result_double': None}] Qualite : 0.017734543541633403 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26420821 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26420821_02-09-2025_06_12_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26420821 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26420821_02-09-2025_06_12_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26420822, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26420823, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26420824, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26420825, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26420826, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26420827, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26420828, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26420829, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26420830, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26420831, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26420832, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26420833, 'pht': 3726}}" where mtr_portfolio_id = 26420821 and dashboard_run_id = 2222619 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26420821 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14575195, 0.017734543541633403, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26420821_02-09-2025_06_12_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26420822, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26420823, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26420824, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26420825, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26420826, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26420827, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26420828, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26420829, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26420830, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26420831, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26420832, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26420833, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26421082 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3649627, 'mtr_portfolio_id': 26421082, 'created_at': datetime.datetime(2025, 9, 2, 6, 13, 30), 'result': '0.047804041156876025', 'result_long': None, 'result_double': None}] Qualite : 0.047804041156876025 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26421082 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26421082_02-09-2025_06_13_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26421082 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26421082_02-09-2025_06_13_31.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26421083, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26421084, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26421085, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26421086, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26421087, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26421088, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26421089, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26421090, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26421091, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26421092, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26421093, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26421094, 'pht': 3726}}" where mtr_portfolio_id = 26421082 and dashboard_run_id = 2222619 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26421082 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14575196, 0.047804041156876025, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26421082_02-09-2025_06_13_31.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26421083, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26421084, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26421085, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26421086, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26421087, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26421088, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26421089, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26421090, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26421091, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26421092, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26421093, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26421094, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26421275 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3649628, 'mtr_portfolio_id': 26421275, 'created_at': datetime.datetime(2025, 9, 2, 6, 13, 59), 'result': '0.02803459362490644', 'result_long': None, 'result_double': None}] Qualite : 0.02803459362490644 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26421275 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26421275_02-09-2025_06_14_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26421275 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26421275_02-09-2025_06_14_00.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26421277, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26421278, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26421279, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26421280, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26421281, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26421282, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26421283, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26421284, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26421285, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26421286, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26421287, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26421288, 'pht': 3726}}" where mtr_portfolio_id = 26421275 and dashboard_run_id = 2222619 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26421275 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14575197, 0.02803459362490644, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26421275_02-09-2025_06_14_00.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26421277, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26421278, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26421279, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26421280, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26421281, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26421282, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26421283, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26421284, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26421285, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26421286, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26421287, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26421288, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26421697 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3649629, 'mtr_portfolio_id': 26421697, 'created_at': datetime.datetime(2025, 9, 2, 6, 14, 28), 'result': '0.032193565636688314', 'result_long': None, 'result_double': None}] Qualite : 0.032193565636688314 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26421697 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26421697_02-09-2025_06_14_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26421697 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26421697_02-09-2025_06_14_29.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26421698, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26421699, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26421700, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26421701, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26421702, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26421703, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26421704, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26421705, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26421706, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26421707, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26421708, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26421709, 'pht': 3726}}" where mtr_portfolio_id = 26421697 and dashboard_run_id = 2222619 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26421697 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14575198, 0.032193565636688314, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26421697_02-09-2025_06_14_29.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26421698, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26421699, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26421700, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26421701, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26421702, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26421703, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26421704, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26421705, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26421706, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26421707, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26421708, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26421709, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26421773 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3649630, 'mtr_portfolio_id': 26421773, 'created_at': datetime.datetime(2025, 9, 2, 6, 15), 'result': '0.041312166364478355', 'result_long': None, 'result_double': None}] Qualite : 0.041312166364478355 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26421773 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26421773_02-09-2025_06_15_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26421773 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26421773_02-09-2025_06_15_01.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26421775, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26421776, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26421777, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26421778, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26421779, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26421780, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26421781, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26421782, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26421783, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26421784, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26421785, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26421786, 'pht': 3726}}" where mtr_portfolio_id = 26421773 and dashboard_run_id = 2222619 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26421773 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14575199, 0.041312166364478355, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26421773_02-09-2025_06_15_01.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26421775, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26421776, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26421777, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26421778, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26421779, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26421780, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26421781, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26421782, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26421783, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26421784, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26421785, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26421786, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26421852 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3649631, 'mtr_portfolio_id': 26421852, 'created_at': datetime.datetime(2025, 9, 2, 6, 15, 28), 'result': '0.011354407159164243', 'result_long': None, 'result_double': None}] Qualite : 0.011354407159164243 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26421852 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26421852_02-09-2025_06_15_28.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26421852 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26421852_02-09-2025_06_15_28.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26421853, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26421854, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26421855, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26421856, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26421857, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26421858, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26421859, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26421860, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26421861, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26421862, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26421863, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26421864, 'pht': 3726}}" where mtr_portfolio_id = 26421852 and dashboard_run_id = 2222619 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26421852 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14575200, 0.011354407159164243, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26421852_02-09-2025_06_15_28.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26421853, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26421854, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26421855, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26421856, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26421857, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26421858, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26421859, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26421860, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26421861, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26421862, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26421863, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26421864, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26422348 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3649634, 'mtr_portfolio_id': 26422348, 'created_at': datetime.datetime(2025, 9, 2, 6, 15, 40), 'result': '0.06504504754248332', 'result_long': None, 'result_double': None}] Qualite : 0.06504504754248332 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26422348 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26422348_02-09-2025_06_15_41.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26422348 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26422348_02-09-2025_06_15_41.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26422350, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26422351, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26422352, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26422353, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26422354, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26422355, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26422356, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26422357, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26422358, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26422359, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26422360, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26422361, 'pht': 3726}}" where mtr_portfolio_id = 26422348 and dashboard_run_id = 2222619 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26422348 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14575201, 0.06504504754248332, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26422348_02-09-2025_06_15_41.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26422350, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26422351, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26422352, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26422353, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26422354, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26422355, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26422356, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26422357, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26422358, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26422359, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26422360, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26422361, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26422569 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3649635, 'mtr_portfolio_id': 26422569, 'created_at': datetime.datetime(2025, 9, 2, 5, 40, 39), 'result': '0.05665505530903546', 'result_long': None, 'result_double': None}] Qualite : 0.05665505530903546 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26422569 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26422569_02-09-2025_05_40_41.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26422569 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26422569_02-09-2025_05_40_41.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 26422571, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26422572, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26422573, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26422574, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26422575, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26422576, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26422577, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26422578, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26422579, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26422580, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26422581, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26422582, 'pht': 3726}}" where mtr_portfolio_id = 26422569 and dashboard_run_id = 2222619 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26422569 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14575202, 0.05665505530903546, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26422569_02-09-2025_05_40_41.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 26422571, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26422572, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26422573, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26422574, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26422575, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26422576, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26422577, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26422578, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26422579, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26422580, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26422581, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26422582, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26422847 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3649554, 'mtr_portfolio_id': 26422847, 'created_at': datetime.datetime(2025, 9, 2, 5, 49), 'result': '0.050945077666736796', 'result_long': None, 'result_double': None}] Qualite : 0.050945077666736796 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26422847 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26422847_02-09-2025_05_49_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26422847 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26422847_02-09-2025_05_49_00.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 26422888, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26422889, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26422890, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26422891, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26422892, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26422893, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26422894, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26422895, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26422896, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26422897, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26422898, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26422899, 'pht': 3726}}" where mtr_portfolio_id = 26422847 and dashboard_run_id = 2222619 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26422847 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14575203, 0.050945077666736796, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26422847_02-09-2025_05_49_00.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 26422888, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26422889, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26422890, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26422891, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26422892, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26422893, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26422894, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26422895, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26422896, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26422897, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26422898, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26422899, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26423247 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3649728, 'mtr_portfolio_id': 26423247, 'created_at': datetime.datetime(2025, 9, 2, 6, 3, 28), 'result': '0.04732348082075002', 'result_long': None, 'result_double': None}] Qualite : 0.04732348082075002 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26423247 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26423247_02-09-2025_06_03_28.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26423247 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26423247_02-09-2025_06_03_28.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26423251, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26423252, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26423253, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26423254, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26423255, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26423256, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26423257, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26423258, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26423259, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26423260, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26423261, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26423262, 'pht': 3726}}" where mtr_portfolio_id = 26423247 and dashboard_run_id = 2222619 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26423247 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14575204, 0.04732348082075002, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26423247_02-09-2025_06_03_28.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26423251, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26423252, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26423253, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26423254, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26423255, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26423256, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26423257, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26423258, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26423259, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26423260, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26423261, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26423262, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26423697 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3649799, 'mtr_portfolio_id': 26423697, 'created_at': datetime.datetime(2025, 9, 2, 7, 0, 41), 'result': '0.09345634243956515', 'result_long': None, 'result_double': None}] Qualite : 0.09345634243956515 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26423697 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26423697_02-09-2025_07_00_43.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26423697 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26423697_02-09-2025_07_00_43.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26423711, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26423712, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26423713, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26423714, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26423715, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26423716, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26423717, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26423718, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26423719, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26423720, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26423721, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26423722, 'pht': 3726}}" where mtr_portfolio_id = 26423697 and dashboard_run_id = 2222619 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26423697 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14575205, 0.09345634243956515, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26423697_02-09-2025_07_00_43.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26423711, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26423712, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26423713, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26423714, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26423715, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26423716, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26423717, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26423718, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26423719, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26423720, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26423721, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26423722, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26425366 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3650072, 'mtr_portfolio_id': 26425366, 'created_at': datetime.datetime(2025, 9, 2, 7, 1, 3), 'result': '0.051827515755475985', 'result_long': None, 'result_double': None}] Qualite : 0.051827515755475985 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26425366 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26425366_02-09-2025_07_01_07.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26425366 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26425366_02-09-2025_07_01_07.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26425447, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26425448, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26425449, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26425450, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26425451, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26425452, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26425453, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26425454, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26425455, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26425456, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26425457, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26425458, 'pht': 3726}}" where mtr_portfolio_id = 26425366 and dashboard_run_id = 2222619 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26425366 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14575206, 0.051827515755475985, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26425366_02-09-2025_07_01_07.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26425447, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26425448, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26425449, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26425450, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26425451, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26425452, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26425453, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26425454, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26425455, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26425456, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26425457, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26425458, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26425367 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3650073, 'mtr_portfolio_id': 26425367, 'created_at': datetime.datetime(2025, 9, 2, 7, 0, 33), 'result': '0.04827498812658768', 'result_long': None, 'result_double': None}] Qualite : 0.04827498812658768 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26425367 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26425367_02-09-2025_07_00_37.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26425367 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26425367_02-09-2025_07_00_37.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26425417, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26425418, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26425419, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26425420, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26425421, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26425422, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26425423, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26425424, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26425425, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26425426, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26425427, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26425428, 'pht': 3726}}" where mtr_portfolio_id = 26425367 and dashboard_run_id = 2222619 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26425367 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14575207, 0.04827498812658768, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26425367_02-09-2025_07_00_37.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26425417, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26425418, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26425419, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26425420, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26425421, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26425422, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26425423, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26425424, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26425425, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26425426, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26425427, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26425428, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26425368 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3650074, 'mtr_portfolio_id': 26425368, 'created_at': datetime.datetime(2025, 9, 2, 7, 16, 58), 'result': '0.0630449193859071', 'result_long': None, 'result_double': None}] Qualite : 0.0630449193859071 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26425368 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26425368_02-09-2025_07_16_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26425368 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26425368_02-09-2025_07_16_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26425369, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26425370, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26425371, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26425372, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26425373, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26425374, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26425375, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26425376, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26425377, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26425378, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26425379, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26425380, 'pht': 3726}}" where mtr_portfolio_id = 26425368 and dashboard_run_id = 2222619 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26425368 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14575208, 0.0630449193859071, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26425368_02-09-2025_07_16_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26425369, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26425370, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26425371, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26425372, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26425373, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26425374, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26425375, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26425376, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26425377, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26425378, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26425379, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26425380, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26426242 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3650197, 'mtr_portfolio_id': 26426242, 'created_at': datetime.datetime(2025, 9, 2, 7, 24, 57), 'result': '0.04403825290894583', 'result_long': None, 'result_double': None}] Qualite : 0.04403825290894583 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26426242 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26426242_02-09-2025_07_24_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26426242 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26426242_02-09-2025_07_24_58.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26426272, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26426273, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26426274, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26426275, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26426276, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26426277, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26426278, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26426279, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26426280, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26426281, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26426282, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26426283, 'pht': 3726}}" where mtr_portfolio_id = 26426242 and dashboard_run_id = 2222619 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26426242 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14575209, 0.04403825290894583, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26426242_02-09-2025_07_24_58.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26426272, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26426273, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26426274, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26426275, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26426276, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26426277, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26426278, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26426279, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26426280, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26426281, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26426282, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26426283, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26426742 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3650241, 'mtr_portfolio_id': 26426742, 'created_at': datetime.datetime(2025, 9, 2, 7, 33), 'result': '0.06966086867563821', 'result_long': None, 'result_double': None}] Qualite : 0.06966086867563821 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26426742 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26426742_02-09-2025_07_33_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26426742 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26426742_02-09-2025_07_33_01.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26426745, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26426746, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26426747, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26426748, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26426749, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26426750, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26426751, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26426752, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26426753, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26426754, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26426755, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26426756, 'pht': 3726}}" where mtr_portfolio_id = 26426742 and dashboard_run_id = 2222619 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26426742 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14575210, 0.06966086867563821, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26426742_02-09-2025_07_33_01.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26426745, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26426746, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26426747, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26426748, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26426749, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26426750, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26426751, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26426752, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26426753, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26426754, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26426755, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26426756, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26426922 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3650264, 'mtr_portfolio_id': 26426922, 'created_at': datetime.datetime(2025, 9, 2, 7, 48, 58), 'result': '0.07815691925885802', 'result_long': None, 'result_double': None}] Qualite : 0.07815691925885802 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26426922 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26426922_02-09-2025_07_48_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26426922 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26426922_02-09-2025_07_48_58.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 26426928, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26426929, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26426930, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26426931, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26426932, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26426933, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26426934, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26426935, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26426936, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26426937, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26426938, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26426939, 'pht': 3726}}" where mtr_portfolio_id = 26426922 and dashboard_run_id = 2222619 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26426922 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14575211, 0.07815691925885802, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26426922_02-09-2025_07_48_58.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 26426928, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26426929, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26426930, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26426931, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26426932, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26426933, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26426934, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26426935, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26426936, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26426937, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26426938, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26426939, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26427649 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3650333, 'mtr_portfolio_id': 26427649, 'created_at': datetime.datetime(2025, 9, 2, 8, 3, 1), 'result': '0.0064983107930800255', 'result_long': None, 'result_double': None}] Qualite : 0.0064983107930800255 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26427649 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26427649_02-09-2025_08_03_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26427649 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26427649_02-09-2025_08_03_01.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26427691, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26427692, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26427693, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26427694, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26427695, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26427696, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26427697, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26427698, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26427699, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26427700, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26427701, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26427702, 'pht': 3726}}" where mtr_portfolio_id = 26427649 and dashboard_run_id = 2222619 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26427649 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14575212, 0.0064983107930800255, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26427649_02-09-2025_08_03_01.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26427691, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26427692, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26427693, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26427694, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26427695, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26427696, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26427697, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26427698, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26427699, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26427700, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26427701, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26427702, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26427997 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26427997 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 26427997 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26427997 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26427997 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26427997 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26427997_02-09-2025_09_01_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26427997 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26427997_02-09-2025_09_01_02.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 26428044, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26428045, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26428046, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26428047, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26428048, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26428049, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26428050, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26428051, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26428052, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26428053, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26428054, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26428055, 'pht': 3726}}" where mtr_portfolio_id = 26427997 and dashboard_run_id = 2222619 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26429064 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26429064 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26429064 order by file_id desc limit 1 select url from MTRUser.mtr_files where text like '%26429064%' order by file_id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26429064 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': ''}" where mtr_portfolio_id = 26429064 and dashboard_run_id = 2222619 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26429066 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26429066 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 26429066 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26429066 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26429066 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26429066 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26429066_02-09-2025_09_00_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26429066 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26429066_02-09-2025_09_00_34.pdf'}" where mtr_portfolio_id = 26429066 and dashboard_run_id = 2222619 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26429069 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26429069 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 26429069 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26429069 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26429069 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26429069 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26429069_02-09-2025_08_59_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26429069 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26429069_02-09-2025_08_59_59.pdf'}" where mtr_portfolio_id = 26429069 and dashboard_run_id = 2222619 SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26419800,26420091,26420215,26420269,26420665,26420821,26421082,26421275,26421697,26421773,26421852,26422348,26422569,26422847,26423247,26423697,26425366,26425367,26425368,26426242,26426742,26426922,26427649,26427997,26429064,26429066,26429069) result : ((1380746927,), (1380746929,), (1380747076,), (1380747077,), (1380747078,), (1380747090,), (1380747136,), (1380747157,), (1380747158,), (1380747673,), (1380747675,), (1380747677,), (1380747745,), (1380747808,), (1380748022,), (1380747872,), (1380748234,), (1380748235,), (1380748316,), (1380748660,), (1380748661,), (1380748801,), (1380748822,), (1380748859,), (1380748919,), (1380748922,), (1380748976,), (1380749079,), (1380749223,), (1380749240,), (1380749270,), (1380749336,), (1380749439,), (1380749491,), (1380749492,), (1380750502,), (1380750974,), (1380750975,), (1380751018,), (1380751029,), (1380754439,), (1380754438,), (1380754608,), (1380754609,), (1380754648,), (1380754649,), (1380754650,), (1380754672,), (1380754674,), (1380754675,), (1380754676,), (1380754744,), (1380754745,), (1380754788,), (1380754789,), (1380754811,), (1380754832,), (1380754849,), (1380754871,), (1380754892,), (1380754909,), (1380754959,), (1380754956,), (1380755028,), (1380755060,), (1380755121,), (1380755186,), (1380755282,), (1380755347,), (1380755348,), (1380755349,), (1380755585,), (1380755586,), (1380755587,), (1380756011,), (1380756763,), (1380756970,), (1380756971,), (1380757095,), (1380757478,), (1380757480,), (1380757482,), (1380757690,), (1380757702,), (1380757716,), (1380757728,), (1380757770,), (1380757771,), (1380757772,), (1380757830,), (1380757855,), (1380757876,), (1380757877,), (1380757906,), (1380757957,), (1380757979,), (1380757992,), (1380758050,), (1380758101,), (1380758102,), (1380758103,), (1380758233,), (1380761735,), (1380761817,), (1380761818,), (1380761819,), (1380761902,), (1380761964,), (1380761985,), (1380762007,), (1380762099,), (1380762149,), (1380762258,), (1380762259,), (1380762275,), (1380762316,), (1380762355,), (1380762416,), (1380762417,), (1380762472,), (1380762590,), (1380762650,), (1380762651,), (1380762792,), (1380762847,), (1380762848,), (1380762849,), (1380763516,), (1380763636,), (1380763697,), (1380769131,), (1380769132,), (1380769133,), (1380769203,), (1380769204,), (1380769205,), (1380769244,), (1380769245,), (1380769313,), (1380769314,), (1380769343,), (1380769344,), (1380769345,), (1380769372,), (1380769373,), (1380769405,), (1380769406,), (1380769407,), (1380769408,), (1380769409,), (1380769436,), (1380769471,), (1380769486,), (1380769502,), (1380769522,), (1380769523,), (1380769524,), (1380769525,), (1380769550,), (1380769552,), (1380769553,), (1380769554,), (1380769614,), (1380769615,), (1380769616,), (1380769617,), (1380769618,), (1380769644,), (1380769645,), (1380769646,), (1380769647,), (1380769648,), (1380769649,), (1380769700,), (1380769701,), (1380769702,), (1380769703,), (1380769730,), (1380769731,), (1380769732,), (1380769758,), (1380769759,), (1380769760,), (1380769761,), (1380769784,), (1380769785,), (1380769786,), (1380769787,), (1380769807,), (1380769808,), (1380769809,), (1380769810,), (1380769811,), (1380769812,), (1380769816,), (1380769828,), (1380769829,), (1380769830,), (1380769831,), (1380769855,), (1380769856,), (1380769857,), (1380769858,), (1380769859,), (1380769860,), (1380769883,), (1380769884,), (1380769885,), (1380769886,), (1380769887,), (1380769888,), (1380769916,), (1380769912,), (1380769913,), (1380769914,), (1380769915,), (1380769934,), (1380769935,), (1380769936,), (1380769937,), (1380769938,), (1380769939,), (1380769979,), (1380769980,), (1380769981,), (1380769982,), (1380770014,), (1380770015,), (1380770016,), (1380770017,), (1380770018,), (1380770019,), (1380770052,), (1380770053,), (1380770054,), (1380770055,), (1380770056,), (1380770057,), (1380770083,), (1380770085,), (1380770086,), (1380770087,), (1380770088,), (1380770089,), (1380770113,), (1380770114,), (1380770115,), (1380770116,), (1380770117,), (1380770149,), (1380770151,), (1380770152,), (1380770153,), (1380770154,), (1380770155,), (1380770182,), (1380770183,), (1380770184,), (1380770185,), (1380770218,), (1380770219,), (1380770220,), (1380770221,), (1380770223,), (1380770225,), (1380770246,), (1380770247,), (1380770248,), (1380770249,), (1380770320,), (1380770321,), (1380770322,), (1380770323,), (1380770324,), (1380770325,), (1380770351,), (1380770352,), (1380770353,), (1380770354,), (1380770386,), (1380770424,), (1380770382,), (1380770383,), (1380770384,), (1380770385,), (1380770407,), (1380770408,), (1380770409,), (1380770410,), (1380770412,), (1380770413,), (1380770420,), (1380770421,), (1380770422,), (1380770423,), (1380770444,), (1380770445,), (1380770446,), (1380770447,), (1380770476,), (1380770477,), (1380770478,), (1380770479,), (1380770480,), (1380770481,), (1380770506,), (1380770507,), (1380770508,), (1380770509,), (1380770510,), (1380770511,), (1380770555,), (1380770556,), (1380770557,), (1380770558,), (1380770587,), (1380770588,), (1380770589,), (1380770590,), (1380770592,), (1380770629,), (1380770630,), (1380770631,), (1380770653,), (1380770661,), (1380770662,), (1380770664,), (1380770665,), (1380770666,), (1380770688,), (1380770689,), (1380770690,), (1380770691,), (1380770692,), (1380770693,), (1380770712,), (1380770713,), (1380770714,), (1380770744,), (1380770746,), (1380770748,), (1380770749,), (1380770750,), (1380770751,), (1380770755,), (1380770756,), (1380770757,), (1380771045,), (1380771047,), (1380771049,), (1380771051,), (1380771053,), (1380771569,), (1380771571,), (1380771575,), (1380771578,), (1380771581,), (1380771641,), (1380771643,), (1380771646,), (1380771648,), (1380771650,), (1380772008,), (1380772002,), (1380772004,), (1380772006,), (1380772369,), (1380772371,), (1380772373,), (1380772375,), (1380772377,), (1380772755,), (1380772757,), (1380772759,), (1380772761,), (1380772938,), (1380772940,), (1380772942,), (1380772944,), (1380773103,), (1380773104,), (1380773105,), (1380773106,), (1380773107,), (1380773138,), (1380773139,), (1380773140,), (1380773141,), (1380773142,), (1380773143,), (1380773176,), (1380773177,), (1380773178,), (1380773179,), (1380773180,), (1380773181,), (1380773186,), (1380773187,), (1380773215,), (1380773249,), (1380773291,), (1380773392,), (1380773414,), (1380773415,), (1380773416,), (1380773417,), (1380773418,), (1380773454,), (1380773479,), (1380773450,), (1380773451,), (1380773452,), (1380773453,), (1380773468,), (1380773469,), (1380773470,), (1380773471,), (1380773472,), (1380773473,), (1380773477,), (1380773513,), (1380773514,), (1380773515,), (1380773517,), (1380773519,), (1380773547,), (1380773548,), (1380773549,), (1380773550,), (1380773551,), (1380773588,), (1380773589,), (1380773590,), (1380773591,), (1380773592,), (1380773618,), (1380773619,), (1380773656,), (1380773657,), (1380773658,), (1380773659,), (1380773660,), (1380773682,), (1380773683,), (1380773684,), (1380773685,), (1380773686,), (1380773687,), (1380773785,), (1380773786,), (1380773787,), (1380773788,), (1380773818,), (1380773819,), (1380773820,), (1380773821,), (1380773846,), (1380773847,), (1380773894,), (1380773895,), (1380773896,), (1380773897,), (1380773898,), (1380773935,), (1380773936,), (1380773937,), (1380773938,), (1380773939,), (1380773955,), (1380773956,), (1380773957,), (1380773958,), (1380773959,), (1380773995,), (1380773996,), (1380773997,), (1380773998,), (1380774020,), (1380774014,), (1380774018,), (1380774019,), (1380774056,), (1380774057,), (1380774058,), (1380774059,), (1380774060,), (1380774079,), (1380774080,), (1380774119,), (1380774121,), (1380774123,), (1380774124,), (1380774160,), (1380774161,), (1380774162,), (1380774163,), (1380774200,), (1380774201,), (1380774202,), (1380774203,), (1380774217,), (1380774219,), (1380774220,), (1380774221,), (1380774222,), (1380774223,), (1380774226,), (1380774227,), (1380774253,), (1380774254,), (1380774255,), (1380774256,), (1380774283,), (1380774284,), (1380774311,), (1380774312,), (1380774313,), (1380774314,), (1380774315,), (1380774336,), (1380774337,), (1380774338,), (1380774339,), (1380774340,), (1380774341,), (1380774383,), (1380774384,), (1380774385,), (1380774386,), (1380774387,), (1380774405,), (1380774406,), (1380774407,), (1380774408,), (1380774447,), (1380774448,), (1380774449,), (1380774450,), (1380774451,), (1380774475,), (1380774476,), (1380774478,), (1380774480,), (1380774541,), (1380774567,), (1380774537,), (1380774538,), (1380774539,), (1380774540,), (1380774556,), (1380774557,), (1380774558,), (1380774559,), (1380774560,), (1380774561,), (1380774565,), (1380774585,), (1380774586,), (1380774587,), (1380774588,), (1380774589,), (1380774609,), (1380774612,), (1380774613,), (1380774614,), (1380774615,), (1380774616,), (1380774648,), (1380774649,), (1380774650,), (1380774669,), (1380774670,), (1380774671,), (1380774672,), (1380774700,), (1380774701,), (1380774702,), (1380774703,), (1380774704,), (1380774719,), (1380774720,), (1380774721,), (1380774722,), (1380774749,), (1380774750,), (1380774751,), (1380774752,), (1380774753,), (1380774781,), (1380774782,), (1380774783,), (1380774784,), (1380774785,), (1380774786,), (1380774823,), (1380774824,), (1380774825,), (1380774847,), (1380774848,), (1380774849,), (1380774850,), (1380774851,), (1380774852,), (1380774875,), (1380774879,), (1380774880,), (1380774881,), (1380774882,), (1380775553,), (1380775557,), (1380775561,), (1380775565,), (1380775569,), (1380775712,), (1380775716,), (1380776439,), (1380776431,), (1380776433,), (1380776435,), (1380776437,), (1380776936,), (1380776938,), (1380776940,), (1380776942,), (1380776944,), (1380777177,), (1380777178,), (1380777179,), (1380777180,), (1380777181,), (1380777212,), (1380777213,), (1380777214,), (1380777215,), (1380777238,), (1380777239,), (1380777241,), (1380777242,), (1380777281,), (1380777282,), (1380777283,), (1380777297,), (1380777298,), (1380777299,), (1380777300,), (1380777301,), (1380777303,), (1380777312,), (1380777343,), (1380777344,), (1380777345,), (1380777346,), (1380777347,), (1380777374,), (1380777375,), (1380777376,), (1380777377,), (1380777430,), (1380777431,), (1380778686,), (1380778732,), (1380778733,), (1380778734,), (1380778735,), (1380778838,), (1380778839,), (1380778840,), (1380778841,), (1380779077,), (1380779080,), (1380779083,), (1380779086,), (1380779090,), (1380779093,), (1380779160,), (1380779162,), (1380779261,), (1380779262,), (1380779263,), (1380779264,), (1380779301,), (1380779302,), (1380779303,), (1380779304,), (1380779305,), (1380779306,), (1380779338,), (1380779339,), (1380779340,), (1380779342,), (1380779343,), (1380779372,), (1380779370,), (1380779371,), (1380779466,), (1380779467,), (1380779468,), (1380779469,), (1380779470,), (1380779471,), (1380779491,), (1380779492,), (1380779493,), (1380779494,), (1380779540,), (1380779541,), (1380779542,), (1380779619,), (1380779620,), (1380779622,), (1380779723,), (1380779725,), (1380779726,), (1380779727,), (1380779899,), (1380779900,), (1380779901,), (1380779902,), (1380779903,), (1380779904,), (1380779908,), (1380779910,), (1380779930,), (1380779931,), (1380779932,), (1380779933,), (1380779934,), (1380779935,), (1380780002,), (1380780003,), (1380780004,), (1380780005,), (1380780006,), (1380780007,), (1380780030,), (1380780031,), (1380780032,), (1380780086,), (1380780089,), (1380780091,), (1380780092,), (1380780254,), (1380780256,), (1380780258,), (1380780260,), (1380780394,), (1380780395,), (1380780396,), (1380780397,), (1380780398,), (1380780425,), (1380780426,), (1380780484,), (1380780486,), (1380780549,), (1380780712,), (1380780708,), (1380780709,), (1380780711,), (1380781186,), (1380781235,), (1380781330,), (1380781359,), (1380781360,), (1380781361,), (1380781387,), (1380781389,), (1380781390,), (1380781391,), (1380781422,), (1380781423,), (1380781424,), (1380781938,), (1380781940,), (1380782059,), (1380782060,), (1380782061,), (1380782057,), (1380782058,), (1380782093,), (1380782095,), (1380782096,), (1380782115,), (1380782116,), (1380782149,), (1380782151,), (1380782152,), (1380782176,), (1380782214,), (1380782215,), (1380782216,), (1380782217,), (1380782218,), (1380782234,), (1380782235,), (1380782236,), (1380782237,), (1380782238,), (1380782239,), (1380782243,), (1380782275,), (1380782276,), (1380782277,), (1380782278,), (1380782298,), (1380782299,), (1380782300,), (1380782327,), (1380782328,), (1380782344,), (1380782346,), (1380782347,), (1380782563,), (1380782565,), (1380782567,), (1380782569,), (1380782916,), (1380782918,), (1380783225,), (1380783226,), (1380783228,), (1380783230,), (1380783232,), (1380783234,), (1380783523,), (1380783527,), (1380783530,), (1380783533,), (1380783536,), (1380783539,), (1380783963,), (1380784309,), (1380783962,), (1380784126,), (1380784130,), (1380784134,), (1380784138,), (1380784144,), (1380784148,), (1380784305,), (1380784456,), (1380784457,), (1380784458,), (1380784459,), (1380784461,), (1380784887,), (1380784889,), (1380784891,), (1380784893,), (1380785264,), (1380785383,), (1380785386,), (1380785874,), (1380785877,), (1380785880,), (1380785883,), (1380785886,), (1380785889,), (1380786078,), (1380786079,), (1380786080,), (1380786081,), (1380786082,), (1380786519,), (1380786521,), (1380786523,), (1380786680,), (1380786681,), (1380786682,), (1380786735,), (1380786736,), (1380786737,), (1380786785,), (1380786786,), (1380786787,), (1380786788,), (1380786878,), (1380786879,), (1380786881,), (1380786882,), (1380786883,), (1380786884,), (1380786889,), (1380786890,), (1380786911,), (1380786913,), (1380786915,), (1380786917,), (1380787050,), (1380787051,), (1380787052,), (1380787207,), (1380787208,), (1380787209,), (1380787210,), (1380787211,), (1380787353,), (1380787351,), (1380787352,), (1380787432,), (1380787433,), (1380787434,), (1380787557,), (1380787559,), (1380787561,), (1380787563,), (1380787565,), (1380787567,), (1380787990,), (1380787992,), (1380787994,), (1380787996,), (1380788336,), (1380788337,), (1380788338,), (1380788339,), (1380788409,), (1380788410,), (1380788460,), (1380788461,), (1380788462,), (1380788463,), (1380788464,), (1380788532,), (1380788533,), (1380788534,), (1380788589,), (1380788590,), (1380788591,), (1380788804,), (1380788840,), (1380788841,), (1380788959,), (1380789017,), (1380789018,), (1380789117,), (1380789119,), (1380789120,), (1380789121,), (1380789122,), (1380789223,), (1380789344,), (1380789221,), (1380789222,), (1380789338,), (1380789339,), (1380789340,), (1380789341,), (1380789342,), (1380789414,), (1380789416,), (1380789417,), (1380789418,), (1380789538,), (1380789599,), (1380789600,), (1380789601,), (1380789675,), (1380789679,), (1380789717,), (1380789718,), (1380789817,), (1380789818,), (1380789854,), (1380789855,), (1380789945,), (1380789946,), (1380789980,), (1380789981,), (1380790038,), (1380790039,), (1380790040,), (1380790041,), (1380790042,), (1380790140,), (1380790142,), (1380790144,)) NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'02092025': {'nb_upload': 55, 'nb_taggue_class': 0, 'nb_taggue_densite': 0}} After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([26427997]) Inside saveOutput : final : True verbose : True saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1380784309, 1380783963, 1380783539, 1380783536, 1380783533, 1380783530, 1380783527, 1380783523, 1380783234, 1380783232, 1380783230, 1380783228, 1380783226, 1380783225, 1380782918, 1380782916, 1380782569, 1380782567, 1380782565, 1380782563, 1380782347, 1380782346, 1380782344, 1380782328, 1380782327, 1380782300, 1380782299, 1380782298, 1380782278, 1380782277, 1380782276, 1380782275, 1380782243, 1380782239, 1380782238, 1380782237, 1380782236, 1380782235, 1380782234, 1380782218, 1380782217, 1380782216, 1380782215, 1380782214, 1380782176] map_info['map_portfolio_photo'] : {26427997: [1380784309, 1380783963, 1380783539, 1380783536, 1380783533, 1380783530, 1380783527, 1380783523, 1380783234, 1380783232, 1380783230, 1380783228, 1380783226, 1380783225, 1380782918, 1380782916, 1380782569, 1380782567, 1380782565, 1380782563, 1380782347, 1380782346, 1380782344, 1380782328, 1380782327, 1380782300, 1380782299, 1380782298, 1380782278, 1380782277, 1380782276, 1380782275, 1380782243, 1380782239, 1380782238, 1380782237, 1380782236, 1380782235, 1380782234, 1380782218, 1380782217, 1380782216, 1380782215, 1380782214, 1380782176, 1380782152, 1380782151, 1380782149, 1380782116, 1380782115, 1380782096, 1380782095, 1380782093, 1380782058, 1380782057]} final : True mtd_id 4302 list_pids : [1380784309, 1380783963, 1380783539, 1380783536, 1380783533, 1380783530, 1380783527, 1380783523, 1380783234, 1380783232, 1380783230, 1380783228, 1380783226, 1380783225, 1380782918, 1380782916, 1380782569, 1380782567, 1380782565, 1380782563, 1380782347, 1380782346, 1380782344, 1380782328, 1380782327, 1380782300, 1380782299, 1380782298, 1380782278, 1380782277, 1380782276, 1380782275, 1380782243, 1380782239, 1380782238, 1380782237, 1380782236, 1380782235, 1380782234, 1380782218, 1380782217, 1380782216, 1380782215, 1380782214, 1380782176] Looping around the photos to save general results len do output : 1 /26427997Didn'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, '3650384') ('4302', '26427997', '1380784309', None, None, None, None, None, '3650384') ('4302', None, None, None, None, None, None, None, '3650384') ('4302', '26427997', '1380783963', None, None, None, None, None, '3650384') ('4302', None, None, None, None, None, None, None, '3650384') ('4302', '26427997', '1380783539', None, None, None, None, None, '3650384') ('4302', None, None, None, None, None, None, None, '3650384') ('4302', '26427997', '1380783536', None, None, None, None, None, '3650384') ('4302', None, None, None, None, None, None, None, '3650384') ('4302', '26427997', '1380783533', None, None, None, None, None, '3650384') ('4302', None, None, None, None, None, None, None, '3650384') ('4302', '26427997', '1380783530', None, None, None, None, None, '3650384') ('4302', None, None, None, None, None, None, None, '3650384') ('4302', '26427997', '1380783527', None, None, None, None, None, '3650384') ('4302', None, None, None, None, None, None, None, '3650384') ('4302', '26427997', '1380783523', None, None, None, None, None, '3650384') ('4302', None, None, None, None, None, None, None, '3650384') ('4302', '26427997', '1380783234', None, None, None, None, None, '3650384') ('4302', None, None, None, None, None, None, None, '3650384') ('4302', '26427997', '1380783232', None, None, None, None, None, '3650384') ('4302', None, None, None, None, None, None, None, '3650384') ('4302', '26427997', '1380783230', None, None, None, None, None, '3650384') ('4302', None, None, None, None, None, None, None, '3650384') ('4302', '26427997', '1380783228', None, None, None, None, None, '3650384') ('4302', None, None, None, None, None, None, None, '3650384') ('4302', '26427997', '1380783226', None, None, None, None, None, '3650384') ('4302', None, None, None, None, None, None, None, '3650384') ('4302', '26427997', '1380783225', None, None, None, None, None, '3650384') ('4302', None, None, None, None, None, None, None, '3650384') ('4302', '26427997', '1380782918', None, None, None, None, None, '3650384') ('4302', None, None, None, None, None, None, None, '3650384') ('4302', '26427997', '1380782916', None, None, None, None, None, '3650384') ('4302', None, None, None, None, None, None, None, '3650384') ('4302', '26427997', '1380782569', None, None, None, None, None, '3650384') ('4302', None, None, None, None, None, None, None, '3650384') ('4302', '26427997', '1380782567', None, None, None, None, None, '3650384') ('4302', None, None, None, None, None, None, None, '3650384') ('4302', '26427997', '1380782565', None, None, None, None, None, '3650384') ('4302', None, None, None, None, None, None, None, '3650384') ('4302', '26427997', '1380782563', None, None, None, None, None, '3650384') ('4302', None, None, None, None, None, None, None, '3650384') ('4302', '26427997', '1380782347', None, None, None, None, None, '3650384') ('4302', None, None, None, None, None, None, None, '3650384') ('4302', '26427997', '1380782346', None, None, None, None, None, '3650384') ('4302', None, None, None, None, None, None, None, '3650384') ('4302', '26427997', '1380782344', None, None, None, None, None, '3650384') ('4302', None, None, None, None, None, None, None, '3650384') ('4302', '26427997', '1380782328', None, None, None, None, None, '3650384') ('4302', None, None, None, None, None, None, None, '3650384') ('4302', '26427997', '1380782327', None, None, None, None, None, '3650384') ('4302', None, None, None, None, None, None, None, '3650384') ('4302', '26427997', '1380782300', None, None, None, None, None, '3650384') ('4302', None, None, None, None, None, None, None, '3650384') ('4302', '26427997', '1380782299', None, None, None, None, None, '3650384') ('4302', None, None, None, None, None, None, None, '3650384') ('4302', '26427997', '1380782298', None, None, None, None, None, '3650384') ('4302', None, None, None, None, None, None, None, '3650384') ('4302', '26427997', '1380782278', None, None, None, None, None, '3650384') ('4302', None, None, None, None, None, None, None, '3650384') ('4302', '26427997', '1380782277', None, None, None, None, None, '3650384') ('4302', None, None, None, None, None, None, None, '3650384') ('4302', '26427997', '1380782276', None, None, None, None, None, '3650384') ('4302', None, None, None, None, None, None, None, '3650384') ('4302', '26427997', '1380782275', None, None, None, None, None, '3650384') ('4302', None, None, None, None, None, None, None, '3650384') ('4302', '26427997', '1380782243', None, None, None, None, None, '3650384') ('4302', None, None, None, None, None, None, None, '3650384') ('4302', '26427997', '1380782239', None, None, None, None, None, '3650384') ('4302', None, None, None, None, None, None, None, '3650384') ('4302', '26427997', '1380782238', None, None, None, None, None, '3650384') ('4302', None, None, None, None, None, None, None, '3650384') ('4302', '26427997', '1380782237', None, None, None, None, None, '3650384') ('4302', None, None, None, None, None, None, None, '3650384') ('4302', '26427997', '1380782236', None, None, None, None, None, '3650384') ('4302', None, None, None, None, None, None, None, '3650384') ('4302', '26427997', '1380782235', None, None, None, None, None, '3650384') ('4302', None, None, None, None, None, None, None, '3650384') ('4302', '26427997', '1380782234', None, None, None, None, None, '3650384') ('4302', None, None, None, None, None, None, None, '3650384') ('4302', '26427997', '1380782218', None, None, None, None, None, '3650384') ('4302', None, None, None, None, None, None, None, '3650384') ('4302', '26427997', '1380782217', None, None, None, None, None, '3650384') ('4302', None, None, None, None, None, None, None, '3650384') ('4302', '26427997', '1380782216', None, None, None, None, None, '3650384') ('4302', None, None, None, None, None, None, None, '3650384') ('4302', '26427997', '1380782215', None, None, None, None, None, '3650384') ('4302', None, None, None, None, None, None, None, '3650384') ('4302', '26427997', '1380782214', None, None, None, None, None, '3650384') ('4302', None, None, None, None, None, None, None, '3650384') ('4302', '26427997', '1380782176', None, None, None, None, None, '3650384') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 46 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, '26427997', 'None', None, None, None, None, '3650384'), ('4302', '26427997', '1380784309', None, None, None, None, None, '3650384'), ('4302', '26427997', '1380783963', None, None, None, None, None, '3650384'), ('4302', '26427997', '1380783539', None, None, None, None, None, '3650384'), ('4302', '26427997', '1380783536', None, None, None, None, None, '3650384'), ('4302', '26427997', '1380783533', None, None, None, None, None, '3650384'), ('4302', '26427997', '1380783530', None, None, None, None, None, '3650384'), ('4302', '26427997', '1380783527', None, None, None, None, None, '3650384'), ('4302', '26427997', '1380783523', None, None, None, None, None, '3650384'), ('4302', '26427997', '1380783234', None, None, None, None, None, '3650384'), ('4302', '26427997', '1380783232', None, None, None, None, None, '3650384'), ('4302', '26427997', '1380783230', None, None, None, None, None, '3650384'), ('4302', '26427997', '1380783228', None, None, None, None, None, '3650384'), ('4302', '26427997', '1380783226', None, None, None, None, None, '3650384'), ('4302', '26427997', '1380783225', None, None, None, None, None, '3650384'), ('4302', '26427997', '1380782918', None, None, None, None, None, '3650384'), ('4302', '26427997', '1380782916', None, None, None, None, None, '3650384'), ('4302', '26427997', '1380782569', None, None, None, None, None, '3650384'), ('4302', '26427997', '1380782567', None, None, None, None, None, '3650384'), ('4302', '26427997', '1380782565', None, None, None, None, None, '3650384'), ('4302', '26427997', '1380782563', None, None, None, None, None, '3650384'), ('4302', '26427997', '1380782347', None, None, None, None, None, '3650384'), ('4302', '26427997', '1380782346', None, None, None, None, None, '3650384'), ('4302', '26427997', '1380782344', None, None, None, None, None, '3650384'), ('4302', '26427997', '1380782328', None, None, None, None, None, '3650384'), ('4302', '26427997', '1380782327', None, None, None, None, None, '3650384'), ('4302', '26427997', '1380782300', None, None, None, None, None, '3650384'), ('4302', '26427997', '1380782299', None, None, None, None, None, '3650384'), ('4302', '26427997', '1380782298', None, None, None, None, None, '3650384'), ('4302', '26427997', '1380782278', None, None, None, None, None, '3650384'), ('4302', '26427997', '1380782277', None, None, None, None, None, '3650384'), ('4302', '26427997', '1380782276', None, None, None, None, None, '3650384'), ('4302', '26427997', '1380782275', None, None, None, None, None, '3650384'), ('4302', '26427997', '1380782243', None, None, None, None, None, '3650384'), ('4302', '26427997', '1380782239', None, None, None, None, None, '3650384'), ('4302', '26427997', '1380782238', None, None, None, None, None, '3650384'), ('4302', '26427997', '1380782237', None, None, None, None, None, '3650384'), ('4302', '26427997', '1380782236', None, None, None, None, None, '3650384'), ('4302', '26427997', '1380782235', None, None, None, None, None, '3650384'), ('4302', '26427997', '1380782234', None, None, None, None, None, '3650384'), ('4302', '26427997', '1380782218', None, None, None, None, None, '3650384'), ('4302', '26427997', '1380782217', None, None, None, None, None, '3650384'), ('4302', '26427997', '1380782216', None, None, None, None, None, '3650384'), ('4302', '26427997', '1380782215', None, None, None, None, None, '3650384'), ('4302', '26427997', '1380782214', None, None, None, None, None, '3650384'), ('4302', '26427997', '1380782176', None, None, None, None, None, '3650384')] time used for this insertion : 0.028775930404663086 save_final save missing photos in datou_result : time spend for datou_step_exec : 3.314650058746338 time spend to save output : 0.02934885025024414 total time spend for step 5 : 3.343998908996582 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 (3650384) 3.42user 2.75system 0:14.22elapsed 43%CPU (0avgtext+0avgdata 166660maxresident)k 54560inputs+24544outputs (305major+88695minor)pagefaults 0swaps