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 : 1389604 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 (3569398) updating current state to 1 UPDATE MTRPhoto.mtr_datou_current SET state=1, hostname='marlene' WHERE id in (3569398) SELECT count(*) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26123741 AND hide_status = 0 list_input_json: [] Current got : datou_id : 4302, datou_cur_ids : ['3569398'] with mtr_portfolio_ids : ['26123741'] and first list_photo_ids : [] new path : /proc/1389604/ Name: python3 Umask: 0002 State: R (running) Tgid: 1389604 Ngid: 0 Pid: 1389604 PPid: 1389603 TracerPid: 0 Uid: 1006 1006 1006 1006 Gid: 1009 1009 1009 1009 FDSize: 64 Groups: 27 1009 1026 NStgid: 1389604 NSpid: 1389604 NSpgid: 1388881 NSsid: 1388881 VmPeak: 1107248 kB VmSize: 1107248 kB VmLck: 0 kB VmPin: 0 kB VmHWM: 100876 kB VmRSS: 100876 kB RssAnon: 60160 kB RssFile: 40716 kB RssShmem: 0 kB VmData: 866000 kB VmStk: 132 kB VmExe: 2644 kB VmLib: 130468 kB VmPTE: 564 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: 69 nonvoluntary_ctxt_switches: 223 {'Name': 'python3', 'Umask': '0002', 'State': 'R (running)', 'Tgid': '1389604', 'Ngid': '0', 'Pid': '1389604', 'PPid': '1389603', 'TracerPid': '0', 'Uid': '1006,1006,1006,1006', 'Gid': '1009,1009,1009,1009', 'FDSize': '64', 'Groups': '27 1009 1026', 'NStgid': '1389604', 'NSpid': '1389604', 'NSpgid': '1388881', 'NSsid': '1388881', 'VmPeak': '1107248 kB', 'VmSize': '1107248 kB', 'VmLck': '0 kB', 'VmPin': '0 kB', 'VmHWM': '100876 kB', 'VmRSS': '100876 kB', 'RssAnon': '60160 kB', 'RssFile': '40716 kB', 'RssShmem': '0 kB', 'VmData': '866000 kB', 'VmStk': '132 kB', 'VmExe': '2644 kB', 'VmLib': '130468 kB', 'VmPTE': '564 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': '69', 'nonvoluntary_ctxt_switches': '223'} ('datou_batch_current', '1389604', '1107248', '0', '1107248', '866000', '100876', b'', 'marlene', '3569398') 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 (26123741) 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 (3569398 ) ) 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 (26123741) AND hide_status = 0 ORDER by mtr_photo_id desc LIMIT 0, 200 list_result: [{'photo_id': 1378321183, 'portfolio_id': 26123741}, {'photo_id': 1378321126, 'portfolio_id': 26123741}, {'photo_id': 1378321054, 'portfolio_id': 26123741}, {'photo_id': 1378321031, 'portfolio_id': 26123741}, {'photo_id': 1378321005, 'portfolio_id': 26123741}, {'photo_id': 1378320260, 'portfolio_id': 26123741}, {'photo_id': 1378320111, 'portfolio_id': 26123741}, {'photo_id': 1378320015, 'portfolio_id': 26123741}, {'photo_id': 1378319921, 'portfolio_id': 26123741}, {'photo_id': 1378319790, 'portfolio_id': 26123741}, {'photo_id': 1378319676, 'portfolio_id': 26123741}, {'photo_id': 1378319223, 'portfolio_id': 26123741}, {'photo_id': 1378318488, 'portfolio_id': 26123741}, {'photo_id': 1378318478, 'portfolio_id': 26123741}, {'photo_id': 1378318367, 'portfolio_id': 26123741}, {'photo_id': 1378318363, 'portfolio_id': 26123741}, {'photo_id': 1378317685, 'portfolio_id': 26123741}, {'photo_id': 1378317616, 'portfolio_id': 26123741}, {'photo_id': 1378317525, 'portfolio_id': 26123741}, {'photo_id': 1378317430, 'portfolio_id': 26123741}, {'photo_id': 1378317356, 'portfolio_id': 26123741}, {'photo_id': 1378317297, 'portfolio_id': 26123741}, {'photo_id': 1378316754, 'portfolio_id': 26123741}, {'photo_id': 1378316751, 'portfolio_id': 26123741}, {'photo_id': 1378316728, 'portfolio_id': 26123741}, {'photo_id': 1378316707, 'portfolio_id': 26123741}, {'photo_id': 1378316682, 'portfolio_id': 26123741}, {'photo_id': 1378316658, 'portfolio_id': 26123741}, {'photo_id': 1378316550, 'portfolio_id': 26123741}, {'photo_id': 1378316219, 'portfolio_id': 26123741}, {'photo_id': 1378316195, 'portfolio_id': 26123741}, {'photo_id': 1378316157, 'portfolio_id': 26123741}, {'photo_id': 1378315870, 'portfolio_id': 26123741}, {'photo_id': 1378315824, 'portfolio_id': 26123741}, {'photo_id': 1378315794, 'portfolio_id': 26123741}, {'photo_id': 1378315736, 'portfolio_id': 26123741}, {'photo_id': 1378315646, 'portfolio_id': 26123741}, {'photo_id': 1378315572, 'portfolio_id': 26123741}, {'photo_id': 1378315346, 'portfolio_id': 26123741}, {'photo_id': 1378315031, 'portfolio_id': 26123741}, {'photo_id': 1378314997, 'portfolio_id': 26123741}, {'photo_id': 1378314938, 'portfolio_id': 26123741}, {'photo_id': 1378314869, 'portfolio_id': 26123741}, {'photo_id': 1378314792, 'portfolio_id': 26123741}, {'photo_id': 1378314720, 'portfolio_id': 26123741}, {'photo_id': 1378314566, 'portfolio_id': 26123741}, {'photo_id': 1378314541, 'portfolio_id': 26123741}, {'photo_id': 1378314135, 'portfolio_id': 26123741}] map_portfolio_id_photo_id: {26123741: [1378321183, 1378321126, 1378321054, 1378321031, 1378321005, 1378320260, 1378320111, 1378320015, 1378319921, 1378319790, 1378319676, 1378319223, 1378318488, 1378318478, 1378318367, 1378318363, 1378317685, 1378317616, 1378317525, 1378317430, 1378317356, 1378317297, 1378316754, 1378316751, 1378316728, 1378316707, 1378316682, 1378316658, 1378316550, 1378316219, 1378316195, 1378316157, 1378315870, 1378315824, 1378315794, 1378315736, 1378315646, 1378315572, 1378315346, 1378315031, 1378314997, 1378314938, 1378314869, 1378314792, 1378314720, 1378314566, 1378314541, 1378314135]} ##### 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.017098188400268555 #### fin chargement data Blocking on flush ? No conitnuing About to test input to load Calling datou_exec Inside datou_exec : verbose : True number of steps : 5 step1:ventilate_hashtags_in_portfolio Thu Aug 21 23:06:29 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (26123741) 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 : 26123741 get user id for portfolio 26123741 get sub ptf for main ptf 26123741, type 3726 and hashtags ['papier', 'cartonnette', 'mal_croppe', 'kraft', 'autre_refus', 'environnement', 'metal', 'plastique', 'Teint_Dans_La_Masse', 'Carton_brun', 'flou', '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`=26123741 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('papier','cartonnette','mal_croppe','kraft','autre_refus','environnement','metal','plastique','Teint_Dans_La_Masse','Carton_brun','flou','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`=26123741 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('papier','cartonnette','mal_croppe','kraft','autre_refus','environnement','metal','plastique','Teint_Dans_La_Masse','Carton_brun','flou','Carton_gris')) AND mptpi.`min_score`=0.5 To do To do query : SELECT id FROM MTRUser.mtr_portfolios WHERE name="JRM_diff_batch__21082025_18_02_44_010135_3726_papier_0.5_chtin_0" AND mtr_user_id=979 Creating new portfolio query : SELECT id FROM MTRUser.mtr_portfolios WHERE name="JRM_diff_batch__21082025_18_02_44_010135_3726_cartonnette_0.5_chtin_0" AND mtr_user_id=979 Creating new portfolio query : SELECT id FROM MTRUser.mtr_portfolios WHERE name="JRM_diff_batch__21082025_18_02_44_010135_3726_mal_croppe_0.5_chtin_0" AND mtr_user_id=979 Creating new portfolio query : SELECT id FROM MTRUser.mtr_portfolios WHERE name="JRM_diff_batch__21082025_18_02_44_010135_3726_kraft_0.5_chtin_0" AND mtr_user_id=979 Creating new portfolio query : SELECT id FROM MTRUser.mtr_portfolios WHERE name="JRM_diff_batch__21082025_18_02_44_010135_3726_autre_refus_0.5_chtin_0" AND mtr_user_id=979 Creating new portfolio query : SELECT id FROM MTRUser.mtr_portfolios WHERE name="JRM_diff_batch__21082025_18_02_44_010135_3726_environnement_0.5_chtin_0" AND mtr_user_id=979 Creating new portfolio query : SELECT id FROM MTRUser.mtr_portfolios WHERE name="JRM_diff_batch__21082025_18_02_44_010135_3726_metal_0.5_chtin_0" AND mtr_user_id=979 Creating new portfolio query : SELECT id FROM MTRUser.mtr_portfolios WHERE name="JRM_diff_batch__21082025_18_02_44_010135_3726_plastique_0.5_chtin_0" AND mtr_user_id=979 Creating new portfolio query : SELECT id FROM MTRUser.mtr_portfolios WHERE name="JRM_diff_batch__21082025_18_02_44_010135_3726_Teint_Dans_La_Masse_0.5_chtin_0" AND mtr_user_id=979 Creating new portfolio query : SELECT id FROM MTRUser.mtr_portfolios WHERE name="JRM_diff_batch__21082025_18_02_44_010135_3726_Carton_brun_0.5_chtin_0" AND mtr_user_id=979 Creating new portfolio query : SELECT id FROM MTRUser.mtr_portfolios WHERE name="JRM_diff_batch__21082025_18_02_44_010135_3726_flou_0.5_chtin_0" AND mtr_user_id=979 Creating new portfolio query : SELECT id FROM MTRUser.mtr_portfolios WHERE name="JRM_diff_batch__21082025_18_02_44_010135_3726_Carton_gris_0.5_chtin_0" AND mtr_user_id=979 Creating new portfolio INSERT IGNORE INTO MTRPhoto.mtr_port_to_port_ids (`mtr_portfolio_id_1`, `mtr_portfolio_id_2`, `type`, `min_score`, `hashtag_id`, `mtr_user_id`) VALUES (%s,%s,%s,%s,%s,%s)[[26123741, 26124232, 3726, 0.5, 492668766, 979], [26123741, 26124233, 3726, 0.5, 702398920, 979], [26123741, 26124234, 3726, 0.5, 2107755527, 979], [26123741, 26124235, 3726, 0.5, 493202403, 979], [26123741, 26124236, 3726, 0.5, 2107752406, 979], [26123741, 26124237, 3726, 0.5, 493012381, 979], [26123741, 26124238, 3726, 0.5, 492628673, 979], [26123741, 26124239, 3726, 0.5, 492725882, 979], [26123741, 26124240, 3726, 0.5, 2107752385, 979], [26123741, 26124241, 3726, 0.5, 2107753024, 979], [26123741, 26124242, 3726, 0.5, 492777938, 979], [26123741, 26124243, 3726, 0.5, 2107753020, 979]] 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`=26123741 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('papier','cartonnette','mal_croppe','kraft','autre_refus','environnement','metal','plastique','Teint_Dans_La_Masse','Carton_brun','flou','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`=26123741 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('papier','cartonnette','mal_croppe','kraft','autre_refus','environnement','metal','plastique','Teint_Dans_La_Masse','Carton_brun','flou','Carton_gris')) AND mptpi.`min_score`=0.5 To do returned map {'papier': {'main_port_id': 26123741, 'sub_port_id': 26124232, 'hashtag': 'papier', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17595871, 'last_updated_at': datetime.datetime(2025, 8, 21, 23, 6, 29), 'last_updated_at_desc': datetime.datetime(2025, 8, 21, 23, 6, 29), 'last_updated_at_asc': datetime.datetime(2025, 8, 21, 23, 6, 29)}, 'cartonnette': {'main_port_id': 26123741, 'sub_port_id': 26124233, 'hashtag': 'cartonnette', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17595872, 'last_updated_at': datetime.datetime(2025, 8, 21, 23, 6, 29), 'last_updated_at_desc': datetime.datetime(2025, 8, 21, 23, 6, 29), 'last_updated_at_asc': datetime.datetime(2025, 8, 21, 23, 6, 29)}, 'mal_croppe': {'main_port_id': 26123741, 'sub_port_id': 26124234, 'hashtag': 'mal_croppe', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17595873, 'last_updated_at': datetime.datetime(2025, 8, 21, 23, 6, 29), 'last_updated_at_desc': datetime.datetime(2025, 8, 21, 23, 6, 29), 'last_updated_at_asc': datetime.datetime(2025, 8, 21, 23, 6, 29)}, 'kraft': {'main_port_id': 26123741, 'sub_port_id': 26124235, 'hashtag': 'kraft', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17595874, 'last_updated_at': datetime.datetime(2025, 8, 21, 23, 6, 29), 'last_updated_at_desc': datetime.datetime(2025, 8, 21, 23, 6, 29), 'last_updated_at_asc': datetime.datetime(2025, 8, 21, 23, 6, 29)}, 'autre_refus': {'main_port_id': 26123741, 'sub_port_id': 26124236, 'hashtag': 'autre_refus', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17595875, 'last_updated_at': datetime.datetime(2025, 8, 21, 23, 6, 29), 'last_updated_at_desc': datetime.datetime(2025, 8, 21, 23, 6, 29), 'last_updated_at_asc': datetime.datetime(2025, 8, 21, 23, 6, 29)}, 'environnement': {'main_port_id': 26123741, 'sub_port_id': 26124237, 'hashtag': 'environnement', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17595876, 'last_updated_at': datetime.datetime(2025, 8, 21, 23, 6, 29), 'last_updated_at_desc': datetime.datetime(2025, 8, 21, 23, 6, 29), 'last_updated_at_asc': datetime.datetime(2025, 8, 21, 23, 6, 29)}, 'metal': {'main_port_id': 26123741, 'sub_port_id': 26124238, 'hashtag': 'metal', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17595877, 'last_updated_at': datetime.datetime(2025, 8, 21, 23, 6, 29), 'last_updated_at_desc': datetime.datetime(2025, 8, 21, 23, 6, 29), 'last_updated_at_asc': datetime.datetime(2025, 8, 21, 23, 6, 29)}, 'plastique': {'main_port_id': 26123741, 'sub_port_id': 26124239, 'hashtag': 'plastique', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17595878, 'last_updated_at': datetime.datetime(2025, 8, 21, 23, 6, 29), 'last_updated_at_desc': datetime.datetime(2025, 8, 21, 23, 6, 29), 'last_updated_at_asc': datetime.datetime(2025, 8, 21, 23, 6, 29)}, 'Teint_Dans_La_Masse': {'main_port_id': 26123741, 'sub_port_id': 26124240, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17595879, 'last_updated_at': datetime.datetime(2025, 8, 21, 23, 6, 29), 'last_updated_at_desc': datetime.datetime(2025, 8, 21, 23, 6, 29), 'last_updated_at_asc': datetime.datetime(2025, 8, 21, 23, 6, 29)}, 'Carton_brun': {'main_port_id': 26123741, 'sub_port_id': 26124241, 'hashtag': 'Carton_brun', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17595880, 'last_updated_at': datetime.datetime(2025, 8, 21, 23, 6, 29), 'last_updated_at_desc': datetime.datetime(2025, 8, 21, 23, 6, 29), 'last_updated_at_asc': datetime.datetime(2025, 8, 21, 23, 6, 29)}, 'flou': {'main_port_id': 26123741, 'sub_port_id': 26124242, 'hashtag': 'flou', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17595881, 'last_updated_at': datetime.datetime(2025, 8, 21, 23, 6, 29), 'last_updated_at_desc': datetime.datetime(2025, 8, 21, 23, 6, 29), 'last_updated_at_asc': datetime.datetime(2025, 8, 21, 23, 6, 29)}, 'Carton_gris': {'main_port_id': 26123741, 'sub_port_id': 26124243, 'hashtag': 'Carton_gris', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17595882, 'last_updated_at': datetime.datetime(2025, 8, 21, 23, 6, 29), 'last_updated_at_desc': datetime.datetime(2025, 8, 21, 23, 6, 29), 'last_updated_at_asc': datetime.datetime(2025, 8, 21, 23, 6, 29)}} insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 26124232 , 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=26123741 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 (26124232) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26123741) result : ((1378314135,), (1378314541,), (1378314566,), (1378314720,), (1378314792,), (1378314869,), (1378314938,), (1378314997,), (1378315031,), (1378315346,), (1378315572,), (1378315646,), (1378315736,), (1378315794,), (1378315824,), (1378315870,), (1378316157,), (1378316195,), (1378316219,), (1378316550,), (1378316658,), (1378316682,), (1378316707,), (1378316728,), (1378316751,), (1378316754,), (1378317297,), (1378317356,), (1378317430,), (1378317525,), (1378317616,), (1378317685,), (1378318363,), (1378318367,), (1378318478,), (1378318488,), (1378319223,), (1378319676,), (1378319790,), (1378319921,), (1378320015,), (1378320111,), (1378320260,), (1378321005,), (1378321031,), (1378321054,), (1378321126,), (1378321183,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 26124233 , 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=26123741 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 (26124233) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26123741) result : ((1378314135,), (1378314541,), (1378314566,), (1378314720,), (1378314792,), (1378314869,), (1378314938,), (1378314997,), (1378315031,), (1378315346,), (1378315572,), (1378315646,), (1378315736,), (1378315794,), (1378315824,), (1378315870,), (1378316157,), (1378316195,), (1378316219,), (1378316550,), (1378316658,), (1378316682,), (1378316707,), (1378316728,), (1378316751,), (1378316754,), (1378317297,), (1378317356,), (1378317430,), (1378317525,), (1378317616,), (1378317685,), (1378318363,), (1378318367,), (1378318478,), (1378318488,), (1378319223,), (1378319676,), (1378319790,), (1378319921,), (1378320015,), (1378320111,), (1378320260,), (1378321005,), (1378321031,), (1378321054,), (1378321126,), (1378321183,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 26124234 , 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=26123741 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 (26124234) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26123741) result : ((1378314135,), (1378314541,), (1378314566,), (1378314720,), (1378314792,), (1378314869,), (1378314938,), (1378314997,), (1378315031,), (1378315346,), (1378315572,), (1378315646,), (1378315736,), (1378315794,), (1378315824,), (1378315870,), (1378316157,), (1378316195,), (1378316219,), (1378316550,), (1378316658,), (1378316682,), (1378316707,), (1378316728,), (1378316751,), (1378316754,), (1378317297,), (1378317356,), (1378317430,), (1378317525,), (1378317616,), (1378317685,), (1378318363,), (1378318367,), (1378318478,), (1378318488,), (1378319223,), (1378319676,), (1378319790,), (1378319921,), (1378320015,), (1378320111,), (1378320260,), (1378321005,), (1378321031,), (1378321054,), (1378321126,), (1378321183,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 26124235 , 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=26123741 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 (26124235) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26123741) result : ((1378314135,), (1378314541,), (1378314566,), (1378314720,), (1378314792,), (1378314869,), (1378314938,), (1378314997,), (1378315031,), (1378315346,), (1378315572,), (1378315646,), (1378315736,), (1378315794,), (1378315824,), (1378315870,), (1378316157,), (1378316195,), (1378316219,), (1378316550,), (1378316658,), (1378316682,), (1378316707,), (1378316728,), (1378316751,), (1378316754,), (1378317297,), (1378317356,), (1378317430,), (1378317525,), (1378317616,), (1378317685,), (1378318363,), (1378318367,), (1378318478,), (1378318488,), (1378319223,), (1378319676,), (1378319790,), (1378319921,), (1378320015,), (1378320111,), (1378320260,), (1378321005,), (1378321031,), (1378321054,), (1378321126,), (1378321183,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 26124236 , 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=26123741 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 (26124236) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26123741) result : ((1378314135,), (1378314541,), (1378314566,), (1378314720,), (1378314792,), (1378314869,), (1378314938,), (1378314997,), (1378315031,), (1378315346,), (1378315572,), (1378315646,), (1378315736,), (1378315794,), (1378315824,), (1378315870,), (1378316157,), (1378316195,), (1378316219,), (1378316550,), (1378316658,), (1378316682,), (1378316707,), (1378316728,), (1378316751,), (1378316754,), (1378317297,), (1378317356,), (1378317430,), (1378317525,), (1378317616,), (1378317685,), (1378318363,), (1378318367,), (1378318478,), (1378318488,), (1378319223,), (1378319676,), (1378319790,), (1378319921,), (1378320015,), (1378320111,), (1378320260,), (1378321005,), (1378321031,), (1378321054,), (1378321126,), (1378321183,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 26124237 , 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=26123741 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 (26124237) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26123741) result : ((1378314135,), (1378314541,), (1378314566,), (1378314720,), (1378314792,), (1378314869,), (1378314938,), (1378314997,), (1378315031,), (1378315346,), (1378315572,), (1378315646,), (1378315736,), (1378315794,), (1378315824,), (1378315870,), (1378316157,), (1378316195,), (1378316219,), (1378316550,), (1378316658,), (1378316682,), (1378316707,), (1378316728,), (1378316751,), (1378316754,), (1378317297,), (1378317356,), (1378317430,), (1378317525,), (1378317616,), (1378317685,), (1378318363,), (1378318367,), (1378318478,), (1378318488,), (1378319223,), (1378319676,), (1378319790,), (1378319921,), (1378320015,), (1378320111,), (1378320260,), (1378321005,), (1378321031,), (1378321054,), (1378321126,), (1378321183,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 26124238 , 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=26123741 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 (26124238) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26123741) result : ((1378314135,), (1378314541,), (1378314566,), (1378314720,), (1378314792,), (1378314869,), (1378314938,), (1378314997,), (1378315031,), (1378315346,), (1378315572,), (1378315646,), (1378315736,), (1378315794,), (1378315824,), (1378315870,), (1378316157,), (1378316195,), (1378316219,), (1378316550,), (1378316658,), (1378316682,), (1378316707,), (1378316728,), (1378316751,), (1378316754,), (1378317297,), (1378317356,), (1378317430,), (1378317525,), (1378317616,), (1378317685,), (1378318363,), (1378318367,), (1378318478,), (1378318488,), (1378319223,), (1378319676,), (1378319790,), (1378319921,), (1378320015,), (1378320111,), (1378320260,), (1378321005,), (1378321031,), (1378321054,), (1378321126,), (1378321183,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 26124239 , 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=26123741 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 (26124239) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26123741) result : ((1378314135,), (1378314541,), (1378314566,), (1378314720,), (1378314792,), (1378314869,), (1378314938,), (1378314997,), (1378315031,), (1378315346,), (1378315572,), (1378315646,), (1378315736,), (1378315794,), (1378315824,), (1378315870,), (1378316157,), (1378316195,), (1378316219,), (1378316550,), (1378316658,), (1378316682,), (1378316707,), (1378316728,), (1378316751,), (1378316754,), (1378317297,), (1378317356,), (1378317430,), (1378317525,), (1378317616,), (1378317685,), (1378318363,), (1378318367,), (1378318478,), (1378318488,), (1378319223,), (1378319676,), (1378319790,), (1378319921,), (1378320015,), (1378320111,), (1378320260,), (1378321005,), (1378321031,), (1378321054,), (1378321126,), (1378321183,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 26124240 , 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=26123741 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 (26124240) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26123741) result : ((1378314135,), (1378314541,), (1378314566,), (1378314720,), (1378314792,), (1378314869,), (1378314938,), (1378314997,), (1378315031,), (1378315346,), (1378315572,), (1378315646,), (1378315736,), (1378315794,), (1378315824,), (1378315870,), (1378316157,), (1378316195,), (1378316219,), (1378316550,), (1378316658,), (1378316682,), (1378316707,), (1378316728,), (1378316751,), (1378316754,), (1378317297,), (1378317356,), (1378317430,), (1378317525,), (1378317616,), (1378317685,), (1378318363,), (1378318367,), (1378318478,), (1378318488,), (1378319223,), (1378319676,), (1378319790,), (1378319921,), (1378320015,), (1378320111,), (1378320260,), (1378321005,), (1378321031,), (1378321054,), (1378321126,), (1378321183,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 26124241 , 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=26123741 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 (26124241) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26123741) result : ((1378314135,), (1378314541,), (1378314566,), (1378314720,), (1378314792,), (1378314869,), (1378314938,), (1378314997,), (1378315031,), (1378315346,), (1378315572,), (1378315646,), (1378315736,), (1378315794,), (1378315824,), (1378315870,), (1378316157,), (1378316195,), (1378316219,), (1378316550,), (1378316658,), (1378316682,), (1378316707,), (1378316728,), (1378316751,), (1378316754,), (1378317297,), (1378317356,), (1378317430,), (1378317525,), (1378317616,), (1378317685,), (1378318363,), (1378318367,), (1378318478,), (1378318488,), (1378319223,), (1378319676,), (1378319790,), (1378319921,), (1378320015,), (1378320111,), (1378320260,), (1378321005,), (1378321031,), (1378321054,), (1378321126,), (1378321183,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 26124242 , 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=26123741 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 (26124242) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26123741) result : ((1378314135,), (1378314541,), (1378314566,), (1378314720,), (1378314792,), (1378314869,), (1378314938,), (1378314997,), (1378315031,), (1378315346,), (1378315572,), (1378315646,), (1378315736,), (1378315794,), (1378315824,), (1378315870,), (1378316157,), (1378316195,), (1378316219,), (1378316550,), (1378316658,), (1378316682,), (1378316707,), (1378316728,), (1378316751,), (1378316754,), (1378317297,), (1378317356,), (1378317430,), (1378317525,), (1378317616,), (1378317685,), (1378318363,), (1378318367,), (1378318478,), (1378318488,), (1378319223,), (1378319676,), (1378319790,), (1378319921,), (1378320015,), (1378320111,), (1378320260,), (1378321005,), (1378321031,), (1378321054,), (1378321126,), (1378321183,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 26124243 , 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=26123741 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 (26124243) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26123741) result : ((1378314135,), (1378314541,), (1378314566,), (1378314720,), (1378314792,), (1378314869,), (1378314938,), (1378314997,), (1378315031,), (1378315346,), (1378315572,), (1378315646,), (1378315736,), (1378315794,), (1378315824,), (1378315870,), (1378316157,), (1378316195,), (1378316219,), (1378316550,), (1378316658,), (1378316682,), (1378316707,), (1378316728,), (1378316751,), (1378316754,), (1378317297,), (1378317356,), (1378317430,), (1378317525,), (1378317616,), (1378317685,), (1378318363,), (1378318367,), (1378318478,), (1378318488,), (1378319223,), (1378319676,), (1378319790,), (1378319921,), (1378320015,), (1378320111,), (1378320260,), (1378321005,), (1378321031,), (1378321054,), (1378321126,), (1378321183,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") To do ! Use context local managing function ! SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26123741 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('papier','cartonnette','mal_croppe','kraft','autre_refus','environnement','metal','plastique','Teint_Dans_La_Masse','Carton_brun','flou','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`=26123741 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('papier','cartonnette','mal_croppe','kraft','autre_refus','environnement','metal','plastique','Teint_Dans_La_Masse','Carton_brun','flou','Carton_gris')) AND mptpi.`min_score`=0.5 To do To do query : SELECT id FROM MTRUser.mtr_portfolios WHERE name="JRM_diff_batch__21082025_18_02_44_010135_4417_papier_0.5_chtin_0" AND mtr_user_id=979 Creating new portfolio query : SELECT id FROM MTRUser.mtr_portfolios WHERE name="JRM_diff_batch__21082025_18_02_44_010135_4417_cartonnette_0.5_chtin_0" AND mtr_user_id=979 Creating new portfolio query : SELECT id FROM MTRUser.mtr_portfolios WHERE name="JRM_diff_batch__21082025_18_02_44_010135_4417_mal_croppe_0.5_chtin_0" AND mtr_user_id=979 Creating new portfolio query : SELECT id FROM MTRUser.mtr_portfolios WHERE name="JRM_diff_batch__21082025_18_02_44_010135_4417_kraft_0.5_chtin_0" AND mtr_user_id=979 Creating new portfolio query : SELECT id FROM MTRUser.mtr_portfolios WHERE name="JRM_diff_batch__21082025_18_02_44_010135_4417_autre_refus_0.5_chtin_0" AND mtr_user_id=979 Creating new portfolio query : SELECT id FROM MTRUser.mtr_portfolios WHERE name="JRM_diff_batch__21082025_18_02_44_010135_4417_environnement_0.5_chtin_0" AND mtr_user_id=979 Creating new portfolio query : SELECT id FROM MTRUser.mtr_portfolios WHERE name="JRM_diff_batch__21082025_18_02_44_010135_4417_metal_0.5_chtin_0" AND mtr_user_id=979 Creating new portfolio query : SELECT id FROM MTRUser.mtr_portfolios WHERE name="JRM_diff_batch__21082025_18_02_44_010135_4417_plastique_0.5_chtin_0" AND mtr_user_id=979 Creating new portfolio query : SELECT id FROM MTRUser.mtr_portfolios WHERE name="JRM_diff_batch__21082025_18_02_44_010135_4417_Teint_Dans_La_Masse_0.5_chtin_0" AND mtr_user_id=979 Creating new portfolio query : SELECT id FROM MTRUser.mtr_portfolios WHERE name="JRM_diff_batch__21082025_18_02_44_010135_4417_Carton_brun_0.5_chtin_0" AND mtr_user_id=979 Creating new portfolio query : SELECT id FROM MTRUser.mtr_portfolios WHERE name="JRM_diff_batch__21082025_18_02_44_010135_4417_flou_0.5_chtin_0" AND mtr_user_id=979 Creating new portfolio query : SELECT id FROM MTRUser.mtr_portfolios WHERE name="JRM_diff_batch__21082025_18_02_44_010135_4417_Carton_gris_0.5_chtin_0" AND mtr_user_id=979 Creating new portfolio INSERT IGNORE INTO MTRPhoto.mtr_port_to_port_ids (`mtr_portfolio_id_1`, `mtr_portfolio_id_2`, `type`, `min_score`, `hashtag_id`, `mtr_user_id`) VALUES (%s,%s,%s,%s,%s,%s)[[26123741, 26124244, 4417, 0.5, 492668766, 979], [26123741, 26124245, 4417, 0.5, 702398920, 979], [26123741, 26124246, 4417, 0.5, 2107755527, 979], [26123741, 26124247, 4417, 0.5, 493202403, 979], [26123741, 26124248, 4417, 0.5, 2107752406, 979], [26123741, 26124249, 4417, 0.5, 493012381, 979], [26123741, 26124250, 4417, 0.5, 492628673, 979], [26123741, 26124251, 4417, 0.5, 492725882, 979], [26123741, 26124252, 4417, 0.5, 2107752385, 979], [26123741, 26124253, 4417, 0.5, 2107753024, 979], [26123741, 26124254, 4417, 0.5, 492777938, 979], [26123741, 26124255, 4417, 0.5, 2107753020, 979]] 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`=26123741 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('papier','cartonnette','mal_croppe','kraft','autre_refus','environnement','metal','plastique','Teint_Dans_La_Masse','Carton_brun','flou','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`=26123741 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('papier','cartonnette','mal_croppe','kraft','autre_refus','environnement','metal','plastique','Teint_Dans_La_Masse','Carton_brun','flou','Carton_gris')) AND mptpi.`min_score`=0.5 To do returned map {'papier': {'main_port_id': 26123741, 'sub_port_id': 26124244, 'hashtag': 'papier', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17595883, 'last_updated_at': datetime.datetime(2025, 8, 21, 23, 6, 31), 'last_updated_at_desc': datetime.datetime(2025, 8, 21, 23, 6, 31), 'last_updated_at_asc': datetime.datetime(2025, 8, 21, 23, 6, 31)}, 'cartonnette': {'main_port_id': 26123741, 'sub_port_id': 26124245, 'hashtag': 'cartonnette', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17595884, 'last_updated_at': datetime.datetime(2025, 8, 21, 23, 6, 31), 'last_updated_at_desc': datetime.datetime(2025, 8, 21, 23, 6, 31), 'last_updated_at_asc': datetime.datetime(2025, 8, 21, 23, 6, 31)}, 'mal_croppe': {'main_port_id': 26123741, 'sub_port_id': 26124246, 'hashtag': 'mal_croppe', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17595885, 'last_updated_at': datetime.datetime(2025, 8, 21, 23, 6, 31), 'last_updated_at_desc': datetime.datetime(2025, 8, 21, 23, 6, 31), 'last_updated_at_asc': datetime.datetime(2025, 8, 21, 23, 6, 31)}, 'kraft': {'main_port_id': 26123741, 'sub_port_id': 26124247, 'hashtag': 'kraft', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17595886, 'last_updated_at': datetime.datetime(2025, 8, 21, 23, 6, 31), 'last_updated_at_desc': datetime.datetime(2025, 8, 21, 23, 6, 31), 'last_updated_at_asc': datetime.datetime(2025, 8, 21, 23, 6, 31)}, 'autre_refus': {'main_port_id': 26123741, 'sub_port_id': 26124248, 'hashtag': 'autre_refus', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17595887, 'last_updated_at': datetime.datetime(2025, 8, 21, 23, 6, 31), 'last_updated_at_desc': datetime.datetime(2025, 8, 21, 23, 6, 31), 'last_updated_at_asc': datetime.datetime(2025, 8, 21, 23, 6, 31)}, 'environnement': {'main_port_id': 26123741, 'sub_port_id': 26124249, 'hashtag': 'environnement', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17595888, 'last_updated_at': datetime.datetime(2025, 8, 21, 23, 6, 31), 'last_updated_at_desc': datetime.datetime(2025, 8, 21, 23, 6, 31), 'last_updated_at_asc': datetime.datetime(2025, 8, 21, 23, 6, 31)}, 'metal': {'main_port_id': 26123741, 'sub_port_id': 26124250, 'hashtag': 'metal', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17595889, 'last_updated_at': datetime.datetime(2025, 8, 21, 23, 6, 31), 'last_updated_at_desc': datetime.datetime(2025, 8, 21, 23, 6, 31), 'last_updated_at_asc': datetime.datetime(2025, 8, 21, 23, 6, 31)}, 'plastique': {'main_port_id': 26123741, 'sub_port_id': 26124251, 'hashtag': 'plastique', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17595890, 'last_updated_at': datetime.datetime(2025, 8, 21, 23, 6, 31), 'last_updated_at_desc': datetime.datetime(2025, 8, 21, 23, 6, 31), 'last_updated_at_asc': datetime.datetime(2025, 8, 21, 23, 6, 31)}, 'Teint_Dans_La_Masse': {'main_port_id': 26123741, 'sub_port_id': 26124252, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17595891, 'last_updated_at': datetime.datetime(2025, 8, 21, 23, 6, 31), 'last_updated_at_desc': datetime.datetime(2025, 8, 21, 23, 6, 31), 'last_updated_at_asc': datetime.datetime(2025, 8, 21, 23, 6, 31)}, 'Carton_brun': {'main_port_id': 26123741, 'sub_port_id': 26124253, 'hashtag': 'Carton_brun', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17595892, 'last_updated_at': datetime.datetime(2025, 8, 21, 23, 6, 31), 'last_updated_at_desc': datetime.datetime(2025, 8, 21, 23, 6, 31), 'last_updated_at_asc': datetime.datetime(2025, 8, 21, 23, 6, 31)}, 'flou': {'main_port_id': 26123741, 'sub_port_id': 26124254, 'hashtag': 'flou', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17595893, 'last_updated_at': datetime.datetime(2025, 8, 21, 23, 6, 31), 'last_updated_at_desc': datetime.datetime(2025, 8, 21, 23, 6, 31), 'last_updated_at_asc': datetime.datetime(2025, 8, 21, 23, 6, 31)}, 'Carton_gris': {'main_port_id': 26123741, 'sub_port_id': 26124255, 'hashtag': 'Carton_gris', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17595894, 'last_updated_at': datetime.datetime(2025, 8, 21, 23, 6, 31), 'last_updated_at_desc': datetime.datetime(2025, 8, 21, 23, 6, 31), 'last_updated_at_asc': datetime.datetime(2025, 8, 21, 23, 6, 31)}} insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26124244,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26124232 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26124245,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26124233 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26124246,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26124234 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26124247,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26124235 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26124248,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26124236 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26124249,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26124237 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26124250,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26124238 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26124251,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26124239 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26124252,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26124240 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26124253,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26124241 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26124254,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26124242 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26124255,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26124243 lien utilise dans velours : https://www.fotonower.com/velours/26124244,26124245,26124246,26124247,26124248,26124249,26124250,26124251,26124252,26124253,26124254,26124255?tags=papier,cartonnette,mal_croppe,kraft,autre_refus,environnement,metal,plastique,Teint_Dans_La_Masse,Carton_brun,flou,Carton_gris After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([26123741]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1378321183, 1378321126, 1378321054, 1378321031, 1378321005, 1378320260, 1378320111, 1378320015, 1378319921, 1378319790, 1378319676, 1378319223, 1378318488, 1378318478, 1378318367, 1378318363, 1378317685, 1378317616, 1378317525, 1378317430, 1378317356, 1378317297, 1378316754, 1378316751, 1378316728, 1378316707, 1378316682, 1378316658, 1378316550, 1378316219, 1378316195, 1378316157, 1378315870, 1378315824, 1378315794, 1378315736, 1378315646, 1378315572, 1378315346, 1378315031, 1378314997, 1378314938, 1378314869, 1378314792, 1378314720, 1378314566, 1378314541, 1378314135] map_info['map_portfolio_photo'] : {26123741: [1378321183, 1378321126, 1378321054, 1378321031, 1378321005, 1378320260, 1378320111, 1378320015, 1378319921, 1378319790, 1378319676, 1378319223, 1378318488, 1378318478, 1378318367, 1378318363, 1378317685, 1378317616, 1378317525, 1378317430, 1378317356, 1378317297, 1378316754, 1378316751, 1378316728, 1378316707, 1378316682, 1378316658, 1378316550, 1378316219, 1378316195, 1378316157, 1378315870, 1378315824, 1378315794, 1378315736, 1378315646, 1378315572, 1378315346, 1378315031, 1378314997, 1378314938, 1378314869, 1378314792, 1378314720, 1378314566, 1378314541, 1378314135]} final : False mtd_id 4302 list_pids : [1378321183, 1378321126, 1378321054, 1378321031, 1378321005, 1378320260, 1378320111, 1378320015, 1378319921, 1378319790, 1378319676, 1378319223, 1378318488, 1378318478, 1378318367, 1378318363, 1378317685, 1378317616, 1378317525, 1378317430, 1378317356, 1378317297, 1378316754, 1378316751, 1378316728, 1378316707, 1378316682, 1378316658, 1378316550, 1378316219, 1378316195, 1378316157, 1378315870, 1378315824, 1378315794, 1378315736, 1378315646, 1378315572, 1378315346, 1378315031, 1378314997, 1378314938, 1378314869, 1378314792, 1378314720, 1378314566, 1378314541, 1378314135] Looping around the photos to save general results len do output : 1 /26123741. 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, '3569398') ('4302', '26123741', '1378321183', None, None, None, None, None, '3569398') ('4302', None, None, None, None, None, None, None, '3569398') ('4302', '26123741', '1378321126', None, None, None, None, None, '3569398') ('4302', None, None, None, None, None, None, None, '3569398') ('4302', '26123741', '1378321054', None, None, None, None, None, '3569398') ('4302', None, None, None, None, None, None, None, '3569398') ('4302', '26123741', '1378321031', None, None, None, None, None, '3569398') ('4302', None, None, None, None, None, None, None, '3569398') ('4302', '26123741', '1378321005', None, None, None, None, None, '3569398') ('4302', None, None, None, None, None, None, None, '3569398') ('4302', '26123741', '1378320260', None, None, None, None, None, '3569398') ('4302', None, None, None, None, None, None, None, '3569398') ('4302', '26123741', '1378320111', None, None, None, None, None, '3569398') ('4302', None, None, None, None, None, None, None, '3569398') ('4302', '26123741', '1378320015', None, None, None, None, None, '3569398') ('4302', None, None, None, None, None, None, None, '3569398') ('4302', '26123741', '1378319921', None, None, None, None, None, '3569398') ('4302', None, None, None, None, None, None, None, '3569398') ('4302', '26123741', '1378319790', None, None, None, None, None, '3569398') ('4302', None, None, None, None, None, None, None, '3569398') ('4302', '26123741', '1378319676', None, None, None, None, None, '3569398') ('4302', None, None, None, None, None, None, None, '3569398') ('4302', '26123741', '1378319223', None, None, None, None, None, '3569398') ('4302', None, None, None, None, None, None, None, '3569398') ('4302', '26123741', '1378318488', None, None, None, None, None, '3569398') ('4302', None, None, None, None, None, None, None, '3569398') ('4302', '26123741', '1378318478', None, None, None, None, None, '3569398') ('4302', None, None, None, None, None, None, None, '3569398') ('4302', '26123741', '1378318367', None, None, None, None, None, '3569398') ('4302', None, None, None, None, None, None, None, '3569398') ('4302', '26123741', '1378318363', None, None, None, None, None, '3569398') ('4302', None, None, None, None, None, None, None, '3569398') ('4302', '26123741', '1378317685', None, None, None, None, None, '3569398') ('4302', None, None, None, None, None, None, None, '3569398') ('4302', '26123741', '1378317616', None, None, None, None, None, '3569398') ('4302', None, None, None, None, None, None, None, '3569398') ('4302', '26123741', '1378317525', None, None, None, None, None, '3569398') ('4302', None, None, None, None, None, None, None, '3569398') ('4302', '26123741', '1378317430', None, None, None, None, None, '3569398') ('4302', None, None, None, None, None, None, None, '3569398') ('4302', '26123741', '1378317356', None, None, None, None, None, '3569398') ('4302', None, None, None, None, None, None, None, '3569398') ('4302', '26123741', '1378317297', None, None, None, None, None, '3569398') ('4302', None, None, None, None, None, None, None, '3569398') ('4302', '26123741', '1378316754', None, None, None, None, None, '3569398') ('4302', None, None, None, None, None, None, None, '3569398') ('4302', '26123741', '1378316751', None, None, None, None, None, '3569398') ('4302', None, None, None, None, None, None, None, '3569398') ('4302', '26123741', '1378316728', None, None, None, None, None, '3569398') ('4302', None, None, None, None, None, None, None, '3569398') ('4302', '26123741', '1378316707', None, None, None, None, None, '3569398') ('4302', None, None, None, None, None, None, None, '3569398') ('4302', '26123741', '1378316682', None, None, None, None, None, '3569398') ('4302', None, None, None, None, None, None, None, '3569398') ('4302', '26123741', '1378316658', None, None, None, None, None, '3569398') ('4302', None, None, None, None, None, None, None, '3569398') ('4302', '26123741', '1378316550', None, None, None, None, None, '3569398') ('4302', None, None, None, None, None, None, None, '3569398') ('4302', '26123741', '1378316219', None, None, None, None, None, '3569398') ('4302', None, None, None, None, None, None, None, '3569398') ('4302', '26123741', '1378316195', None, None, None, None, None, '3569398') ('4302', None, None, None, None, None, None, None, '3569398') ('4302', '26123741', '1378316157', None, None, None, None, None, '3569398') ('4302', None, None, None, None, None, None, None, '3569398') ('4302', '26123741', '1378315870', None, None, None, None, None, '3569398') ('4302', None, None, None, None, None, None, None, '3569398') ('4302', '26123741', '1378315824', None, None, None, None, None, '3569398') ('4302', None, None, None, None, None, None, None, '3569398') ('4302', '26123741', '1378315794', None, None, None, None, None, '3569398') ('4302', None, None, None, None, None, None, None, '3569398') ('4302', '26123741', '1378315736', None, None, None, None, None, '3569398') ('4302', None, None, None, None, None, None, None, '3569398') ('4302', '26123741', '1378315646', None, None, None, None, None, '3569398') ('4302', None, None, None, None, None, None, None, '3569398') ('4302', '26123741', '1378315572', None, None, None, None, None, '3569398') ('4302', None, None, None, None, None, None, None, '3569398') ('4302', '26123741', '1378315346', None, None, None, None, None, '3569398') ('4302', None, None, None, None, None, None, None, '3569398') ('4302', '26123741', '1378315031', None, None, None, None, None, '3569398') ('4302', None, None, None, None, None, None, None, '3569398') ('4302', '26123741', '1378314997', None, None, None, None, None, '3569398') ('4302', None, None, None, None, None, None, None, '3569398') ('4302', '26123741', '1378314938', None, None, None, None, None, '3569398') ('4302', None, None, None, None, None, None, None, '3569398') ('4302', '26123741', '1378314869', None, None, None, None, None, '3569398') ('4302', None, None, None, None, None, None, None, '3569398') ('4302', '26123741', '1378314792', None, None, None, None, None, '3569398') ('4302', None, None, None, None, None, None, None, '3569398') ('4302', '26123741', '1378314720', None, None, None, None, None, '3569398') ('4302', None, None, None, None, None, None, None, '3569398') ('4302', '26123741', '1378314566', None, None, None, None, None, '3569398') ('4302', None, None, None, None, None, None, None, '3569398') ('4302', '26123741', '1378314541', None, None, None, None, None, '3569398') ('4302', None, None, None, None, None, None, None, '3569398') ('4302', '26123741', '1378314135', None, None, None, None, None, '3569398') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 49 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, '26123741', "{'papier': 26124232, 'cartonnette': 26124233, 'mal_croppe': 26124234, 'kraft': 26124235, 'autre_refus': 26124236, 'environnement': 26124237, 'metal': 26124238, 'plastique': 26124239, 'Teint_Dans_La_Masse': 26124240, 'Carton_brun': 26124241, 'flou': 26124242, 'Carton_gris': 26124243}", None, None, None, None, '3569398'), ('4302', '26123741', '1378321183', None, None, None, None, None, '3569398'), ('4302', '26123741', '1378321126', None, None, None, None, None, '3569398'), ('4302', '26123741', '1378321054', None, None, None, None, None, '3569398'), ('4302', '26123741', '1378321031', None, None, None, None, None, '3569398'), ('4302', '26123741', '1378321005', None, None, None, None, None, '3569398'), ('4302', '26123741', '1378320260', None, None, None, None, None, '3569398'), ('4302', '26123741', '1378320111', None, None, None, None, None, '3569398'), ('4302', '26123741', '1378320015', None, None, None, None, None, '3569398'), ('4302', '26123741', '1378319921', None, None, None, None, None, '3569398'), ('4302', '26123741', '1378319790', None, None, None, None, None, '3569398'), ('4302', '26123741', '1378319676', None, None, None, None, None, '3569398'), ('4302', '26123741', '1378319223', None, None, None, None, None, '3569398'), ('4302', '26123741', '1378318488', None, None, None, None, None, '3569398'), ('4302', '26123741', '1378318478', None, None, None, None, None, '3569398'), ('4302', '26123741', '1378318367', None, None, None, None, None, '3569398'), ('4302', '26123741', '1378318363', None, None, None, None, None, '3569398'), ('4302', '26123741', '1378317685', None, None, None, None, None, '3569398'), ('4302', '26123741', '1378317616', None, None, None, None, None, '3569398'), ('4302', '26123741', '1378317525', None, None, None, None, None, '3569398'), ('4302', '26123741', '1378317430', None, None, None, None, None, '3569398'), ('4302', '26123741', '1378317356', None, None, None, None, None, '3569398'), ('4302', '26123741', '1378317297', None, None, None, None, None, '3569398'), ('4302', '26123741', '1378316754', None, None, None, None, None, '3569398'), ('4302', '26123741', '1378316751', None, None, None, None, None, '3569398'), ('4302', '26123741', '1378316728', None, None, None, None, None, '3569398'), ('4302', '26123741', '1378316707', None, None, None, None, None, '3569398'), ('4302', '26123741', '1378316682', None, None, None, None, None, '3569398'), ('4302', '26123741', '1378316658', None, None, None, None, None, '3569398'), ('4302', '26123741', '1378316550', None, None, None, None, None, '3569398'), ('4302', '26123741', '1378316219', None, None, None, None, None, '3569398'), ('4302', '26123741', '1378316195', None, None, None, None, None, '3569398'), ('4302', '26123741', '1378316157', None, None, None, None, None, '3569398'), ('4302', '26123741', '1378315870', None, None, None, None, None, '3569398'), ('4302', '26123741', '1378315824', None, None, None, None, None, '3569398'), ('4302', '26123741', '1378315794', None, None, None, None, None, '3569398'), ('4302', '26123741', '1378315736', None, None, None, None, None, '3569398'), ('4302', '26123741', '1378315646', None, None, None, None, None, '3569398'), ('4302', '26123741', '1378315572', None, None, None, None, None, '3569398'), ('4302', '26123741', '1378315346', None, None, None, None, None, '3569398'), ('4302', '26123741', '1378315031', None, None, None, None, None, '3569398'), ('4302', '26123741', '1378314997', None, None, None, None, None, '3569398'), ('4302', '26123741', '1378314938', None, None, None, None, None, '3569398'), ('4302', '26123741', '1378314869', None, None, None, None, None, '3569398'), ('4302', '26123741', '1378314792', None, None, None, None, None, '3569398'), ('4302', '26123741', '1378314720', None, None, None, None, None, '3569398'), ('4302', '26123741', '1378314566', None, None, None, None, None, '3569398'), ('4302', '26123741', '1378314541', None, None, None, None, None, '3569398'), ('4302', '26123741', '1378314135', None, None, None, None, None, '3569398')] time used for this insertion : 0.02083611488342285 save_final save missing photos in datou_result : time spend for datou_step_exec : 2.0943760871887207 time spend to save output : 0.021280288696289062 total time spend for step 1 : 2.1156563758850098 step2:final Thu Aug 21 23:06:31 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 (26123741) 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 26123741 : SELECT photo_id, hashtag_id, ratio from MTRPhoto.photo_carac_ratio where hashtag_type = 3726 and photo_id in (1378321183,1378321126,1378321054,1378321031,1378321005,1378320260,1378320111,1378320015,1378319921,1378319790,1378319676,1378319223,1378318488,1378318478,1378318367,1378318363,1378317685,1378317616,1378317525,1378317430,1378317356,1378317297,1378316754,1378316751,1378316728,1378316707,1378316682,1378316658,1378316550,1378316219,1378316195,1378316157,1378315870,1378315824,1378315794,1378315736,1378315646,1378315572,1378315346,1378315031,1378314997,1378314938,1378314869,1378314792,1378314720,1378314566,1378314541,1378314135); After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([26123741]) Inside saveOutput : final : False verbose : True original output for save of step final : {1378321183: ('0.0',), 1378321126: ('0.0',), 1378321054: ('0.0',), 1378321031: ('0.0',), 1378321005: ('0.0',), 1378320260: ('0.0',), 1378320111: ('0.0',), 1378320015: ('0.0',), 1378319921: ('0.0',), 1378319790: ('0.0',), 1378319676: ('0.0',), 1378319223: ('0.0',), 1378318488: ('0.0',), 1378318478: ('0.0',), 1378318367: ('0.0',), 1378318363: ('0.0',), 1378317685: ('0.0',), 1378317616: ('0.0',), 1378317525: ('0.0',), 1378317430: ('0.0',), 1378317356: ('0.0',), 1378317297: ('0.0',), 1378316754: ('0.0',), 1378316751: ('0.0',), 1378316728: ('0.0',), 1378316707: ('0.0',), 1378316682: ('0.0',), 1378316658: ('0.0',), 1378316550: ('0.0',), 1378316219: ('0.0',), 1378316195: ('0.0',), 1378316157: ('0.0',), 1378315870: ('0.0',), 1378315824: ('0.0',), 1378315794: ('0.0',), 1378315736: ('0.0',), 1378315646: ('0.0',), 1378315572: ('0.0',), 1378315346: ('0.0',), 1378315031: ('0.0',), 1378314997: ('0.0',), 1378314938: ('0.0',), 1378314869: ('0.0',), 1378314792: ('0.0',), 1378314720: ('0.0',), 1378314566: ('0.0',), 1378314541: ('0.0',), 1378314135: ('0.0',)} new output for save of step final : {1378321183: ('0.0',), 1378321126: ('0.0',), 1378321054: ('0.0',), 1378321031: ('0.0',), 1378321005: ('0.0',), 1378320260: ('0.0',), 1378320111: ('0.0',), 1378320015: ('0.0',), 1378319921: ('0.0',), 1378319790: ('0.0',), 1378319676: ('0.0',), 1378319223: ('0.0',), 1378318488: ('0.0',), 1378318478: ('0.0',), 1378318367: ('0.0',), 1378318363: ('0.0',), 1378317685: ('0.0',), 1378317616: ('0.0',), 1378317525: ('0.0',), 1378317430: ('0.0',), 1378317356: ('0.0',), 1378317297: ('0.0',), 1378316754: ('0.0',), 1378316751: ('0.0',), 1378316728: ('0.0',), 1378316707: ('0.0',), 1378316682: ('0.0',), 1378316658: ('0.0',), 1378316550: ('0.0',), 1378316219: ('0.0',), 1378316195: ('0.0',), 1378316157: ('0.0',), 1378315870: ('0.0',), 1378315824: ('0.0',), 1378315794: ('0.0',), 1378315736: ('0.0',), 1378315646: ('0.0',), 1378315572: ('0.0',), 1378315346: ('0.0',), 1378315031: ('0.0',), 1378314997: ('0.0',), 1378314938: ('0.0',), 1378314869: ('0.0',), 1378314792: ('0.0',), 1378314720: ('0.0',), 1378314566: ('0.0',), 1378314541: ('0.0',), 1378314135: ('0.0',)} [1378321183, 1378321126, 1378321054, 1378321031, 1378321005, 1378320260, 1378320111, 1378320015, 1378319921, 1378319790, 1378319676, 1378319223, 1378318488, 1378318478, 1378318367, 1378318363, 1378317685, 1378317616, 1378317525, 1378317430, 1378317356, 1378317297, 1378316754, 1378316751, 1378316728, 1378316707, 1378316682, 1378316658, 1378316550, 1378316219, 1378316195, 1378316157, 1378315870, 1378315824, 1378315794, 1378315736, 1378315646, 1378315572, 1378315346, 1378315031, 1378314997, 1378314938, 1378314869, 1378314792, 1378314720, 1378314566, 1378314541, 1378314135] map_info['map_portfolio_photo'] : {26123741: [1378321183, 1378321126, 1378321054, 1378321031, 1378321005, 1378320260, 1378320111, 1378320015, 1378319921, 1378319790, 1378319676, 1378319223, 1378318488, 1378318478, 1378318367, 1378318363, 1378317685, 1378317616, 1378317525, 1378317430, 1378317356, 1378317297, 1378316754, 1378316751, 1378316728, 1378316707, 1378316682, 1378316658, 1378316550, 1378316219, 1378316195, 1378316157, 1378315870, 1378315824, 1378315794, 1378315736, 1378315646, 1378315572, 1378315346, 1378315031, 1378314997, 1378314938, 1378314869, 1378314792, 1378314720, 1378314566, 1378314541, 1378314135]} final : False mtd_id 4302 list_pids : [1378321183, 1378321126, 1378321054, 1378321031, 1378321005, 1378320260, 1378320111, 1378320015, 1378319921, 1378319790, 1378319676, 1378319223, 1378318488, 1378318478, 1378318367, 1378318363, 1378317685, 1378317616, 1378317525, 1378317430, 1378317356, 1378317297, 1378316754, 1378316751, 1378316728, 1378316707, 1378316682, 1378316658, 1378316550, 1378316219, 1378316195, 1378316157, 1378315870, 1378315824, 1378315794, 1378315736, 1378315646, 1378315572, 1378315346, 1378315031, 1378314997, 1378314938, 1378314869, 1378314792, 1378314720, 1378314566, 1378314541, 1378314135] Looping around the photos to save general results len do output : 48 /1378321183.Didn't retrieve data . /1378321126.Didn't retrieve data . /1378321054.Didn't retrieve data . /1378321031.Didn't retrieve data . /1378321005.Didn't retrieve data . /1378320260.Didn't retrieve data . /1378320111.Didn't retrieve data . /1378320015.Didn't retrieve data . /1378319921.Didn't retrieve data . /1378319790.Didn't retrieve data . /1378319676.Didn't retrieve data . /1378319223.Didn't retrieve data . /1378318488.Didn't retrieve data . /1378318478.Didn't retrieve data . /1378318367.Didn't retrieve data . /1378318363.Didn't retrieve data . /1378317685.Didn't retrieve data . /1378317616.Didn't retrieve data . /1378317525.Didn't retrieve data . /1378317430.Didn't retrieve data . /1378317356.Didn't retrieve data . /1378317297.Didn't retrieve data . /1378316754.Didn't retrieve data . /1378316751.Didn't retrieve data . /1378316728.Didn't retrieve data . /1378316707.Didn't retrieve data . /1378316682.Didn't retrieve data . /1378316658.Didn't retrieve data . /1378316550.Didn't retrieve data . /1378316219.Didn't retrieve data . /1378316195.Didn't retrieve data . /1378316157.Didn't retrieve data . /1378315870.Didn't retrieve data . /1378315824.Didn't retrieve data . /1378315794.Didn't retrieve data . /1378315736.Didn't retrieve data . /1378315646.Didn't retrieve data . /1378315572.Didn't retrieve data . /1378315346.Didn't retrieve data . /1378315031.Didn't retrieve data . /1378314997.Didn't retrieve data . /1378314938.Didn't retrieve data . /1378314869.Didn't retrieve data . /1378314792.Didn't retrieve data . /1378314720.Didn't retrieve data . /1378314566.Didn't retrieve data . /1378314541.Didn't retrieve data . /1378314135.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, '3569398') ('4302', '26123741', '1378321183', None, None, None, None, None, '3569398') ('4302', None, None, None, None, None, None, None, '3569398') ('4302', '26123741', '1378321126', None, None, None, None, None, '3569398') ('4302', None, None, None, None, None, None, None, '3569398') ('4302', '26123741', '1378321054', None, None, None, None, None, '3569398') ('4302', None, None, None, None, None, None, None, '3569398') ('4302', '26123741', '1378321031', None, None, None, None, None, '3569398') ('4302', None, None, None, None, None, None, None, '3569398') ('4302', '26123741', '1378321005', None, None, None, None, None, '3569398') ('4302', None, None, None, None, None, None, None, '3569398') ('4302', '26123741', '1378320260', None, None, None, None, None, '3569398') ('4302', None, None, None, None, None, None, None, '3569398') ('4302', '26123741', '1378320111', None, None, None, None, None, '3569398') ('4302', None, None, None, None, None, None, None, '3569398') ('4302', '26123741', '1378320015', None, None, None, None, None, '3569398') ('4302', None, None, None, None, None, None, None, '3569398') ('4302', '26123741', '1378319921', None, None, None, None, None, '3569398') ('4302', None, None, None, None, None, None, None, '3569398') ('4302', '26123741', '1378319790', None, None, None, None, None, '3569398') ('4302', None, None, None, None, None, None, None, '3569398') ('4302', '26123741', '1378319676', None, None, None, None, None, '3569398') ('4302', None, None, None, None, None, None, None, '3569398') ('4302', '26123741', '1378319223', None, None, None, None, None, '3569398') ('4302', None, None, None, None, None, None, None, '3569398') ('4302', '26123741', '1378318488', None, None, None, None, None, '3569398') ('4302', None, None, None, None, None, None, None, '3569398') ('4302', '26123741', '1378318478', None, None, None, None, None, '3569398') ('4302', None, None, None, None, None, None, None, '3569398') ('4302', '26123741', '1378318367', None, None, None, None, None, '3569398') ('4302', None, None, None, None, None, None, None, '3569398') ('4302', '26123741', '1378318363', None, None, None, None, None, '3569398') ('4302', None, None, None, None, None, None, None, '3569398') ('4302', '26123741', '1378317685', None, None, None, None, None, '3569398') ('4302', None, None, None, None, None, None, None, '3569398') ('4302', '26123741', '1378317616', None, None, None, None, None, '3569398') ('4302', None, None, None, None, None, None, None, '3569398') ('4302', '26123741', '1378317525', None, None, None, None, None, '3569398') ('4302', None, None, None, None, None, None, None, '3569398') ('4302', '26123741', '1378317430', None, None, None, None, None, '3569398') ('4302', None, None, None, None, None, None, None, '3569398') ('4302', '26123741', '1378317356', None, None, None, None, None, '3569398') ('4302', None, None, None, None, None, None, None, '3569398') ('4302', '26123741', '1378317297', None, None, None, None, None, '3569398') ('4302', None, None, None, None, None, None, None, '3569398') ('4302', '26123741', '1378316754', None, None, None, None, None, '3569398') ('4302', None, None, None, None, None, None, None, '3569398') ('4302', '26123741', '1378316751', None, None, None, None, None, '3569398') ('4302', None, None, None, None, None, None, None, '3569398') ('4302', '26123741', '1378316728', None, None, None, None, None, '3569398') ('4302', None, None, None, None, None, None, None, '3569398') ('4302', '26123741', '1378316707', None, None, None, None, None, '3569398') ('4302', None, None, None, None, None, None, None, '3569398') ('4302', '26123741', '1378316682', None, None, None, None, None, '3569398') ('4302', None, None, None, None, None, None, None, '3569398') ('4302', '26123741', '1378316658', None, None, None, None, None, '3569398') ('4302', None, None, None, None, None, None, None, '3569398') ('4302', '26123741', '1378316550', None, None, None, None, None, '3569398') ('4302', None, None, None, None, None, None, None, '3569398') ('4302', '26123741', '1378316219', None, None, None, None, None, '3569398') ('4302', None, None, None, None, None, None, None, '3569398') ('4302', '26123741', '1378316195', None, None, None, None, None, '3569398') ('4302', None, None, None, None, None, None, None, '3569398') ('4302', '26123741', '1378316157', None, None, None, None, None, '3569398') ('4302', None, None, None, None, None, None, None, '3569398') ('4302', '26123741', '1378315870', None, None, None, None, None, '3569398') ('4302', None, None, None, None, None, None, None, '3569398') ('4302', '26123741', '1378315824', None, None, None, None, None, '3569398') ('4302', None, None, None, None, None, None, None, '3569398') ('4302', '26123741', '1378315794', None, None, None, None, None, '3569398') ('4302', None, None, None, None, None, None, None, '3569398') ('4302', '26123741', '1378315736', None, None, None, None, None, '3569398') ('4302', None, None, None, None, None, None, None, '3569398') ('4302', '26123741', '1378315646', None, None, None, None, None, '3569398') ('4302', None, None, None, None, None, None, None, '3569398') ('4302', '26123741', '1378315572', None, None, None, None, None, '3569398') ('4302', None, None, None, None, None, None, None, '3569398') ('4302', '26123741', '1378315346', None, None, None, None, None, '3569398') ('4302', None, None, None, None, None, None, None, '3569398') ('4302', '26123741', '1378315031', None, None, None, None, None, '3569398') ('4302', None, None, None, None, None, None, None, '3569398') ('4302', '26123741', '1378314997', None, None, None, None, None, '3569398') ('4302', None, None, None, None, None, None, None, '3569398') ('4302', '26123741', '1378314938', None, None, None, None, None, '3569398') ('4302', None, None, None, None, None, None, None, '3569398') ('4302', '26123741', '1378314869', None, None, None, None, None, '3569398') ('4302', None, None, None, None, None, None, None, '3569398') ('4302', '26123741', '1378314792', None, None, None, None, None, '3569398') ('4302', None, None, None, None, None, None, None, '3569398') ('4302', '26123741', '1378314720', None, None, None, None, None, '3569398') ('4302', None, None, None, None, None, None, None, '3569398') ('4302', '26123741', '1378314566', None, None, None, None, None, '3569398') ('4302', None, None, None, None, None, None, None, '3569398') ('4302', '26123741', '1378314541', None, None, None, None, None, '3569398') ('4302', None, None, None, None, None, None, None, '3569398') ('4302', '26123741', '1378314135', None, None, None, None, None, '3569398') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 144 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', '26123741', '1378321183', '0.0', None, None, None, None, '3569398'), ('4302', '26123741', '1378321126', '0.0', None, None, None, None, '3569398'), ('4302', '26123741', '1378321054', '0.0', None, None, None, None, '3569398'), ('4302', '26123741', '1378321031', '0.0', None, None, None, None, '3569398'), ('4302', '26123741', '1378321005', '0.0', None, None, None, None, '3569398'), ('4302', '26123741', '1378320260', '0.0', None, None, None, None, '3569398'), ('4302', '26123741', '1378320111', '0.0', None, None, None, None, '3569398'), ('4302', '26123741', '1378320015', '0.0', None, None, None, None, '3569398'), ('4302', '26123741', '1378319921', '0.0', None, None, None, None, '3569398'), ('4302', '26123741', '1378319790', '0.0', None, None, None, None, '3569398'), ('4302', '26123741', '1378319676', '0.0', None, None, None, None, '3569398'), ('4302', '26123741', '1378319223', '0.0', None, None, None, None, '3569398'), ('4302', '26123741', '1378318488', '0.0', None, None, None, None, '3569398'), ('4302', '26123741', '1378318478', '0.0', None, None, None, None, '3569398'), ('4302', '26123741', '1378318367', '0.0', None, None, None, None, '3569398'), ('4302', '26123741', '1378318363', '0.0', None, None, None, None, '3569398'), ('4302', '26123741', '1378317685', '0.0', None, None, None, None, '3569398'), ('4302', '26123741', '1378317616', '0.0', None, None, None, None, '3569398'), ('4302', '26123741', '1378317525', '0.0', None, None, None, None, '3569398'), ('4302', '26123741', '1378317430', '0.0', None, None, None, None, '3569398'), ('4302', '26123741', '1378317356', '0.0', None, None, None, None, '3569398'), ('4302', '26123741', '1378317297', '0.0', None, None, None, None, '3569398'), ('4302', '26123741', '1378316754', '0.0', None, None, None, None, '3569398'), ('4302', '26123741', '1378316751', '0.0', None, None, None, None, '3569398'), ('4302', '26123741', '1378316728', '0.0', None, None, None, None, '3569398'), ('4302', '26123741', '1378316707', '0.0', None, None, None, None, '3569398'), ('4302', '26123741', '1378316682', '0.0', None, None, None, None, '3569398'), ('4302', '26123741', '1378316658', '0.0', None, None, None, None, '3569398'), ('4302', '26123741', '1378316550', '0.0', None, None, None, None, '3569398'), ('4302', '26123741', '1378316219', '0.0', None, None, None, None, '3569398'), ('4302', '26123741', '1378316195', '0.0', None, None, None, None, '3569398'), ('4302', '26123741', '1378316157', '0.0', None, None, None, None, '3569398'), ('4302', '26123741', '1378315870', '0.0', None, None, None, None, '3569398'), ('4302', '26123741', '1378315824', '0.0', None, None, None, None, '3569398'), ('4302', '26123741', '1378315794', '0.0', None, None, None, None, '3569398'), ('4302', '26123741', '1378315736', '0.0', None, None, None, None, '3569398'), ('4302', '26123741', '1378315646', '0.0', None, None, None, None, '3569398'), ('4302', '26123741', '1378315572', '0.0', None, None, None, None, '3569398'), ('4302', '26123741', '1378315346', '0.0', None, None, None, None, '3569398'), ('4302', '26123741', '1378315031', '0.0', None, None, None, None, '3569398'), ('4302', '26123741', '1378314997', '0.0', None, None, None, None, '3569398'), ('4302', '26123741', '1378314938', '0.0', None, None, None, None, '3569398'), ('4302', '26123741', '1378314869', '0.0', None, None, None, None, '3569398'), ('4302', '26123741', '1378314792', '0.0', None, None, None, None, '3569398'), ('4302', '26123741', '1378314720', '0.0', None, None, None, None, '3569398'), ('4302', '26123741', '1378314566', '0.0', None, None, None, None, '3569398'), ('4302', '26123741', '1378314541', '0.0', None, None, None, None, '3569398'), ('4302', '26123741', '1378314135', '0.0', None, None, None, None, '3569398')] time used for this insertion : 0.017622709274291992 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.01590442657470703 time spend to save output : 0.019105195999145508 total time spend for step 2 : 0.03500962257385254 step3:velours_tree Thu Aug 21 23:06:31 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 : {26123741: [{'papier': 26124232, 'cartonnette': 26124233, 'mal_croppe': 26124234, 'kraft': 26124235, 'autre_refus': 26124236, 'environnement': 26124237, 'metal': 26124238, 'plastique': 26124239, 'Teint_Dans_La_Masse': 26124240, 'Carton_brun': 26124241, 'flou': 26124242, 'Carton_gris': 26124243}]} input_args_next_step : {26123741: ()} output_args : {26123741: [{'papier': 26124232, 'cartonnette': 26124233, 'mal_croppe': 26124234, 'kraft': 26124235, 'autre_refus': 26124236, 'environnement': 26124237, 'metal': 26124238, 'plastique': 26124239, 'Teint_Dans_La_Masse': 26124240, 'Carton_brun': 26124241, 'flou': 26124242, 'Carton_gris': 26124243}]} args : 26123741 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': 26124232, 'cartonnette': 26124233, 'mal_croppe': 26124234, 'kraft': 26124235, 'autre_refus': 26124236, 'environnement': 26124237, 'metal': 26124238, 'plastique': 26124239, 'Teint_Dans_La_Masse': 26124240, 'Carton_brun': 26124241, 'flou': 26124242, 'Carton_gris': 26124243},) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (26123741) 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([26123741]) 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.33342504501342773 time spend to save output : 7.510185241699219e-05 total time spend for step 3 : 0.3335001468658447 step4:send_mail_cod Thu Aug 21 23:06:32 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 : {1378321183: ('0.0',), 1378321126: ('0.0',), 1378321054: ('0.0',), 1378321031: ('0.0',), 1378321005: ('0.0',), 1378320260: ('0.0',), 1378320111: ('0.0',), 1378320015: ('0.0',), 1378319921: ('0.0',), 1378319790: ('0.0',), 1378319676: ('0.0',), 1378319223: ('0.0',), 1378318488: ('0.0',), 1378318478: ('0.0',), 1378318367: ('0.0',), 1378318363: ('0.0',), 1378317685: ('0.0',), 1378317616: ('0.0',), 1378317525: ('0.0',), 1378317430: ('0.0',), 1378317356: ('0.0',), 1378317297: ('0.0',), 1378316754: ('0.0',), 1378316751: ('0.0',), 1378316728: ('0.0',), 1378316707: ('0.0',), 1378316682: ('0.0',), 1378316658: ('0.0',), 1378316550: ('0.0',), 1378316219: ('0.0',), 1378316195: ('0.0',), 1378316157: ('0.0',), 1378315870: ('0.0',), 1378315824: ('0.0',), 1378315794: ('0.0',), 1378315736: ('0.0',), 1378315646: ('0.0',), 1378315572: ('0.0',), 1378315346: ('0.0',), 1378315031: ('0.0',), 1378314997: ('0.0',), 1378314938: ('0.0',), 1378314869: ('0.0',), 1378314792: ('0.0',), 1378314720: ('0.0',), 1378314566: ('0.0',), 1378314541: ('0.0',), 1378314135: ('0.0',)} input_args_next_step : {1378321183: ()} output_args : {1378321183: ('0.0',), 1378321126: ('0.0',), 1378321054: ('0.0',), 1378321031: ('0.0',), 1378321005: ('0.0',), 1378320260: ('0.0',), 1378320111: ('0.0',), 1378320015: ('0.0',), 1378319921: ('0.0',), 1378319790: ('0.0',), 1378319676: ('0.0',), 1378319223: ('0.0',), 1378318488: ('0.0',), 1378318478: ('0.0',), 1378318367: ('0.0',), 1378318363: ('0.0',), 1378317685: ('0.0',), 1378317616: ('0.0',), 1378317525: ('0.0',), 1378317430: ('0.0',), 1378317356: ('0.0',), 1378317297: ('0.0',), 1378316754: ('0.0',), 1378316751: ('0.0',), 1378316728: ('0.0',), 1378316707: ('0.0',), 1378316682: ('0.0',), 1378316658: ('0.0',), 1378316550: ('0.0',), 1378316219: ('0.0',), 1378316195: ('0.0',), 1378316157: ('0.0',), 1378315870: ('0.0',), 1378315824: ('0.0',), 1378315794: ('0.0',), 1378315736: ('0.0',), 1378315646: ('0.0',), 1378315572: ('0.0',), 1378315346: ('0.0',), 1378315031: ('0.0',), 1378314997: ('0.0',), 1378314938: ('0.0',), 1378314869: ('0.0',), 1378314792: ('0.0',), 1378314720: ('0.0',), 1378314566: ('0.0',), 1378314541: ('0.0',), 1378314135: ('0.0',)} args : 1378321183 depend.output_id : 0 input_args_next_step : {1378321183: ('0.0',), 1378321126: ()} output_args : {1378321183: ('0.0',), 1378321126: ('0.0',), 1378321054: ('0.0',), 1378321031: ('0.0',), 1378321005: ('0.0',), 1378320260: ('0.0',), 1378320111: ('0.0',), 1378320015: ('0.0',), 1378319921: ('0.0',), 1378319790: ('0.0',), 1378319676: ('0.0',), 1378319223: ('0.0',), 1378318488: ('0.0',), 1378318478: ('0.0',), 1378318367: ('0.0',), 1378318363: ('0.0',), 1378317685: ('0.0',), 1378317616: ('0.0',), 1378317525: ('0.0',), 1378317430: ('0.0',), 1378317356: ('0.0',), 1378317297: ('0.0',), 1378316754: ('0.0',), 1378316751: ('0.0',), 1378316728: ('0.0',), 1378316707: ('0.0',), 1378316682: ('0.0',), 1378316658: ('0.0',), 1378316550: ('0.0',), 1378316219: ('0.0',), 1378316195: ('0.0',), 1378316157: ('0.0',), 1378315870: ('0.0',), 1378315824: ('0.0',), 1378315794: ('0.0',), 1378315736: ('0.0',), 1378315646: ('0.0',), 1378315572: ('0.0',), 1378315346: ('0.0',), 1378315031: ('0.0',), 1378314997: ('0.0',), 1378314938: ('0.0',), 1378314869: ('0.0',), 1378314792: ('0.0',), 1378314720: ('0.0',), 1378314566: ('0.0',), 1378314541: ('0.0',), 1378314135: ('0.0',)} args : 1378321126 depend.output_id : 0 input_args_next_step : {1378321183: ('0.0',), 1378321126: ('0.0',), 1378321054: ()} output_args : {1378321183: ('0.0',), 1378321126: ('0.0',), 1378321054: ('0.0',), 1378321031: ('0.0',), 1378321005: ('0.0',), 1378320260: ('0.0',), 1378320111: ('0.0',), 1378320015: ('0.0',), 1378319921: ('0.0',), 1378319790: ('0.0',), 1378319676: ('0.0',), 1378319223: ('0.0',), 1378318488: ('0.0',), 1378318478: ('0.0',), 1378318367: ('0.0',), 1378318363: ('0.0',), 1378317685: ('0.0',), 1378317616: ('0.0',), 1378317525: ('0.0',), 1378317430: ('0.0',), 1378317356: ('0.0',), 1378317297: ('0.0',), 1378316754: ('0.0',), 1378316751: ('0.0',), 1378316728: ('0.0',), 1378316707: ('0.0',), 1378316682: ('0.0',), 1378316658: ('0.0',), 1378316550: ('0.0',), 1378316219: ('0.0',), 1378316195: ('0.0',), 1378316157: ('0.0',), 1378315870: ('0.0',), 1378315824: ('0.0',), 1378315794: ('0.0',), 1378315736: ('0.0',), 1378315646: ('0.0',), 1378315572: ('0.0',), 1378315346: ('0.0',), 1378315031: ('0.0',), 1378314997: ('0.0',), 1378314938: ('0.0',), 1378314869: ('0.0',), 1378314792: ('0.0',), 1378314720: ('0.0',), 1378314566: ('0.0',), 1378314541: ('0.0',), 1378314135: ('0.0',)} args : 1378321054 depend.output_id : 0 input_args_next_step : {1378321183: ('0.0',), 1378321126: ('0.0',), 1378321054: ('0.0',), 1378321031: ()} output_args : {1378321183: ('0.0',), 1378321126: ('0.0',), 1378321054: ('0.0',), 1378321031: ('0.0',), 1378321005: ('0.0',), 1378320260: ('0.0',), 1378320111: ('0.0',), 1378320015: ('0.0',), 1378319921: ('0.0',), 1378319790: ('0.0',), 1378319676: ('0.0',), 1378319223: ('0.0',), 1378318488: ('0.0',), 1378318478: ('0.0',), 1378318367: ('0.0',), 1378318363: ('0.0',), 1378317685: ('0.0',), 1378317616: ('0.0',), 1378317525: ('0.0',), 1378317430: ('0.0',), 1378317356: ('0.0',), 1378317297: ('0.0',), 1378316754: ('0.0',), 1378316751: ('0.0',), 1378316728: ('0.0',), 1378316707: ('0.0',), 1378316682: ('0.0',), 1378316658: ('0.0',), 1378316550: ('0.0',), 1378316219: ('0.0',), 1378316195: ('0.0',), 1378316157: ('0.0',), 1378315870: ('0.0',), 1378315824: ('0.0',), 1378315794: ('0.0',), 1378315736: ('0.0',), 1378315646: ('0.0',), 1378315572: ('0.0',), 1378315346: ('0.0',), 1378315031: ('0.0',), 1378314997: ('0.0',), 1378314938: ('0.0',), 1378314869: ('0.0',), 1378314792: ('0.0',), 1378314720: ('0.0',), 1378314566: ('0.0',), 1378314541: ('0.0',), 1378314135: ('0.0',)} args : 1378321031 depend.output_id : 0 input_args_next_step : {1378321183: ('0.0',), 1378321126: ('0.0',), 1378321054: ('0.0',), 1378321031: ('0.0',), 1378321005: ()} output_args : {1378321183: ('0.0',), 1378321126: ('0.0',), 1378321054: ('0.0',), 1378321031: ('0.0',), 1378321005: ('0.0',), 1378320260: ('0.0',), 1378320111: ('0.0',), 1378320015: ('0.0',), 1378319921: ('0.0',), 1378319790: ('0.0',), 1378319676: ('0.0',), 1378319223: ('0.0',), 1378318488: ('0.0',), 1378318478: ('0.0',), 1378318367: ('0.0',), 1378318363: ('0.0',), 1378317685: ('0.0',), 1378317616: ('0.0',), 1378317525: ('0.0',), 1378317430: ('0.0',), 1378317356: ('0.0',), 1378317297: ('0.0',), 1378316754: ('0.0',), 1378316751: ('0.0',), 1378316728: ('0.0',), 1378316707: ('0.0',), 1378316682: ('0.0',), 1378316658: ('0.0',), 1378316550: ('0.0',), 1378316219: ('0.0',), 1378316195: ('0.0',), 1378316157: ('0.0',), 1378315870: ('0.0',), 1378315824: ('0.0',), 1378315794: ('0.0',), 1378315736: ('0.0',), 1378315646: ('0.0',), 1378315572: ('0.0',), 1378315346: ('0.0',), 1378315031: ('0.0',), 1378314997: ('0.0',), 1378314938: ('0.0',), 1378314869: ('0.0',), 1378314792: ('0.0',), 1378314720: ('0.0',), 1378314566: ('0.0',), 1378314541: ('0.0',), 1378314135: ('0.0',)} args : 1378321005 depend.output_id : 0 input_args_next_step : {1378321183: ('0.0',), 1378321126: ('0.0',), 1378321054: ('0.0',), 1378321031: ('0.0',), 1378321005: ('0.0',), 1378320260: ()} output_args : {1378321183: ('0.0',), 1378321126: ('0.0',), 1378321054: ('0.0',), 1378321031: ('0.0',), 1378321005: ('0.0',), 1378320260: ('0.0',), 1378320111: ('0.0',), 1378320015: ('0.0',), 1378319921: ('0.0',), 1378319790: ('0.0',), 1378319676: ('0.0',), 1378319223: ('0.0',), 1378318488: ('0.0',), 1378318478: ('0.0',), 1378318367: ('0.0',), 1378318363: ('0.0',), 1378317685: ('0.0',), 1378317616: ('0.0',), 1378317525: ('0.0',), 1378317430: ('0.0',), 1378317356: ('0.0',), 1378317297: ('0.0',), 1378316754: ('0.0',), 1378316751: ('0.0',), 1378316728: ('0.0',), 1378316707: ('0.0',), 1378316682: ('0.0',), 1378316658: ('0.0',), 1378316550: ('0.0',), 1378316219: ('0.0',), 1378316195: ('0.0',), 1378316157: ('0.0',), 1378315870: ('0.0',), 1378315824: ('0.0',), 1378315794: ('0.0',), 1378315736: ('0.0',), 1378315646: ('0.0',), 1378315572: ('0.0',), 1378315346: ('0.0',), 1378315031: ('0.0',), 1378314997: ('0.0',), 1378314938: ('0.0',), 1378314869: ('0.0',), 1378314792: ('0.0',), 1378314720: ('0.0',), 1378314566: ('0.0',), 1378314541: ('0.0',), 1378314135: ('0.0',)} args : 1378320260 depend.output_id : 0 input_args_next_step : {1378321183: ('0.0',), 1378321126: ('0.0',), 1378321054: ('0.0',), 1378321031: ('0.0',), 1378321005: ('0.0',), 1378320260: ('0.0',), 1378320111: ()} output_args : {1378321183: ('0.0',), 1378321126: ('0.0',), 1378321054: ('0.0',), 1378321031: ('0.0',), 1378321005: ('0.0',), 1378320260: ('0.0',), 1378320111: ('0.0',), 1378320015: ('0.0',), 1378319921: ('0.0',), 1378319790: ('0.0',), 1378319676: ('0.0',), 1378319223: ('0.0',), 1378318488: ('0.0',), 1378318478: ('0.0',), 1378318367: ('0.0',), 1378318363: ('0.0',), 1378317685: ('0.0',), 1378317616: ('0.0',), 1378317525: ('0.0',), 1378317430: ('0.0',), 1378317356: ('0.0',), 1378317297: ('0.0',), 1378316754: ('0.0',), 1378316751: ('0.0',), 1378316728: ('0.0',), 1378316707: ('0.0',), 1378316682: ('0.0',), 1378316658: ('0.0',), 1378316550: ('0.0',), 1378316219: ('0.0',), 1378316195: ('0.0',), 1378316157: ('0.0',), 1378315870: ('0.0',), 1378315824: ('0.0',), 1378315794: ('0.0',), 1378315736: ('0.0',), 1378315646: ('0.0',), 1378315572: ('0.0',), 1378315346: ('0.0',), 1378315031: ('0.0',), 1378314997: ('0.0',), 1378314938: ('0.0',), 1378314869: ('0.0',), 1378314792: ('0.0',), 1378314720: ('0.0',), 1378314566: ('0.0',), 1378314541: ('0.0',), 1378314135: ('0.0',)} args : 1378320111 depend.output_id : 0 input_args_next_step : {1378321183: ('0.0',), 1378321126: ('0.0',), 1378321054: ('0.0',), 1378321031: ('0.0',), 1378321005: ('0.0',), 1378320260: ('0.0',), 1378320111: ('0.0',), 1378320015: ()} output_args : {1378321183: ('0.0',), 1378321126: ('0.0',), 1378321054: ('0.0',), 1378321031: ('0.0',), 1378321005: ('0.0',), 1378320260: ('0.0',), 1378320111: ('0.0',), 1378320015: ('0.0',), 1378319921: ('0.0',), 1378319790: ('0.0',), 1378319676: ('0.0',), 1378319223: ('0.0',), 1378318488: ('0.0',), 1378318478: ('0.0',), 1378318367: ('0.0',), 1378318363: ('0.0',), 1378317685: ('0.0',), 1378317616: ('0.0',), 1378317525: ('0.0',), 1378317430: ('0.0',), 1378317356: ('0.0',), 1378317297: ('0.0',), 1378316754: ('0.0',), 1378316751: ('0.0',), 1378316728: ('0.0',), 1378316707: ('0.0',), 1378316682: ('0.0',), 1378316658: ('0.0',), 1378316550: ('0.0',), 1378316219: ('0.0',), 1378316195: ('0.0',), 1378316157: ('0.0',), 1378315870: ('0.0',), 1378315824: ('0.0',), 1378315794: ('0.0',), 1378315736: ('0.0',), 1378315646: ('0.0',), 1378315572: ('0.0',), 1378315346: ('0.0',), 1378315031: ('0.0',), 1378314997: ('0.0',), 1378314938: ('0.0',), 1378314869: ('0.0',), 1378314792: ('0.0',), 1378314720: ('0.0',), 1378314566: ('0.0',), 1378314541: ('0.0',), 1378314135: ('0.0',)} args : 1378320015 depend.output_id : 0 input_args_next_step : {1378321183: ('0.0',), 1378321126: ('0.0',), 1378321054: ('0.0',), 1378321031: ('0.0',), 1378321005: ('0.0',), 1378320260: ('0.0',), 1378320111: ('0.0',), 1378320015: ('0.0',), 1378319921: ()} output_args : {1378321183: ('0.0',), 1378321126: ('0.0',), 1378321054: ('0.0',), 1378321031: ('0.0',), 1378321005: ('0.0',), 1378320260: ('0.0',), 1378320111: ('0.0',), 1378320015: ('0.0',), 1378319921: ('0.0',), 1378319790: ('0.0',), 1378319676: ('0.0',), 1378319223: ('0.0',), 1378318488: ('0.0',), 1378318478: ('0.0',), 1378318367: ('0.0',), 1378318363: ('0.0',), 1378317685: ('0.0',), 1378317616: ('0.0',), 1378317525: ('0.0',), 1378317430: ('0.0',), 1378317356: ('0.0',), 1378317297: ('0.0',), 1378316754: ('0.0',), 1378316751: ('0.0',), 1378316728: ('0.0',), 1378316707: ('0.0',), 1378316682: ('0.0',), 1378316658: ('0.0',), 1378316550: ('0.0',), 1378316219: ('0.0',), 1378316195: ('0.0',), 1378316157: ('0.0',), 1378315870: ('0.0',), 1378315824: ('0.0',), 1378315794: ('0.0',), 1378315736: ('0.0',), 1378315646: ('0.0',), 1378315572: ('0.0',), 1378315346: ('0.0',), 1378315031: ('0.0',), 1378314997: ('0.0',), 1378314938: ('0.0',), 1378314869: ('0.0',), 1378314792: ('0.0',), 1378314720: ('0.0',), 1378314566: ('0.0',), 1378314541: ('0.0',), 1378314135: ('0.0',)} args : 1378319921 depend.output_id : 0 input_args_next_step : {1378321183: ('0.0',), 1378321126: ('0.0',), 1378321054: ('0.0',), 1378321031: ('0.0',), 1378321005: ('0.0',), 1378320260: ('0.0',), 1378320111: ('0.0',), 1378320015: ('0.0',), 1378319921: ('0.0',), 1378319790: ()} output_args : {1378321183: ('0.0',), 1378321126: ('0.0',), 1378321054: ('0.0',), 1378321031: ('0.0',), 1378321005: ('0.0',), 1378320260: ('0.0',), 1378320111: ('0.0',), 1378320015: ('0.0',), 1378319921: ('0.0',), 1378319790: ('0.0',), 1378319676: ('0.0',), 1378319223: ('0.0',), 1378318488: ('0.0',), 1378318478: ('0.0',), 1378318367: ('0.0',), 1378318363: ('0.0',), 1378317685: ('0.0',), 1378317616: ('0.0',), 1378317525: ('0.0',), 1378317430: ('0.0',), 1378317356: ('0.0',), 1378317297: ('0.0',), 1378316754: ('0.0',), 1378316751: ('0.0',), 1378316728: ('0.0',), 1378316707: ('0.0',), 1378316682: ('0.0',), 1378316658: ('0.0',), 1378316550: ('0.0',), 1378316219: ('0.0',), 1378316195: ('0.0',), 1378316157: ('0.0',), 1378315870: ('0.0',), 1378315824: ('0.0',), 1378315794: ('0.0',), 1378315736: ('0.0',), 1378315646: ('0.0',), 1378315572: ('0.0',), 1378315346: ('0.0',), 1378315031: ('0.0',), 1378314997: ('0.0',), 1378314938: ('0.0',), 1378314869: ('0.0',), 1378314792: ('0.0',), 1378314720: ('0.0',), 1378314566: ('0.0',), 1378314541: ('0.0',), 1378314135: ('0.0',)} args : 1378319790 depend.output_id : 0 input_args_next_step : {1378321183: ('0.0',), 1378321126: ('0.0',), 1378321054: ('0.0',), 1378321031: ('0.0',), 1378321005: ('0.0',), 1378320260: ('0.0',), 1378320111: ('0.0',), 1378320015: ('0.0',), 1378319921: ('0.0',), 1378319790: ('0.0',), 1378319676: ()} output_args : {1378321183: ('0.0',), 1378321126: ('0.0',), 1378321054: ('0.0',), 1378321031: ('0.0',), 1378321005: ('0.0',), 1378320260: ('0.0',), 1378320111: ('0.0',), 1378320015: ('0.0',), 1378319921: ('0.0',), 1378319790: ('0.0',), 1378319676: ('0.0',), 1378319223: ('0.0',), 1378318488: ('0.0',), 1378318478: ('0.0',), 1378318367: ('0.0',), 1378318363: ('0.0',), 1378317685: ('0.0',), 1378317616: ('0.0',), 1378317525: ('0.0',), 1378317430: ('0.0',), 1378317356: ('0.0',), 1378317297: ('0.0',), 1378316754: ('0.0',), 1378316751: ('0.0',), 1378316728: ('0.0',), 1378316707: ('0.0',), 1378316682: ('0.0',), 1378316658: ('0.0',), 1378316550: ('0.0',), 1378316219: ('0.0',), 1378316195: ('0.0',), 1378316157: ('0.0',), 1378315870: ('0.0',), 1378315824: ('0.0',), 1378315794: ('0.0',), 1378315736: ('0.0',), 1378315646: ('0.0',), 1378315572: ('0.0',), 1378315346: ('0.0',), 1378315031: ('0.0',), 1378314997: ('0.0',), 1378314938: ('0.0',), 1378314869: ('0.0',), 1378314792: ('0.0',), 1378314720: ('0.0',), 1378314566: ('0.0',), 1378314541: ('0.0',), 1378314135: ('0.0',)} args : 1378319676 depend.output_id : 0 input_args_next_step : {1378321183: ('0.0',), 1378321126: ('0.0',), 1378321054: ('0.0',), 1378321031: ('0.0',), 1378321005: ('0.0',), 1378320260: ('0.0',), 1378320111: ('0.0',), 1378320015: ('0.0',), 1378319921: ('0.0',), 1378319790: ('0.0',), 1378319676: ('0.0',), 1378319223: ()} output_args : {1378321183: ('0.0',), 1378321126: ('0.0',), 1378321054: ('0.0',), 1378321031: ('0.0',), 1378321005: ('0.0',), 1378320260: ('0.0',), 1378320111: ('0.0',), 1378320015: ('0.0',), 1378319921: ('0.0',), 1378319790: ('0.0',), 1378319676: ('0.0',), 1378319223: ('0.0',), 1378318488: ('0.0',), 1378318478: ('0.0',), 1378318367: ('0.0',), 1378318363: ('0.0',), 1378317685: ('0.0',), 1378317616: ('0.0',), 1378317525: ('0.0',), 1378317430: ('0.0',), 1378317356: ('0.0',), 1378317297: ('0.0',), 1378316754: ('0.0',), 1378316751: ('0.0',), 1378316728: ('0.0',), 1378316707: ('0.0',), 1378316682: ('0.0',), 1378316658: ('0.0',), 1378316550: ('0.0',), 1378316219: ('0.0',), 1378316195: ('0.0',), 1378316157: ('0.0',), 1378315870: ('0.0',), 1378315824: ('0.0',), 1378315794: ('0.0',), 1378315736: ('0.0',), 1378315646: ('0.0',), 1378315572: ('0.0',), 1378315346: ('0.0',), 1378315031: ('0.0',), 1378314997: ('0.0',), 1378314938: ('0.0',), 1378314869: ('0.0',), 1378314792: ('0.0',), 1378314720: ('0.0',), 1378314566: ('0.0',), 1378314541: ('0.0',), 1378314135: ('0.0',)} args : 1378319223 depend.output_id : 0 input_args_next_step : {1378321183: ('0.0',), 1378321126: ('0.0',), 1378321054: ('0.0',), 1378321031: ('0.0',), 1378321005: ('0.0',), 1378320260: ('0.0',), 1378320111: ('0.0',), 1378320015: ('0.0',), 1378319921: ('0.0',), 1378319790: ('0.0',), 1378319676: ('0.0',), 1378319223: ('0.0',), 1378318488: ()} output_args : {1378321183: ('0.0',), 1378321126: ('0.0',), 1378321054: ('0.0',), 1378321031: ('0.0',), 1378321005: ('0.0',), 1378320260: ('0.0',), 1378320111: ('0.0',), 1378320015: ('0.0',), 1378319921: ('0.0',), 1378319790: ('0.0',), 1378319676: ('0.0',), 1378319223: ('0.0',), 1378318488: ('0.0',), 1378318478: ('0.0',), 1378318367: ('0.0',), 1378318363: ('0.0',), 1378317685: ('0.0',), 1378317616: ('0.0',), 1378317525: ('0.0',), 1378317430: ('0.0',), 1378317356: ('0.0',), 1378317297: ('0.0',), 1378316754: ('0.0',), 1378316751: ('0.0',), 1378316728: ('0.0',), 1378316707: ('0.0',), 1378316682: ('0.0',), 1378316658: ('0.0',), 1378316550: ('0.0',), 1378316219: ('0.0',), 1378316195: ('0.0',), 1378316157: ('0.0',), 1378315870: ('0.0',), 1378315824: ('0.0',), 1378315794: ('0.0',), 1378315736: ('0.0',), 1378315646: ('0.0',), 1378315572: ('0.0',), 1378315346: ('0.0',), 1378315031: ('0.0',), 1378314997: ('0.0',), 1378314938: ('0.0',), 1378314869: ('0.0',), 1378314792: ('0.0',), 1378314720: ('0.0',), 1378314566: ('0.0',), 1378314541: ('0.0',), 1378314135: ('0.0',)} args : 1378318488 depend.output_id : 0 input_args_next_step : {1378321183: ('0.0',), 1378321126: ('0.0',), 1378321054: ('0.0',), 1378321031: ('0.0',), 1378321005: ('0.0',), 1378320260: ('0.0',), 1378320111: ('0.0',), 1378320015: ('0.0',), 1378319921: ('0.0',), 1378319790: ('0.0',), 1378319676: ('0.0',), 1378319223: ('0.0',), 1378318488: ('0.0',), 1378318478: ()} output_args : {1378321183: ('0.0',), 1378321126: ('0.0',), 1378321054: ('0.0',), 1378321031: ('0.0',), 1378321005: ('0.0',), 1378320260: ('0.0',), 1378320111: ('0.0',), 1378320015: ('0.0',), 1378319921: ('0.0',), 1378319790: ('0.0',), 1378319676: ('0.0',), 1378319223: ('0.0',), 1378318488: ('0.0',), 1378318478: ('0.0',), 1378318367: ('0.0',), 1378318363: ('0.0',), 1378317685: ('0.0',), 1378317616: ('0.0',), 1378317525: ('0.0',), 1378317430: ('0.0',), 1378317356: ('0.0',), 1378317297: ('0.0',), 1378316754: ('0.0',), 1378316751: ('0.0',), 1378316728: ('0.0',), 1378316707: ('0.0',), 1378316682: ('0.0',), 1378316658: ('0.0',), 1378316550: ('0.0',), 1378316219: ('0.0',), 1378316195: ('0.0',), 1378316157: ('0.0',), 1378315870: ('0.0',), 1378315824: ('0.0',), 1378315794: ('0.0',), 1378315736: ('0.0',), 1378315646: ('0.0',), 1378315572: ('0.0',), 1378315346: ('0.0',), 1378315031: ('0.0',), 1378314997: ('0.0',), 1378314938: ('0.0',), 1378314869: ('0.0',), 1378314792: ('0.0',), 1378314720: ('0.0',), 1378314566: ('0.0',), 1378314541: ('0.0',), 1378314135: ('0.0',)} args : 1378318478 depend.output_id : 0 input_args_next_step : {1378321183: ('0.0',), 1378321126: ('0.0',), 1378321054: ('0.0',), 1378321031: ('0.0',), 1378321005: ('0.0',), 1378320260: ('0.0',), 1378320111: ('0.0',), 1378320015: ('0.0',), 1378319921: ('0.0',), 1378319790: ('0.0',), 1378319676: ('0.0',), 1378319223: ('0.0',), 1378318488: ('0.0',), 1378318478: ('0.0',), 1378318367: ()} output_args : {1378321183: ('0.0',), 1378321126: ('0.0',), 1378321054: ('0.0',), 1378321031: ('0.0',), 1378321005: ('0.0',), 1378320260: ('0.0',), 1378320111: ('0.0',), 1378320015: ('0.0',), 1378319921: ('0.0',), 1378319790: ('0.0',), 1378319676: ('0.0',), 1378319223: ('0.0',), 1378318488: ('0.0',), 1378318478: ('0.0',), 1378318367: ('0.0',), 1378318363: ('0.0',), 1378317685: ('0.0',), 1378317616: ('0.0',), 1378317525: ('0.0',), 1378317430: ('0.0',), 1378317356: ('0.0',), 1378317297: ('0.0',), 1378316754: ('0.0',), 1378316751: ('0.0',), 1378316728: ('0.0',), 1378316707: ('0.0',), 1378316682: ('0.0',), 1378316658: ('0.0',), 1378316550: ('0.0',), 1378316219: ('0.0',), 1378316195: ('0.0',), 1378316157: ('0.0',), 1378315870: ('0.0',), 1378315824: ('0.0',), 1378315794: ('0.0',), 1378315736: ('0.0',), 1378315646: ('0.0',), 1378315572: ('0.0',), 1378315346: ('0.0',), 1378315031: ('0.0',), 1378314997: ('0.0',), 1378314938: ('0.0',), 1378314869: ('0.0',), 1378314792: ('0.0',), 1378314720: ('0.0',), 1378314566: ('0.0',), 1378314541: ('0.0',), 1378314135: ('0.0',)} args : 1378318367 depend.output_id : 0 input_args_next_step : {1378321183: ('0.0',), 1378321126: ('0.0',), 1378321054: ('0.0',), 1378321031: ('0.0',), 1378321005: ('0.0',), 1378320260: ('0.0',), 1378320111: ('0.0',), 1378320015: ('0.0',), 1378319921: ('0.0',), 1378319790: ('0.0',), 1378319676: ('0.0',), 1378319223: ('0.0',), 1378318488: ('0.0',), 1378318478: ('0.0',), 1378318367: ('0.0',), 1378318363: ()} output_args : {1378321183: ('0.0',), 1378321126: ('0.0',), 1378321054: ('0.0',), 1378321031: ('0.0',), 1378321005: ('0.0',), 1378320260: ('0.0',), 1378320111: ('0.0',), 1378320015: ('0.0',), 1378319921: ('0.0',), 1378319790: ('0.0',), 1378319676: ('0.0',), 1378319223: ('0.0',), 1378318488: ('0.0',), 1378318478: ('0.0',), 1378318367: ('0.0',), 1378318363: ('0.0',), 1378317685: ('0.0',), 1378317616: ('0.0',), 1378317525: ('0.0',), 1378317430: ('0.0',), 1378317356: ('0.0',), 1378317297: ('0.0',), 1378316754: ('0.0',), 1378316751: ('0.0',), 1378316728: ('0.0',), 1378316707: ('0.0',), 1378316682: ('0.0',), 1378316658: ('0.0',), 1378316550: ('0.0',), 1378316219: ('0.0',), 1378316195: ('0.0',), 1378316157: ('0.0',), 1378315870: ('0.0',), 1378315824: ('0.0',), 1378315794: ('0.0',), 1378315736: ('0.0',), 1378315646: ('0.0',), 1378315572: ('0.0',), 1378315346: ('0.0',), 1378315031: ('0.0',), 1378314997: ('0.0',), 1378314938: ('0.0',), 1378314869: ('0.0',), 1378314792: ('0.0',), 1378314720: ('0.0',), 1378314566: ('0.0',), 1378314541: ('0.0',), 1378314135: ('0.0',)} args : 1378318363 depend.output_id : 0 input_args_next_step : {1378321183: ('0.0',), 1378321126: ('0.0',), 1378321054: ('0.0',), 1378321031: ('0.0',), 1378321005: ('0.0',), 1378320260: ('0.0',), 1378320111: ('0.0',), 1378320015: ('0.0',), 1378319921: ('0.0',), 1378319790: ('0.0',), 1378319676: ('0.0',), 1378319223: ('0.0',), 1378318488: ('0.0',), 1378318478: ('0.0',), 1378318367: ('0.0',), 1378318363: ('0.0',), 1378317685: ()} output_args : {1378321183: ('0.0',), 1378321126: ('0.0',), 1378321054: ('0.0',), 1378321031: ('0.0',), 1378321005: ('0.0',), 1378320260: ('0.0',), 1378320111: ('0.0',), 1378320015: ('0.0',), 1378319921: ('0.0',), 1378319790: ('0.0',), 1378319676: ('0.0',), 1378319223: ('0.0',), 1378318488: ('0.0',), 1378318478: ('0.0',), 1378318367: ('0.0',), 1378318363: ('0.0',), 1378317685: ('0.0',), 1378317616: ('0.0',), 1378317525: ('0.0',), 1378317430: ('0.0',), 1378317356: ('0.0',), 1378317297: ('0.0',), 1378316754: ('0.0',), 1378316751: ('0.0',), 1378316728: ('0.0',), 1378316707: ('0.0',), 1378316682: ('0.0',), 1378316658: ('0.0',), 1378316550: ('0.0',), 1378316219: ('0.0',), 1378316195: ('0.0',), 1378316157: ('0.0',), 1378315870: ('0.0',), 1378315824: ('0.0',), 1378315794: ('0.0',), 1378315736: ('0.0',), 1378315646: ('0.0',), 1378315572: ('0.0',), 1378315346: ('0.0',), 1378315031: ('0.0',), 1378314997: ('0.0',), 1378314938: ('0.0',), 1378314869: ('0.0',), 1378314792: ('0.0',), 1378314720: ('0.0',), 1378314566: ('0.0',), 1378314541: ('0.0',), 1378314135: ('0.0',)} args : 1378317685 depend.output_id : 0 input_args_next_step : {1378321183: ('0.0',), 1378321126: ('0.0',), 1378321054: ('0.0',), 1378321031: ('0.0',), 1378321005: ('0.0',), 1378320260: ('0.0',), 1378320111: ('0.0',), 1378320015: ('0.0',), 1378319921: ('0.0',), 1378319790: ('0.0',), 1378319676: ('0.0',), 1378319223: ('0.0',), 1378318488: ('0.0',), 1378318478: ('0.0',), 1378318367: ('0.0',), 1378318363: ('0.0',), 1378317685: ('0.0',), 1378317616: ()} output_args : {1378321183: ('0.0',), 1378321126: ('0.0',), 1378321054: ('0.0',), 1378321031: ('0.0',), 1378321005: ('0.0',), 1378320260: ('0.0',), 1378320111: ('0.0',), 1378320015: ('0.0',), 1378319921: ('0.0',), 1378319790: ('0.0',), 1378319676: ('0.0',), 1378319223: ('0.0',), 1378318488: ('0.0',), 1378318478: ('0.0',), 1378318367: ('0.0',), 1378318363: ('0.0',), 1378317685: ('0.0',), 1378317616: ('0.0',), 1378317525: ('0.0',), 1378317430: ('0.0',), 1378317356: ('0.0',), 1378317297: ('0.0',), 1378316754: ('0.0',), 1378316751: ('0.0',), 1378316728: ('0.0',), 1378316707: ('0.0',), 1378316682: ('0.0',), 1378316658: ('0.0',), 1378316550: ('0.0',), 1378316219: ('0.0',), 1378316195: ('0.0',), 1378316157: ('0.0',), 1378315870: ('0.0',), 1378315824: ('0.0',), 1378315794: ('0.0',), 1378315736: ('0.0',), 1378315646: ('0.0',), 1378315572: ('0.0',), 1378315346: ('0.0',), 1378315031: ('0.0',), 1378314997: ('0.0',), 1378314938: ('0.0',), 1378314869: ('0.0',), 1378314792: ('0.0',), 1378314720: ('0.0',), 1378314566: ('0.0',), 1378314541: ('0.0',), 1378314135: ('0.0',)} args : 1378317616 depend.output_id : 0 input_args_next_step : {1378321183: ('0.0',), 1378321126: ('0.0',), 1378321054: ('0.0',), 1378321031: ('0.0',), 1378321005: ('0.0',), 1378320260: ('0.0',), 1378320111: ('0.0',), 1378320015: ('0.0',), 1378319921: ('0.0',), 1378319790: ('0.0',), 1378319676: ('0.0',), 1378319223: ('0.0',), 1378318488: ('0.0',), 1378318478: ('0.0',), 1378318367: ('0.0',), 1378318363: ('0.0',), 1378317685: ('0.0',), 1378317616: ('0.0',), 1378317525: ()} output_args : {1378321183: ('0.0',), 1378321126: ('0.0',), 1378321054: ('0.0',), 1378321031: ('0.0',), 1378321005: ('0.0',), 1378320260: ('0.0',), 1378320111: ('0.0',), 1378320015: ('0.0',), 1378319921: ('0.0',), 1378319790: ('0.0',), 1378319676: ('0.0',), 1378319223: ('0.0',), 1378318488: ('0.0',), 1378318478: ('0.0',), 1378318367: ('0.0',), 1378318363: ('0.0',), 1378317685: ('0.0',), 1378317616: ('0.0',), 1378317525: ('0.0',), 1378317430: ('0.0',), 1378317356: ('0.0',), 1378317297: ('0.0',), 1378316754: ('0.0',), 1378316751: ('0.0',), 1378316728: ('0.0',), 1378316707: ('0.0',), 1378316682: ('0.0',), 1378316658: ('0.0',), 1378316550: ('0.0',), 1378316219: ('0.0',), 1378316195: ('0.0',), 1378316157: ('0.0',), 1378315870: ('0.0',), 1378315824: ('0.0',), 1378315794: ('0.0',), 1378315736: ('0.0',), 1378315646: ('0.0',), 1378315572: ('0.0',), 1378315346: ('0.0',), 1378315031: ('0.0',), 1378314997: ('0.0',), 1378314938: ('0.0',), 1378314869: ('0.0',), 1378314792: ('0.0',), 1378314720: ('0.0',), 1378314566: ('0.0',), 1378314541: ('0.0',), 1378314135: ('0.0',)} args : 1378317525 depend.output_id : 0 input_args_next_step : {1378321183: ('0.0',), 1378321126: ('0.0',), 1378321054: ('0.0',), 1378321031: ('0.0',), 1378321005: ('0.0',), 1378320260: ('0.0',), 1378320111: ('0.0',), 1378320015: ('0.0',), 1378319921: ('0.0',), 1378319790: ('0.0',), 1378319676: ('0.0',), 1378319223: ('0.0',), 1378318488: ('0.0',), 1378318478: ('0.0',), 1378318367: ('0.0',), 1378318363: ('0.0',), 1378317685: ('0.0',), 1378317616: ('0.0',), 1378317525: ('0.0',), 1378317430: ()} output_args : {1378321183: ('0.0',), 1378321126: ('0.0',), 1378321054: ('0.0',), 1378321031: ('0.0',), 1378321005: ('0.0',), 1378320260: ('0.0',), 1378320111: ('0.0',), 1378320015: ('0.0',), 1378319921: ('0.0',), 1378319790: ('0.0',), 1378319676: ('0.0',), 1378319223: ('0.0',), 1378318488: ('0.0',), 1378318478: ('0.0',), 1378318367: ('0.0',), 1378318363: ('0.0',), 1378317685: ('0.0',), 1378317616: ('0.0',), 1378317525: ('0.0',), 1378317430: ('0.0',), 1378317356: ('0.0',), 1378317297: ('0.0',), 1378316754: ('0.0',), 1378316751: ('0.0',), 1378316728: ('0.0',), 1378316707: ('0.0',), 1378316682: ('0.0',), 1378316658: ('0.0',), 1378316550: ('0.0',), 1378316219: ('0.0',), 1378316195: ('0.0',), 1378316157: ('0.0',), 1378315870: ('0.0',), 1378315824: ('0.0',), 1378315794: ('0.0',), 1378315736: ('0.0',), 1378315646: ('0.0',), 1378315572: ('0.0',), 1378315346: ('0.0',), 1378315031: ('0.0',), 1378314997: ('0.0',), 1378314938: ('0.0',), 1378314869: ('0.0',), 1378314792: ('0.0',), 1378314720: ('0.0',), 1378314566: ('0.0',), 1378314541: ('0.0',), 1378314135: ('0.0',)} args : 1378317430 depend.output_id : 0 input_args_next_step : {1378321183: ('0.0',), 1378321126: ('0.0',), 1378321054: ('0.0',), 1378321031: ('0.0',), 1378321005: ('0.0',), 1378320260: ('0.0',), 1378320111: ('0.0',), 1378320015: ('0.0',), 1378319921: ('0.0',), 1378319790: ('0.0',), 1378319676: ('0.0',), 1378319223: ('0.0',), 1378318488: ('0.0',), 1378318478: ('0.0',), 1378318367: ('0.0',), 1378318363: ('0.0',), 1378317685: ('0.0',), 1378317616: ('0.0',), 1378317525: ('0.0',), 1378317430: ('0.0',), 1378317356: ()} output_args : {1378321183: ('0.0',), 1378321126: ('0.0',), 1378321054: ('0.0',), 1378321031: ('0.0',), 1378321005: ('0.0',), 1378320260: ('0.0',), 1378320111: ('0.0',), 1378320015: ('0.0',), 1378319921: ('0.0',), 1378319790: ('0.0',), 1378319676: ('0.0',), 1378319223: ('0.0',), 1378318488: ('0.0',), 1378318478: ('0.0',), 1378318367: ('0.0',), 1378318363: ('0.0',), 1378317685: ('0.0',), 1378317616: ('0.0',), 1378317525: ('0.0',), 1378317430: ('0.0',), 1378317356: ('0.0',), 1378317297: ('0.0',), 1378316754: ('0.0',), 1378316751: ('0.0',), 1378316728: ('0.0',), 1378316707: ('0.0',), 1378316682: ('0.0',), 1378316658: ('0.0',), 1378316550: ('0.0',), 1378316219: ('0.0',), 1378316195: ('0.0',), 1378316157: ('0.0',), 1378315870: ('0.0',), 1378315824: ('0.0',), 1378315794: ('0.0',), 1378315736: ('0.0',), 1378315646: ('0.0',), 1378315572: ('0.0',), 1378315346: ('0.0',), 1378315031: ('0.0',), 1378314997: ('0.0',), 1378314938: ('0.0',), 1378314869: ('0.0',), 1378314792: ('0.0',), 1378314720: ('0.0',), 1378314566: ('0.0',), 1378314541: ('0.0',), 1378314135: ('0.0',)} args : 1378317356 depend.output_id : 0 input_args_next_step : {1378321183: ('0.0',), 1378321126: ('0.0',), 1378321054: ('0.0',), 1378321031: ('0.0',), 1378321005: ('0.0',), 1378320260: ('0.0',), 1378320111: ('0.0',), 1378320015: ('0.0',), 1378319921: ('0.0',), 1378319790: ('0.0',), 1378319676: ('0.0',), 1378319223: ('0.0',), 1378318488: ('0.0',), 1378318478: ('0.0',), 1378318367: ('0.0',), 1378318363: ('0.0',), 1378317685: ('0.0',), 1378317616: ('0.0',), 1378317525: ('0.0',), 1378317430: ('0.0',), 1378317356: ('0.0',), 1378317297: ()} output_args : {1378321183: ('0.0',), 1378321126: ('0.0',), 1378321054: ('0.0',), 1378321031: ('0.0',), 1378321005: ('0.0',), 1378320260: ('0.0',), 1378320111: ('0.0',), 1378320015: ('0.0',), 1378319921: ('0.0',), 1378319790: ('0.0',), 1378319676: ('0.0',), 1378319223: ('0.0',), 1378318488: ('0.0',), 1378318478: ('0.0',), 1378318367: ('0.0',), 1378318363: ('0.0',), 1378317685: ('0.0',), 1378317616: ('0.0',), 1378317525: ('0.0',), 1378317430: ('0.0',), 1378317356: ('0.0',), 1378317297: ('0.0',), 1378316754: ('0.0',), 1378316751: ('0.0',), 1378316728: ('0.0',), 1378316707: ('0.0',), 1378316682: ('0.0',), 1378316658: ('0.0',), 1378316550: ('0.0',), 1378316219: ('0.0',), 1378316195: ('0.0',), 1378316157: ('0.0',), 1378315870: ('0.0',), 1378315824: ('0.0',), 1378315794: ('0.0',), 1378315736: ('0.0',), 1378315646: ('0.0',), 1378315572: ('0.0',), 1378315346: ('0.0',), 1378315031: ('0.0',), 1378314997: ('0.0',), 1378314938: ('0.0',), 1378314869: ('0.0',), 1378314792: ('0.0',), 1378314720: ('0.0',), 1378314566: ('0.0',), 1378314541: ('0.0',), 1378314135: ('0.0',)} args : 1378317297 depend.output_id : 0 input_args_next_step : {1378321183: ('0.0',), 1378321126: ('0.0',), 1378321054: ('0.0',), 1378321031: ('0.0',), 1378321005: ('0.0',), 1378320260: ('0.0',), 1378320111: ('0.0',), 1378320015: ('0.0',), 1378319921: ('0.0',), 1378319790: ('0.0',), 1378319676: ('0.0',), 1378319223: ('0.0',), 1378318488: ('0.0',), 1378318478: ('0.0',), 1378318367: ('0.0',), 1378318363: ('0.0',), 1378317685: ('0.0',), 1378317616: ('0.0',), 1378317525: ('0.0',), 1378317430: ('0.0',), 1378317356: ('0.0',), 1378317297: ('0.0',), 1378316754: ()} output_args : {1378321183: ('0.0',), 1378321126: ('0.0',), 1378321054: ('0.0',), 1378321031: ('0.0',), 1378321005: ('0.0',), 1378320260: ('0.0',), 1378320111: ('0.0',), 1378320015: ('0.0',), 1378319921: ('0.0',), 1378319790: ('0.0',), 1378319676: ('0.0',), 1378319223: ('0.0',), 1378318488: ('0.0',), 1378318478: ('0.0',), 1378318367: ('0.0',), 1378318363: ('0.0',), 1378317685: ('0.0',), 1378317616: ('0.0',), 1378317525: ('0.0',), 1378317430: ('0.0',), 1378317356: ('0.0',), 1378317297: ('0.0',), 1378316754: ('0.0',), 1378316751: ('0.0',), 1378316728: ('0.0',), 1378316707: ('0.0',), 1378316682: ('0.0',), 1378316658: ('0.0',), 1378316550: ('0.0',), 1378316219: ('0.0',), 1378316195: ('0.0',), 1378316157: ('0.0',), 1378315870: ('0.0',), 1378315824: ('0.0',), 1378315794: ('0.0',), 1378315736: ('0.0',), 1378315646: ('0.0',), 1378315572: ('0.0',), 1378315346: ('0.0',), 1378315031: ('0.0',), 1378314997: ('0.0',), 1378314938: ('0.0',), 1378314869: ('0.0',), 1378314792: ('0.0',), 1378314720: ('0.0',), 1378314566: ('0.0',), 1378314541: ('0.0',), 1378314135: ('0.0',)} args : 1378316754 depend.output_id : 0 input_args_next_step : {1378321183: ('0.0',), 1378321126: ('0.0',), 1378321054: ('0.0',), 1378321031: ('0.0',), 1378321005: ('0.0',), 1378320260: ('0.0',), 1378320111: ('0.0',), 1378320015: ('0.0',), 1378319921: ('0.0',), 1378319790: ('0.0',), 1378319676: ('0.0',), 1378319223: ('0.0',), 1378318488: ('0.0',), 1378318478: ('0.0',), 1378318367: ('0.0',), 1378318363: ('0.0',), 1378317685: ('0.0',), 1378317616: ('0.0',), 1378317525: ('0.0',), 1378317430: ('0.0',), 1378317356: ('0.0',), 1378317297: ('0.0',), 1378316754: ('0.0',), 1378316751: ()} output_args : {1378321183: ('0.0',), 1378321126: ('0.0',), 1378321054: ('0.0',), 1378321031: ('0.0',), 1378321005: ('0.0',), 1378320260: ('0.0',), 1378320111: ('0.0',), 1378320015: ('0.0',), 1378319921: ('0.0',), 1378319790: ('0.0',), 1378319676: ('0.0',), 1378319223: ('0.0',), 1378318488: ('0.0',), 1378318478: ('0.0',), 1378318367: ('0.0',), 1378318363: ('0.0',), 1378317685: ('0.0',), 1378317616: ('0.0',), 1378317525: ('0.0',), 1378317430: ('0.0',), 1378317356: ('0.0',), 1378317297: ('0.0',), 1378316754: ('0.0',), 1378316751: ('0.0',), 1378316728: ('0.0',), 1378316707: ('0.0',), 1378316682: ('0.0',), 1378316658: ('0.0',), 1378316550: ('0.0',), 1378316219: ('0.0',), 1378316195: ('0.0',), 1378316157: ('0.0',), 1378315870: ('0.0',), 1378315824: ('0.0',), 1378315794: ('0.0',), 1378315736: ('0.0',), 1378315646: ('0.0',), 1378315572: ('0.0',), 1378315346: ('0.0',), 1378315031: ('0.0',), 1378314997: ('0.0',), 1378314938: ('0.0',), 1378314869: ('0.0',), 1378314792: ('0.0',), 1378314720: ('0.0',), 1378314566: ('0.0',), 1378314541: ('0.0',), 1378314135: ('0.0',)} args : 1378316751 depend.output_id : 0 input_args_next_step : {1378321183: ('0.0',), 1378321126: ('0.0',), 1378321054: ('0.0',), 1378321031: ('0.0',), 1378321005: ('0.0',), 1378320260: ('0.0',), 1378320111: ('0.0',), 1378320015: ('0.0',), 1378319921: ('0.0',), 1378319790: ('0.0',), 1378319676: ('0.0',), 1378319223: ('0.0',), 1378318488: ('0.0',), 1378318478: ('0.0',), 1378318367: ('0.0',), 1378318363: ('0.0',), 1378317685: ('0.0',), 1378317616: ('0.0',), 1378317525: ('0.0',), 1378317430: ('0.0',), 1378317356: ('0.0',), 1378317297: ('0.0',), 1378316754: ('0.0',), 1378316751: ('0.0',), 1378316728: ()} output_args : {1378321183: ('0.0',), 1378321126: ('0.0',), 1378321054: ('0.0',), 1378321031: ('0.0',), 1378321005: ('0.0',), 1378320260: ('0.0',), 1378320111: ('0.0',), 1378320015: ('0.0',), 1378319921: ('0.0',), 1378319790: ('0.0',), 1378319676: ('0.0',), 1378319223: ('0.0',), 1378318488: ('0.0',), 1378318478: ('0.0',), 1378318367: ('0.0',), 1378318363: ('0.0',), 1378317685: ('0.0',), 1378317616: ('0.0',), 1378317525: ('0.0',), 1378317430: ('0.0',), 1378317356: ('0.0',), 1378317297: ('0.0',), 1378316754: ('0.0',), 1378316751: ('0.0',), 1378316728: ('0.0',), 1378316707: ('0.0',), 1378316682: ('0.0',), 1378316658: ('0.0',), 1378316550: ('0.0',), 1378316219: ('0.0',), 1378316195: ('0.0',), 1378316157: ('0.0',), 1378315870: ('0.0',), 1378315824: ('0.0',), 1378315794: ('0.0',), 1378315736: ('0.0',), 1378315646: ('0.0',), 1378315572: ('0.0',), 1378315346: ('0.0',), 1378315031: ('0.0',), 1378314997: ('0.0',), 1378314938: ('0.0',), 1378314869: ('0.0',), 1378314792: ('0.0',), 1378314720: ('0.0',), 1378314566: ('0.0',), 1378314541: ('0.0',), 1378314135: ('0.0',)} args : 1378316728 depend.output_id : 0 input_args_next_step : {1378321183: ('0.0',), 1378321126: ('0.0',), 1378321054: ('0.0',), 1378321031: ('0.0',), 1378321005: ('0.0',), 1378320260: ('0.0',), 1378320111: ('0.0',), 1378320015: ('0.0',), 1378319921: ('0.0',), 1378319790: ('0.0',), 1378319676: ('0.0',), 1378319223: ('0.0',), 1378318488: ('0.0',), 1378318478: ('0.0',), 1378318367: ('0.0',), 1378318363: ('0.0',), 1378317685: ('0.0',), 1378317616: ('0.0',), 1378317525: ('0.0',), 1378317430: ('0.0',), 1378317356: ('0.0',), 1378317297: ('0.0',), 1378316754: ('0.0',), 1378316751: ('0.0',), 1378316728: ('0.0',), 1378316707: ()} output_args : {1378321183: ('0.0',), 1378321126: ('0.0',), 1378321054: ('0.0',), 1378321031: ('0.0',), 1378321005: ('0.0',), 1378320260: ('0.0',), 1378320111: ('0.0',), 1378320015: ('0.0',), 1378319921: ('0.0',), 1378319790: ('0.0',), 1378319676: ('0.0',), 1378319223: ('0.0',), 1378318488: ('0.0',), 1378318478: ('0.0',), 1378318367: ('0.0',), 1378318363: ('0.0',), 1378317685: ('0.0',), 1378317616: ('0.0',), 1378317525: ('0.0',), 1378317430: ('0.0',), 1378317356: ('0.0',), 1378317297: ('0.0',), 1378316754: ('0.0',), 1378316751: ('0.0',), 1378316728: ('0.0',), 1378316707: ('0.0',), 1378316682: ('0.0',), 1378316658: ('0.0',), 1378316550: ('0.0',), 1378316219: ('0.0',), 1378316195: ('0.0',), 1378316157: ('0.0',), 1378315870: ('0.0',), 1378315824: ('0.0',), 1378315794: ('0.0',), 1378315736: ('0.0',), 1378315646: ('0.0',), 1378315572: ('0.0',), 1378315346: ('0.0',), 1378315031: ('0.0',), 1378314997: ('0.0',), 1378314938: ('0.0',), 1378314869: ('0.0',), 1378314792: ('0.0',), 1378314720: ('0.0',), 1378314566: ('0.0',), 1378314541: ('0.0',), 1378314135: ('0.0',)} args : 1378316707 depend.output_id : 0 input_args_next_step : {1378321183: ('0.0',), 1378321126: ('0.0',), 1378321054: ('0.0',), 1378321031: ('0.0',), 1378321005: ('0.0',), 1378320260: ('0.0',), 1378320111: ('0.0',), 1378320015: ('0.0',), 1378319921: ('0.0',), 1378319790: ('0.0',), 1378319676: ('0.0',), 1378319223: ('0.0',), 1378318488: ('0.0',), 1378318478: ('0.0',), 1378318367: ('0.0',), 1378318363: ('0.0',), 1378317685: ('0.0',), 1378317616: ('0.0',), 1378317525: ('0.0',), 1378317430: ('0.0',), 1378317356: ('0.0',), 1378317297: ('0.0',), 1378316754: ('0.0',), 1378316751: ('0.0',), 1378316728: ('0.0',), 1378316707: ('0.0',), 1378316682: ()} output_args : {1378321183: ('0.0',), 1378321126: ('0.0',), 1378321054: ('0.0',), 1378321031: ('0.0',), 1378321005: ('0.0',), 1378320260: ('0.0',), 1378320111: ('0.0',), 1378320015: ('0.0',), 1378319921: ('0.0',), 1378319790: ('0.0',), 1378319676: ('0.0',), 1378319223: ('0.0',), 1378318488: ('0.0',), 1378318478: ('0.0',), 1378318367: ('0.0',), 1378318363: ('0.0',), 1378317685: ('0.0',), 1378317616: ('0.0',), 1378317525: ('0.0',), 1378317430: ('0.0',), 1378317356: ('0.0',), 1378317297: ('0.0',), 1378316754: ('0.0',), 1378316751: ('0.0',), 1378316728: ('0.0',), 1378316707: ('0.0',), 1378316682: ('0.0',), 1378316658: ('0.0',), 1378316550: ('0.0',), 1378316219: ('0.0',), 1378316195: ('0.0',), 1378316157: ('0.0',), 1378315870: ('0.0',), 1378315824: ('0.0',), 1378315794: ('0.0',), 1378315736: ('0.0',), 1378315646: ('0.0',), 1378315572: ('0.0',), 1378315346: ('0.0',), 1378315031: ('0.0',), 1378314997: ('0.0',), 1378314938: ('0.0',), 1378314869: ('0.0',), 1378314792: ('0.0',), 1378314720: ('0.0',), 1378314566: ('0.0',), 1378314541: ('0.0',), 1378314135: ('0.0',)} args : 1378316682 depend.output_id : 0 input_args_next_step : {1378321183: ('0.0',), 1378321126: ('0.0',), 1378321054: ('0.0',), 1378321031: ('0.0',), 1378321005: ('0.0',), 1378320260: ('0.0',), 1378320111: ('0.0',), 1378320015: ('0.0',), 1378319921: ('0.0',), 1378319790: ('0.0',), 1378319676: ('0.0',), 1378319223: ('0.0',), 1378318488: ('0.0',), 1378318478: ('0.0',), 1378318367: ('0.0',), 1378318363: ('0.0',), 1378317685: ('0.0',), 1378317616: ('0.0',), 1378317525: ('0.0',), 1378317430: ('0.0',), 1378317356: ('0.0',), 1378317297: ('0.0',), 1378316754: ('0.0',), 1378316751: ('0.0',), 1378316728: ('0.0',), 1378316707: ('0.0',), 1378316682: ('0.0',), 1378316658: ()} output_args : {1378321183: ('0.0',), 1378321126: ('0.0',), 1378321054: ('0.0',), 1378321031: ('0.0',), 1378321005: ('0.0',), 1378320260: ('0.0',), 1378320111: ('0.0',), 1378320015: ('0.0',), 1378319921: ('0.0',), 1378319790: ('0.0',), 1378319676: ('0.0',), 1378319223: ('0.0',), 1378318488: ('0.0',), 1378318478: ('0.0',), 1378318367: ('0.0',), 1378318363: ('0.0',), 1378317685: ('0.0',), 1378317616: ('0.0',), 1378317525: ('0.0',), 1378317430: ('0.0',), 1378317356: ('0.0',), 1378317297: ('0.0',), 1378316754: ('0.0',), 1378316751: ('0.0',), 1378316728: ('0.0',), 1378316707: ('0.0',), 1378316682: ('0.0',), 1378316658: ('0.0',), 1378316550: ('0.0',), 1378316219: ('0.0',), 1378316195: ('0.0',), 1378316157: ('0.0',), 1378315870: ('0.0',), 1378315824: ('0.0',), 1378315794: ('0.0',), 1378315736: ('0.0',), 1378315646: ('0.0',), 1378315572: ('0.0',), 1378315346: ('0.0',), 1378315031: ('0.0',), 1378314997: ('0.0',), 1378314938: ('0.0',), 1378314869: ('0.0',), 1378314792: ('0.0',), 1378314720: ('0.0',), 1378314566: ('0.0',), 1378314541: ('0.0',), 1378314135: ('0.0',)} args : 1378316658 depend.output_id : 0 input_args_next_step : {1378321183: ('0.0',), 1378321126: ('0.0',), 1378321054: ('0.0',), 1378321031: ('0.0',), 1378321005: ('0.0',), 1378320260: ('0.0',), 1378320111: ('0.0',), 1378320015: ('0.0',), 1378319921: ('0.0',), 1378319790: ('0.0',), 1378319676: ('0.0',), 1378319223: ('0.0',), 1378318488: ('0.0',), 1378318478: ('0.0',), 1378318367: ('0.0',), 1378318363: ('0.0',), 1378317685: ('0.0',), 1378317616: ('0.0',), 1378317525: ('0.0',), 1378317430: ('0.0',), 1378317356: ('0.0',), 1378317297: ('0.0',), 1378316754: ('0.0',), 1378316751: ('0.0',), 1378316728: ('0.0',), 1378316707: ('0.0',), 1378316682: ('0.0',), 1378316658: ('0.0',), 1378316550: ()} output_args : {1378321183: ('0.0',), 1378321126: ('0.0',), 1378321054: ('0.0',), 1378321031: ('0.0',), 1378321005: ('0.0',), 1378320260: ('0.0',), 1378320111: ('0.0',), 1378320015: ('0.0',), 1378319921: ('0.0',), 1378319790: ('0.0',), 1378319676: ('0.0',), 1378319223: ('0.0',), 1378318488: ('0.0',), 1378318478: ('0.0',), 1378318367: ('0.0',), 1378318363: ('0.0',), 1378317685: ('0.0',), 1378317616: ('0.0',), 1378317525: ('0.0',), 1378317430: ('0.0',), 1378317356: ('0.0',), 1378317297: ('0.0',), 1378316754: ('0.0',), 1378316751: ('0.0',), 1378316728: ('0.0',), 1378316707: ('0.0',), 1378316682: ('0.0',), 1378316658: ('0.0',), 1378316550: ('0.0',), 1378316219: ('0.0',), 1378316195: ('0.0',), 1378316157: ('0.0',), 1378315870: ('0.0',), 1378315824: ('0.0',), 1378315794: ('0.0',), 1378315736: ('0.0',), 1378315646: ('0.0',), 1378315572: ('0.0',), 1378315346: ('0.0',), 1378315031: ('0.0',), 1378314997: ('0.0',), 1378314938: ('0.0',), 1378314869: ('0.0',), 1378314792: ('0.0',), 1378314720: ('0.0',), 1378314566: ('0.0',), 1378314541: ('0.0',), 1378314135: ('0.0',)} args : 1378316550 depend.output_id : 0 input_args_next_step : {1378321183: ('0.0',), 1378321126: ('0.0',), 1378321054: ('0.0',), 1378321031: ('0.0',), 1378321005: ('0.0',), 1378320260: ('0.0',), 1378320111: ('0.0',), 1378320015: ('0.0',), 1378319921: ('0.0',), 1378319790: ('0.0',), 1378319676: ('0.0',), 1378319223: ('0.0',), 1378318488: ('0.0',), 1378318478: ('0.0',), 1378318367: ('0.0',), 1378318363: ('0.0',), 1378317685: ('0.0',), 1378317616: ('0.0',), 1378317525: ('0.0',), 1378317430: ('0.0',), 1378317356: ('0.0',), 1378317297: ('0.0',), 1378316754: ('0.0',), 1378316751: ('0.0',), 1378316728: ('0.0',), 1378316707: ('0.0',), 1378316682: ('0.0',), 1378316658: ('0.0',), 1378316550: ('0.0',), 1378316219: ()} output_args : {1378321183: ('0.0',), 1378321126: ('0.0',), 1378321054: ('0.0',), 1378321031: ('0.0',), 1378321005: ('0.0',), 1378320260: ('0.0',), 1378320111: ('0.0',), 1378320015: ('0.0',), 1378319921: ('0.0',), 1378319790: ('0.0',), 1378319676: ('0.0',), 1378319223: ('0.0',), 1378318488: ('0.0',), 1378318478: ('0.0',), 1378318367: ('0.0',), 1378318363: ('0.0',), 1378317685: ('0.0',), 1378317616: ('0.0',), 1378317525: ('0.0',), 1378317430: ('0.0',), 1378317356: ('0.0',), 1378317297: ('0.0',), 1378316754: ('0.0',), 1378316751: ('0.0',), 1378316728: ('0.0',), 1378316707: ('0.0',), 1378316682: ('0.0',), 1378316658: ('0.0',), 1378316550: ('0.0',), 1378316219: ('0.0',), 1378316195: ('0.0',), 1378316157: ('0.0',), 1378315870: ('0.0',), 1378315824: ('0.0',), 1378315794: ('0.0',), 1378315736: ('0.0',), 1378315646: ('0.0',), 1378315572: ('0.0',), 1378315346: ('0.0',), 1378315031: ('0.0',), 1378314997: ('0.0',), 1378314938: ('0.0',), 1378314869: ('0.0',), 1378314792: ('0.0',), 1378314720: ('0.0',), 1378314566: ('0.0',), 1378314541: ('0.0',), 1378314135: ('0.0',)} args : 1378316219 depend.output_id : 0 input_args_next_step : {1378321183: ('0.0',), 1378321126: ('0.0',), 1378321054: ('0.0',), 1378321031: ('0.0',), 1378321005: ('0.0',), 1378320260: ('0.0',), 1378320111: ('0.0',), 1378320015: ('0.0',), 1378319921: ('0.0',), 1378319790: ('0.0',), 1378319676: ('0.0',), 1378319223: ('0.0',), 1378318488: ('0.0',), 1378318478: ('0.0',), 1378318367: ('0.0',), 1378318363: ('0.0',), 1378317685: ('0.0',), 1378317616: ('0.0',), 1378317525: ('0.0',), 1378317430: ('0.0',), 1378317356: ('0.0',), 1378317297: ('0.0',), 1378316754: ('0.0',), 1378316751: ('0.0',), 1378316728: ('0.0',), 1378316707: ('0.0',), 1378316682: ('0.0',), 1378316658: ('0.0',), 1378316550: ('0.0',), 1378316219: ('0.0',), 1378316195: ()} output_args : {1378321183: ('0.0',), 1378321126: ('0.0',), 1378321054: ('0.0',), 1378321031: ('0.0',), 1378321005: ('0.0',), 1378320260: ('0.0',), 1378320111: ('0.0',), 1378320015: ('0.0',), 1378319921: ('0.0',), 1378319790: ('0.0',), 1378319676: ('0.0',), 1378319223: ('0.0',), 1378318488: ('0.0',), 1378318478: ('0.0',), 1378318367: ('0.0',), 1378318363: ('0.0',), 1378317685: ('0.0',), 1378317616: ('0.0',), 1378317525: ('0.0',), 1378317430: ('0.0',), 1378317356: ('0.0',), 1378317297: ('0.0',), 1378316754: ('0.0',), 1378316751: ('0.0',), 1378316728: ('0.0',), 1378316707: ('0.0',), 1378316682: ('0.0',), 1378316658: ('0.0',), 1378316550: ('0.0',), 1378316219: ('0.0',), 1378316195: ('0.0',), 1378316157: ('0.0',), 1378315870: ('0.0',), 1378315824: ('0.0',), 1378315794: ('0.0',), 1378315736: ('0.0',), 1378315646: ('0.0',), 1378315572: ('0.0',), 1378315346: ('0.0',), 1378315031: ('0.0',), 1378314997: ('0.0',), 1378314938: ('0.0',), 1378314869: ('0.0',), 1378314792: ('0.0',), 1378314720: ('0.0',), 1378314566: ('0.0',), 1378314541: ('0.0',), 1378314135: ('0.0',)} args : 1378316195 depend.output_id : 0 input_args_next_step : {1378321183: ('0.0',), 1378321126: ('0.0',), 1378321054: ('0.0',), 1378321031: ('0.0',), 1378321005: ('0.0',), 1378320260: ('0.0',), 1378320111: ('0.0',), 1378320015: ('0.0',), 1378319921: ('0.0',), 1378319790: ('0.0',), 1378319676: ('0.0',), 1378319223: ('0.0',), 1378318488: ('0.0',), 1378318478: ('0.0',), 1378318367: ('0.0',), 1378318363: ('0.0',), 1378317685: ('0.0',), 1378317616: ('0.0',), 1378317525: ('0.0',), 1378317430: ('0.0',), 1378317356: ('0.0',), 1378317297: ('0.0',), 1378316754: ('0.0',), 1378316751: ('0.0',), 1378316728: ('0.0',), 1378316707: ('0.0',), 1378316682: ('0.0',), 1378316658: ('0.0',), 1378316550: ('0.0',), 1378316219: ('0.0',), 1378316195: ('0.0',), 1378316157: ()} output_args : {1378321183: ('0.0',), 1378321126: ('0.0',), 1378321054: ('0.0',), 1378321031: ('0.0',), 1378321005: ('0.0',), 1378320260: ('0.0',), 1378320111: ('0.0',), 1378320015: ('0.0',), 1378319921: ('0.0',), 1378319790: ('0.0',), 1378319676: ('0.0',), 1378319223: ('0.0',), 1378318488: ('0.0',), 1378318478: ('0.0',), 1378318367: ('0.0',), 1378318363: ('0.0',), 1378317685: ('0.0',), 1378317616: ('0.0',), 1378317525: ('0.0',), 1378317430: ('0.0',), 1378317356: ('0.0',), 1378317297: ('0.0',), 1378316754: ('0.0',), 1378316751: ('0.0',), 1378316728: ('0.0',), 1378316707: ('0.0',), 1378316682: ('0.0',), 1378316658: ('0.0',), 1378316550: ('0.0',), 1378316219: ('0.0',), 1378316195: ('0.0',), 1378316157: ('0.0',), 1378315870: ('0.0',), 1378315824: ('0.0',), 1378315794: ('0.0',), 1378315736: ('0.0',), 1378315646: ('0.0',), 1378315572: ('0.0',), 1378315346: ('0.0',), 1378315031: ('0.0',), 1378314997: ('0.0',), 1378314938: ('0.0',), 1378314869: ('0.0',), 1378314792: ('0.0',), 1378314720: ('0.0',), 1378314566: ('0.0',), 1378314541: ('0.0',), 1378314135: ('0.0',)} args : 1378316157 depend.output_id : 0 input_args_next_step : {1378321183: ('0.0',), 1378321126: ('0.0',), 1378321054: ('0.0',), 1378321031: ('0.0',), 1378321005: ('0.0',), 1378320260: ('0.0',), 1378320111: ('0.0',), 1378320015: ('0.0',), 1378319921: ('0.0',), 1378319790: ('0.0',), 1378319676: ('0.0',), 1378319223: ('0.0',), 1378318488: ('0.0',), 1378318478: ('0.0',), 1378318367: ('0.0',), 1378318363: ('0.0',), 1378317685: ('0.0',), 1378317616: ('0.0',), 1378317525: ('0.0',), 1378317430: ('0.0',), 1378317356: ('0.0',), 1378317297: ('0.0',), 1378316754: ('0.0',), 1378316751: ('0.0',), 1378316728: ('0.0',), 1378316707: ('0.0',), 1378316682: ('0.0',), 1378316658: ('0.0',), 1378316550: ('0.0',), 1378316219: ('0.0',), 1378316195: ('0.0',), 1378316157: ('0.0',), 1378315870: ()} output_args : {1378321183: ('0.0',), 1378321126: ('0.0',), 1378321054: ('0.0',), 1378321031: ('0.0',), 1378321005: ('0.0',), 1378320260: ('0.0',), 1378320111: ('0.0',), 1378320015: ('0.0',), 1378319921: ('0.0',), 1378319790: ('0.0',), 1378319676: ('0.0',), 1378319223: ('0.0',), 1378318488: ('0.0',), 1378318478: ('0.0',), 1378318367: ('0.0',), 1378318363: ('0.0',), 1378317685: ('0.0',), 1378317616: ('0.0',), 1378317525: ('0.0',), 1378317430: ('0.0',), 1378317356: ('0.0',), 1378317297: ('0.0',), 1378316754: ('0.0',), 1378316751: ('0.0',), 1378316728: ('0.0',), 1378316707: ('0.0',), 1378316682: ('0.0',), 1378316658: ('0.0',), 1378316550: ('0.0',), 1378316219: ('0.0',), 1378316195: ('0.0',), 1378316157: ('0.0',), 1378315870: ('0.0',), 1378315824: ('0.0',), 1378315794: ('0.0',), 1378315736: ('0.0',), 1378315646: ('0.0',), 1378315572: ('0.0',), 1378315346: ('0.0',), 1378315031: ('0.0',), 1378314997: ('0.0',), 1378314938: ('0.0',), 1378314869: ('0.0',), 1378314792: ('0.0',), 1378314720: ('0.0',), 1378314566: ('0.0',), 1378314541: ('0.0',), 1378314135: ('0.0',)} args : 1378315870 depend.output_id : 0 input_args_next_step : {1378321183: ('0.0',), 1378321126: ('0.0',), 1378321054: ('0.0',), 1378321031: ('0.0',), 1378321005: ('0.0',), 1378320260: ('0.0',), 1378320111: ('0.0',), 1378320015: ('0.0',), 1378319921: ('0.0',), 1378319790: ('0.0',), 1378319676: ('0.0',), 1378319223: ('0.0',), 1378318488: ('0.0',), 1378318478: ('0.0',), 1378318367: ('0.0',), 1378318363: ('0.0',), 1378317685: ('0.0',), 1378317616: ('0.0',), 1378317525: ('0.0',), 1378317430: ('0.0',), 1378317356: ('0.0',), 1378317297: ('0.0',), 1378316754: ('0.0',), 1378316751: ('0.0',), 1378316728: ('0.0',), 1378316707: ('0.0',), 1378316682: ('0.0',), 1378316658: ('0.0',), 1378316550: ('0.0',), 1378316219: ('0.0',), 1378316195: ('0.0',), 1378316157: ('0.0',), 1378315870: ('0.0',), 1378315824: ()} output_args : {1378321183: ('0.0',), 1378321126: ('0.0',), 1378321054: ('0.0',), 1378321031: ('0.0',), 1378321005: ('0.0',), 1378320260: ('0.0',), 1378320111: ('0.0',), 1378320015: ('0.0',), 1378319921: ('0.0',), 1378319790: ('0.0',), 1378319676: ('0.0',), 1378319223: ('0.0',), 1378318488: ('0.0',), 1378318478: ('0.0',), 1378318367: ('0.0',), 1378318363: ('0.0',), 1378317685: ('0.0',), 1378317616: ('0.0',), 1378317525: ('0.0',), 1378317430: ('0.0',), 1378317356: ('0.0',), 1378317297: ('0.0',), 1378316754: ('0.0',), 1378316751: ('0.0',), 1378316728: ('0.0',), 1378316707: ('0.0',), 1378316682: ('0.0',), 1378316658: ('0.0',), 1378316550: ('0.0',), 1378316219: ('0.0',), 1378316195: ('0.0',), 1378316157: ('0.0',), 1378315870: ('0.0',), 1378315824: ('0.0',), 1378315794: ('0.0',), 1378315736: ('0.0',), 1378315646: ('0.0',), 1378315572: ('0.0',), 1378315346: ('0.0',), 1378315031: ('0.0',), 1378314997: ('0.0',), 1378314938: ('0.0',), 1378314869: ('0.0',), 1378314792: ('0.0',), 1378314720: ('0.0',), 1378314566: ('0.0',), 1378314541: ('0.0',), 1378314135: ('0.0',)} args : 1378315824 depend.output_id : 0 input_args_next_step : {1378321183: ('0.0',), 1378321126: ('0.0',), 1378321054: ('0.0',), 1378321031: ('0.0',), 1378321005: ('0.0',), 1378320260: ('0.0',), 1378320111: ('0.0',), 1378320015: ('0.0',), 1378319921: ('0.0',), 1378319790: ('0.0',), 1378319676: ('0.0',), 1378319223: ('0.0',), 1378318488: ('0.0',), 1378318478: ('0.0',), 1378318367: ('0.0',), 1378318363: ('0.0',), 1378317685: ('0.0',), 1378317616: ('0.0',), 1378317525: ('0.0',), 1378317430: ('0.0',), 1378317356: ('0.0',), 1378317297: ('0.0',), 1378316754: ('0.0',), 1378316751: ('0.0',), 1378316728: ('0.0',), 1378316707: ('0.0',), 1378316682: ('0.0',), 1378316658: ('0.0',), 1378316550: ('0.0',), 1378316219: ('0.0',), 1378316195: ('0.0',), 1378316157: ('0.0',), 1378315870: ('0.0',), 1378315824: ('0.0',), 1378315794: ()} output_args : {1378321183: ('0.0',), 1378321126: ('0.0',), 1378321054: ('0.0',), 1378321031: ('0.0',), 1378321005: ('0.0',), 1378320260: ('0.0',), 1378320111: ('0.0',), 1378320015: ('0.0',), 1378319921: ('0.0',), 1378319790: ('0.0',), 1378319676: ('0.0',), 1378319223: ('0.0',), 1378318488: ('0.0',), 1378318478: ('0.0',), 1378318367: ('0.0',), 1378318363: ('0.0',), 1378317685: ('0.0',), 1378317616: ('0.0',), 1378317525: ('0.0',), 1378317430: ('0.0',), 1378317356: ('0.0',), 1378317297: ('0.0',), 1378316754: ('0.0',), 1378316751: ('0.0',), 1378316728: ('0.0',), 1378316707: ('0.0',), 1378316682: ('0.0',), 1378316658: ('0.0',), 1378316550: ('0.0',), 1378316219: ('0.0',), 1378316195: ('0.0',), 1378316157: ('0.0',), 1378315870: ('0.0',), 1378315824: ('0.0',), 1378315794: ('0.0',), 1378315736: ('0.0',), 1378315646: ('0.0',), 1378315572: ('0.0',), 1378315346: ('0.0',), 1378315031: ('0.0',), 1378314997: ('0.0',), 1378314938: ('0.0',), 1378314869: ('0.0',), 1378314792: ('0.0',), 1378314720: ('0.0',), 1378314566: ('0.0',), 1378314541: ('0.0',), 1378314135: ('0.0',)} args : 1378315794 depend.output_id : 0 input_args_next_step : {1378321183: ('0.0',), 1378321126: ('0.0',), 1378321054: ('0.0',), 1378321031: ('0.0',), 1378321005: ('0.0',), 1378320260: ('0.0',), 1378320111: ('0.0',), 1378320015: ('0.0',), 1378319921: ('0.0',), 1378319790: ('0.0',), 1378319676: ('0.0',), 1378319223: ('0.0',), 1378318488: ('0.0',), 1378318478: ('0.0',), 1378318367: ('0.0',), 1378318363: ('0.0',), 1378317685: ('0.0',), 1378317616: ('0.0',), 1378317525: ('0.0',), 1378317430: ('0.0',), 1378317356: ('0.0',), 1378317297: ('0.0',), 1378316754: ('0.0',), 1378316751: ('0.0',), 1378316728: ('0.0',), 1378316707: ('0.0',), 1378316682: ('0.0',), 1378316658: ('0.0',), 1378316550: ('0.0',), 1378316219: ('0.0',), 1378316195: ('0.0',), 1378316157: ('0.0',), 1378315870: ('0.0',), 1378315824: ('0.0',), 1378315794: ('0.0',), 1378315736: ()} output_args : {1378321183: ('0.0',), 1378321126: ('0.0',), 1378321054: ('0.0',), 1378321031: ('0.0',), 1378321005: ('0.0',), 1378320260: ('0.0',), 1378320111: ('0.0',), 1378320015: ('0.0',), 1378319921: ('0.0',), 1378319790: ('0.0',), 1378319676: ('0.0',), 1378319223: ('0.0',), 1378318488: ('0.0',), 1378318478: ('0.0',), 1378318367: ('0.0',), 1378318363: ('0.0',), 1378317685: ('0.0',), 1378317616: ('0.0',), 1378317525: ('0.0',), 1378317430: ('0.0',), 1378317356: ('0.0',), 1378317297: ('0.0',), 1378316754: ('0.0',), 1378316751: ('0.0',), 1378316728: ('0.0',), 1378316707: ('0.0',), 1378316682: ('0.0',), 1378316658: ('0.0',), 1378316550: ('0.0',), 1378316219: ('0.0',), 1378316195: ('0.0',), 1378316157: ('0.0',), 1378315870: ('0.0',), 1378315824: ('0.0',), 1378315794: ('0.0',), 1378315736: ('0.0',), 1378315646: ('0.0',), 1378315572: ('0.0',), 1378315346: ('0.0',), 1378315031: ('0.0',), 1378314997: ('0.0',), 1378314938: ('0.0',), 1378314869: ('0.0',), 1378314792: ('0.0',), 1378314720: ('0.0',), 1378314566: ('0.0',), 1378314541: ('0.0',), 1378314135: ('0.0',)} args : 1378315736 depend.output_id : 0 input_args_next_step : {1378321183: ('0.0',), 1378321126: ('0.0',), 1378321054: ('0.0',), 1378321031: ('0.0',), 1378321005: ('0.0',), 1378320260: ('0.0',), 1378320111: ('0.0',), 1378320015: ('0.0',), 1378319921: ('0.0',), 1378319790: ('0.0',), 1378319676: ('0.0',), 1378319223: ('0.0',), 1378318488: ('0.0',), 1378318478: ('0.0',), 1378318367: ('0.0',), 1378318363: ('0.0',), 1378317685: ('0.0',), 1378317616: ('0.0',), 1378317525: ('0.0',), 1378317430: ('0.0',), 1378317356: ('0.0',), 1378317297: ('0.0',), 1378316754: ('0.0',), 1378316751: ('0.0',), 1378316728: ('0.0',), 1378316707: ('0.0',), 1378316682: ('0.0',), 1378316658: ('0.0',), 1378316550: ('0.0',), 1378316219: ('0.0',), 1378316195: ('0.0',), 1378316157: ('0.0',), 1378315870: ('0.0',), 1378315824: ('0.0',), 1378315794: ('0.0',), 1378315736: ('0.0',), 1378315646: ()} output_args : {1378321183: ('0.0',), 1378321126: ('0.0',), 1378321054: ('0.0',), 1378321031: ('0.0',), 1378321005: ('0.0',), 1378320260: ('0.0',), 1378320111: ('0.0',), 1378320015: ('0.0',), 1378319921: ('0.0',), 1378319790: ('0.0',), 1378319676: ('0.0',), 1378319223: ('0.0',), 1378318488: ('0.0',), 1378318478: ('0.0',), 1378318367: ('0.0',), 1378318363: ('0.0',), 1378317685: ('0.0',), 1378317616: ('0.0',), 1378317525: ('0.0',), 1378317430: ('0.0',), 1378317356: ('0.0',), 1378317297: ('0.0',), 1378316754: ('0.0',), 1378316751: ('0.0',), 1378316728: ('0.0',), 1378316707: ('0.0',), 1378316682: ('0.0',), 1378316658: ('0.0',), 1378316550: ('0.0',), 1378316219: ('0.0',), 1378316195: ('0.0',), 1378316157: ('0.0',), 1378315870: ('0.0',), 1378315824: ('0.0',), 1378315794: ('0.0',), 1378315736: ('0.0',), 1378315646: ('0.0',), 1378315572: ('0.0',), 1378315346: ('0.0',), 1378315031: ('0.0',), 1378314997: ('0.0',), 1378314938: ('0.0',), 1378314869: ('0.0',), 1378314792: ('0.0',), 1378314720: ('0.0',), 1378314566: ('0.0',), 1378314541: ('0.0',), 1378314135: ('0.0',)} args : 1378315646 depend.output_id : 0 input_args_next_step : {1378321183: ('0.0',), 1378321126: ('0.0',), 1378321054: ('0.0',), 1378321031: ('0.0',), 1378321005: ('0.0',), 1378320260: ('0.0',), 1378320111: ('0.0',), 1378320015: ('0.0',), 1378319921: ('0.0',), 1378319790: ('0.0',), 1378319676: ('0.0',), 1378319223: ('0.0',), 1378318488: ('0.0',), 1378318478: ('0.0',), 1378318367: ('0.0',), 1378318363: ('0.0',), 1378317685: ('0.0',), 1378317616: ('0.0',), 1378317525: ('0.0',), 1378317430: ('0.0',), 1378317356: ('0.0',), 1378317297: ('0.0',), 1378316754: ('0.0',), 1378316751: ('0.0',), 1378316728: ('0.0',), 1378316707: ('0.0',), 1378316682: ('0.0',), 1378316658: ('0.0',), 1378316550: ('0.0',), 1378316219: ('0.0',), 1378316195: ('0.0',), 1378316157: ('0.0',), 1378315870: ('0.0',), 1378315824: ('0.0',), 1378315794: ('0.0',), 1378315736: ('0.0',), 1378315646: ('0.0',), 1378315572: ()} output_args : {1378321183: ('0.0',), 1378321126: ('0.0',), 1378321054: ('0.0',), 1378321031: ('0.0',), 1378321005: ('0.0',), 1378320260: ('0.0',), 1378320111: ('0.0',), 1378320015: ('0.0',), 1378319921: ('0.0',), 1378319790: ('0.0',), 1378319676: ('0.0',), 1378319223: ('0.0',), 1378318488: ('0.0',), 1378318478: ('0.0',), 1378318367: ('0.0',), 1378318363: ('0.0',), 1378317685: ('0.0',), 1378317616: ('0.0',), 1378317525: ('0.0',), 1378317430: ('0.0',), 1378317356: ('0.0',), 1378317297: ('0.0',), 1378316754: ('0.0',), 1378316751: ('0.0',), 1378316728: ('0.0',), 1378316707: ('0.0',), 1378316682: ('0.0',), 1378316658: ('0.0',), 1378316550: ('0.0',), 1378316219: ('0.0',), 1378316195: ('0.0',), 1378316157: ('0.0',), 1378315870: ('0.0',), 1378315824: ('0.0',), 1378315794: ('0.0',), 1378315736: ('0.0',), 1378315646: ('0.0',), 1378315572: ('0.0',), 1378315346: ('0.0',), 1378315031: ('0.0',), 1378314997: ('0.0',), 1378314938: ('0.0',), 1378314869: ('0.0',), 1378314792: ('0.0',), 1378314720: ('0.0',), 1378314566: ('0.0',), 1378314541: ('0.0',), 1378314135: ('0.0',)} args : 1378315572 depend.output_id : 0 input_args_next_step : {1378321183: ('0.0',), 1378321126: ('0.0',), 1378321054: ('0.0',), 1378321031: ('0.0',), 1378321005: ('0.0',), 1378320260: ('0.0',), 1378320111: ('0.0',), 1378320015: ('0.0',), 1378319921: ('0.0',), 1378319790: ('0.0',), 1378319676: ('0.0',), 1378319223: ('0.0',), 1378318488: ('0.0',), 1378318478: ('0.0',), 1378318367: ('0.0',), 1378318363: ('0.0',), 1378317685: ('0.0',), 1378317616: ('0.0',), 1378317525: ('0.0',), 1378317430: ('0.0',), 1378317356: ('0.0',), 1378317297: ('0.0',), 1378316754: ('0.0',), 1378316751: ('0.0',), 1378316728: ('0.0',), 1378316707: ('0.0',), 1378316682: ('0.0',), 1378316658: ('0.0',), 1378316550: ('0.0',), 1378316219: ('0.0',), 1378316195: ('0.0',), 1378316157: ('0.0',), 1378315870: ('0.0',), 1378315824: ('0.0',), 1378315794: ('0.0',), 1378315736: ('0.0',), 1378315646: ('0.0',), 1378315572: ('0.0',), 1378315346: ()} output_args : {1378321183: ('0.0',), 1378321126: ('0.0',), 1378321054: ('0.0',), 1378321031: ('0.0',), 1378321005: ('0.0',), 1378320260: ('0.0',), 1378320111: ('0.0',), 1378320015: ('0.0',), 1378319921: ('0.0',), 1378319790: ('0.0',), 1378319676: ('0.0',), 1378319223: ('0.0',), 1378318488: ('0.0',), 1378318478: ('0.0',), 1378318367: ('0.0',), 1378318363: ('0.0',), 1378317685: ('0.0',), 1378317616: ('0.0',), 1378317525: ('0.0',), 1378317430: ('0.0',), 1378317356: ('0.0',), 1378317297: ('0.0',), 1378316754: ('0.0',), 1378316751: ('0.0',), 1378316728: ('0.0',), 1378316707: ('0.0',), 1378316682: ('0.0',), 1378316658: ('0.0',), 1378316550: ('0.0',), 1378316219: ('0.0',), 1378316195: ('0.0',), 1378316157: ('0.0',), 1378315870: ('0.0',), 1378315824: ('0.0',), 1378315794: ('0.0',), 1378315736: ('0.0',), 1378315646: ('0.0',), 1378315572: ('0.0',), 1378315346: ('0.0',), 1378315031: ('0.0',), 1378314997: ('0.0',), 1378314938: ('0.0',), 1378314869: ('0.0',), 1378314792: ('0.0',), 1378314720: ('0.0',), 1378314566: ('0.0',), 1378314541: ('0.0',), 1378314135: ('0.0',)} args : 1378315346 depend.output_id : 0 input_args_next_step : {1378321183: ('0.0',), 1378321126: ('0.0',), 1378321054: ('0.0',), 1378321031: ('0.0',), 1378321005: ('0.0',), 1378320260: ('0.0',), 1378320111: ('0.0',), 1378320015: ('0.0',), 1378319921: ('0.0',), 1378319790: ('0.0',), 1378319676: ('0.0',), 1378319223: ('0.0',), 1378318488: ('0.0',), 1378318478: ('0.0',), 1378318367: ('0.0',), 1378318363: ('0.0',), 1378317685: ('0.0',), 1378317616: ('0.0',), 1378317525: ('0.0',), 1378317430: ('0.0',), 1378317356: ('0.0',), 1378317297: ('0.0',), 1378316754: ('0.0',), 1378316751: ('0.0',), 1378316728: ('0.0',), 1378316707: ('0.0',), 1378316682: ('0.0',), 1378316658: ('0.0',), 1378316550: ('0.0',), 1378316219: ('0.0',), 1378316195: ('0.0',), 1378316157: ('0.0',), 1378315870: ('0.0',), 1378315824: ('0.0',), 1378315794: ('0.0',), 1378315736: ('0.0',), 1378315646: ('0.0',), 1378315572: ('0.0',), 1378315346: ('0.0',), 1378315031: ()} output_args : {1378321183: ('0.0',), 1378321126: ('0.0',), 1378321054: ('0.0',), 1378321031: ('0.0',), 1378321005: ('0.0',), 1378320260: ('0.0',), 1378320111: ('0.0',), 1378320015: ('0.0',), 1378319921: ('0.0',), 1378319790: ('0.0',), 1378319676: ('0.0',), 1378319223: ('0.0',), 1378318488: ('0.0',), 1378318478: ('0.0',), 1378318367: ('0.0',), 1378318363: ('0.0',), 1378317685: ('0.0',), 1378317616: ('0.0',), 1378317525: ('0.0',), 1378317430: ('0.0',), 1378317356: ('0.0',), 1378317297: ('0.0',), 1378316754: ('0.0',), 1378316751: ('0.0',), 1378316728: ('0.0',), 1378316707: ('0.0',), 1378316682: ('0.0',), 1378316658: ('0.0',), 1378316550: ('0.0',), 1378316219: ('0.0',), 1378316195: ('0.0',), 1378316157: ('0.0',), 1378315870: ('0.0',), 1378315824: ('0.0',), 1378315794: ('0.0',), 1378315736: ('0.0',), 1378315646: ('0.0',), 1378315572: ('0.0',), 1378315346: ('0.0',), 1378315031: ('0.0',), 1378314997: ('0.0',), 1378314938: ('0.0',), 1378314869: ('0.0',), 1378314792: ('0.0',), 1378314720: ('0.0',), 1378314566: ('0.0',), 1378314541: ('0.0',), 1378314135: ('0.0',)} args : 1378315031 depend.output_id : 0 input_args_next_step : {1378321183: ('0.0',), 1378321126: ('0.0',), 1378321054: ('0.0',), 1378321031: ('0.0',), 1378321005: ('0.0',), 1378320260: ('0.0',), 1378320111: ('0.0',), 1378320015: ('0.0',), 1378319921: ('0.0',), 1378319790: ('0.0',), 1378319676: ('0.0',), 1378319223: ('0.0',), 1378318488: ('0.0',), 1378318478: ('0.0',), 1378318367: ('0.0',), 1378318363: ('0.0',), 1378317685: ('0.0',), 1378317616: ('0.0',), 1378317525: ('0.0',), 1378317430: ('0.0',), 1378317356: ('0.0',), 1378317297: ('0.0',), 1378316754: ('0.0',), 1378316751: ('0.0',), 1378316728: ('0.0',), 1378316707: ('0.0',), 1378316682: ('0.0',), 1378316658: ('0.0',), 1378316550: ('0.0',), 1378316219: ('0.0',), 1378316195: ('0.0',), 1378316157: ('0.0',), 1378315870: ('0.0',), 1378315824: ('0.0',), 1378315794: ('0.0',), 1378315736: ('0.0',), 1378315646: ('0.0',), 1378315572: ('0.0',), 1378315346: ('0.0',), 1378315031: ('0.0',), 1378314997: ()} output_args : {1378321183: ('0.0',), 1378321126: ('0.0',), 1378321054: ('0.0',), 1378321031: ('0.0',), 1378321005: ('0.0',), 1378320260: ('0.0',), 1378320111: ('0.0',), 1378320015: ('0.0',), 1378319921: ('0.0',), 1378319790: ('0.0',), 1378319676: ('0.0',), 1378319223: ('0.0',), 1378318488: ('0.0',), 1378318478: ('0.0',), 1378318367: ('0.0',), 1378318363: ('0.0',), 1378317685: ('0.0',), 1378317616: ('0.0',), 1378317525: ('0.0',), 1378317430: ('0.0',), 1378317356: ('0.0',), 1378317297: ('0.0',), 1378316754: ('0.0',), 1378316751: ('0.0',), 1378316728: ('0.0',), 1378316707: ('0.0',), 1378316682: ('0.0',), 1378316658: ('0.0',), 1378316550: ('0.0',), 1378316219: ('0.0',), 1378316195: ('0.0',), 1378316157: ('0.0',), 1378315870: ('0.0',), 1378315824: ('0.0',), 1378315794: ('0.0',), 1378315736: ('0.0',), 1378315646: ('0.0',), 1378315572: ('0.0',), 1378315346: ('0.0',), 1378315031: ('0.0',), 1378314997: ('0.0',), 1378314938: ('0.0',), 1378314869: ('0.0',), 1378314792: ('0.0',), 1378314720: ('0.0',), 1378314566: ('0.0',), 1378314541: ('0.0',), 1378314135: ('0.0',)} args : 1378314997 depend.output_id : 0 input_args_next_step : {1378321183: ('0.0',), 1378321126: ('0.0',), 1378321054: ('0.0',), 1378321031: ('0.0',), 1378321005: ('0.0',), 1378320260: ('0.0',), 1378320111: ('0.0',), 1378320015: ('0.0',), 1378319921: ('0.0',), 1378319790: ('0.0',), 1378319676: ('0.0',), 1378319223: ('0.0',), 1378318488: ('0.0',), 1378318478: ('0.0',), 1378318367: ('0.0',), 1378318363: ('0.0',), 1378317685: ('0.0',), 1378317616: ('0.0',), 1378317525: ('0.0',), 1378317430: ('0.0',), 1378317356: ('0.0',), 1378317297: ('0.0',), 1378316754: ('0.0',), 1378316751: ('0.0',), 1378316728: ('0.0',), 1378316707: ('0.0',), 1378316682: ('0.0',), 1378316658: ('0.0',), 1378316550: ('0.0',), 1378316219: ('0.0',), 1378316195: ('0.0',), 1378316157: ('0.0',), 1378315870: ('0.0',), 1378315824: ('0.0',), 1378315794: ('0.0',), 1378315736: ('0.0',), 1378315646: ('0.0',), 1378315572: ('0.0',), 1378315346: ('0.0',), 1378315031: ('0.0',), 1378314997: ('0.0',), 1378314938: ()} output_args : {1378321183: ('0.0',), 1378321126: ('0.0',), 1378321054: ('0.0',), 1378321031: ('0.0',), 1378321005: ('0.0',), 1378320260: ('0.0',), 1378320111: ('0.0',), 1378320015: ('0.0',), 1378319921: ('0.0',), 1378319790: ('0.0',), 1378319676: ('0.0',), 1378319223: ('0.0',), 1378318488: ('0.0',), 1378318478: ('0.0',), 1378318367: ('0.0',), 1378318363: ('0.0',), 1378317685: ('0.0',), 1378317616: ('0.0',), 1378317525: ('0.0',), 1378317430: ('0.0',), 1378317356: ('0.0',), 1378317297: ('0.0',), 1378316754: ('0.0',), 1378316751: ('0.0',), 1378316728: ('0.0',), 1378316707: ('0.0',), 1378316682: ('0.0',), 1378316658: ('0.0',), 1378316550: ('0.0',), 1378316219: ('0.0',), 1378316195: ('0.0',), 1378316157: ('0.0',), 1378315870: ('0.0',), 1378315824: ('0.0',), 1378315794: ('0.0',), 1378315736: ('0.0',), 1378315646: ('0.0',), 1378315572: ('0.0',), 1378315346: ('0.0',), 1378315031: ('0.0',), 1378314997: ('0.0',), 1378314938: ('0.0',), 1378314869: ('0.0',), 1378314792: ('0.0',), 1378314720: ('0.0',), 1378314566: ('0.0',), 1378314541: ('0.0',), 1378314135: ('0.0',)} args : 1378314938 depend.output_id : 0 input_args_next_step : {1378321183: ('0.0',), 1378321126: ('0.0',), 1378321054: ('0.0',), 1378321031: ('0.0',), 1378321005: ('0.0',), 1378320260: ('0.0',), 1378320111: ('0.0',), 1378320015: ('0.0',), 1378319921: ('0.0',), 1378319790: ('0.0',), 1378319676: ('0.0',), 1378319223: ('0.0',), 1378318488: ('0.0',), 1378318478: ('0.0',), 1378318367: ('0.0',), 1378318363: ('0.0',), 1378317685: ('0.0',), 1378317616: ('0.0',), 1378317525: ('0.0',), 1378317430: ('0.0',), 1378317356: ('0.0',), 1378317297: ('0.0',), 1378316754: ('0.0',), 1378316751: ('0.0',), 1378316728: ('0.0',), 1378316707: ('0.0',), 1378316682: ('0.0',), 1378316658: ('0.0',), 1378316550: ('0.0',), 1378316219: ('0.0',), 1378316195: ('0.0',), 1378316157: ('0.0',), 1378315870: ('0.0',), 1378315824: ('0.0',), 1378315794: ('0.0',), 1378315736: ('0.0',), 1378315646: ('0.0',), 1378315572: ('0.0',), 1378315346: ('0.0',), 1378315031: ('0.0',), 1378314997: ('0.0',), 1378314938: ('0.0',), 1378314869: ()} output_args : {1378321183: ('0.0',), 1378321126: ('0.0',), 1378321054: ('0.0',), 1378321031: ('0.0',), 1378321005: ('0.0',), 1378320260: ('0.0',), 1378320111: ('0.0',), 1378320015: ('0.0',), 1378319921: ('0.0',), 1378319790: ('0.0',), 1378319676: ('0.0',), 1378319223: ('0.0',), 1378318488: ('0.0',), 1378318478: ('0.0',), 1378318367: ('0.0',), 1378318363: ('0.0',), 1378317685: ('0.0',), 1378317616: ('0.0',), 1378317525: ('0.0',), 1378317430: ('0.0',), 1378317356: ('0.0',), 1378317297: ('0.0',), 1378316754: ('0.0',), 1378316751: ('0.0',), 1378316728: ('0.0',), 1378316707: ('0.0',), 1378316682: ('0.0',), 1378316658: ('0.0',), 1378316550: ('0.0',), 1378316219: ('0.0',), 1378316195: ('0.0',), 1378316157: ('0.0',), 1378315870: ('0.0',), 1378315824: ('0.0',), 1378315794: ('0.0',), 1378315736: ('0.0',), 1378315646: ('0.0',), 1378315572: ('0.0',), 1378315346: ('0.0',), 1378315031: ('0.0',), 1378314997: ('0.0',), 1378314938: ('0.0',), 1378314869: ('0.0',), 1378314792: ('0.0',), 1378314720: ('0.0',), 1378314566: ('0.0',), 1378314541: ('0.0',), 1378314135: ('0.0',)} args : 1378314869 depend.output_id : 0 input_args_next_step : {1378321183: ('0.0',), 1378321126: ('0.0',), 1378321054: ('0.0',), 1378321031: ('0.0',), 1378321005: ('0.0',), 1378320260: ('0.0',), 1378320111: ('0.0',), 1378320015: ('0.0',), 1378319921: ('0.0',), 1378319790: ('0.0',), 1378319676: ('0.0',), 1378319223: ('0.0',), 1378318488: ('0.0',), 1378318478: ('0.0',), 1378318367: ('0.0',), 1378318363: ('0.0',), 1378317685: ('0.0',), 1378317616: ('0.0',), 1378317525: ('0.0',), 1378317430: ('0.0',), 1378317356: ('0.0',), 1378317297: ('0.0',), 1378316754: ('0.0',), 1378316751: ('0.0',), 1378316728: ('0.0',), 1378316707: ('0.0',), 1378316682: ('0.0',), 1378316658: ('0.0',), 1378316550: ('0.0',), 1378316219: ('0.0',), 1378316195: ('0.0',), 1378316157: ('0.0',), 1378315870: ('0.0',), 1378315824: ('0.0',), 1378315794: ('0.0',), 1378315736: ('0.0',), 1378315646: ('0.0',), 1378315572: ('0.0',), 1378315346: ('0.0',), 1378315031: ('0.0',), 1378314997: ('0.0',), 1378314938: ('0.0',), 1378314869: ('0.0',), 1378314792: ()} output_args : {1378321183: ('0.0',), 1378321126: ('0.0',), 1378321054: ('0.0',), 1378321031: ('0.0',), 1378321005: ('0.0',), 1378320260: ('0.0',), 1378320111: ('0.0',), 1378320015: ('0.0',), 1378319921: ('0.0',), 1378319790: ('0.0',), 1378319676: ('0.0',), 1378319223: ('0.0',), 1378318488: ('0.0',), 1378318478: ('0.0',), 1378318367: ('0.0',), 1378318363: ('0.0',), 1378317685: ('0.0',), 1378317616: ('0.0',), 1378317525: ('0.0',), 1378317430: ('0.0',), 1378317356: ('0.0',), 1378317297: ('0.0',), 1378316754: ('0.0',), 1378316751: ('0.0',), 1378316728: ('0.0',), 1378316707: ('0.0',), 1378316682: ('0.0',), 1378316658: ('0.0',), 1378316550: ('0.0',), 1378316219: ('0.0',), 1378316195: ('0.0',), 1378316157: ('0.0',), 1378315870: ('0.0',), 1378315824: ('0.0',), 1378315794: ('0.0',), 1378315736: ('0.0',), 1378315646: ('0.0',), 1378315572: ('0.0',), 1378315346: ('0.0',), 1378315031: ('0.0',), 1378314997: ('0.0',), 1378314938: ('0.0',), 1378314869: ('0.0',), 1378314792: ('0.0',), 1378314720: ('0.0',), 1378314566: ('0.0',), 1378314541: ('0.0',), 1378314135: ('0.0',)} args : 1378314792 depend.output_id : 0 input_args_next_step : {1378321183: ('0.0',), 1378321126: ('0.0',), 1378321054: ('0.0',), 1378321031: ('0.0',), 1378321005: ('0.0',), 1378320260: ('0.0',), 1378320111: ('0.0',), 1378320015: ('0.0',), 1378319921: ('0.0',), 1378319790: ('0.0',), 1378319676: ('0.0',), 1378319223: ('0.0',), 1378318488: ('0.0',), 1378318478: ('0.0',), 1378318367: ('0.0',), 1378318363: ('0.0',), 1378317685: ('0.0',), 1378317616: ('0.0',), 1378317525: ('0.0',), 1378317430: ('0.0',), 1378317356: ('0.0',), 1378317297: ('0.0',), 1378316754: ('0.0',), 1378316751: ('0.0',), 1378316728: ('0.0',), 1378316707: ('0.0',), 1378316682: ('0.0',), 1378316658: ('0.0',), 1378316550: ('0.0',), 1378316219: ('0.0',), 1378316195: ('0.0',), 1378316157: ('0.0',), 1378315870: ('0.0',), 1378315824: ('0.0',), 1378315794: ('0.0',), 1378315736: ('0.0',), 1378315646: ('0.0',), 1378315572: ('0.0',), 1378315346: ('0.0',), 1378315031: ('0.0',), 1378314997: ('0.0',), 1378314938: ('0.0',), 1378314869: ('0.0',), 1378314792: ('0.0',), 1378314720: ()} output_args : {1378321183: ('0.0',), 1378321126: ('0.0',), 1378321054: ('0.0',), 1378321031: ('0.0',), 1378321005: ('0.0',), 1378320260: ('0.0',), 1378320111: ('0.0',), 1378320015: ('0.0',), 1378319921: ('0.0',), 1378319790: ('0.0',), 1378319676: ('0.0',), 1378319223: ('0.0',), 1378318488: ('0.0',), 1378318478: ('0.0',), 1378318367: ('0.0',), 1378318363: ('0.0',), 1378317685: ('0.0',), 1378317616: ('0.0',), 1378317525: ('0.0',), 1378317430: ('0.0',), 1378317356: ('0.0',), 1378317297: ('0.0',), 1378316754: ('0.0',), 1378316751: ('0.0',), 1378316728: ('0.0',), 1378316707: ('0.0',), 1378316682: ('0.0',), 1378316658: ('0.0',), 1378316550: ('0.0',), 1378316219: ('0.0',), 1378316195: ('0.0',), 1378316157: ('0.0',), 1378315870: ('0.0',), 1378315824: ('0.0',), 1378315794: ('0.0',), 1378315736: ('0.0',), 1378315646: ('0.0',), 1378315572: ('0.0',), 1378315346: ('0.0',), 1378315031: ('0.0',), 1378314997: ('0.0',), 1378314938: ('0.0',), 1378314869: ('0.0',), 1378314792: ('0.0',), 1378314720: ('0.0',), 1378314566: ('0.0',), 1378314541: ('0.0',), 1378314135: ('0.0',)} args : 1378314720 depend.output_id : 0 input_args_next_step : {1378321183: ('0.0',), 1378321126: ('0.0',), 1378321054: ('0.0',), 1378321031: ('0.0',), 1378321005: ('0.0',), 1378320260: ('0.0',), 1378320111: ('0.0',), 1378320015: ('0.0',), 1378319921: ('0.0',), 1378319790: ('0.0',), 1378319676: ('0.0',), 1378319223: ('0.0',), 1378318488: ('0.0',), 1378318478: ('0.0',), 1378318367: ('0.0',), 1378318363: ('0.0',), 1378317685: ('0.0',), 1378317616: ('0.0',), 1378317525: ('0.0',), 1378317430: ('0.0',), 1378317356: ('0.0',), 1378317297: ('0.0',), 1378316754: ('0.0',), 1378316751: ('0.0',), 1378316728: ('0.0',), 1378316707: ('0.0',), 1378316682: ('0.0',), 1378316658: ('0.0',), 1378316550: ('0.0',), 1378316219: ('0.0',), 1378316195: ('0.0',), 1378316157: ('0.0',), 1378315870: ('0.0',), 1378315824: ('0.0',), 1378315794: ('0.0',), 1378315736: ('0.0',), 1378315646: ('0.0',), 1378315572: ('0.0',), 1378315346: ('0.0',), 1378315031: ('0.0',), 1378314997: ('0.0',), 1378314938: ('0.0',), 1378314869: ('0.0',), 1378314792: ('0.0',), 1378314720: ('0.0',), 1378314566: ()} output_args : {1378321183: ('0.0',), 1378321126: ('0.0',), 1378321054: ('0.0',), 1378321031: ('0.0',), 1378321005: ('0.0',), 1378320260: ('0.0',), 1378320111: ('0.0',), 1378320015: ('0.0',), 1378319921: ('0.0',), 1378319790: ('0.0',), 1378319676: ('0.0',), 1378319223: ('0.0',), 1378318488: ('0.0',), 1378318478: ('0.0',), 1378318367: ('0.0',), 1378318363: ('0.0',), 1378317685: ('0.0',), 1378317616: ('0.0',), 1378317525: ('0.0',), 1378317430: ('0.0',), 1378317356: ('0.0',), 1378317297: ('0.0',), 1378316754: ('0.0',), 1378316751: ('0.0',), 1378316728: ('0.0',), 1378316707: ('0.0',), 1378316682: ('0.0',), 1378316658: ('0.0',), 1378316550: ('0.0',), 1378316219: ('0.0',), 1378316195: ('0.0',), 1378316157: ('0.0',), 1378315870: ('0.0',), 1378315824: ('0.0',), 1378315794: ('0.0',), 1378315736: ('0.0',), 1378315646: ('0.0',), 1378315572: ('0.0',), 1378315346: ('0.0',), 1378315031: ('0.0',), 1378314997: ('0.0',), 1378314938: ('0.0',), 1378314869: ('0.0',), 1378314792: ('0.0',), 1378314720: ('0.0',), 1378314566: ('0.0',), 1378314541: ('0.0',), 1378314135: ('0.0',)} args : 1378314566 depend.output_id : 0 input_args_next_step : {1378321183: ('0.0',), 1378321126: ('0.0',), 1378321054: ('0.0',), 1378321031: ('0.0',), 1378321005: ('0.0',), 1378320260: ('0.0',), 1378320111: ('0.0',), 1378320015: ('0.0',), 1378319921: ('0.0',), 1378319790: ('0.0',), 1378319676: ('0.0',), 1378319223: ('0.0',), 1378318488: ('0.0',), 1378318478: ('0.0',), 1378318367: ('0.0',), 1378318363: ('0.0',), 1378317685: ('0.0',), 1378317616: ('0.0',), 1378317525: ('0.0',), 1378317430: ('0.0',), 1378317356: ('0.0',), 1378317297: ('0.0',), 1378316754: ('0.0',), 1378316751: ('0.0',), 1378316728: ('0.0',), 1378316707: ('0.0',), 1378316682: ('0.0',), 1378316658: ('0.0',), 1378316550: ('0.0',), 1378316219: ('0.0',), 1378316195: ('0.0',), 1378316157: ('0.0',), 1378315870: ('0.0',), 1378315824: ('0.0',), 1378315794: ('0.0',), 1378315736: ('0.0',), 1378315646: ('0.0',), 1378315572: ('0.0',), 1378315346: ('0.0',), 1378315031: ('0.0',), 1378314997: ('0.0',), 1378314938: ('0.0',), 1378314869: ('0.0',), 1378314792: ('0.0',), 1378314720: ('0.0',), 1378314566: ('0.0',), 1378314541: ()} output_args : {1378321183: ('0.0',), 1378321126: ('0.0',), 1378321054: ('0.0',), 1378321031: ('0.0',), 1378321005: ('0.0',), 1378320260: ('0.0',), 1378320111: ('0.0',), 1378320015: ('0.0',), 1378319921: ('0.0',), 1378319790: ('0.0',), 1378319676: ('0.0',), 1378319223: ('0.0',), 1378318488: ('0.0',), 1378318478: ('0.0',), 1378318367: ('0.0',), 1378318363: ('0.0',), 1378317685: ('0.0',), 1378317616: ('0.0',), 1378317525: ('0.0',), 1378317430: ('0.0',), 1378317356: ('0.0',), 1378317297: ('0.0',), 1378316754: ('0.0',), 1378316751: ('0.0',), 1378316728: ('0.0',), 1378316707: ('0.0',), 1378316682: ('0.0',), 1378316658: ('0.0',), 1378316550: ('0.0',), 1378316219: ('0.0',), 1378316195: ('0.0',), 1378316157: ('0.0',), 1378315870: ('0.0',), 1378315824: ('0.0',), 1378315794: ('0.0',), 1378315736: ('0.0',), 1378315646: ('0.0',), 1378315572: ('0.0',), 1378315346: ('0.0',), 1378315031: ('0.0',), 1378314997: ('0.0',), 1378314938: ('0.0',), 1378314869: ('0.0',), 1378314792: ('0.0',), 1378314720: ('0.0',), 1378314566: ('0.0',), 1378314541: ('0.0',), 1378314135: ('0.0',)} args : 1378314541 depend.output_id : 0 input_args_next_step : {1378321183: ('0.0',), 1378321126: ('0.0',), 1378321054: ('0.0',), 1378321031: ('0.0',), 1378321005: ('0.0',), 1378320260: ('0.0',), 1378320111: ('0.0',), 1378320015: ('0.0',), 1378319921: ('0.0',), 1378319790: ('0.0',), 1378319676: ('0.0',), 1378319223: ('0.0',), 1378318488: ('0.0',), 1378318478: ('0.0',), 1378318367: ('0.0',), 1378318363: ('0.0',), 1378317685: ('0.0',), 1378317616: ('0.0',), 1378317525: ('0.0',), 1378317430: ('0.0',), 1378317356: ('0.0',), 1378317297: ('0.0',), 1378316754: ('0.0',), 1378316751: ('0.0',), 1378316728: ('0.0',), 1378316707: ('0.0',), 1378316682: ('0.0',), 1378316658: ('0.0',), 1378316550: ('0.0',), 1378316219: ('0.0',), 1378316195: ('0.0',), 1378316157: ('0.0',), 1378315870: ('0.0',), 1378315824: ('0.0',), 1378315794: ('0.0',), 1378315736: ('0.0',), 1378315646: ('0.0',), 1378315572: ('0.0',), 1378315346: ('0.0',), 1378315031: ('0.0',), 1378314997: ('0.0',), 1378314938: ('0.0',), 1378314869: ('0.0',), 1378314792: ('0.0',), 1378314720: ('0.0',), 1378314566: ('0.0',), 1378314541: ('0.0',), 1378314135: ()} output_args : {1378321183: ('0.0',), 1378321126: ('0.0',), 1378321054: ('0.0',), 1378321031: ('0.0',), 1378321005: ('0.0',), 1378320260: ('0.0',), 1378320111: ('0.0',), 1378320015: ('0.0',), 1378319921: ('0.0',), 1378319790: ('0.0',), 1378319676: ('0.0',), 1378319223: ('0.0',), 1378318488: ('0.0',), 1378318478: ('0.0',), 1378318367: ('0.0',), 1378318363: ('0.0',), 1378317685: ('0.0',), 1378317616: ('0.0',), 1378317525: ('0.0',), 1378317430: ('0.0',), 1378317356: ('0.0',), 1378317297: ('0.0',), 1378316754: ('0.0',), 1378316751: ('0.0',), 1378316728: ('0.0',), 1378316707: ('0.0',), 1378316682: ('0.0',), 1378316658: ('0.0',), 1378316550: ('0.0',), 1378316219: ('0.0',), 1378316195: ('0.0',), 1378316157: ('0.0',), 1378315870: ('0.0',), 1378315824: ('0.0',), 1378315794: ('0.0',), 1378315736: ('0.0',), 1378315646: ('0.0',), 1378315572: ('0.0',), 1378315346: ('0.0',), 1378315031: ('0.0',), 1378314997: ('0.0',), 1378314938: ('0.0',), 1378314869: ('0.0',), 1378314792: ('0.0',), 1378314720: ('0.0',), 1378314566: ('0.0',), 1378314541: ('0.0',), 1378314135: ('0.0',)} args : 1378314135 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 : {26123741: [{'papier': 26124232, 'cartonnette': 26124233, 'mal_croppe': 26124234, 'kraft': 26124235, 'autre_refus': 26124236, 'environnement': 26124237, 'metal': 26124238, 'plastique': 26124239, 'Teint_Dans_La_Masse': 26124240, 'Carton_brun': 26124241, 'flou': 26124242, 'Carton_gris': 26124243}]} input_args_next_step : {1378321183: ('0.0',), 1378321126: ('0.0',), 1378321054: ('0.0',), 1378321031: ('0.0',), 1378321005: ('0.0',), 1378320260: ('0.0',), 1378320111: ('0.0',), 1378320015: ('0.0',), 1378319921: ('0.0',), 1378319790: ('0.0',), 1378319676: ('0.0',), 1378319223: ('0.0',), 1378318488: ('0.0',), 1378318478: ('0.0',), 1378318367: ('0.0',), 1378318363: ('0.0',), 1378317685: ('0.0',), 1378317616: ('0.0',), 1378317525: ('0.0',), 1378317430: ('0.0',), 1378317356: ('0.0',), 1378317297: ('0.0',), 1378316754: ('0.0',), 1378316751: ('0.0',), 1378316728: ('0.0',), 1378316707: ('0.0',), 1378316682: ('0.0',), 1378316658: ('0.0',), 1378316550: ('0.0',), 1378316219: ('0.0',), 1378316195: ('0.0',), 1378316157: ('0.0',), 1378315870: ('0.0',), 1378315824: ('0.0',), 1378315794: ('0.0',), 1378315736: ('0.0',), 1378315646: ('0.0',), 1378315572: ('0.0',), 1378315346: ('0.0',), 1378315031: ('0.0',), 1378314997: ('0.0',), 1378314938: ('0.0',), 1378314869: ('0.0',), 1378314792: ('0.0',), 1378314720: ('0.0',), 1378314566: ('0.0',), 1378314541: ('0.0',), 1378314135: ('0.0',), 26123741: ()} output_args : {26123741: [{'papier': 26124232, 'cartonnette': 26124233, 'mal_croppe': 26124234, 'kraft': 26124235, 'autre_refus': 26124236, 'environnement': 26124237, 'metal': 26124238, 'plastique': 26124239, 'Teint_Dans_La_Masse': 26124240, 'Carton_brun': 26124241, 'flou': 26124242, 'Carton_gris': 26124243}]} args : 26123741 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 :49, first value : ('0.0',) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (26123741) 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 (1378321183,1378321126,1378321054,1378321031,1378321005,1378320260,1378320111,1378320015,1378319921,1378319790,1378319676,1378319223,1378318488,1378318478,1378318367,1378318363,1378317685,1378317616,1378317525,1378317430,1378317356,1378317297,1378316754,1378316751,1378316728,1378316707,1378316682,1378316658,1378316550,1378316219,1378316195,1378316157,1378315870,1378315824,1378315794,1378315736,1378315646,1378315572,1378315346,1378315031,1378314997,1378314938,1378314869,1378314792,1378314720,1378314566,1378314541,1378314135) Found this number of photos: 48 ##### Call download_photos : nb_thread : 5 begin to download photo : 1378314135 begin to download photo : 1378315572 begin to download photo : 1378316658 begin to download photo : 1378317616 begin to download photo : 1378320015 download finish for photo 1378316658 begin to download photo : 1378316682 download finish for photo 1378314135 begin to download photo : 1378314541 download finish for photo 1378320015 begin to download photo : 1378320111 download finish for photo 1378317616 begin to download photo : 1378317685 download finish for photo 1378315572 begin to download photo : 1378315646 download finish for photo 1378314541 begin to download photo : 1378314566 download finish for photo 1378316682 begin to download photo : 1378316707 download finish for photo 1378320111 begin to download photo : 1378320260 download finish for photo 1378317685 begin to download photo : 1378318363 download finish for photo 1378315646 begin to download photo : 1378315736 download finish for photo 1378318363 begin to download photo : 1378318367 download finish for photo 1378316707 begin to download photo : 1378316728 download finish for photo 1378320260 begin to download photo : 1378321005 download finish for photo 1378315736 begin to download photo : 1378315794 download finish for photo 1378314566 begin to download photo : 1378314720 download finish for photo 1378316728 begin to download photo : 1378316751 download finish for photo 1378318367 begin to download photo : 1378318478 download finish for photo 1378315794 begin to download photo : 1378315824 download finish for photo 1378321005 begin to download photo : 1378321031 download finish for photo 1378314720 begin to download photo : 1378314792 download finish for photo 1378315824 begin to download photo : 1378315870 download finish for photo 1378316751 begin to download photo : 1378316754 download finish for photo 1378318478 begin to download photo : 1378318488 download finish for photo 1378321031 begin to download photo : 1378321054 download finish for photo 1378314792 begin to download photo : 1378314869 download finish for photo 1378321054 begin to download photo : 1378321126 download finish for photo 1378318488 begin to download photo : 1378319223 download finish for photo 1378316754 begin to download photo : 1378317297 download finish for photo 1378315870 begin to download photo : 1378316157 download finish for photo 1378314869 begin to download photo : 1378314938 download finish for photo 1378319223 begin to download photo : 1378319676 download finish for photo 1378316157 begin to download photo : 1378316195 download finish for photo 1378321126 begin to download photo : 1378321183 download finish for photo 1378317297 begin to download photo : 1378317356 download finish for photo 1378314938 begin to download photo : 1378314997 download finish for photo 1378319676 begin to download photo : 1378319790 download finish for photo 1378321183 download finish for photo 1378316195 begin to download photo : 1378316219 download finish for photo 1378317356 begin to download photo : 1378317430 download finish for photo 1378316219 begin to download photo : 1378316550 download finish for photo 1378317430 begin to download photo : 1378317525 download finish for photo 1378319790 begin to download photo : 1378319921 download finish for photo 1378314997 begin to download photo : 1378315031 download finish for photo 1378319921 download finish for photo 1378316550 download finish for photo 1378315031 begin to download photo : 1378315346 download finish for photo 1378317525 download finish for photo 1378315346 we have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB ##### After download_photos imagette261242331755810393/ imagette261242341755810393/ imagette261242351755810393/ imagette261242361755810393/ imagette261242381755810393/ imagette261242391755810393/ imagette261242421755810393/ imagette261242401755810393/ imagette261242411755810393/ imagette261242431755810393/ length of list_filenames : 48 ; length of list_pids : 48 ; length of list_args : 48 results_Auto_P26123741_21-08-2025_23_06_33.pdf 26124233 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=26124233 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette261242331755810393 26124234 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=26124234 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette261242341755810393 26124235 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=26124235 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette261242351755810393 26124236 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=26124236 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette261242361755810393 26124238 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=26124238 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette261242381755810393 26124239 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=26124239 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette261242391755810393 26124242 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=26124242 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette261242421755810393 26124240 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=26124240 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette261242401755810393 26124241 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=26124241 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette261242411755810393 26124243 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=26124243 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette261242431755810393 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=26123741 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://www.fotonower.com/velours/26124244,26124245,26124246,26124247,26124248,26124249,26124250,26124251,26124252,26124253,26124254,26124255?tags=papier,cartonnette,mal_croppe,kraft,autre_refus,environnement,metal,plastique,Teint_Dans_La_Masse,Carton_brun,flou,Carton_gris your option no_mail is active, we will not send the real mail to your client args[1378321183] : ('0.0',) no score found for photo 1378321183 We are sending mail with results at report@fotonower.com args[1378321126] : ('0.0',) no score found for photo 1378321126 We are sending mail with results at report@fotonower.com args[1378321054] : ('0.0',) no score found for photo 1378321054 We are sending mail with results at report@fotonower.com args[1378321031] : ('0.0',) no score found for photo 1378321031 We are sending mail with results at report@fotonower.com args[1378321005] : ('0.0',) no score found for photo 1378321005 We are sending mail with results at report@fotonower.com args[1378320260] : ('0.0',) no score found for photo 1378320260 We are sending mail with results at report@fotonower.com args[1378320111] : ('0.0',) no score found for photo 1378320111 We are sending mail with results at report@fotonower.com args[1378320015] : ('0.0',) no score found for photo 1378320015 We are sending mail with results at report@fotonower.com args[1378319921] : ('0.0',) no score found for photo 1378319921 We are sending mail with results at report@fotonower.com args[1378319790] : ('0.0',) no score found for photo 1378319790 We are sending mail with results at report@fotonower.com args[1378319676] : ('0.0',) no score found for photo 1378319676 We are sending mail with results at report@fotonower.com args[1378319223] : ('0.0',) no score found for photo 1378319223 We are sending mail with results at report@fotonower.com args[1378318488] : ('0.0',) no score found for photo 1378318488 We are sending mail with results at report@fotonower.com args[1378318478] : ('0.0',) no score found for photo 1378318478 We are sending mail with results at report@fotonower.com args[1378318367] : ('0.0',) no score found for photo 1378318367 We are sending mail with results at report@fotonower.com args[1378318363] : ('0.0',) no score found for photo 1378318363 We are sending mail with results at report@fotonower.com args[1378317685] : ('0.0',) no score found for photo 1378317685 We are sending mail with results at report@fotonower.com args[1378317616] : ('0.0',) no score found for photo 1378317616 We are sending mail with results at report@fotonower.com args[1378317525] : ('0.0',) no score found for photo 1378317525 We are sending mail with results at report@fotonower.com args[1378317430] : ('0.0',) no score found for photo 1378317430 We are sending mail with results at report@fotonower.com args[1378317356] : ('0.0',) no score found for photo 1378317356 We are sending mail with results at report@fotonower.com args[1378317297] : ('0.0',) no score found for photo 1378317297 We are sending mail with results at report@fotonower.com args[1378316754] : ('0.0',) no score found for photo 1378316754 We are sending mail with results at report@fotonower.com args[1378316751] : ('0.0',) no score found for photo 1378316751 We are sending mail with results at report@fotonower.com args[1378316728] : ('0.0',) no score found for photo 1378316728 We are sending mail with results at report@fotonower.com args[1378316707] : ('0.0',) no score found for photo 1378316707 We are sending mail with results at report@fotonower.com args[1378316682] : ('0.0',) no score found for photo 1378316682 We are sending mail with results at report@fotonower.com args[1378316658] : ('0.0',) no score found for photo 1378316658 We are sending mail with results at report@fotonower.com args[1378316550] : ('0.0',) no score found for photo 1378316550 We are sending mail with results at report@fotonower.com args[1378316219] : ('0.0',) no score found for photo 1378316219 We are sending mail with results at report@fotonower.com args[1378316195] : ('0.0',) no score found for photo 1378316195 We are sending mail with results at report@fotonower.com args[1378316157] : ('0.0',) no score found for photo 1378316157 We are sending mail with results at report@fotonower.com args[1378315870] : ('0.0',) no score found for photo 1378315870 We are sending mail with results at report@fotonower.com args[1378315824] : ('0.0',) no score found for photo 1378315824 We are sending mail with results at report@fotonower.com args[1378315794] : ('0.0',) no score found for photo 1378315794 We are sending mail with results at report@fotonower.com args[1378315736] : ('0.0',) no score found for photo 1378315736 We are sending mail with results at report@fotonower.com args[1378315646] : ('0.0',) no score found for photo 1378315646 We are sending mail with results at report@fotonower.com args[1378315572] : ('0.0',) no score found for photo 1378315572 We are sending mail with results at report@fotonower.com args[1378315346] : ('0.0',) no score found for photo 1378315346 We are sending mail with results at report@fotonower.com args[1378315031] : ('0.0',) no score found for photo 1378315031 We are sending mail with results at report@fotonower.com args[1378314997] : ('0.0',) no score found for photo 1378314997 We are sending mail with results at report@fotonower.com args[1378314938] : ('0.0',) no score found for photo 1378314938 We are sending mail with results at report@fotonower.com args[1378314869] : ('0.0',) no score found for photo 1378314869 We are sending mail with results at report@fotonower.com args[1378314792] : ('0.0',) no score found for photo 1378314792 We are sending mail with results at report@fotonower.com args[1378314720] : ('0.0',) no score found for photo 1378314720 We are sending mail with results at report@fotonower.com args[1378314566] : ('0.0',) no score found for photo 1378314566 We are sending mail with results at report@fotonower.com args[1378314541] : ('0.0',) no score found for photo 1378314541 We are sending mail with results at report@fotonower.com args[1378314135] : ('0.0',) no score found for photo 1378314135 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=26123741 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_P26123741_21-08-2025_23_06_33.pdf results_Auto_P26123741_21-08-2025_23_06_33.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26123741_21-08-2025_23_06_33.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','26123741','results_Auto_P26123741_21-08-2025_23_06_33.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26123741_21-08-2025_23_06_33.pdf','pdf','','0.32','0.0') After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([26123741]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1378321183, 1378321126, 1378321054, 1378321031, 1378321005, 1378320260, 1378320111, 1378320015, 1378319921, 1378319790, 1378319676, 1378319223, 1378318488, 1378318478, 1378318367, 1378318363, 1378317685, 1378317616, 1378317525, 1378317430, 1378317356, 1378317297, 1378316754, 1378316751, 1378316728, 1378316707, 1378316682, 1378316658, 1378316550, 1378316219, 1378316195, 1378316157, 1378315870, 1378315824, 1378315794, 1378315736, 1378315646, 1378315572, 1378315346, 1378315031, 1378314997, 1378314938, 1378314869, 1378314792, 1378314720, 1378314566, 1378314541, 1378314135] map_info['map_portfolio_photo'] : {26123741: [1378321183, 1378321126, 1378321054, 1378321031, 1378321005, 1378320260, 1378320111, 1378320015, 1378319921, 1378319790, 1378319676, 1378319223, 1378318488, 1378318478, 1378318367, 1378318363, 1378317685, 1378317616, 1378317525, 1378317430, 1378317356, 1378317297, 1378316754, 1378316751, 1378316728, 1378316707, 1378316682, 1378316658, 1378316550, 1378316219, 1378316195, 1378316157, 1378315870, 1378315824, 1378315794, 1378315736, 1378315646, 1378315572, 1378315346, 1378315031, 1378314997, 1378314938, 1378314869, 1378314792, 1378314720, 1378314566, 1378314541, 1378314135]} final : False mtd_id 4302 list_pids : [1378321183, 1378321126, 1378321054, 1378321031, 1378321005, 1378320260, 1378320111, 1378320015, 1378319921, 1378319790, 1378319676, 1378319223, 1378318488, 1378318478, 1378318367, 1378318363, 1378317685, 1378317616, 1378317525, 1378317430, 1378317356, 1378317297, 1378316754, 1378316751, 1378316728, 1378316707, 1378316682, 1378316658, 1378316550, 1378316219, 1378316195, 1378316157, 1378315870, 1378315824, 1378315794, 1378315736, 1378315646, 1378315572, 1378315346, 1378315031, 1378314997, 1378314938, 1378314869, 1378314792, 1378314720, 1378314566, 1378314541, 1378314135] 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, '3569398') ('4302', '26123741', '1378321183', None, None, None, None, None, '3569398') ('4302', None, None, None, None, None, None, None, '3569398') ('4302', '26123741', '1378321126', None, None, None, None, None, '3569398') ('4302', None, None, None, None, None, None, None, '3569398') ('4302', '26123741', '1378321054', None, None, None, None, None, '3569398') ('4302', None, None, None, None, None, None, None, '3569398') ('4302', '26123741', '1378321031', None, None, None, None, None, '3569398') ('4302', None, None, None, None, None, None, None, '3569398') ('4302', '26123741', '1378321005', None, None, None, None, None, '3569398') ('4302', None, None, None, None, None, None, None, '3569398') ('4302', '26123741', '1378320260', None, None, None, None, None, '3569398') ('4302', None, None, None, None, None, None, None, '3569398') ('4302', '26123741', '1378320111', None, None, None, None, None, '3569398') ('4302', None, None, None, None, None, None, None, '3569398') ('4302', '26123741', '1378320015', None, None, None, None, None, '3569398') ('4302', None, None, None, None, None, None, None, '3569398') ('4302', '26123741', '1378319921', None, None, None, None, None, '3569398') ('4302', None, None, None, None, None, None, None, '3569398') ('4302', '26123741', '1378319790', None, None, None, None, None, '3569398') ('4302', None, None, None, None, None, None, None, '3569398') ('4302', '26123741', '1378319676', None, None, None, None, None, '3569398') ('4302', None, None, None, None, None, None, None, '3569398') ('4302', '26123741', '1378319223', None, None, None, None, None, '3569398') ('4302', None, None, None, None, None, None, None, '3569398') ('4302', '26123741', '1378318488', None, None, None, None, None, '3569398') ('4302', None, None, None, None, None, None, None, '3569398') ('4302', '26123741', '1378318478', None, None, None, None, None, '3569398') ('4302', None, None, None, None, None, None, None, '3569398') ('4302', '26123741', '1378318367', None, None, None, None, None, '3569398') ('4302', None, None, None, None, None, None, None, '3569398') ('4302', '26123741', '1378318363', None, None, None, None, None, '3569398') ('4302', None, None, None, None, None, None, None, '3569398') ('4302', '26123741', '1378317685', None, None, None, None, None, '3569398') ('4302', None, None, None, None, None, None, None, '3569398') ('4302', '26123741', '1378317616', None, None, None, None, None, '3569398') ('4302', None, None, None, None, None, None, None, '3569398') ('4302', '26123741', '1378317525', None, None, None, None, None, '3569398') ('4302', None, None, None, None, None, None, None, '3569398') ('4302', '26123741', '1378317430', None, None, None, None, None, '3569398') ('4302', None, None, None, None, None, None, None, '3569398') ('4302', '26123741', '1378317356', None, None, None, None, None, '3569398') ('4302', None, None, None, None, None, None, None, '3569398') ('4302', '26123741', '1378317297', None, None, None, None, None, '3569398') ('4302', None, None, None, None, None, None, None, '3569398') ('4302', '26123741', '1378316754', None, None, None, None, None, '3569398') ('4302', None, None, None, None, None, None, None, '3569398') ('4302', '26123741', '1378316751', None, None, None, None, None, '3569398') ('4302', None, None, None, None, None, None, None, '3569398') ('4302', '26123741', '1378316728', None, None, None, None, None, '3569398') ('4302', None, None, None, None, None, None, None, '3569398') ('4302', '26123741', '1378316707', None, None, None, None, None, '3569398') ('4302', None, None, None, None, None, None, None, '3569398') ('4302', '26123741', '1378316682', None, None, None, None, None, '3569398') ('4302', None, None, None, None, None, None, None, '3569398') ('4302', '26123741', '1378316658', None, None, None, None, None, '3569398') ('4302', None, None, None, None, None, None, None, '3569398') ('4302', '26123741', '1378316550', None, None, None, None, None, '3569398') ('4302', None, None, None, None, None, None, None, '3569398') ('4302', '26123741', '1378316219', None, None, None, None, None, '3569398') ('4302', None, None, None, None, None, None, None, '3569398') ('4302', '26123741', '1378316195', None, None, None, None, None, '3569398') ('4302', None, None, None, None, None, None, None, '3569398') ('4302', '26123741', '1378316157', None, None, None, None, None, '3569398') ('4302', None, None, None, None, None, None, None, '3569398') ('4302', '26123741', '1378315870', None, None, None, None, None, '3569398') ('4302', None, None, None, None, None, None, None, '3569398') ('4302', '26123741', '1378315824', None, None, None, None, None, '3569398') ('4302', None, None, None, None, None, None, None, '3569398') ('4302', '26123741', '1378315794', None, None, None, None, None, '3569398') ('4302', None, None, None, None, None, None, None, '3569398') ('4302', '26123741', '1378315736', None, None, None, None, None, '3569398') ('4302', None, None, None, None, None, None, None, '3569398') ('4302', '26123741', '1378315646', None, None, None, None, None, '3569398') ('4302', None, None, None, None, None, None, None, '3569398') ('4302', '26123741', '1378315572', None, None, None, None, None, '3569398') ('4302', None, None, None, None, None, None, None, '3569398') ('4302', '26123741', '1378315346', None, None, None, None, None, '3569398') ('4302', None, None, None, None, None, None, None, '3569398') ('4302', '26123741', '1378315031', None, None, None, None, None, '3569398') ('4302', None, None, None, None, None, None, None, '3569398') ('4302', '26123741', '1378314997', None, None, None, None, None, '3569398') ('4302', None, None, None, None, None, None, None, '3569398') ('4302', '26123741', '1378314938', None, None, None, None, None, '3569398') ('4302', None, None, None, None, None, None, None, '3569398') ('4302', '26123741', '1378314869', None, None, None, None, None, '3569398') ('4302', None, None, None, None, None, None, None, '3569398') ('4302', '26123741', '1378314792', None, None, None, None, None, '3569398') ('4302', None, None, None, None, None, None, None, '3569398') ('4302', '26123741', '1378314720', None, None, None, None, None, '3569398') ('4302', None, None, None, None, None, None, None, '3569398') ('4302', '26123741', '1378314566', None, None, None, None, None, '3569398') ('4302', None, None, None, None, None, None, None, '3569398') ('4302', '26123741', '1378314541', None, None, None, None, None, '3569398') ('4302', None, None, None, None, None, None, None, '3569398') ('4302', '26123741', '1378314135', None, None, None, None, None, '3569398') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 48 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', '26123741', '1378321183', None, None, None, None, None, '3569398'), ('4302', '26123741', '1378321126', None, None, None, None, None, '3569398'), ('4302', '26123741', '1378321054', None, None, None, None, None, '3569398'), ('4302', '26123741', '1378321031', None, None, None, None, None, '3569398'), ('4302', '26123741', '1378321005', None, None, None, None, None, '3569398'), ('4302', '26123741', '1378320260', None, None, None, None, None, '3569398'), ('4302', '26123741', '1378320111', None, None, None, None, None, '3569398'), ('4302', '26123741', '1378320015', None, None, None, None, None, '3569398'), ('4302', '26123741', '1378319921', None, None, None, None, None, '3569398'), ('4302', '26123741', '1378319790', None, None, None, None, None, '3569398'), ('4302', '26123741', '1378319676', None, None, None, None, None, '3569398'), ('4302', '26123741', '1378319223', None, None, None, None, None, '3569398'), ('4302', '26123741', '1378318488', None, None, None, None, None, '3569398'), ('4302', '26123741', '1378318478', None, None, None, None, None, '3569398'), ('4302', '26123741', '1378318367', None, None, None, None, None, '3569398'), ('4302', '26123741', '1378318363', None, None, None, None, None, '3569398'), ('4302', '26123741', '1378317685', None, None, None, None, None, '3569398'), ('4302', '26123741', '1378317616', None, None, None, None, None, '3569398'), ('4302', '26123741', '1378317525', None, None, None, None, None, '3569398'), ('4302', '26123741', '1378317430', None, None, None, None, None, '3569398'), ('4302', '26123741', '1378317356', None, None, None, None, None, '3569398'), ('4302', '26123741', '1378317297', None, None, None, None, None, '3569398'), ('4302', '26123741', '1378316754', None, None, None, None, None, '3569398'), ('4302', '26123741', '1378316751', None, None, None, None, None, '3569398'), ('4302', '26123741', '1378316728', None, None, None, None, None, '3569398'), ('4302', '26123741', '1378316707', None, None, None, None, None, '3569398'), ('4302', '26123741', '1378316682', None, None, None, None, None, '3569398'), ('4302', '26123741', '1378316658', None, None, None, None, None, '3569398'), ('4302', '26123741', '1378316550', None, None, None, None, None, '3569398'), ('4302', '26123741', '1378316219', None, None, None, None, None, '3569398'), ('4302', '26123741', '1378316195', None, None, None, None, None, '3569398'), ('4302', '26123741', '1378316157', None, None, None, None, None, '3569398'), ('4302', '26123741', '1378315870', None, None, None, None, None, '3569398'), ('4302', '26123741', '1378315824', None, None, None, None, None, '3569398'), ('4302', '26123741', '1378315794', None, None, None, None, None, '3569398'), ('4302', '26123741', '1378315736', None, None, None, None, None, '3569398'), ('4302', '26123741', '1378315646', None, None, None, None, None, '3569398'), ('4302', '26123741', '1378315572', None, None, None, None, None, '3569398'), ('4302', '26123741', '1378315346', None, None, None, None, None, '3569398'), ('4302', '26123741', '1378315031', None, None, None, None, None, '3569398'), ('4302', '26123741', '1378314997', None, None, None, None, None, '3569398'), ('4302', '26123741', '1378314938', None, None, None, None, None, '3569398'), ('4302', '26123741', '1378314869', None, None, None, None, None, '3569398'), ('4302', '26123741', '1378314792', None, None, None, None, None, '3569398'), ('4302', '26123741', '1378314720', None, None, None, None, None, '3569398'), ('4302', '26123741', '1378314566', None, None, None, None, None, '3569398'), ('4302', '26123741', '1378314541', None, None, None, None, None, '3569398'), ('4302', '26123741', '1378314135', None, None, None, None, None, '3569398')] time used for this insertion : 0.01733708381652832 save_final save missing photos in datou_result : time spend for datou_step_exec : 3.888652801513672 time spend to save output : 0.01779770851135254 total time spend for step 4 : 3.9064505100250244 step5:split_time_score Thu Aug 21 23:06:35 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 : ['26123741'] 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 : [('26123741',)] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (26123741) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {1378320015: {'path': 'temp/1755810392_1389604_1378320015_141206011af5770874b430f9bdf4e8bb.jpg', 'extension': 'jpg'}, 1378320111: {'path': 'temp/1755810392_1389604_1378320111_8c1eda0cffe42ecf0301df12fbbea924.jpg', 'extension': 'jpg'}, 1378320260: {'path': 'temp/1755810392_1389604_1378320260_ae7e83605873fd4c6a11b92864ef0670.jpg', 'extension': 'jpg'}, 1378321005: {'path': 'temp/1755810392_1389604_1378321005_12f0299c07e1894a49a6fc5072b6a5ea.jpg', 'extension': 'jpg'}, 1378321031: {'path': 'temp/1755810392_1389604_1378321031_106d92c67e884bf26ed3df904268b0a3.jpg', 'extension': 'jpg'}, 1378321054: {'path': 'temp/1755810392_1389604_1378321054_55eb8cb32dfe6fe7ad14345a56e7864e.jpg', 'extension': 'jpg'}, 1378321126: {'path': 'temp/1755810392_1389604_1378321126_ad862867fc43fc9b6b83f38e4ecceb24.jpg', 'extension': 'jpg'}, 1378321183: {'path': 'temp/1755810392_1389604_1378321183_82ee41d3824a54304219d2da9ea0e10a.jpg', 'extension': 'jpg'}, 1378317616: {'path': 'temp/1755810392_1389604_1378317616_0d268a8fdccb7bd7be3ef80e6b6651d0.jpg', 'extension': 'jpg'}, 1378317685: {'path': 'temp/1755810392_1389604_1378317685_ab194b78446fa578be86119ecac99d95.jpg', 'extension': 'jpg'}, 1378318363: {'path': 'temp/1755810392_1389604_1378318363_8c2b71a4009122eda56626704f564258.jpg', 'extension': 'jpg'}, 1378318367: {'path': 'temp/1755810392_1389604_1378318367_d8e580ee531498119c9a44f05e24c53c.jpg', 'extension': 'jpg'}, 1378318478: {'path': 'temp/1755810392_1389604_1378318478_de3bd3995d65d2a9349fb6aa77ac5db8.jpg', 'extension': 'jpg'}, 1378318488: {'path': 'temp/1755810392_1389604_1378318488_276f6ef2a82e480e4a7d3a016bc0adc0.jpg', 'extension': 'jpg'}, 1378319223: {'path': 'temp/1755810392_1389604_1378319223_33857afcfdc1a69858cb4fa42e4199aa.jpg', 'extension': 'jpg'}, 1378319676: {'path': 'temp/1755810392_1389604_1378319676_570420fb145f216ae09dfacc95273825.jpg', 'extension': 'jpg'}, 1378319790: {'path': 'temp/1755810392_1389604_1378319790_b5dfe12c7662d0fb147564e2372463d8.jpg', 'extension': 'jpg'}, 1378319921: {'path': 'temp/1755810392_1389604_1378319921_54c4bd0a8141bcbdf6c83726dfead35e.jpg', 'extension': 'jpg'}, 1378315572: {'path': 'temp/1755810392_1389604_1378315572_1c7ba3ee5124248c9dd5cb9efc9c6436.jpg', 'extension': 'jpg'}, 1378315646: {'path': 'temp/1755810392_1389604_1378315646_2f9e0b9809686c896f6a9659652900b7.jpg', 'extension': 'jpg'}, 1378315736: {'path': 'temp/1755810392_1389604_1378315736_363616eb9b5080b2faaa06bb28194cbd.jpg', 'extension': 'jpg'}, 1378315794: {'path': 'temp/1755810392_1389604_1378315794_b6a98948ccc3e6ae34a4ab08be4ce249.jpg', 'extension': 'jpg'}, 1378315824: {'path': 'temp/1755810392_1389604_1378315824_2649072ed6521ea383c369eacd57af31.jpg', 'extension': 'jpg'}, 1378315870: {'path': 'temp/1755810392_1389604_1378315870_364d50f139aa3e080cf77cadc3d1b18e.jpg', 'extension': 'jpg'}, 1378316157: {'path': 'temp/1755810392_1389604_1378316157_690c6364ad56a1cb7dfd0f45cad91837.jpg', 'extension': 'jpg'}, 1378316195: {'path': 'temp/1755810392_1389604_1378316195_317c458f57282de722372f4154da0091.jpg', 'extension': 'jpg'}, 1378316219: {'path': 'temp/1755810392_1389604_1378316219_0fb5c345c7a885ed1cd1468b5d4d90f7.jpg', 'extension': 'jpg'}, 1378316550: {'path': 'temp/1755810392_1389604_1378316550_4c7ed4ba4bf4003bf0cfb76bd3da7d40.jpg', 'extension': 'jpg'}, 1378316658: {'path': 'temp/1755810392_1389604_1378316658_a3a9d47860b6726ba716823df8ae282a.jpg', 'extension': 'jpg'}, 1378316682: {'path': 'temp/1755810392_1389604_1378316682_84ad657907a9e5c3a2e8547d4bc343ee.jpg', 'extension': 'jpg'}, 1378316707: {'path': 'temp/1755810392_1389604_1378316707_15a0889c867a64dd3e22556f31a73d53.jpg', 'extension': 'jpg'}, 1378316728: {'path': 'temp/1755810392_1389604_1378316728_4dfdb85c218b284485fbb962485d38b1.jpg', 'extension': 'jpg'}, 1378316751: {'path': 'temp/1755810392_1389604_1378316751_b5720e70675bee8b66ff5a6ed5477c81.jpg', 'extension': 'jpg'}, 1378316754: {'path': 'temp/1755810392_1389604_1378316754_7231119455ea3d4e35540e515c38ad00.jpg', 'extension': 'jpg'}, 1378317297: {'path': 'temp/1755810392_1389604_1378317297_3019e60ed23ce9a339f308653d7387ce.jpg', 'extension': 'jpg'}, 1378317356: {'path': 'temp/1755810392_1389604_1378317356_2726ad9150bbdfe7924a5d47baf6c0f6.jpg', 'extension': 'jpg'}, 1378317430: {'path': 'temp/1755810392_1389604_1378317430_2795d457fee97e4c06d0ac77bdc26864.jpg', 'extension': 'jpg'}, 1378317525: {'path': 'temp/1755810392_1389604_1378317525_df72614ae45e3f8eb9028d3cce34b535.jpg', 'extension': 'jpg'}, 1378314135: {'path': 'temp/1755810392_1389604_1378314135_88d89d65e4381354cbd649517cf59594.jpg', 'extension': 'jpg'}, 1378314541: {'path': 'temp/1755810392_1389604_1378314541_769bbf6aec79dd052c620df1749bd287.jpg', 'extension': 'jpg'}, 1378314566: {'path': 'temp/1755810392_1389604_1378314566_96b58abe8f34935d401aed7333ce5286.jpg', 'extension': 'jpg'}, 1378314720: {'path': 'temp/1755810392_1389604_1378314720_9f3b9ddf7a8c215d565b38a77650fe38.jpg', 'extension': 'jpg'}, 1378314792: {'path': 'temp/1755810392_1389604_1378314792_163a4eda720f3a1fe2c3bb11fe59b1dc.jpg', 'extension': 'jpg'}, 1378314869: {'path': 'temp/1755810392_1389604_1378314869_e92dff8de12912b49d1972f306091920.jpg', 'extension': 'jpg'}, 1378314938: {'path': 'temp/1755810392_1389604_1378314938_cb10bb49a466e0b640502c0909d7f74d.jpg', 'extension': 'jpg'}, 1378314997: {'path': 'temp/1755810392_1389604_1378314997_ea36499a1a3b05ca544c5e8d02e6e628.jpg', 'extension': 'jpg'}, 1378315031: {'path': 'temp/1755810392_1389604_1378315031_e13af5838b1e855cf5af35758610630e.jpg', 'extension': 'jpg'}, 1378315346: {'path': 'temp/1755810392_1389604_1378315346_9a39e2493ffef59ba3e894e65f372ff6.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 = 26123741; (('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 = 26123741 group by h (('18', 48),) 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=26123741 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 (26123741) 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 (26123741) AND cps.thcl in (758) order by cps.score desc LIMIT 0, 100000 ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 21082025 26123741 Nombre de photos uploadées : 48 / 23040 (0%) 21082025 26123741 Nombre de photos taguées (types de déchets): 0 / 48 (0%) 21082025 26123741 Nombre de photos taguées (volume) : 0 / 48 (0%) [{'photo_id': 1378321183, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/21/82ee41d3824a54304219d2da9ea0e10a.jpg', 'username': None, 'uploaded_at': 1755809932, 'text': 'image_21082025_18_02_44_10135.jpg'}, {'photo_id': 1378321126, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/21/ad862867fc43fc9b6b83f38e4ecceb24.jpg', 'username': None, 'uploaded_at': 1755809932, 'text': 'image_21082025_18_03_34_10135.jpg'}, {'photo_id': 1378321054, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/21/55eb8cb32dfe6fe7ad14345a56e7864e.jpg', 'username': None, 'uploaded_at': 1755809932, 'text': 'image_21082025_18_03_43_9123.jpg'}, {'photo_id': 1378321031, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/21/106d92c67e884bf26ed3df904268b0a3.jpg', 'username': None, 'uploaded_at': 1755809932, 'text': 'image_21082025_18_03_54_10136.jpg'}] 0 [] elapsed_time : load_data_split_time_score 1.6689300537109375e-06 elapsed_time : order_list_meta_photo_and_scores 6.198883056640625e-06 ???????????????????????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.0024602413177490234 INSERT INTO `MTRPhoto`.`dashboard_entry_day` (`dashboard_place_id`, `mtr_portfolio_id`, `date`) VALUES ( 10, 26123741, '2025-08-21' ) 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-08-21' ; INSERT INTO `MTRPhoto`.`dashboard_run_ids` (`dashboard_entry_day`, `mtr_user_id`, `misc_info`) VALUES (2150059,979,"{}"); Catched exception ! Connect or reconnect ! elapsed_time : insert_dashboard_record_day_entry 0.2074284553527832 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= 2150059 AND ded.last_run_id=dri.id AND dri.dashboard_entry_day=ded.id AND dri.id=dr.dashboard_run_id [{'dashboat_entry_day': 2150059, 'dashboard_run_id': 2161929, 'mtr_portfolio_id': 26104011, 'dashboard_result_id': 14159030, '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_P26104011_21-08-2025_06_09_38.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26104017, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26104018, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26104019, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26104020, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26104021, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26104022, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26104023, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26104024, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26104025, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26104026, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26104027, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26104028, 'pht': 3726}}"}, {'dashboat_entry_day': 2150059, 'dashboard_run_id': 2161929, 'mtr_portfolio_id': 26104370, 'dashboard_result_id': 14159031, '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_P26104370_21-08-2025_06_09_31.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 26104395, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26104396, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26104397, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26104398, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26104399, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26104400, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26104401, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26104402, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26104403, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26104404, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26104405, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26104406, 'pht': 3726}}"}, {'dashboat_entry_day': 2150059, 'dashboard_run_id': 2161929, 'mtr_portfolio_id': 26104723, 'dashboard_result_id': 14159032, '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_P26104723_21-08-2025_06_10_02.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26104724, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26104725, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26104726, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26104727, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26104728, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26104729, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26104730, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26104731, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26104732, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26104733, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26104734, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26104735, 'pht': 3726}}"}, {'dashboat_entry_day': 2150059, 'dashboard_run_id': 2161929, 'mtr_portfolio_id': 26105181, 'dashboard_result_id': 14159033, '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_P26105181_21-08-2025_06_10_32.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26105187, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26105188, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26105189, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26105190, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26105191, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26105192, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26105193, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26105194, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26105195, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26105196, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26105197, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26105198, 'pht': 3726}}"}, {'dashboat_entry_day': 2150059, 'dashboard_run_id': 2161929, 'mtr_portfolio_id': 26105970, 'dashboard_result_id': 14159034, '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_P26105970_21-08-2025_06_11_03.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26105974, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26105975, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26105976, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26105977, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26105978, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26105979, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26105980, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26105981, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26105982, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26105983, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26105984, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26105985, 'pht': 3726}}"}, {'dashboat_entry_day': 2150059, 'dashboard_run_id': 2161929, 'mtr_portfolio_id': 26106247, 'dashboard_result_id': 14159035, '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_P26106247_21-08-2025_06_11_35.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26106257, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26106258, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26106259, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26106260, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26106261, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26106262, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26106263, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26106264, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26106265, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26106266, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26106267, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26106268, 'pht': 3726}}"}, {'dashboat_entry_day': 2150059, 'dashboard_run_id': 2161929, 'mtr_portfolio_id': 26106455, 'dashboard_result_id': 14159036, '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_P26106455_21-08-2025_06_11_31.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 26106480, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26106481, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26106482, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26106483, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26106484, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26106485, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26106486, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26106487, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26106488, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26106489, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26106490, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26106491, 'pht': 3726}}"}, {'dashboat_entry_day': 2150059, 'dashboard_run_id': 2161929, 'mtr_portfolio_id': 26106867, 'dashboard_result_id': 14159037, '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_P26106867_21-08-2025_06_12_01.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26106902, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26106903, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26106904, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26106905, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26106906, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26106907, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26106908, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26106910, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26106911, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26106912, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26106913, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26106914, 'pht': 3726}}"}, {'dashboat_entry_day': 2150059, 'dashboard_run_id': 2161929, 'mtr_portfolio_id': 26107371, 'dashboard_result_id': 14159038, '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_P26107371_21-08-2025_06_12_32.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26107424, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26107425, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26107426, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26107427, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26107428, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26107429, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26107430, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26107431, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26107432, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26107433, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26107434, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26107435, 'pht': 3726}}"}, {'dashboat_entry_day': 2150059, 'dashboard_run_id': 2161929, 'mtr_portfolio_id': 26107795, 'dashboard_result_id': 14159039, '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_P26107795_21-08-2025_06_13_01.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 26107832, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26107833, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26107834, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26107835, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26107836, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26107837, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26107838, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26107839, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26107840, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26107841, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26107842, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26107843, 'pht': 3726}}"}, {'dashboat_entry_day': 2150059, 'dashboard_run_id': 2161929, 'mtr_portfolio_id': 26108299, 'dashboard_result_id': 14159040, '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_P26108299_21-08-2025_06_13_31.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26108304, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26108305, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26108306, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26108307, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26108308, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26108309, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26108310, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26108311, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26108312, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26108313, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26108314, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26108315, 'pht': 3726}}"}, {'dashboat_entry_day': 2150059, 'dashboard_run_id': 2161929, 'mtr_portfolio_id': 26108628, 'dashboard_result_id': 14159041, '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_P26108628_21-08-2025_06_13_29.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26108638, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26108639, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26108640, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26108641, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26108642, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26108643, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26108644, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26108645, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26108646, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26108647, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26108648, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26108649, 'pht': 3726}}"}, {'dashboat_entry_day': 2150059, 'dashboard_run_id': 2161929, 'mtr_portfolio_id': 26108923, 'dashboard_result_id': 14159042, '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_P26108923_21-08-2025_06_14_00.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26108948, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26108949, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26108950, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26108951, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26108952, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26108953, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26108954, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26108956, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26108957, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26108958, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26108959, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26108960, 'pht': 3726}}"}, {'dashboat_entry_day': 2150059, 'dashboard_run_id': 2161929, 'mtr_portfolio_id': 26109293, 'dashboard_result_id': 14159043, '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_P26109293_21-08-2025_06_14_30.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 26109318, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26109319, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26109320, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26109321, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26109322, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26109323, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26109324, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26109325, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26109326, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26109327, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26109328, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26109329, 'pht': 3726}}"}, {'dashboat_entry_day': 2150059, 'dashboard_run_id': 2161929, 'mtr_portfolio_id': 26109627, 'dashboard_result_id': 14159044, '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_P26109627_21-08-2025_06_15_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26109647, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26109648, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26109649, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26109650, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26109651, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26109652, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26109653, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26109654, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26109655, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26109656, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26109657, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26109658, 'pht': 3726}}"}, {'dashboat_entry_day': 2150059, 'dashboard_run_id': 2161929, 'mtr_portfolio_id': 26110833, 'dashboard_result_id': 14159045, '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_P26110833_21-08-2025_06_15_32.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26110838, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26110839, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26110840, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26110841, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26110842, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26110843, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26110844, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26110845, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26110846, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26110847, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26110848, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26110849, 'pht': 3726}}"}, {'dashboat_entry_day': 2150059, 'dashboard_run_id': 2161929, 'mtr_portfolio_id': 26112339, 'dashboard_result_id': 14159046, '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_P26112339_21-08-2025_07_55_01.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26112358, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26112359, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26112360, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26112361, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26112362, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26112363, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26112364, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26112365, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26112366, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26112367, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26112368, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26112369, 'pht': 3726}}"}, {'dashboat_entry_day': 2150059, 'dashboard_run_id': 2161929, 'mtr_portfolio_id': 26113196, 'dashboard_result_id': 14159047, '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_P26113196_21-08-2025_08_17_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26113212, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26113213, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26113214, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26113215, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26113216, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26113217, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26113218, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26113219, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26113220, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26113221, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26113222, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26113223, 'pht': 3726}}"}, {'dashboat_entry_day': 2150059, 'dashboard_run_id': 2161929, 'mtr_portfolio_id': 26115072, 'dashboard_result_id': 14159048, '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_P26115072_21-08-2025_09_49_00.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 26115086, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26115087, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26115088, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26115089, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26115090, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26115091, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26115092, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26115093, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26115094, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26115095, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26115096, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26115097, 'pht': 3726}}"}, {'dashboat_entry_day': 2150059, 'dashboard_run_id': 2161929, 'mtr_portfolio_id': 26115347, 'dashboard_result_id': 14159049, '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_P26115347_21-08-2025_10_02_57.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 26115348, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26115349, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26115350, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26115351, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26115352, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26115353, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26115354, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26115355, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26115356, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26115357, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26115358, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26115359, 'pht': 3726}}"}, {'dashboat_entry_day': 2150059, 'dashboard_run_id': 2161929, 'mtr_portfolio_id': 26116002, 'dashboard_result_id': 14159050, '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_P26116002_21-08-2025_10_39_01.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 26116008, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26116009, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26116010, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26116011, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26116012, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26116013, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26116014, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26116015, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26116016, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26116017, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26116018, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26116019, 'pht': 3726}}"}, {'dashboat_entry_day': 2150059, 'dashboard_run_id': 2161929, 'mtr_portfolio_id': 26116798, 'dashboard_result_id': 14159051, '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_P26116798_21-08-2025_11_03_00.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26116803, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26116804, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26116805, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26116806, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26116807, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26116808, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26116809, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26116810, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26116811, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26116812, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26116813, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26116814, 'pht': 3726}}"}, {'dashboat_entry_day': 2150059, 'dashboard_run_id': 2161929, 'mtr_portfolio_id': 26117036, 'dashboard_result_id': 14159052, '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_P26117036_21-08-2025_11_16_29.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26117049, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26117050, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26117051, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26117052, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26117053, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26117054, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26117055, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26117056, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26117057, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26117058, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26117059, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26117060, 'pht': 3726}}"}, {'dashboat_entry_day': 2150059, 'dashboard_run_id': 2161929, 'mtr_portfolio_id': 26117465, 'dashboard_result_id': 14159053, '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_P26117465_21-08-2025_11_35_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26117470, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26117471, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26117472, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26117473, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26117474, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26117475, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26117476, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26117477, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26117478, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26117479, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26117480, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26117481, 'pht': 3726}}"}, {'dashboat_entry_day': 2150059, 'dashboard_run_id': 2161929, 'mtr_portfolio_id': 26117995, 'dashboard_result_id': 14159054, '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_P26117995_21-08-2025_11_46_31.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26118022, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26118023, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26118024, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26118025, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26118027, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26118028, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26118029, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26118030, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26118032, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26118033, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26118034, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26118035, 'pht': 3726}}"}, {'dashboat_entry_day': 2150059, 'dashboard_run_id': 2161929, 'mtr_portfolio_id': 26123739, 'dashboard_result_id': 14159055, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': ''}"}, {'dashboat_entry_day': 2150059, 'dashboard_run_id': 2161929, 'mtr_portfolio_id': 26123741, 'dashboard_result_id': 14159056, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': ''}"}, {'dashboat_entry_day': 2150059, 'dashboard_run_id': 2161929, 'mtr_portfolio_id': 26123743, 'dashboard_result_id': 14159057, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': ''}"}, {'dashboat_entry_day': 2150059, 'dashboard_run_id': 2161929, 'mtr_portfolio_id': 26123746, 'dashboard_result_id': 14159058, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': ''}"}, {'dashboat_entry_day': 2150059, 'dashboard_run_id': 2161929, 'mtr_portfolio_id': 26123748, 'dashboard_result_id': 14159059, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': ''}"}, {'dashboat_entry_day': 2150059, 'dashboard_run_id': 2161929, 'mtr_portfolio_id': 26123751, 'dashboard_result_id': 14159060, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': ''}"}, {'dashboat_entry_day': 2150059, 'dashboard_run_id': 2161929, 'mtr_portfolio_id': 26123753, 'dashboard_result_id': 14159061, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': ''}"}, {'dashboat_entry_day': 2150059, 'dashboard_run_id': 2161929, 'mtr_portfolio_id': 26123757, 'dashboard_result_id': 14159062, '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_P26123757_21-08-2025_23_02_01.pdf'}"}, {'dashboat_entry_day': 2150059, 'dashboard_run_id': 2161929, 'mtr_portfolio_id': 26123759, 'dashboard_result_id': 14159063, '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_P26123759_21-08-2025_23_01_32.pdf'}"}, {'dashboat_entry_day': 2150059, 'dashboard_run_id': 2161929, 'mtr_portfolio_id': 26123762, 'dashboard_result_id': 14159064, '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_P26123762_21-08-2025_23_01_37.pdf'}"}, {'dashboat_entry_day': 2150059, 'dashboard_run_id': 2161929, 'mtr_portfolio_id': 26119204, 'dashboard_result_id': 14159065, '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_P26119204_21-08-2025_23_01_33.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26119215, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26119217, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26119218, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26119219, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26119220, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26119221, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26119222, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26119223, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26119224, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26119225, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26119226, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26119227, 'pht': 3726}}"}, {'dashboat_entry_day': 2150059, 'dashboard_run_id': 2161929, 'mtr_portfolio_id': 26118622, 'dashboard_result_id': 14159066, '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_P26118622_21-08-2025_21_04_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26118666, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26118667, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26118668, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26118669, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26118670, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26118671, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26118672, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26118673, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26118674, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26118675, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26118676, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26118677, 'pht': 3726}}"}, {'dashboat_entry_day': 2150059, 'dashboard_run_id': 2161929, 'mtr_portfolio_id': 26118794, 'dashboard_result_id': 14159067, '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_P26118794_21-08-2025_21_19_00.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 26118805, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26118806, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26118807, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26118808, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26118809, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26118810, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26118811, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26118812, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26118813, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26118814, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26118815, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26118816, 'pht': 3726}}"}, {'dashboat_entry_day': 2150059, 'dashboard_run_id': 2161929, 'mtr_portfolio_id': 26119382, 'dashboard_result_id': 14159068, '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_P26119382_21-08-2025_21_32_58.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26119429, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26119430, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26119431, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26119432, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26119433, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26119434, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26119435, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26119436, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26119437, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26119438, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26119439, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26119440, 'pht': 3726}}"}, {'dashboat_entry_day': 2150059, 'dashboard_run_id': 2161929, 'mtr_portfolio_id': 26120012, 'dashboard_result_id': 14159069, '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_P26120012_21-08-2025_21_48_59.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26120057, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26120058, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26120059, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26120060, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26120061, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26120062, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26120063, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26120064, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26120065, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26120066, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26120067, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26120068, 'pht': 3726}}"}, {'dashboat_entry_day': 2150059, 'dashboard_run_id': 2161929, 'mtr_portfolio_id': 26120751, 'dashboard_result_id': 14159070, '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_P26120751_21-08-2025_22_02_57.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26120759, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26120760, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26120761, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26120762, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26120763, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26120764, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26120765, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26120766, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26120767, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26120768, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26120769, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26120770, 'pht': 3726}}"}, {'dashboat_entry_day': 2150059, 'dashboard_run_id': 2161929, 'mtr_portfolio_id': 26121224, 'dashboard_result_id': 14159071, '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_P26121224_21-08-2025_22_19_00.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26121252, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26121253, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26121254, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26121255, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26121256, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26121257, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26121258, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26121259, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26121260, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26121261, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26121262, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26121263, 'pht': 3726}}"}, {'dashboat_entry_day': 2150059, 'dashboard_run_id': 2161929, 'mtr_portfolio_id': 26121970, 'dashboard_result_id': 14159072, '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_P26121970_21-08-2025_22_33_33.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26121999, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26122000, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26122001, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26122002, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26122003, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26122004, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26122005, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26122006, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26122007, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26122008, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26122009, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26122010, 'pht': 3726}}"}, {'dashboat_entry_day': 2150059, 'dashboard_run_id': 2161929, 'mtr_portfolio_id': 26122544, 'dashboard_result_id': 14159073, '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_P26122544_21-08-2025_22_48_59.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26122550, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26122551, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26122552, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26122553, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26122554, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26122555, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26122556, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26122557, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26122558, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26122559, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26122560, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26122561, 'pht': 3726}}"}, {'dashboat_entry_day': 2150059, 'dashboard_run_id': 2161929, 'mtr_portfolio_id': 26123302, 'dashboard_result_id': 14159074, '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_P26123302_21-08-2025_23_03_29.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26123345, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26123346, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26123347, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26123348, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26123349, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26123350, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26123352, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26123353, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26123354, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26123355, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26123356, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26123357, 'pht': 3726}}"}, {'dashboat_entry_day': 2150059, 'dashboard_run_id': 2161929, 'mtr_portfolio_id': 26123977, 'dashboard_result_id': 14159075, '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_P26123977_21-08-2025_23_02_59.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26123992, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26123993, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26123994, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26123995, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26123996, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26123997, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26123998, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26123999, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26124000, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26124001, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26124002, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26124003, 'pht': 3726}}"}] SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26104011 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': 3567225, 'mtr_portfolio_id': 26104011, 'created_at': datetime.datetime(2025, 8, 21, 6, 9, 33), 'result': '0.036997032264661285', 'result_long': None, 'result_double': None}] Qualite : 0.036997032264661285 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26104011 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26104011_21-08-2025_06_09_38.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26104011 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_P26104011_21-08-2025_06_09_38.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26104017, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26104018, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26104019, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26104020, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26104021, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26104022, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26104023, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26104024, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26104025, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26104026, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26104027, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26104028, 'pht': 3726}}" where mtr_portfolio_id = 26104011 and dashboard_run_id = 2161929 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`=26104011 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14159030, 0.036997032264661285, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26104011_21-08-2025_06_09_38.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26104017, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26104018, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26104019, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26104020, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26104021, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26104022, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26104023, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26104024, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26104025, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26104026, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26104027, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26104028, '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 = 26104370 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': 3567226, 'mtr_portfolio_id': 26104370, 'created_at': datetime.datetime(2025, 8, 21, 6, 9, 29), 'result': '0.06290727548478742', 'result_long': None, 'result_double': None}] Qualite : 0.06290727548478742 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26104370 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26104370_21-08-2025_06_09_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26104370 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_P26104370_21-08-2025_06_09_31.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 26104395, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26104396, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26104397, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26104398, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26104399, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26104400, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26104401, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26104402, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26104403, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26104404, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26104405, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26104406, 'pht': 3726}}" where mtr_portfolio_id = 26104370 and dashboard_run_id = 2161929 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`=26104370 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14159031, 0.06290727548478742, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26104370_21-08-2025_06_09_31.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 26104395, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26104396, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26104397, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26104398, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26104399, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26104400, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26104401, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26104402, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26104403, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26104404, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26104405, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26104406, '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 = 26104723 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': 3567227, 'mtr_portfolio_id': 26104723, 'created_at': datetime.datetime(2025, 8, 21, 6, 9, 59), 'result': '0.0648997128330575', 'result_long': None, 'result_double': None}] Qualite : 0.0648997128330575 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26104723 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26104723_21-08-2025_06_10_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26104723 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_P26104723_21-08-2025_06_10_02.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26104724, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26104725, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26104726, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26104727, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26104728, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26104729, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26104730, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26104731, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26104732, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26104733, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26104734, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26104735, 'pht': 3726}}" where mtr_portfolio_id = 26104723 and dashboard_run_id = 2161929 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`=26104723 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14159032, 0.0648997128330575, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26104723_21-08-2025_06_10_02.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26104724, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26104725, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26104726, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26104727, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26104728, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26104729, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26104730, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26104731, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26104732, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26104733, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26104734, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26104735, '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 = 26105181 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': 3567228, 'mtr_portfolio_id': 26105181, 'created_at': datetime.datetime(2025, 8, 21, 6, 10, 29), 'result': '0.07584460237293264', 'result_long': None, 'result_double': None}] Qualite : 0.07584460237293264 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26105181 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26105181_21-08-2025_06_10_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26105181 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_P26105181_21-08-2025_06_10_32.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26105187, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26105188, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26105189, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26105190, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26105191, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26105192, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26105193, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26105194, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26105195, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26105196, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26105197, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26105198, 'pht': 3726}}" where mtr_portfolio_id = 26105181 and dashboard_run_id = 2161929 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`=26105181 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14159033, 0.07584460237293264, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26105181_21-08-2025_06_10_32.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26105187, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26105188, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26105189, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26105190, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26105191, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26105192, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26105193, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26105194, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26105195, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26105196, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26105197, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26105198, '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 = 26105970 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': 3567229, 'mtr_portfolio_id': 26105970, 'created_at': datetime.datetime(2025, 8, 21, 6, 11), 'result': '0.05278433804259537', 'result_long': None, 'result_double': None}] Qualite : 0.05278433804259537 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26105970 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26105970_21-08-2025_06_11_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26105970 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_P26105970_21-08-2025_06_11_03.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26105974, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26105975, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26105976, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26105977, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26105978, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26105979, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26105980, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26105981, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26105982, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26105983, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26105984, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26105985, 'pht': 3726}}" where mtr_portfolio_id = 26105970 and dashboard_run_id = 2161929 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`=26105970 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14159034, 0.05278433804259537, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26105970_21-08-2025_06_11_03.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26105974, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26105975, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26105976, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26105977, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26105978, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26105979, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26105980, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26105981, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26105982, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26105983, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26105984, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26105985, '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 = 26106247 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': 3567230, 'mtr_portfolio_id': 26106247, 'created_at': datetime.datetime(2025, 8, 21, 6, 11, 32), 'result': '0.055348475501581756', 'result_long': None, 'result_double': None}] Qualite : 0.055348475501581756 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26106247 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26106247_21-08-2025_06_11_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26106247 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_P26106247_21-08-2025_06_11_35.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26106257, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26106258, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26106259, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26106260, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26106261, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26106262, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26106263, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26106264, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26106265, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26106266, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26106267, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26106268, 'pht': 3726}}" where mtr_portfolio_id = 26106247 and dashboard_run_id = 2161929 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`=26106247 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14159035, 0.055348475501581756, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26106247_21-08-2025_06_11_35.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26106257, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26106258, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26106259, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26106260, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26106261, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26106262, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26106263, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26106264, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26106265, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26106266, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26106267, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26106268, '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 = 26106455 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': 3567231, 'mtr_portfolio_id': 26106455, 'created_at': datetime.datetime(2025, 8, 21, 6, 11, 28), 'result': '0.0352462081204029', 'result_long': None, 'result_double': None}] Qualite : 0.0352462081204029 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26106455 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26106455_21-08-2025_06_11_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26106455 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_P26106455_21-08-2025_06_11_31.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 26106480, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26106481, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26106482, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26106483, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26106484, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26106485, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26106486, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26106487, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26106488, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26106489, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26106490, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26106491, 'pht': 3726}}" where mtr_portfolio_id = 26106455 and dashboard_run_id = 2161929 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`=26106455 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14159036, 0.0352462081204029, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26106455_21-08-2025_06_11_31.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 26106480, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26106481, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26106482, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26106483, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26106484, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26106485, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26106486, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26106487, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26106488, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26106489, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26106490, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26106491, '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 = 26106867 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': 3567232, 'mtr_portfolio_id': 26106867, 'created_at': datetime.datetime(2025, 8, 21, 6, 11, 58), 'result': '0.04875656707478276', 'result_long': None, 'result_double': None}] Qualite : 0.04875656707478276 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26106867 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26106867_21-08-2025_06_12_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26106867 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_P26106867_21-08-2025_06_12_01.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26106902, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26106903, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26106904, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26106905, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26106906, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26106907, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26106908, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26106910, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26106911, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26106912, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26106913, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26106914, 'pht': 3726}}" where mtr_portfolio_id = 26106867 and dashboard_run_id = 2161929 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`=26106867 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14159037, 0.04875656707478276, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26106867_21-08-2025_06_12_01.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26106902, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26106903, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26106904, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26106905, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26106906, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26106907, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26106908, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26106910, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26106911, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26106912, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26106913, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26106914, '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 = 26107371 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': 3567233, 'mtr_portfolio_id': 26107371, 'created_at': datetime.datetime(2025, 8, 21, 6, 12, 29), 'result': '0.041520223827048036', 'result_long': None, 'result_double': None}] Qualite : 0.041520223827048036 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26107371 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26107371_21-08-2025_06_12_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26107371 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_P26107371_21-08-2025_06_12_32.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26107424, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26107425, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26107426, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26107427, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26107428, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26107429, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26107430, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26107431, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26107432, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26107433, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26107434, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26107435, 'pht': 3726}}" where mtr_portfolio_id = 26107371 and dashboard_run_id = 2161929 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`=26107371 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14159038, 0.041520223827048036, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26107371_21-08-2025_06_12_32.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26107424, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26107425, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26107426, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26107427, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26107428, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26107429, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26107430, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26107431, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26107432, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26107433, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26107434, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26107435, '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 = 26107795 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': 3567234, 'mtr_portfolio_id': 26107795, 'created_at': datetime.datetime(2025, 8, 21, 6, 13), 'result': '0.029293285642726395', 'result_long': None, 'result_double': None}] Qualite : 0.029293285642726395 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26107795 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26107795_21-08-2025_06_13_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26107795 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_P26107795_21-08-2025_06_13_01.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 26107832, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26107833, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26107834, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26107835, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26107836, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26107837, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26107838, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26107839, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26107840, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26107841, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26107842, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26107843, 'pht': 3726}}" where mtr_portfolio_id = 26107795 and dashboard_run_id = 2161929 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`=26107795 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14159039, 0.029293285642726395, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26107795_21-08-2025_06_13_01.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 26107832, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26107833, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26107834, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26107835, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26107836, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26107837, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26107838, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26107839, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26107840, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26107841, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26107842, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26107843, '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 = 26108299 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': 3567235, 'mtr_portfolio_id': 26108299, 'created_at': datetime.datetime(2025, 8, 21, 6, 13, 28), 'result': '0.03978402661304686', 'result_long': None, 'result_double': None}] Qualite : 0.03978402661304686 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26108299 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26108299_21-08-2025_06_13_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26108299 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_P26108299_21-08-2025_06_13_31.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26108304, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26108305, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26108306, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26108307, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26108308, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26108309, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26108310, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26108311, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26108312, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26108313, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26108314, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26108315, 'pht': 3726}}" where mtr_portfolio_id = 26108299 and dashboard_run_id = 2161929 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`=26108299 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14159040, 0.03978402661304686, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26108299_21-08-2025_06_13_31.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26108304, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26108305, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26108306, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26108307, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26108308, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26108309, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26108310, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26108311, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26108312, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26108313, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26108314, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26108315, '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 = 26108628 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': 3567236, 'mtr_portfolio_id': 26108628, 'created_at': datetime.datetime(2025, 8, 21, 6, 13, 27), 'result': '0.0381780617768708', 'result_long': None, 'result_double': None}] Qualite : 0.0381780617768708 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26108628 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26108628_21-08-2025_06_13_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26108628 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_P26108628_21-08-2025_06_13_29.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26108638, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26108639, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26108640, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26108641, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26108642, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26108643, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26108644, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26108645, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26108646, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26108647, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26108648, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26108649, 'pht': 3726}}" where mtr_portfolio_id = 26108628 and dashboard_run_id = 2161929 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`=26108628 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14159041, 0.0381780617768708, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26108628_21-08-2025_06_13_29.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26108638, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26108639, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26108640, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26108641, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26108642, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26108643, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26108644, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26108645, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26108646, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26108647, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26108648, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26108649, '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 = 26108923 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': 3567237, 'mtr_portfolio_id': 26108923, 'created_at': datetime.datetime(2025, 8, 21, 6, 13, 57), 'result': '0.03553716616165677', 'result_long': None, 'result_double': None}] Qualite : 0.03553716616165677 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26108923 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26108923_21-08-2025_06_14_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26108923 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_P26108923_21-08-2025_06_14_00.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26108948, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26108949, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26108950, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26108951, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26108952, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26108953, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26108954, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26108956, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26108957, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26108958, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26108959, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26108960, 'pht': 3726}}" where mtr_portfolio_id = 26108923 and dashboard_run_id = 2161929 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`=26108923 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14159042, 0.03553716616165677, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26108923_21-08-2025_06_14_00.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26108948, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26108949, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26108950, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26108951, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26108952, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26108953, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26108954, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26108956, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26108957, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26108958, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26108959, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26108960, '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 = 26109293 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': 3567238, 'mtr_portfolio_id': 26109293, 'created_at': datetime.datetime(2025, 8, 21, 6, 14, 28), 'result': '0.034017574433070644', 'result_long': None, 'result_double': None}] Qualite : 0.034017574433070644 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26109293 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26109293_21-08-2025_06_14_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26109293 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_P26109293_21-08-2025_06_14_30.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 26109318, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26109319, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26109320, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26109321, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26109322, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26109323, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26109324, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26109325, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26109326, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26109327, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26109328, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26109329, 'pht': 3726}}" where mtr_portfolio_id = 26109293 and dashboard_run_id = 2161929 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`=26109293 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14159043, 0.034017574433070644, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26109293_21-08-2025_06_14_30.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 26109318, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26109319, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26109320, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26109321, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26109322, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26109323, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26109324, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26109325, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26109326, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26109327, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26109328, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26109329, '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 = 26109627 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': 3567239, 'mtr_portfolio_id': 26109627, 'created_at': datetime.datetime(2025, 8, 21, 6, 14, 58), 'result': '0.039700312273563666', 'result_long': None, 'result_double': None}] Qualite : 0.039700312273563666 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26109627 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26109627_21-08-2025_06_15_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26109627 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_P26109627_21-08-2025_06_15_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26109647, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26109648, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26109649, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26109650, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26109651, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26109652, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26109653, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26109654, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26109655, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26109656, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26109657, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26109658, 'pht': 3726}}" where mtr_portfolio_id = 26109627 and dashboard_run_id = 2161929 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`=26109627 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14159044, 0.039700312273563666, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26109627_21-08-2025_06_15_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26109647, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26109648, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26109649, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26109650, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26109651, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26109652, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26109653, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26109654, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26109655, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26109656, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26109657, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26109658, '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 = 26110833 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': 3567240, 'mtr_portfolio_id': 26110833, 'created_at': datetime.datetime(2025, 8, 21, 6, 15, 31), 'result': '0.12393717367823562', 'result_long': None, 'result_double': None}] Qualite : 0.12393717367823562 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26110833 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26110833_21-08-2025_06_15_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26110833 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_P26110833_21-08-2025_06_15_32.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26110838, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26110839, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26110840, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26110841, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26110842, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26110843, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26110844, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26110845, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26110846, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26110847, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26110848, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26110849, 'pht': 3726}}" where mtr_portfolio_id = 26110833 and dashboard_run_id = 2161929 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`=26110833 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14159045, 0.12393717367823562, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26110833_21-08-2025_06_15_32.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26110838, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26110839, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26110840, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26110841, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26110842, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26110843, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26110844, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26110845, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26110846, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26110847, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26110848, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26110849, '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 = 26112339 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': 3567525, 'mtr_portfolio_id': 26112339, 'created_at': datetime.datetime(2025, 8, 21, 7, 55, 1), 'result': '0.013108964206823257', 'result_long': None, 'result_double': None}] Qualite : 0.013108964206823257 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26112339 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26112339_21-08-2025_07_55_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26112339 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_P26112339_21-08-2025_07_55_01.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26112358, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26112359, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26112360, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26112361, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26112362, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26112363, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26112364, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26112365, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26112366, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26112367, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26112368, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26112369, 'pht': 3726}}" where mtr_portfolio_id = 26112339 and dashboard_run_id = 2161929 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`=26112339 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14159046, 0.013108964206823257, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26112339_21-08-2025_07_55_01.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26112358, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26112359, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26112360, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26112361, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26112362, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26112363, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26112364, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26112365, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26112366, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26112367, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26112368, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26112369, '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 = 26113196 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': 3567631, 'mtr_portfolio_id': 26113196, 'created_at': datetime.datetime(2025, 8, 21, 8, 17), 'result': '0.012975109061569257', 'result_long': None, 'result_double': None}] Qualite : 0.012975109061569257 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26113196 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26113196_21-08-2025_08_17_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26113196 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_P26113196_21-08-2025_08_17_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26113212, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26113213, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26113214, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26113215, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26113216, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26113217, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26113218, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26113219, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26113220, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26113221, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26113222, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26113223, 'pht': 3726}}" where mtr_portfolio_id = 26113196 and dashboard_run_id = 2161929 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`=26113196 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14159047, 0.012975109061569257, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26113196_21-08-2025_08_17_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26113212, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26113213, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26113214, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26113215, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26113216, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26113217, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26113218, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26113219, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26113220, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26113221, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26113222, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26113223, '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 = 26115072 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 = 26115072 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 = 26115072 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26115072 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 = 26115072 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 = 26115072 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26115072_21-08-2025_09_49_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26115072 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_P26115072_21-08-2025_09_49_00.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 26115086, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26115087, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26115088, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26115089, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26115090, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26115091, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26115092, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26115093, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26115094, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26115095, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26115096, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26115097, 'pht': 3726}}" where mtr_portfolio_id = 26115072 and dashboard_run_id = 2161929 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 = 26115347 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': 3567917, 'mtr_portfolio_id': 26115347, 'created_at': datetime.datetime(2025, 8, 21, 10, 2, 57), 'result': '0.010201268372996074', 'result_long': None, 'result_double': None}] Qualite : 0.010201268372996074 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26115347 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26115347_21-08-2025_10_02_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26115347 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_P26115347_21-08-2025_10_02_57.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 26115348, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26115349, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26115350, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26115351, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26115352, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26115353, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26115354, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26115355, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26115356, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26115357, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26115358, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26115359, 'pht': 3726}}" where mtr_portfolio_id = 26115347 and dashboard_run_id = 2161929 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`=26115347 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14159049, 0.010201268372996074, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26115347_21-08-2025_10_02_57.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 26115348, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26115349, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26115350, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26115351, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26115352, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26115353, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26115354, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26115355, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26115356, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26115357, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26115358, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26115359, '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 = 26116002 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': 3567995, 'mtr_portfolio_id': 26116002, 'created_at': datetime.datetime(2025, 8, 21, 10, 39), 'result': '0.14282706536816278', 'result_long': None, 'result_double': None}] Qualite : 0.14282706536816278 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26116002 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26116002_21-08-2025_10_39_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26116002 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_P26116002_21-08-2025_10_39_01.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 26116008, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26116009, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26116010, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26116011, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26116012, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26116013, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26116014, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26116015, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26116016, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26116017, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26116018, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26116019, 'pht': 3726}}" where mtr_portfolio_id = 26116002 and dashboard_run_id = 2161929 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`=26116002 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14159050, 0.14282706536816278, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26116002_21-08-2025_10_39_01.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 26116008, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26116009, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26116010, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26116011, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26116012, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26116013, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26116014, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26116015, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26116016, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26116017, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26116018, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26116019, '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 = 26116798 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': 3568080, 'mtr_portfolio_id': 26116798, 'created_at': datetime.datetime(2025, 8, 21, 11, 3), 'result': '0.0774473111382444', 'result_long': None, 'result_double': None}] Qualite : 0.0774473111382444 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26116798 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26116798_21-08-2025_11_03_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26116798 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_P26116798_21-08-2025_11_03_00.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26116803, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26116804, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26116805, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26116806, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26116807, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26116808, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26116809, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26116810, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26116811, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26116812, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26116813, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26116814, 'pht': 3726}}" where mtr_portfolio_id = 26116798 and dashboard_run_id = 2161929 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`=26116798 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14159051, 0.0774473111382444, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26116798_21-08-2025_11_03_00.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26116803, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26116804, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26116805, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26116806, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26116807, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26116808, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26116809, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26116810, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26116811, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26116812, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26116813, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26116814, '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 = 26117036 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': 3568114, 'mtr_portfolio_id': 26117036, 'created_at': datetime.datetime(2025, 8, 21, 11, 16, 28), 'result': '0.05087154531478728', 'result_long': None, 'result_double': None}] Qualite : 0.05087154531478728 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26117036 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26117036_21-08-2025_11_16_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26117036 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_P26117036_21-08-2025_11_16_29.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26117049, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26117050, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26117051, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26117052, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26117053, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26117054, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26117055, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26117056, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26117057, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26117058, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26117059, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26117060, 'pht': 3726}}" where mtr_portfolio_id = 26117036 and dashboard_run_id = 2161929 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`=26117036 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14159052, 0.05087154531478728, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26117036_21-08-2025_11_16_29.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26117049, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26117050, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26117051, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26117052, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26117053, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26117054, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26117055, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26117056, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26117057, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26117058, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26117059, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26117060, '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 = 26117465 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': 3568169, 'mtr_portfolio_id': 26117465, 'created_at': datetime.datetime(2025, 8, 21, 11, 35), 'result': '0.010929442208519487', 'result_long': None, 'result_double': None}] Qualite : 0.010929442208519487 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26117465 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26117465_21-08-2025_11_35_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26117465 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_P26117465_21-08-2025_11_35_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26117470, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26117471, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26117472, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26117473, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26117474, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26117475, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26117476, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26117477, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26117478, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26117479, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26117480, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26117481, 'pht': 3726}}" where mtr_portfolio_id = 26117465 and dashboard_run_id = 2161929 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`=26117465 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14159053, 0.010929442208519487, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26117465_21-08-2025_11_35_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26117470, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26117471, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26117472, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26117473, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26117474, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26117475, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26117476, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26117477, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26117478, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26117479, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26117480, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26117481, '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 = 26117995 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': 3568248, 'mtr_portfolio_id': 26117995, 'created_at': datetime.datetime(2025, 8, 21, 11, 46, 30), 'result': '0.0036554485562578076', 'result_long': None, 'result_double': None}] Qualite : 0.0036554485562578076 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26117995 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26117995_21-08-2025_11_46_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26117995 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_P26117995_21-08-2025_11_46_31.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26118022, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26118023, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26118024, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26118025, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26118027, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26118028, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26118029, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26118030, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26118032, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26118033, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26118034, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26118035, 'pht': 3726}}" where mtr_portfolio_id = 26117995 and dashboard_run_id = 2161929 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`=26117995 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14159054, 0.0036554485562578076, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26117995_21-08-2025_11_46_31.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26118022, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26118023, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26118024, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26118025, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26118027, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26118028, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26118029, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26118030, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26118032, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26118033, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26118034, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26118035, '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 = 26123739 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 = 26123739 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 = 26123739 order by file_id desc limit 1 select url from MTRUser.mtr_files where text like '%26123739%' order by file_id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26123739 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 = 26123739 and dashboard_run_id = 2161929 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 = 26123741 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 = 26123741 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 = 26123741 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26123741 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 = 26123741 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 = 26123741 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26123741_21-08-2025_23_06_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26123741 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_P26123741_21-08-2025_23_06_33.pdf'}" where mtr_portfolio_id = 26123741 and dashboard_run_id = 2161929 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 = 26123743 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 = 26123743 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 = 26123743 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26123743 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 = 26123743 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 = 26123743 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26123743_21-08-2025_23_05_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26123743 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_P26123743_21-08-2025_23_05_32.pdf'}" where mtr_portfolio_id = 26123743 and dashboard_run_id = 2161929 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 = 26123746 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 = 26123746 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 = 26123746 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26123746 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 = 26123746 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 = 26123746 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26123746_21-08-2025_23_06_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26123746 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_P26123746_21-08-2025_23_06_03.pdf'}" where mtr_portfolio_id = 26123746 and dashboard_run_id = 2161929 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 = 26123748 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 = 26123748 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 = 26123748 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26123748 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 = 26123748 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 = 26123748 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26123748_21-08-2025_23_04_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26123748 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_P26123748_21-08-2025_23_04_32.pdf'}" where mtr_portfolio_id = 26123748 and dashboard_run_id = 2161929 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 = 26123751 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 = 26123751 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 = 26123751 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26123751 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 = 26123751 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 = 26123751 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26123751_21-08-2025_23_03_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26123751 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_P26123751_21-08-2025_23_03_59.pdf'}" where mtr_portfolio_id = 26123751 and dashboard_run_id = 2161929 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 = 26123753 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 = 26123753 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 = 26123753 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26123753 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 = 26123753 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 = 26123753 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26123753_21-08-2025_23_02_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26123753 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_P26123753_21-08-2025_23_02_33.pdf'}" where mtr_portfolio_id = 26123753 and dashboard_run_id = 2161929 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 = 26123757 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 = 26123757 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 = 26123757 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26123757 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 = 26123757 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 = 26123757 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26123757_21-08-2025_23_02_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26123757 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_P26123757_21-08-2025_23_02_01.pdf'}" where mtr_portfolio_id = 26123757 and dashboard_run_id = 2161929 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 = 26123759 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 = 26123759 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 = 26123759 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26123759 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 = 26123759 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 = 26123759 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26123759_21-08-2025_23_01_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26123759 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_P26123759_21-08-2025_23_01_32.pdf'}" where mtr_portfolio_id = 26123759 and dashboard_run_id = 2161929 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 = 26123762 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 = 26123762 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 = 26123762 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26123762 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 = 26123762 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 = 26123762 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26123762_21-08-2025_23_01_37.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26123762 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_P26123762_21-08-2025_23_01_37.pdf'}" where mtr_portfolio_id = 26123762 and dashboard_run_id = 2161929 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 = 26119204 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': 3568562, 'mtr_portfolio_id': 26119204, 'created_at': datetime.datetime(2025, 8, 21, 23, 1, 32), 'result': '0.034681537412509435', 'result_long': None, 'result_double': None}] Qualite : 0.034681537412509435 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26119204 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26119204_21-08-2025_23_01_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26119204 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_P26119204_21-08-2025_23_01_33.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26119215, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26119217, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26119218, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26119219, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26119220, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26119221, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26119222, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26119223, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26119224, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26119225, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26119226, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26119227, 'pht': 3726}}" where mtr_portfolio_id = 26119204 and dashboard_run_id = 2161929 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`=26119204 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14159065, 0.034681537412509435, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26119204_21-08-2025_23_01_33.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26119215, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26119217, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26119218, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26119219, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26119220, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26119221, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26119222, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26119223, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26119224, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26119225, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26119226, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26119227, '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 = 26118622 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': 3568479, 'mtr_portfolio_id': 26118622, 'created_at': datetime.datetime(2025, 8, 21, 21, 4, 58), 'result': '0.0539629566860199', 'result_long': None, 'result_double': None}] Qualite : 0.0539629566860199 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26118622 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26118622_21-08-2025_21_04_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26118622 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_P26118622_21-08-2025_21_04_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26118666, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26118667, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26118668, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26118669, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26118670, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26118671, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26118672, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26118673, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26118674, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26118675, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26118676, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26118677, 'pht': 3726}}" where mtr_portfolio_id = 26118622 and dashboard_run_id = 2161929 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`=26118622 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14159066, 0.0539629566860199, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26118622_21-08-2025_21_04_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26118666, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26118667, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26118668, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26118669, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26118670, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26118671, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26118672, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26118673, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26118674, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26118675, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26118676, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26118677, '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 = 26118794 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': 3568496, 'mtr_portfolio_id': 26118794, 'created_at': datetime.datetime(2025, 8, 21, 21, 18, 59), 'result': '0.02760493048431732', 'result_long': None, 'result_double': None}] Qualite : 0.02760493048431732 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26118794 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26118794_21-08-2025_21_19_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26118794 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_P26118794_21-08-2025_21_19_00.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 26118805, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26118806, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26118807, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26118808, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26118809, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26118810, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26118811, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26118812, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26118813, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26118814, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26118815, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26118816, 'pht': 3726}}" where mtr_portfolio_id = 26118794 and dashboard_run_id = 2161929 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`=26118794 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14159067, 0.02760493048431732, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26118794_21-08-2025_21_19_00.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 26118805, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26118806, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26118807, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26118808, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26118809, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26118810, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26118811, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26118812, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26118813, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26118814, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26118815, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26118816, '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 = 26119382 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': 3568606, 'mtr_portfolio_id': 26119382, 'created_at': datetime.datetime(2025, 8, 21, 21, 32, 58), 'result': '0.04383473082657709', 'result_long': None, 'result_double': None}] Qualite : 0.04383473082657709 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26119382 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26119382_21-08-2025_21_32_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26119382 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_P26119382_21-08-2025_21_32_58.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26119429, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26119430, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26119431, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26119432, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26119433, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26119434, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26119435, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26119436, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26119437, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26119438, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26119439, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26119440, 'pht': 3726}}" where mtr_portfolio_id = 26119382 and dashboard_run_id = 2161929 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`=26119382 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14159068, 0.04383473082657709, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26119382_21-08-2025_21_32_58.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26119429, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26119430, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26119431, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26119432, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26119433, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26119434, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26119435, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26119436, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26119437, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26119438, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26119439, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26119440, '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 = 26120012 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': 3568723, 'mtr_portfolio_id': 26120012, 'created_at': datetime.datetime(2025, 8, 21, 21, 48, 59), 'result': '0.04652597428440787', 'result_long': None, 'result_double': None}] Qualite : 0.04652597428440787 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26120012 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26120012_21-08-2025_21_48_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26120012 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_P26120012_21-08-2025_21_48_59.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26120057, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26120058, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26120059, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26120060, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26120061, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26120062, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26120063, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26120064, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26120065, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26120066, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26120067, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26120068, 'pht': 3726}}" where mtr_portfolio_id = 26120012 and dashboard_run_id = 2161929 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`=26120012 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14159069, 0.04652597428440787, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26120012_21-08-2025_21_48_59.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26120057, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26120058, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26120059, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26120060, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26120061, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26120062, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26120063, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26120064, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26120065, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26120066, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26120067, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26120068, '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 = 26120751 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': 3568818, 'mtr_portfolio_id': 26120751, 'created_at': datetime.datetime(2025, 8, 21, 22, 2, 57), 'result': '0.06888134085002251', 'result_long': None, 'result_double': None}] Qualite : 0.06888134085002251 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26120751 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26120751_21-08-2025_22_02_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26120751 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_P26120751_21-08-2025_22_02_57.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26120759, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26120760, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26120761, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26120762, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26120763, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26120764, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26120765, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26120766, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26120767, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26120768, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26120769, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26120770, 'pht': 3726}}" where mtr_portfolio_id = 26120751 and dashboard_run_id = 2161929 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`=26120751 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14159070, 0.06888134085002251, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26120751_21-08-2025_22_02_57.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26120759, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26120760, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26120761, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26120762, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26120763, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26120764, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26120765, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26120766, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26120767, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26120768, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26120769, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26120770, '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 = 26121224 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': 3568951, 'mtr_portfolio_id': 26121224, 'created_at': datetime.datetime(2025, 8, 21, 22, 18, 59), 'result': '0.053515270552368065', 'result_long': None, 'result_double': None}] Qualite : 0.053515270552368065 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26121224 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26121224_21-08-2025_22_19_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26121224 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_P26121224_21-08-2025_22_19_00.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26121252, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26121253, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26121254, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26121255, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26121256, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26121257, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26121258, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26121259, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26121260, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26121261, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26121262, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26121263, 'pht': 3726}}" where mtr_portfolio_id = 26121224 and dashboard_run_id = 2161929 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`=26121224 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14159071, 0.053515270552368065, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26121224_21-08-2025_22_19_00.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26121252, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26121253, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26121254, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26121255, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26121256, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26121257, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26121258, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26121259, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26121260, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26121261, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26121262, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26121263, '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 = 26121970 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': 3569063, 'mtr_portfolio_id': 26121970, 'created_at': datetime.datetime(2025, 8, 21, 22, 33, 32), 'result': '0.04692951032167578', 'result_long': None, 'result_double': None}] Qualite : 0.04692951032167578 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26121970 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26121970_21-08-2025_22_33_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26121970 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_P26121970_21-08-2025_22_33_33.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26121999, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26122000, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26122001, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26122002, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26122003, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26122004, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26122005, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26122006, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26122007, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26122008, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26122009, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26122010, 'pht': 3726}}" where mtr_portfolio_id = 26121970 and dashboard_run_id = 2161931 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`=26121970 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14159072, 0.04692951032167578, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26121970_21-08-2025_22_33_33.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26121999, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26122000, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26122001, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26122002, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26122003, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26122004, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26122005, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26122006, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26122007, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26122008, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26122009, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26122010, '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 = 26122544 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': 3569175, 'mtr_portfolio_id': 26122544, 'created_at': datetime.datetime(2025, 8, 21, 22, 48, 58), 'result': '0.04178416996186578', 'result_long': None, 'result_double': None}] Qualite : 0.04178416996186578 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26122544 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26122544_21-08-2025_22_48_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26122544 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_P26122544_21-08-2025_22_48_59.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26122550, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26122551, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26122552, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26122553, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26122554, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26122555, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26122556, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26122557, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26122558, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26122559, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26122560, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26122561, 'pht': 3726}}" where mtr_portfolio_id = 26122544 and dashboard_run_id = 2161931 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`=26122544 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14159073, 0.04178416996186578, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26122544_21-08-2025_22_48_59.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26122550, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26122551, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26122552, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26122553, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26122554, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26122555, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26122556, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26122557, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26122558, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26122559, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26122560, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26122561, '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 = 26123302 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': 3569293, 'mtr_portfolio_id': 26123302, 'created_at': datetime.datetime(2025, 8, 21, 23, 3, 28), 'result': '0.03861809553615449', 'result_long': None, 'result_double': None}] Qualite : 0.03861809553615449 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26123302 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26123302_21-08-2025_23_03_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26123302 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_P26123302_21-08-2025_23_03_29.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26123345, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26123346, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26123347, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26123348, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26123349, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26123350, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26123352, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26123353, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26123354, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26123355, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26123356, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26123357, 'pht': 3726}}" where mtr_portfolio_id = 26123302 and dashboard_run_id = 2161931 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`=26123302 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14159074, 0.03861809553615449, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26123302_21-08-2025_23_03_29.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26123345, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26123346, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26123347, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26123348, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26123349, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26123350, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26123352, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26123353, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26123354, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26123355, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26123356, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26123357, '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 = 26123977 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 = 26123977 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 = 26123977 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26123977 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 = 26123977 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 = 26123977 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26123977_21-08-2025_23_05_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26123977 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_P26123977_21-08-2025_23_05_02.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26123992, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26123993, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26123994, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26123995, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26123996, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26123997, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26123998, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26123999, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26124000, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26124001, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26124002, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26124003, 'pht': 3726}}" where mtr_portfolio_id = 26123977 and dashboard_run_id = 2161931 SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26104011,26104370,26104723,26105181,26105970,26106247,26106455,26106867,26107371,26107795,26108299,26108628,26108923,26109293,26109627,26110833,26112339,26113196,26115072,26115347,26116002,26116798,26117036,26117465,26117995,26123739,26123741,26123743,26123746,26123748,26123751,26123753,26123757,26123759,26123762,26119204,26118622,26118794,26119382,26120012,26120751,26121224,26121970,26122544,26123302,26123977) result : ((1378154677,), (1378154679,), (1378154707,), (1378154709,), (1378154711,), (1378154713,), (1378154716,), (1378154727,), (1378154775,), (1378154777,), (1378154779,), (1378154781,), (1378154784,), (1378154787,), (1378154799,), (1378154802,), (1378154821,), (1378154822,), (1378154823,), (1378154825,), (1378154829,), (1378154833,), (1378154920,), (1378154921,), (1378154929,), (1378154937,), (1378154945,), (1378154949,), (1378154997,), (1378155001,), (1378155002,), (1378155022,), (1378155024,), (1378155026,), (1378155061,), (1378155063,), (1378155064,), (1378155066,), (1378155069,), (1378155174,), (1378155177,), (1378155179,), (1378155181,), (1378155184,), (1378155282,), (1378155283,), (1378155284,), (1378155324,), (1378155434,), (1378155435,), (1378155436,), (1378155438,), (1378155441,), (1378155444,), (1378155446,), (1378155448,), (1378155530,), (1378155536,), (1378155543,), (1378155544,), (1378155546,), (1378155548,), (1378155557,), (1378155561,), (1378155565,), (1378155568,), (1378155657,), (1378155606,), (1378155634,), (1378155902,), (1378155904,), (1378155906,), (1378155975,), (1378155977,), (1378155978,), (1378155980,), (1378155982,), (1378155993,), (1378155996,), (1378155999,), (1378156001,), (1378156005,), (1378156014,), (1378156015,), (1378156016,), (1378156080,), (1378156082,), (1378156083,), (1378156084,), (1378156086,), (1378156103,), (1378156105,), (1378156107,), (1378156109,), (1378156173,), (1378156176,), (1378156180,), (1378156181,), (1378156203,), (1378156206,), (1378156208,), (1378156209,), (1378156210,), (1378156212,), (1378156228,), (1378156229,), (1378156230,), (1378156232,), (1378156234,), (1378156254,), (1378156256,), (1378156258,), (1378156261,), (1378156264,), (1378156281,), (1378156283,), (1378156285,), (1378156333,), (1378156339,), (1378156342,), (1378156344,), (1378156357,), (1378156358,), (1378156359,), (1378156361,), (1378156363,), (1378156388,), (1378156399,), (1378156401,), (1378156403,), (1378156406,), (1378156409,), (1378156455,), (1378156451,), (1378156453,), (1378156476,), (1378156479,), (1378156481,), (1378156482,), (1378156484,), (1378156485,), (1378156567,), (1378156569,), (1378156571,), (1378156592,), (1378156594,), (1378156597,), (1378156598,), (1378156601,), (1378156616,), (1378156620,), (1378156624,), (1378156629,), (1378156634,), (1378156637,), (1378156649,), (1378156650,), (1378156652,), (1378156655,), (1378156659,), (1378156690,), (1378156697,), (1378156698,), (1378156699,), (1378156737,), (1378156741,), (1378156743,), (1378156745,), (1378156763,), (1378156764,), (1378156765,), (1378156766,), (1378156768,), (1378156770,), (1378156781,), (1378156783,), (1378156784,), (1378156786,), (1378156820,), (1378156821,), (1378156822,), (1378156824,), (1378156828,), (1378156831,), (1378156860,), (1378156863,), (1378156865,), (1378156866,), (1378156868,), (1378156939,), (1378156941,), (1378156942,), (1378156944,), (1378156969,), (1378156973,), (1378156974,), (1378156975,), (1378156977,), (1378157003,), (1378157006,), (1378157027,), (1378157043,), (1378157132,), (1378157135,), (1378157137,), (1378157140,), (1378157162,), (1378157164,), (1378157166,), (1378157198,), (1378157199,), (1378157200,), (1378157202,), (1378157204,), (1378157206,), (1378157209,), (1378157210,), (1378157212,), (1378157214,), (1378157216,), (1378157218,), (1378157221,), (1378157224,), (1378157288,), (1378157291,), (1378157293,), (1378157294,), (1378157309,), (1378157311,), (1378157313,), (1378157315,), (1378157318,), (1378157320,), (1378157331,), (1378157332,), (1378157333,), (1378157335,), (1378157359,), (1378157361,), (1378157363,), (1378157365,), (1378157368,), (1378157371,), (1378157383,), (1378157386,), (1378157390,), (1378157394,), (1378157397,), (1378157475,), (1378157479,), (1378157483,), (1378157489,), (1378157492,), (1378157494,), (1378157522,), (1378157527,), (1378158492,), (1378158485,), (1378158486,), (1378158487,), (1378158489,), (1378158511,), (1378158583,), (1378158603,), (1378158605,), (1378158607,), (1378158610,), (1378158623,), (1378158624,), (1378158651,), (1378158658,), (1378158661,), (1378158663,), (1378158679,), (1378158681,), (1378158682,), (1378158683,), (1378158684,), (1378158687,), (1378158733,), (1378158734,), (1378158735,), (1378158753,), (1378158754,), (1378158756,), (1378158758,), (1378158772,), (1378158774,), (1378158775,), (1378158777,), (1378158786,), (1378158787,), (1378158789,), (1378158820,), (1378158824,), (1378158826,), (1378158829,), (1378158891,), (1378158922,), (1378158923,), (1378158925,), (1378158950,), (1378158964,), (1378158967,), (1378158969,), (1378158974,), (1378158999,), (1378158990,), (1378158992,), (1378158994,), (1378158995,), (1378159012,), (1378159014,), (1378159016,), (1378159017,), (1378159122,), (1378159125,), (1378159140,), (1378159157,), (1378159158,), (1378159159,), (1378159176,), (1378159177,), (1378159179,), (1378159204,), (1378159207,), (1378159210,), (1378159211,), (1378159246,), (1378159250,), (1378159251,), (1378159252,), (1378159337,), (1378159338,), (1378159340,), (1378159343,), (1378159364,), (1378159366,), (1378159367,), (1378159369,), (1378159387,), (1378159388,), (1378159389,), (1378159391,), (1378159393,), (1378159408,), (1378159409,), (1378159411,), (1378159413,), (1378159417,), (1378159433,), (1378159438,), (1378159440,), (1378159441,), (1378159443,), (1378159489,), (1378159491,), (1378159510,), (1378159511,), (1378159516,), (1378159528,), (1378159530,), (1378159532,), (1378159534,), (1378159536,), (1378159550,), (1378159546,), (1378159549,), (1378159573,), (1378159575,), (1378159577,), (1378159585,), (1378159588,), (1378159591,), (1378159603,), (1378159606,), (1378159609,), (1378159611,), (1378159626,), (1378159647,), (1378159648,), (1378159649,), (1378159651,), (1378159654,), (1378159657,), (1378159669,), (1378159671,), (1378159672,), (1378159673,), (1378159675,), (1378159753,), (1378159756,), (1378159759,), (1378159809,), (1378159811,), (1378159812,), (1378159814,), (1378159837,), (1378159840,), (1378159877,), (1378159878,), (1378159879,), (1378159881,), (1378159900,), (1378159905,), (1378159907,), (1378159909,), (1378159990,), (1378159991,), (1378159992,), (1378159994,), (1378160014,), (1378160017,), (1378160018,), (1378160019,), (1378160021,), (1378160086,), (1378160088,), (1378160185,), (1378160178,), (1378160182,), (1378160226,), (1378160228,), (1378160229,), (1378160232,), (1378160236,), (1378160301,), (1378160303,), (1378160306,), (1378160331,), (1378160333,), (1378160334,), (1378160351,), (1378160354,), (1378160355,), (1378160357,), (1378160359,), (1378160372,), (1378160398,), (1378160400,), (1378160403,), (1378160477,), (1378160480,), (1378160482,), (1378160502,), (1378160504,), (1378160505,), (1378160508,), (1378160524,), (1378160525,), (1378160526,), (1378160528,), (1378160530,), (1378160551,), (1378160553,), (1378160554,), (1378160564,), (1378160565,), (1378160628,), (1378160630,), (1378160631,), (1378160632,), (1378160645,), (1378160647,), (1378160649,), (1378160653,), (1378160654,), (1378160656,), (1378160660,), (1378160663,), (1378160666,), (1378160669,), (1378160673,), (1378160691,), (1378160708,), (1378160710,), (1378160715,), (1378160723,), (1378160802,), (1378160811,), (1378160894,), (1378160909,), (1378160912,), (1378160930,), (1378160931,), (1378160932,), (1378160934,), (1378160937,), (1378160939,), (1378160956,), (1378160958,), (1378160961,), (1378160963,), (1378160980,), (1378160982,), (1378160983,), (1378160984,), (1378161009,), (1378161010,), (1378161011,), (1378161014,), (1378161021,), (1378161079,), (1378161082,), (1378161085,), (1378161088,), (1378161091,), (1378161111,), (1378161112,), (1378161113,), (1378161115,), (1378161118,), (1378161121,), (1378161135,), (1378161136,), (1378161138,), (1378161139,), (1378161141,), (1378161143,), (1378161188,), (1378161190,), (1378161192,), (1378161196,), (1378161232,), (1378161235,), (1378161236,), (1378161237,), (1378161240,), (1378161243,), (1378161292,), (1378161293,), (1378161294,), (1378161296,), (1378161317,), (1378161320,), (1378161324,), (1378161327,), (1378161330,), (1378161332,), (1378161341,), (1378161343,), (1378161346,), (1378161347,), (1378161350,), (1378161378,), (1378161369,), (1378161371,), (1378161373,), (1378161375,), (1378161393,), (1378161394,), (1378161395,), (1378161397,), (1378161400,), (1378161414,), (1378161447,), (1378161449,), (1378161450,), (1378161452,), (1378161471,), (1378161472,), (1378161473,), (1378161475,), (1378161494,), (1378161495,), (1378161497,), (1378161499,), (1378161502,), (1378161519,), (1378161521,), (1378161522,), (1378161523,), (1378161525,), (1378161528,), (1378161552,), (1378161556,), (1378161558,), (1378161561,), (1378161565,), (1378161575,), (1378161600,), (1378161602,), (1378161604,), (1378161606,), (1378161608,), (1378161630,), (1378161632,), (1378161633,), (1378161634,), (1378161635,), (1378161637,), (1378161652,), (1378161669,), (1378161911,), (1378161976,), (1378161977,), (1378161978,), (1378161980,), (1378161982,), (1378161984,), (1378162007,), (1378162010,), (1378162011,), (1378162012,), (1378162014,), (1378162016,), (1378162034,), (1378162036,), (1378162039,), (1378162066,), (1378162068,), (1378162069,), (1378162070,), (1378162097,), (1378162099,), (1378162100,), (1378162102,), (1378162105,), (1378162125,), (1378162127,), (1378162129,), (1378162147,), (1378162149,), (1378162150,), (1378162151,), (1378162153,), (1378162154,), (1378162167,), (1378162169,), (1378162171,), (1378162173,), (1378162216,), (1378162219,), (1378162222,), (1378162225,), (1378162228,), (1378162282,), (1378162284,), (1378162285,), (1378162286,), (1378162288,), (1378162325,), (1378162392,), (1378162490,), (1378162493,), (1378162497,), (1378162501,), (1378162514,), (1378162544,), (1378162546,), (1378162549,), (1378162552,), (1378162570,), (1378162572,), (1378162616,), (1378162618,), (1378162619,), (1378162628,), (1378162630,), (1378162754,), (1378162755,), (1378162756,), (1378162758,), (1378162760,), (1378162763,), (1378162768,), (1378162771,), (1378162774,), (1378162781,), (1378162787,), (1378162789,), (1378162792,), (1378162795,), (1378162802,), (1378162816,), (1378162832,), (1378162834,), (1378162835,), (1378162836,), (1378162839,), (1378162860,), (1378162862,), (1378162865,), (1378162907,), (1378162923,), (1378162925,), (1378162927,), (1378162949,), (1378162952,), (1378162954,), (1378163015,), (1378163058,), (1378163131,), (1378163132,), (1378163134,), (1378163153,), (1378163156,), (1378163198,), (1378163200,), (1378163202,), (1378163205,), (1378163284,), (1378163286,), (1378163288,), (1378163291,), (1378163293,), (1378163296,), (1378163307,), (1378163309,), (1378163311,), (1378163337,), (1378163333,), (1378163335,), (1378163362,), (1378163364,), (1378163365,), (1378163366,), (1378163408,), (1378163410,), (1378163412,), (1378163414,), (1378163417,), (1378163468,), (1378163470,), (1378163472,), (1378163474,), (1378163537,), (1378163544,), (1378163545,), (1378163547,), (1378163551,), (1378163606,), (1378163610,), (1378163612,), (1378163615,), (1378163618,), (1378163646,), (1378163648,), (1378163649,), (1378163650,), (1378163755,), (1378163756,), (1378163757,), (1378163759,), (1378163760,), (1378163764,), (1378163780,), (1378163782,), (1378163784,), (1378163803,), (1378163804,), (1378163805,), (1378163807,), (1378163809,), (1378163832,), (1378163834,), (1378163835,), (1378163836,), (1378163837,), (1378163839,), (1378163862,), (1378163864,), (1378163874,), (1378163889,), (1378163928,), (1378163930,), (1378163932,), (1378163934,), (1378163937,), (1378164020,), (1378164021,), (1378164022,), (1378164024,), (1378164027,), (1378164095,), (1378164100,), (1378164103,), (1378164105,), (1378164127,), (1378164124,), (1378164126,), (1378164163,), (1378164164,), (1378164165,), (1378164167,), (1378164205,), (1378164220,), (1378164223,), (1378164226,), (1378164230,), (1378164242,), (1378164244,), (1378164245,), (1378164247,), (1378164250,), (1378164304,), (1378164309,), (1378164310,), (1378164312,), (1378164315,), (1378164387,), (1378164389,), (1378164407,), (1378164409,), (1378164410,), (1378164411,), (1378164413,), (1378164421,), (1378164488,), (1378164491,), (1378164494,), (1378164496,), (1378164499,), (1378164528,), (1378164530,), (1378164532,), (1378164533,), (1378164556,), (1378164558,), (1378164560,), (1378164562,), (1378164582,), (1378164584,), (1378164585,), (1378164586,), (1378164600,), (1378164601,), (1378164602,), (1378164604,), (1378164609,), (1378164662,), (1378164664,), (1378164666,), (1378164668,), (1378164671,), (1378164711,), (1378164714,), (1378164717,), (1378164722,), (1378164727,), (1378164762,), (1378164748,), (1378164756,), (1378164758,), (1378164760,), (1378164772,), (1378164779,), (1378164780,), (1378164801,), (1378164809,), (1378164810,), (1378164843,), (1378164851,), (1378164852,), (1378164872,), (1378164914,), (1378164922,), (1378164923,), (1378164924,), (1378164926,), (1378164944,), (1378164951,), (1378164952,), (1378164954,), (1378164956,), (1378164959,), (1378164975,), (1378164984,), (1378164986,), (1378164989,), (1378164991,), (1378164994,), (1378165027,), (1378165033,), (1378165078,), (1378165086,), (1378165121,), (1378165122,), (1378165124,), (1378167302,), (1378167294,), (1378167379,), (1378167440,), (1378167449,), (1378167488,), (1378167802,), (1378168592,), (1378168621,), (1378176842,), (1378176935,), (1378176939,), (1378177110,), (1378177658,), (1378178215,), (1378178234,), (1378179257,), (1378181516,), (1378181610,), (1378181765,), (1378181788,), (1378181790,), (1378182008,), (1378182012,), (1378182163,), (1378194014,), (1378194504,), (1378194663,), (1378194996,), (1378195006,), (1378195165,), (1378195170,), (1378195818,), (1378196000,), (1378196183,), (1378196207,), (1378196780,), (1378196912,), (1378196915,), (1378196916,), (1378197008,), (1378198831,), (1378199618,), (1378199622,), (1378200109,), (1378200115,), (1378200292,), (1378200371,), (1378200401,), (1378200404,), (1378200421,), (1378200423,), (1378200424,), (1378200879,), (1378201779,), (1378202126,), (1378202128,), (1378202256,), (1378202272,), (1378202449,), (1378202555,), (1378202557,), (1378202830,), (1378202818,), (1378202824,), (1378202826,), (1378202828,), (1378202848,), (1378202913,), (1378202916,), (1378202918,), (1378203085,), (1378203098,), (1378203467,), (1378203500,), (1378203702,), (1378203705,), (1378203769,), (1378203796,), (1378203800,), (1378204094,), (1378204090,), (1378204377,), (1378204379,), (1378204392,), (1378204467,), (1378204492,), (1378204496,), (1378204572,), (1378204582,), (1378204592,), (1378204833,), (1378205191,), (1378205221,), (1378205371,), (1378205375,), (1378205501,), (1378205524,), (1378206242,), (1378206237,), (1378206478,), (1378206499,), (1378206721,), (1378207026,), (1378208032,), (1378208715,), (1378208848,), (1378211890,), (1378211891,), (1378211893,), (1378211895,), (1378211902,), (1378211907,), (1378211923,), (1378211926,), (1378211929,), (1378211932,), (1378211941,), (1378211942,), (1378211944,), (1378211947,), (1378211956,), (1378211958,), (1378211982,), (1378211984,), (1378211987,), (1378211995,), (1378211997,), (1378212019,), (1378212024,), (1378212026,), (1378212027,), (1378212029,), (1378212031,), (1378212078,), (1378212080,), (1378212082,), (1378212084,), (1378212095,), (1378212097,), (1378212100,), (1378212110,), (1378212116,), (1378212118,), (1378212130,), (1378212131,), (1378212132,), (1378212134,), (1378212135,), (1378212136,), (1378212138,), (1378212139,), (1378211980,), (1378212068,), (1378212071,), (1378212198,), (1378212245,), (1378212272,), (1378212299,), (1378213179,), (1378213254,), (1378213328,), (1378213391,), (1378214570,), (1378214572,), (1378214574,), (1378214767,), (1378214768,), (1378214804,), (1378214805,), (1378214853,), (1378214861,), (1378215087,), (1378215145,), (1378216270,), (1378216343,), (1378216414,), (1378216469,), (1378216539,), (1378216608,), (1378217537,), (1378217583,), (1378217632,), (1378217684,), (1378218225,), (1378218363,), (1378218463,), (1378218572,), (1378218653,), (1378218727,), (1378219379,), (1378219431,), (1378219494,), (1378219561,), (1378219617,), (1378219654,), (1378219908,), (1378220883,), (1378220917,), (1378220994,), (1378221054,), (1378221104,), (1378221154,), (1378221438,), (1378221526,), (1378221596,), (1378221671,), (1378221746,), (1378222644,), (1378212143,), (1378212145,), (1378212150,), (1378212151,), (1378212324,), (1378212353,), (1378212518,), (1378212577,), (1378212661,), (1378212733,), (1378212801,), (1378212872,), (1378213449,), (1378213501,), (1378213711,), (1378213787,), (1378213863,), (1378213932,), (1378214003,), (1378214085,), (1378214585,), (1378214613,), (1378214642,), (1378214885,), (1378214890,), (1378214930,), (1378214936,), (1378214967,), (1378214970,), (1378215237,), (1378215294,), (1378215363,), (1378215417,), (1378215689,), (1378215767,), (1378215824,), (1378215881,), (1378215931,), (1378215980,), (1378216947,), (1378217016,), (1378217108,), (1378217190,), (1378217276,), (1378217361,), (1378217756,), (1378217834,), (1378218936,), (1378218967,), (1378219051,), (1378219080,), (1378219107,), (1378219159,), (1378219727,), (1378219737,), (1378219761,), (1378219765,), (1378219768,), (1378219799,), (1378219940,), (1378219974,), (1378220025,), (1378220087,), (1378220138,), (1378220336,), (1378220391,), (1378220479,), (1378220532,), (1378220580,), (1378220628,), (1378221802,), (1378222025,), (1378222106,), (1378222173,), (1378222241,), (1378222316,), (1378222367,), (1378222693,), (1378222745,), (1378222924,), (1378222514,), (1378222547,), (1378222595,), (1378223548,), (1378223549,), (1378223663,), (1378223689,), (1378223779,), (1378223797,), (1378223889,), (1378223898,), (1378223988,), (1378224017,), (1378224099,), (1378224131,), (1378224340,), (1378224398,), (1378224444,), (1378224494,), (1378224601,), (1378225496,), (1378225511,), (1378225526,), (1378225544,), (1378225556,), (1378225581,), (1378226425,), (1378226481,), (1378226531,), (1378226582,), (1378227407,), (1378227455,), (1378227520,), (1378227572,), (1378227606,), (1378227636,), (1378227791,), (1378227844,), (1378227878,), (1378227916,), (1378227974,), (1378228035,), (1378228375,), (1378228446,), (1378228536,), (1378228608,), (1378229519,), (1378229572,), (1378229629,), (1378229678,), (1378229726,), (1378229772,), (1378229952,), (1378229977,), (1378230004,), (1378230034,), (1378230084,), (1378230137,), (1378231229,), (1378231318,), (1378231416,), (1378231517,), (1378232944,), (1378232949,), (1378233029,), (1378233047,), (1378233127,), (1378233164,), (1378233224,), (1378233248,), (1378233295,), (1378233319,), (1378233366,), (1378233411,), (1378233663,), (1378233725,), (1378233803,), (1378233829,), (1378234578,), (1378234667,), (1378234753,), (1378234851,), (1378234946,), (1378236032,), (1378236085,), (1378236149,), (1378236230,), (1378236276,), (1378237316,), (1378237107,), (1378237172,), (1378237239,), (1378237777,), (1378237852,), (1378237923,), (1378237993,), (1378238048,), (1378238102,), (1378238999,), (1378239077,), (1378239156,), (1378239232,), (1378239306,), (1378239875,), (1378239879,), (1378239950,), (1378239958,), (1378240021,), (1378240030,), (1378240098,), (1378240114,), (1378240389,), (1378240444,), (1378240514,), (1378240592,), (1378240645,), (1378240714,), (1378241777,), (1378241855,), (1378241911,), (1378241965,), (1378242024,), (1378242963,), (1378243000,), (1378243028,), (1378243728,), (1378243757,), (1378243786,), (1378243814,), (1378243836,), (1378243841,), (1378244171,), (1378244230,), (1378244271,), (1378244295,), (1378244321,), (1378244372,), (1378244677,), (1378244701,), (1378244725,), (1378244751,), (1378244753,), (1378244755,), (1378244861,), (1378244925,), (1378244991,), (1378245068,), (1378247439,), (1378248391,), (1378249772,), (1378249781,), (1378249672,), (1378249673,), (1378249723,), (1378249730,), (1378250083,), (1378250115,), (1378250141,), (1378250181,), (1378250219,), (1378250253,), (1378250983,), (1378251008,), (1378251053,), (1378251781,), (1378251828,), (1378251896,), (1378251948,), (1378252537,), (1378252563,), (1378252590,), (1378252611,), (1378252631,), (1378252646,), (1378252647,), (1378252648,), (1378252663,), (1378252688,), (1378252719,), (1378253155,), (1378253158,), (1378253161,), (1378253306,), (1378253338,), (1378253363,), (1378253389,), (1378253415,), (1378253800,), (1378253829,), (1378253884,), (1378253967,), (1378254041,), (1378254130,), (1378254725,), (1378254799,), (1378254870,), (1378254952,), (1378255034,), (1378256409,), (1378256523,), (1378257215,), (1378257288,), (1378257370,), (1378257462,), (1378258299,), (1378258366,), (1378258481,), (1378258570,), (1378258686,), (1378260058,), (1378260152,), (1378260258,), (1378260336,), (1378262091,), (1378261898,), (1378262002,), (1378263092,), (1378263147,), (1378263193,), (1378263229,), (1378263858,), (1378263860,), (1378263908,), (1378263915,), (1378263960,), (1378263963,), (1378264007,), (1378264010,), (1378264348,), (1378264399,), (1378264439,), (1378264463,), (1378264488,), (1378265070,), (1378265101,), (1378265150,), (1378265217,), (1378265975,), (1378266027,), (1378266076,), (1378266125,), (1378266179,), (1378266226,), (1378267294,), (1378267369,), (1378267429,), (1378267868,), (1378267944,), (1378268017,), (1378268070,), (1378268941,), (1378268987,), (1378269019,), (1378269908,), (1378269952,), (1378270023,), (1378270084,), (1378270152,), (1378270817,), (1378270820,), (1378270896,), (1378270898,), (1378270970,), (1378270976,), (1378271050,), (1378271056,), (1378271178,), (1378271181,), (1378271285,), (1378271316,), (1378272444,), (1378272520,), (1378272574,), (1378272644,), (1378272705,), (1378272793,), (1378273176,), (1378273258,), (1378273357,), (1378273457,), (1378273541,), (1378273623,), (1378274248,), (1378274280,), (1378274338,), (1378275858,), (1378275860,), (1378275953,), (1378275961,), (1378276052,), (1378276057,), (1378276121,), (1378276141,), (1378276190,), (1378276221,), (1378277076,), (1378276660,), (1378276751,), (1378276832,), (1378276911,), (1378277002,), (1378278283,), (1378278336,), (1378279696,), (1378279808,), (1378279917,), (1378281437,), (1378281566,), (1378281665,), (1378281767,), (1378282291,), (1378282352,), (1378282424,), (1378282517,), (1378282614,), (1378283257,), (1378283285,), (1378283334,), (1378283391,), (1378283443,), (1378283502,), (1378284105,), (1378284106,), (1378284109,), (1378284110,), (1378284438,), (1378284474,), (1378284512,), (1378284542,), (1378284587,), (1378284620,), (1378284952,), (1378284975,), (1378284987,), (1378284989,), (1378284991,), (1378285241,), (1378285242,), (1378285243,), (1378286077,), (1378286153,), (1378286223,), (1378286298,), (1378286368,), (1378286445,), (1378286765,), (1378286866,), (1378286967,), (1378287063,), (1378287168,), (1378288598,), (1378288622,), (1378288650,), (1378288677,), (1378289275,), (1378289359,), (1378289457,), (1378289550,), (1378289602,), (1378289647,), (1378289995,), (1378290097,), (1378290190,), (1378290285,), (1378290395,), (1378291720,), (1378291609,), (1378291667,), (1378292505,), (1378292507,), (1378292582,), (1378292589,), (1378292658,), (1378292664,), (1378292762,), (1378292776,), (1378292863,), (1378292873,), (1378293278,), (1378293354,), (1378293425,), (1378293493,), (1378294810,), (1378294923,), (1378296079,), (1378296106,), (1378296140,), (1378296195,), (1378296227,), (1378297013,), (1378297125,), (1378297244,), (1378297339,), (1378297432,), (1378297521,), (1378298024,), (1378298103,), (1378298196,), (1378298278,), (1378298353,), (1378298440,), (1378299262,), (1378299312,), (1378299385,), (1378300140,), (1378300188,), (1378300238,), (1378300285,), (1378300723,), (1378300844,), (1378300974,), (1378302777,), (1378302869,), (1378302991,), (1378303095,), (1378303200,), (1378304538,), (1378304539,), (1378304593,), (1378304602,), (1378304689,), (1378304698,), (1378305265,), (1378305315,), (1378305363,), (1378306019,), (1378306025,), (1378306046,), (1378306074,), (1378306122,), (1378306987,), (1378307075,), (1378307151,), (1378307219,), (1378307292,), (1378308754,), (1378308489,), (1378308561,), (1378308664,), (1378309426,), (1378309545,), (1378309684,), (1378309822,), (1378309959,), (1378310091,), (1378311306,), (1378311359,), (1378311438,), (1378311527,), (1378311626,), (1378312677,), (1378312678,), (1378312710,), (1378312712,), (1378312779,), (1378312781,), (1378313269,), (1378313342,), (1378313414,), (1378313475,), (1378313520,), (1378314415,), (1378314459,), (1378314484,), (1378314512,), (1378315161,), (1378315190,), (1378315216,), (1378315256,), (1378315297,), (1378316009,), (1378316057,), (1378316106,), (1378316378,), (1378316407,), (1378316435,), (1378316458,), (1378316506,), (1378316899,), (1378316934,), (1378316961,), (1378316985,), (1378317018,), (1378317079,), (1378317974,), (1378317976,), (1378318047,), (1378318055,), (1378318128,), (1378318136,), (1378318239,), (1378318240,), (1378318763,), (1378318846,), (1378318937,), (1378319041,), (1378319126,), (1378320576,), (1378320635,), (1378320680,), (1378320733,), (1378320782,), (1378320828,), (1378322144,), (1378322213,), (1378322290,), (1378322358,), (1378322470,), (1378322599,), (1378324343,), (1378208713,), (1378208845,), (1378208867,), (1378208934,), (1378208938,), (1378209027,), (1378209028,), (1378209100,), (1378209125,), (1378209149,), (1378209175,), (1378209177,), (1378209199,), (1378209201,), (1378209203,), (1378209219,), (1378209220,), (1378209245,), (1378209256,), (1378209404,), (1378209430,), (1378314135,), (1378314541,), (1378314566,), (1378314720,), (1378314792,), (1378314869,), (1378314938,), (1378314997,), (1378315031,), (1378315346,), (1378315572,), (1378315646,), (1378315736,), (1378315794,), (1378315824,), (1378315870,), (1378316157,), (1378316195,), (1378316219,), (1378316550,), (1378316658,), (1378316682,), (1378316707,), (1378316728,), (1378316751,), (1378316754,), (1378317297,), (1378317356,), (1378317430,), (1378317525,), (1378317616,), (1378317685,), (1378318363,), (1378318367,), (1378318478,), (1378318488,), (1378319223,), (1378319676,), (1378319790,), (1378319921,), (1378320015,), (1378320111,), (1378320260,), (1378321005,), (1378321031,), (1378321054,), (1378321126,), (1378321183,), (1378300020,), (1378300047,), (1378300344,), (1378300397,), (1378301100,), (1378301231,), (1378301361,), (1378301879,), (1378302010,), (1378302109,), (1378302229,), (1378302338,), (1378302461,), (1378303304,), (1378303758,), (1378303856,), (1378303965,), (1378304057,), (1378304164,), (1378304257,), (1378304788,), (1378304809,), (1378304890,), (1378304903,), (1378304975,), (1378304987,), (1378305411,), (1378305476,), (1378305550,), (1378305836,), (1378305911,), (1378305946,), (1378305966,), (1378305968,), (1378305978,), (1378306162,), (1378306337,), (1378306364,), (1378306407,), (1378306464,), (1378306540,), (1378306627,), (1378307365,), (1378307749,), (1378307851,), (1378307979,), (1378308078,), (1378308163,), (1378308246,), (1378308867,), (1378308983,), (1378310587,), (1378310698,), (1378310805,), (1378310907,), (1378311003,), (1378311080,), (1378311714,), (1378312115,), (1378312201,), (1378312268,), (1378312315,), (1378312353,), (1378312425,), (1378312843,), (1378312847,), (1378312897,), (1378312901,), (1378312957,), (1378312961,), (1378313589,), (1378313829,), (1378313884,), (1378313944,), (1378313993,), (1378314059,), (1378288701,), (1378288729,), (1378288836,), (1378288864,), (1378288899,), (1378288939,), (1378288989,), (1378289039,), (1378290527,), (1378290969,), (1378291067,), (1378291123,), (1378291193,), (1378291267,), (1378291341,), (1378291771,), (1378291826,), (1378291880,), (1378292053,), (1378292099,), (1378292154,), (1378292202,), (1378292263,), (1378292311,), (1378292970,), (1378292976,), (1378293571,), (1378293642,), (1378293962,), (1378294050,), (1378294128,), (1378294219,), (1378294315,), (1378294414,), (1378295011,), (1378295132,), (1378295227,), (1378295357,), (1378295641,), (1378295706,), (1378295783,), (1378295868,), (1378295933,), (1378295974,), (1378296250,), (1378296326,), (1378296385,), (1378296469,), (1378296554,), (1378296625,), (1378296702,), (1378298767,), (1378298820,), (1378298882,), (1378298945,), (1378299009,), (1378299059,), (1378299454,), (1378299528,), (1378299596,), (1378299814,), (1378299864,), (1378299923,), (1378299969,), (1378279039,), (1378279109,), (1378279201,), (1378279317,), (1378280029,), (1378280155,), (1378280274,), (1378280638,), (1378280727,), (1378280781,), (1378280861,), (1378280944,), (1378281066,), (1378281860,), (1378281950,), (1378282697,), (1378283033,), (1378283094,), (1378283142,), (1378283165,), (1378283178,), (1378283183,), (1378283715,), (1378283800,), (1378283874,), (1378283922,), (1378283980,), (1378284021,), (1378284113,), (1378284114,), (1378284140,), (1378284142,), (1378284184,), (1378284198,), (1378284247,), (1378284255,), (1378284716,), (1378284740,), (1378284765,), (1378284797,), (1378284823,), (1378284849,), (1378284993,), (1378285017,), (1378285019,), (1378285032,), (1378285061,), (1378285087,), (1378285120,), (1378285283,), (1378285330,), (1378285362,), (1378285509,), (1378285535,), (1378285579,), (1378285652,), (1378285721,), (1378285795,), (1378287262,), (1378287823,), (1378287918,), (1378288014,), (1378288108,), (1378288199,), (1378288304,), (1378267478,), (1378267543,), (1378267618,), (1378268151,), (1378268222,), (1378268464,), (1378268518,), (1378268570,), (1378268602,), (1378268632,), (1378268712,), (1378269065,), (1378269134,), (1378269207,), (1378269411,), (1378269471,), (1378269541,), (1378269603,), (1378269649,), (1378269730,), (1378270206,), (1378273871,), (1378273958,), (1378274034,), (1378274095,), (1378274120,), (1378274147,), (1378274410,), (1378274485,), (1378274553,), (1378274908,), (1378275018,), (1378275122,), (1378275211,), (1378275314,), (1378275453,), (1378276259,), (1378276294,), (1378277370,), (1378277484,), (1378277602,), (1378277709,), (1378277800,), (1378277905,), (1378278428,), (1378278504,), (1378278569,), (1378278666,), (1378278895,), (1378278945,), (1378255126,), (1378255536,), (1378255635,), (1378255750,), (1378255847,), (1378255956,), (1378256051,), (1378256610,), (1378256708,), (1378256829,), (1378256916,), (1378257567,), (1378257654,), (1378257914,), (1378257963,), (1378257992,), (1378258029,), (1378258064,), (1378258103,), (1378258772,), (1378259052,), (1378259147,), (1378259247,), (1378259310,), (1378259337,), (1378259366,), (1378260408,), (1378260476,), (1378260817,), (1378260890,), (1378260961,), (1378261089,), (1378261233,), (1378261382,), (1378262182,), (1378262268,), (1378262329,), (1378262516,), (1378262597,), (1378262655,), (1378262715,), (1378262771,), (1378262831,), (1378263273,), (1378263320,), (1378263524,), (1378263585,), (1378263634,), (1378263674,), (1378263705,), (1378263729,), (1378264052,), (1378264053,), (1378264101,), (1378264116,), (1378264514,), (1378264621,), (1378264646,), (1378264680,), (1378264728,), (1378264775,), (1378264834,), (1378265273,), (1378265312,), (1378265518,), (1378265569,), (1378265628,), (1378265677,), (1378265725,), (1378265781,), (1378266539,), (1378266620,), (1378266698,), (1378266788,), (1378266887,), (1378266961,), (1378249164,), (1378249253,), (1378249318,), (1378249377,), (1378249447,), (1378249822,), (1378249831,), (1378249899,), (1378249944,), (1378249952,), (1378249991,), (1378250379,), (1378250426,), (1378250473,), (1378250528,), (1378250596,), (1378250677,), (1378251091,), (1378251129,), (1378251159,), (1378251257,), (1378251284,), (1378251326,), (1378251379,), (1378251432,), (1378251492,), (1378252006,), (1378252065,), (1378252276,), (1378252305,), (1378252336,), (1378252363,), (1378252387,), (1378252413,), (1378252634,), (1378252988,), (1378253016,), (1378253055,), (1378253081,), (1378253098,), (1378253125,), (1378253163,), (1378253177,), (1378253202,), (1378253442,), (1378253551,), (1378253576,), (1378253602,), (1378253626,), (1378253656,), (1378253689,), (1378254326,), (1378254383,), (1378254442,), (1378254469,), (1378254495,), (1378254525,), (1378235777,), (1378236340,), (1378236568,), (1378236643,), (1378236707,), (1378236759,), (1378236807,), (1378236858,), (1378237391,), (1378237463,), (1378238383,), (1378238448,), (1378238482,), (1378238523,), (1378238578,), (1378238685,), (1378239342,), (1378239494,), (1378239537,), (1378239580,), (1378239609,), (1378239643,), (1378239671,), (1378240153,), (1378240162,), (1378240186,), (1378240193,), (1378241082,), (1378241179,), (1378241280,), (1378241370,), (1378241454,), (1378241540,), (1378242094,), (1378242324,), (1378242396,), (1378242471,), (1378242541,), (1378242619,), (1378242709,), (1378243080,), (1378243134,), (1378243163,), (1378243364,), (1378243439,), (1378243498,), (1378243543,), (1378243591,), (1378243623,), (1378245138,), (1378245190,), (1378245439,), (1378245514,), (1378245576,), (1378245631,), (1378245687,), (1378245740,), (1378246332,), (1378246380,), (1378246429,), (1378246484,), (1378246534,), (1378246581,), (1378247514,), (1378247598,), (1378247647,), (1378247697,), (1378247749,), (1378247942,), (1378247961,), (1378247991,), (1378248017,), (1378248054,), (1378248101,), (1378248452,), (1378248548,), (1378248644,), (1378248723,), (1378248812,), (1378249102,), (1378222978,), (1378223026,), (1378223074,), (1378223175,), (1378223247,), (1378224679,), (1378224999,), (1378225097,), (1378225177,), (1378225258,), (1378225310,), (1378225346,), (1378225793,), (1378225869,), (1378225947,), (1378226030,), (1378226096,), (1378226161,), (1378226641,), (1378226738,), (1378226991,), (1378227025,), (1378227086,), (1378227116,), (1378227154,), (1378227187,), (1378228143,), (1378228145,), (1378228147,), (1378228149,), (1378228158,), (1378228203,), (1378228687,), (1378228765,), (1378228970,), (1378229042,), (1378229119,), (1378229189,), (1378229242,), (1378229314,), (1378230390,), (1378230465,), (1378230541,), (1378230617,), (1378230722,), (1378230835,), (1378231620,), (1378231702,), (1378232161,), (1378232288,), (1378232381,), (1378232486,), (1378232557,), (1378232611,), (1378233856,), (1378233875,), (1378233988,), (1378234020,), (1378234068,), (1378234114,), (1378234167,), (1378234220,), (1378235045,), (1378235409,), (1378235481,), (1378235572,), (1378235660,), (1378235719,), (1378323958,), (1378324109,), (1378324239,), (1378325368,), (1378325434,), (1378325464,), (1378325505,), (1378326096,), (1378326097,), (1378326141,), (1378326144,), (1378326184,), (1378326198,), (1378326247,), (1378326267,), (1378326286,), (1378326298,), (1378326325,), (1378326337,), (1378326577,), (1378326628,), (1378326681,), (1378326730,), (1378327331,), (1378327386,), (1378327452,), (1378327508,)) NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'21082025': {'nb_upload': 48, 'nb_taggue_class': 0, 'nb_taggue_densite': 0}} After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([26123741]) Inside saveOutput : final : True verbose : True saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1378321183, 1378321126, 1378321054, 1378321031, 1378321005, 1378320260, 1378320111, 1378320015, 1378319921, 1378319790, 1378319676, 1378319223, 1378318488, 1378318478, 1378318367, 1378318363, 1378317685, 1378317616, 1378317525, 1378317430, 1378317356, 1378317297, 1378316754, 1378316751, 1378316728, 1378316707, 1378316682, 1378316658, 1378316550, 1378316219, 1378316195, 1378316157, 1378315870, 1378315824, 1378315794, 1378315736, 1378315646, 1378315572, 1378315346, 1378315031, 1378314997, 1378314938, 1378314869, 1378314792, 1378314720, 1378314566, 1378314541, 1378314135] map_info['map_portfolio_photo'] : {26123741: [1378321183, 1378321126, 1378321054, 1378321031, 1378321005, 1378320260, 1378320111, 1378320015, 1378319921, 1378319790, 1378319676, 1378319223, 1378318488, 1378318478, 1378318367, 1378318363, 1378317685, 1378317616, 1378317525, 1378317430, 1378317356, 1378317297, 1378316754, 1378316751, 1378316728, 1378316707, 1378316682, 1378316658, 1378316550, 1378316219, 1378316195, 1378316157, 1378315870, 1378315824, 1378315794, 1378315736, 1378315646, 1378315572, 1378315346, 1378315031, 1378314997, 1378314938, 1378314869, 1378314792, 1378314720, 1378314566, 1378314541, 1378314135]} final : True mtd_id 4302 list_pids : [1378321183, 1378321126, 1378321054, 1378321031, 1378321005, 1378320260, 1378320111, 1378320015, 1378319921, 1378319790, 1378319676, 1378319223, 1378318488, 1378318478, 1378318367, 1378318363, 1378317685, 1378317616, 1378317525, 1378317430, 1378317356, 1378317297, 1378316754, 1378316751, 1378316728, 1378316707, 1378316682, 1378316658, 1378316550, 1378316219, 1378316195, 1378316157, 1378315870, 1378315824, 1378315794, 1378315736, 1378315646, 1378315572, 1378315346, 1378315031, 1378314997, 1378314938, 1378314869, 1378314792, 1378314720, 1378314566, 1378314541, 1378314135] Looping around the photos to save general results len do output : 1 /26123741Didn'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, '3569398') ('4302', '26123741', '1378321183', None, None, None, None, None, '3569398') ('4302', None, None, None, None, None, None, None, '3569398') ('4302', '26123741', '1378321126', None, None, None, None, None, '3569398') ('4302', None, None, None, None, None, None, None, '3569398') ('4302', '26123741', '1378321054', None, None, None, None, None, '3569398') ('4302', None, None, None, None, None, None, None, '3569398') ('4302', '26123741', '1378321031', None, None, None, None, None, '3569398') ('4302', None, None, None, None, None, None, None, '3569398') ('4302', '26123741', '1378321005', None, None, None, None, None, '3569398') ('4302', None, None, None, None, None, None, None, '3569398') ('4302', '26123741', '1378320260', None, None, None, None, None, '3569398') ('4302', None, None, None, None, None, None, None, '3569398') ('4302', '26123741', '1378320111', None, None, None, None, None, '3569398') ('4302', None, None, None, None, None, None, None, '3569398') ('4302', '26123741', '1378320015', None, None, None, None, None, '3569398') ('4302', None, None, None, None, None, None, None, '3569398') ('4302', '26123741', '1378319921', None, None, None, None, None, '3569398') ('4302', None, None, None, None, None, None, None, '3569398') ('4302', '26123741', '1378319790', None, None, None, None, None, '3569398') ('4302', None, None, None, None, None, None, None, '3569398') ('4302', '26123741', '1378319676', None, None, None, None, None, '3569398') ('4302', None, None, None, None, None, None, None, '3569398') ('4302', '26123741', '1378319223', None, None, None, None, None, '3569398') ('4302', None, None, None, None, None, None, None, '3569398') ('4302', '26123741', '1378318488', None, None, None, None, None, '3569398') ('4302', None, None, None, None, None, None, None, '3569398') ('4302', '26123741', '1378318478', None, None, None, None, None, '3569398') ('4302', None, None, None, None, None, None, None, '3569398') ('4302', '26123741', '1378318367', None, None, None, None, None, '3569398') ('4302', None, None, None, None, None, None, None, '3569398') ('4302', '26123741', '1378318363', None, None, None, None, None, '3569398') ('4302', None, None, None, None, None, None, None, '3569398') ('4302', '26123741', '1378317685', None, None, None, None, None, '3569398') ('4302', None, None, None, None, None, None, None, '3569398') ('4302', '26123741', '1378317616', None, None, None, None, None, '3569398') ('4302', None, None, None, None, None, None, None, '3569398') ('4302', '26123741', '1378317525', None, None, None, None, None, '3569398') ('4302', None, None, None, None, None, None, None, '3569398') ('4302', '26123741', '1378317430', None, None, None, None, None, '3569398') ('4302', None, None, None, None, None, None, None, '3569398') ('4302', '26123741', '1378317356', None, None, None, None, None, '3569398') ('4302', None, None, None, None, None, None, None, '3569398') ('4302', '26123741', '1378317297', None, None, None, None, None, '3569398') ('4302', None, None, None, None, None, None, None, '3569398') ('4302', '26123741', '1378316754', None, None, None, None, None, '3569398') ('4302', None, None, None, None, None, None, None, '3569398') ('4302', '26123741', '1378316751', None, None, None, None, None, '3569398') ('4302', None, None, None, None, None, None, None, '3569398') ('4302', '26123741', '1378316728', None, None, None, None, None, '3569398') ('4302', None, None, None, None, None, None, None, '3569398') ('4302', '26123741', '1378316707', None, None, None, None, None, '3569398') ('4302', None, None, None, None, None, None, None, '3569398') ('4302', '26123741', '1378316682', None, None, None, None, None, '3569398') ('4302', None, None, None, None, None, None, None, '3569398') ('4302', '26123741', '1378316658', None, None, None, None, None, '3569398') ('4302', None, None, None, None, None, None, None, '3569398') ('4302', '26123741', '1378316550', None, None, None, None, None, '3569398') ('4302', None, None, None, None, None, None, None, '3569398') ('4302', '26123741', '1378316219', None, None, None, None, None, '3569398') ('4302', None, None, None, None, None, None, None, '3569398') ('4302', '26123741', '1378316195', None, None, None, None, None, '3569398') ('4302', None, None, None, None, None, None, None, '3569398') ('4302', '26123741', '1378316157', None, None, None, None, None, '3569398') ('4302', None, None, None, None, None, None, None, '3569398') ('4302', '26123741', '1378315870', None, None, None, None, None, '3569398') ('4302', None, None, None, None, None, None, None, '3569398') ('4302', '26123741', '1378315824', None, None, None, None, None, '3569398') ('4302', None, None, None, None, None, None, None, '3569398') ('4302', '26123741', '1378315794', None, None, None, None, None, '3569398') ('4302', None, None, None, None, None, None, None, '3569398') ('4302', '26123741', '1378315736', None, None, None, None, None, '3569398') ('4302', None, None, None, None, None, None, None, '3569398') ('4302', '26123741', '1378315646', None, None, None, None, None, '3569398') ('4302', None, None, None, None, None, None, None, '3569398') ('4302', '26123741', '1378315572', None, None, None, None, None, '3569398') ('4302', None, None, None, None, None, None, None, '3569398') ('4302', '26123741', '1378315346', None, None, None, None, None, '3569398') ('4302', None, None, None, None, None, None, None, '3569398') ('4302', '26123741', '1378315031', None, None, None, None, None, '3569398') ('4302', None, None, None, None, None, None, None, '3569398') ('4302', '26123741', '1378314997', None, None, None, None, None, '3569398') ('4302', None, None, None, None, None, None, None, '3569398') ('4302', '26123741', '1378314938', None, None, None, None, None, '3569398') ('4302', None, None, None, None, None, None, None, '3569398') ('4302', '26123741', '1378314869', None, None, None, None, None, '3569398') ('4302', None, None, None, None, None, None, None, '3569398') ('4302', '26123741', '1378314792', None, None, None, None, None, '3569398') ('4302', None, None, None, None, None, None, None, '3569398') ('4302', '26123741', '1378314720', None, None, None, None, None, '3569398') ('4302', None, None, None, None, None, None, None, '3569398') ('4302', '26123741', '1378314566', None, None, None, None, None, '3569398') ('4302', None, None, None, None, None, None, None, '3569398') ('4302', '26123741', '1378314541', None, None, None, None, None, '3569398') ('4302', None, None, None, None, None, None, None, '3569398') ('4302', '26123741', '1378314135', None, None, None, None, None, '3569398') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 49 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, '26123741', 'None', None, None, None, None, '3569398'), ('4302', '26123741', '1378321183', None, None, None, None, None, '3569398'), ('4302', '26123741', '1378321126', None, None, None, None, None, '3569398'), ('4302', '26123741', '1378321054', None, None, None, None, None, '3569398'), ('4302', '26123741', '1378321031', None, None, None, None, None, '3569398'), ('4302', '26123741', '1378321005', None, None, None, None, None, '3569398'), ('4302', '26123741', '1378320260', None, None, None, None, None, '3569398'), ('4302', '26123741', '1378320111', None, None, None, None, None, '3569398'), ('4302', '26123741', '1378320015', None, None, None, None, None, '3569398'), ('4302', '26123741', '1378319921', None, None, None, None, None, '3569398'), ('4302', '26123741', '1378319790', None, None, None, None, None, '3569398'), ('4302', '26123741', '1378319676', None, None, None, None, None, '3569398'), ('4302', '26123741', '1378319223', None, None, None, None, None, '3569398'), ('4302', '26123741', '1378318488', None, None, None, None, None, '3569398'), ('4302', '26123741', '1378318478', None, None, None, None, None, '3569398'), ('4302', '26123741', '1378318367', None, None, None, None, None, '3569398'), ('4302', '26123741', '1378318363', None, None, None, None, None, '3569398'), ('4302', '26123741', '1378317685', None, None, None, None, None, '3569398'), ('4302', '26123741', '1378317616', None, None, None, None, None, '3569398'), ('4302', '26123741', '1378317525', None, None, None, None, None, '3569398'), ('4302', '26123741', '1378317430', None, None, None, None, None, '3569398'), ('4302', '26123741', '1378317356', None, None, None, None, None, '3569398'), ('4302', '26123741', '1378317297', None, None, None, None, None, '3569398'), ('4302', '26123741', '1378316754', None, None, None, None, None, '3569398'), ('4302', '26123741', '1378316751', None, None, None, None, None, '3569398'), ('4302', '26123741', '1378316728', None, None, None, None, None, '3569398'), ('4302', '26123741', '1378316707', None, None, None, None, None, '3569398'), ('4302', '26123741', '1378316682', None, None, None, None, None, '3569398'), ('4302', '26123741', '1378316658', None, None, None, None, None, '3569398'), ('4302', '26123741', '1378316550', None, None, None, None, None, '3569398'), ('4302', '26123741', '1378316219', None, None, None, None, None, '3569398'), ('4302', '26123741', '1378316195', None, None, None, None, None, '3569398'), ('4302', '26123741', '1378316157', None, None, None, None, None, '3569398'), ('4302', '26123741', '1378315870', None, None, None, None, None, '3569398'), ('4302', '26123741', '1378315824', None, None, None, None, None, '3569398'), ('4302', '26123741', '1378315794', None, None, None, None, None, '3569398'), ('4302', '26123741', '1378315736', None, None, None, None, None, '3569398'), ('4302', '26123741', '1378315646', None, None, None, None, None, '3569398'), ('4302', '26123741', '1378315572', None, None, None, None, None, '3569398'), ('4302', '26123741', '1378315346', None, None, None, None, None, '3569398'), ('4302', '26123741', '1378315031', None, None, None, None, None, '3569398'), ('4302', '26123741', '1378314997', None, None, None, None, None, '3569398'), ('4302', '26123741', '1378314938', None, None, None, None, None, '3569398'), ('4302', '26123741', '1378314869', None, None, None, None, None, '3569398'), ('4302', '26123741', '1378314792', None, None, None, None, None, '3569398'), ('4302', '26123741', '1378314720', None, None, None, None, None, '3569398'), ('4302', '26123741', '1378314566', None, None, None, None, None, '3569398'), ('4302', '26123741', '1378314541', None, None, None, None, None, '3569398'), ('4302', '26123741', '1378314135', None, None, None, None, None, '3569398')] time used for this insertion : 0.019186735153198242 save_final save missing photos in datou_result : time spend for datou_step_exec : 3.5625271797180176 time spend to save output : 0.019711971282958984 total time spend for step 5 : 3.5822391510009766 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 (3569398) 3.51user 2.35system 0:14.66elapsed 40%CPU (0avgtext+0avgdata 164292maxresident)k 2440inputs+24016outputs (68major+86604minor)pagefaults 0swaps