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 : 150854 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 (3507433) updating current state to 1 UPDATE MTRPhoto.mtr_datou_current SET state=1, hostname='marlene' WHERE id in (3507433) SELECT count(*) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 25867258 AND hide_status = 0 list_input_json: [] Current got : datou_id : 4302, datou_cur_ids : ['3507433'] with mtr_portfolio_ids : ['25867258'] and first list_photo_ids : [] new path : /proc/150854/ Name: python3 Umask: 0002 State: R (running) Tgid: 150854 Ngid: 0 Pid: 150854 PPid: 150848 TracerPid: 0 Uid: 1006 1006 1006 1006 Gid: 1009 1009 1009 1009 FDSize: 64 Groups: 27 1009 1026 NStgid: 150854 NSpid: 150854 NSpgid: 150386 NSsid: 150386 VmPeak: 1106964 kB VmSize: 1106964 kB VmLck: 0 kB VmPin: 0 kB VmHWM: 100468 kB VmRSS: 100468 kB RssAnon: 59816 kB RssFile: 40652 kB RssShmem: 0 kB VmData: 865716 kB VmStk: 132 kB VmExe: 2644 kB VmLib: 130468 kB VmPTE: 556 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: 43 nonvoluntary_ctxt_switches: 159 {'Name': 'python3', 'Umask': '0002', 'State': 'R (running)', 'Tgid': '150854', 'Ngid': '0', 'Pid': '150854', 'PPid': '150848', 'TracerPid': '0', 'Uid': '1006,1006,1006,1006', 'Gid': '1009,1009,1009,1009', 'FDSize': '64', 'Groups': '27 1009 1026', 'NStgid': '150854', 'NSpid': '150854', 'NSpgid': '150386', 'NSsid': '150386', 'VmPeak': '1106964 kB', 'VmSize': '1106964 kB', 'VmLck': '0 kB', 'VmPin': '0 kB', 'VmHWM': '100468 kB', 'VmRSS': '100468 kB', 'RssAnon': '59816 kB', 'RssFile': '40652 kB', 'RssShmem': '0 kB', 'VmData': '865716 kB', 'VmStk': '132 kB', 'VmExe': '2644 kB', 'VmLib': '130468 kB', 'VmPTE': '556 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': '43', 'nonvoluntary_ctxt_switches': '159'} ('datou_batch_current', '150854', '1106964', '0', '1106964', '865716', '100468', b'', 'marlene', '3507433') 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 (25867258) 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 (3507433 ) ) 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 (25867258) AND hide_status = 0 ORDER by mtr_photo_id desc LIMIT 0, 200 list_result: [{'photo_id': 1376400168, 'portfolio_id': 25867258}, {'photo_id': 1376400119, 'portfolio_id': 25867258}, {'photo_id': 1376400117, 'portfolio_id': 25867258}, {'photo_id': 1376400116, 'portfolio_id': 25867258}, {'photo_id': 1376400088, 'portfolio_id': 25867258}, {'photo_id': 1376400085, 'portfolio_id': 25867258}, {'photo_id': 1376400083, 'portfolio_id': 25867258}, {'photo_id': 1376400082, 'portfolio_id': 25867258}, {'photo_id': 1376400078, 'portfolio_id': 25867258}, {'photo_id': 1376400059, 'portfolio_id': 25867258}, {'photo_id': 1376400057, 'portfolio_id': 25867258}, {'photo_id': 1376400056, 'portfolio_id': 25867258}, {'photo_id': 1376400054, 'portfolio_id': 25867258}, {'photo_id': 1376400026, 'portfolio_id': 25867258}, {'photo_id': 1376400025, 'portfolio_id': 25867258}, {'photo_id': 1376400023, 'portfolio_id': 25867258}, {'photo_id': 1376400003, 'portfolio_id': 25867258}, {'photo_id': 1376400001, 'portfolio_id': 25867258}, {'photo_id': 1376399996, 'portfolio_id': 25867258}, {'photo_id': 1376399993, 'portfolio_id': 25867258}, {'photo_id': 1376399971, 'portfolio_id': 25867258}, {'photo_id': 1376399969, 'portfolio_id': 25867258}, {'photo_id': 1376399967, 'portfolio_id': 25867258}, {'photo_id': 1376399965, 'portfolio_id': 25867258}, {'photo_id': 1376399963, 'portfolio_id': 25867258}, {'photo_id': 1376399962, 'portfolio_id': 25867258}, {'photo_id': 1376399894, 'portfolio_id': 25867258}, {'photo_id': 1376399891, 'portfolio_id': 25867258}, {'photo_id': 1376399881, 'portfolio_id': 25867258}, {'photo_id': 1376399877, 'portfolio_id': 25867258}, {'photo_id': 1376399814, 'portfolio_id': 25867258}, {'photo_id': 1376399807, 'portfolio_id': 25867258}, {'photo_id': 1376399803, 'portfolio_id': 25867258}, {'photo_id': 1376399566, 'portfolio_id': 25867258}, {'photo_id': 1376399541, 'portfolio_id': 25867258}, {'photo_id': 1376399519, 'portfolio_id': 25867258}, {'photo_id': 1376399494, 'portfolio_id': 25867258}, {'photo_id': 1376399469, 'portfolio_id': 25867258}, {'photo_id': 1376399420, 'portfolio_id': 25867258}, {'photo_id': 1376399417, 'portfolio_id': 25867258}, {'photo_id': 1376399415, 'portfolio_id': 25867258}, {'photo_id': 1376399414, 'portfolio_id': 25867258}, {'photo_id': 1376399413, 'portfolio_id': 25867258}, {'photo_id': 1376399412, 'portfolio_id': 25867258}, {'photo_id': 1376399377, 'portfolio_id': 25867258}, {'photo_id': 1376399376, 'portfolio_id': 25867258}, {'photo_id': 1376399374, 'portfolio_id': 25867258}] map_portfolio_id_photo_id: {25867258: [1376400168, 1376400119, 1376400117, 1376400116, 1376400088, 1376400085, 1376400083, 1376400082, 1376400078, 1376400059, 1376400057, 1376400056, 1376400054, 1376400026, 1376400025, 1376400023, 1376400003, 1376400001, 1376399996, 1376399993, 1376399971, 1376399969, 1376399967, 1376399965, 1376399963, 1376399962, 1376399894, 1376399891, 1376399881, 1376399877, 1376399814, 1376399807, 1376399803, 1376399566, 1376399541, 1376399519, 1376399494, 1376399469, 1376399420, 1376399417, 1376399415, 1376399414, 1376399413, 1376399412, 1376399377, 1376399376, 1376399374]} ##### 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.022001028060913086 #### fin chargement data Blocking on flush ? No conitnuing About to test input to load Calling datou_exec Inside datou_exec : verbose : True number of steps : 5 step1:ventilate_hashtags_in_portfolio Tue Aug 12 05:42:28 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 (25867258) 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 : 25867258 get user id for portfolio 25867258 get sub ptf for main ptf 25867258, type 3726 and hashtags ['environnement', 'Carton_gris', 'autre_refus', 'mal_croppe', 'kraft', 'metal', 'papier', 'Carton_brun', 'cartonnette', 'flou', 'Teint_Dans_La_Masse', 'plastique'] 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`=25867258 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('environnement','Carton_gris','autre_refus','mal_croppe','kraft','metal','papier','Carton_brun','cartonnette','flou','Teint_Dans_La_Masse','plastique')) 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`=25867258 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('environnement','Carton_gris','autre_refus','mal_croppe','kraft','metal','papier','Carton_brun','cartonnette','flou','Teint_Dans_La_Masse','plastique')) AND mptpi.`min_score`=0.5 To do returned map {'Carton_gris': {'main_port_id': 25867258, 'sub_port_id': 25867274, 'hashtag': 'Carton_gris', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17428951, 'last_updated_at': datetime.datetime(2025, 8, 11, 8, 32, 59), 'last_updated_at_desc': datetime.datetime(2025, 8, 11, 8, 32, 59), 'last_updated_at_asc': datetime.datetime(2025, 8, 11, 8, 21, 27)}, 'papier': {'main_port_id': 25867258, 'sub_port_id': 25867275, 'hashtag': 'papier', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17428952, 'last_updated_at': datetime.datetime(2025, 8, 11, 8, 32, 59), 'last_updated_at_desc': datetime.datetime(2025, 8, 11, 8, 32, 59), 'last_updated_at_asc': datetime.datetime(2025, 8, 11, 8, 21, 27)}, 'kraft': {'main_port_id': 25867258, 'sub_port_id': 25867276, 'hashtag': 'kraft', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17428953, 'last_updated_at': datetime.datetime(2025, 8, 11, 8, 32, 59), 'last_updated_at_desc': datetime.datetime(2025, 8, 11, 8, 32, 59), 'last_updated_at_asc': datetime.datetime(2025, 8, 11, 8, 21, 27)}, 'Carton_brun': {'main_port_id': 25867258, 'sub_port_id': 25867277, 'hashtag': 'Carton_brun', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17428954, 'last_updated_at': datetime.datetime(2025, 8, 11, 8, 32, 59), 'last_updated_at_desc': datetime.datetime(2025, 8, 11, 8, 32, 59), 'last_updated_at_asc': datetime.datetime(2025, 8, 11, 8, 21, 27)}, 'mal_croppe': {'main_port_id': 25867258, 'sub_port_id': 25867278, 'hashtag': 'mal_croppe', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17428955, 'last_updated_at': datetime.datetime(2025, 8, 11, 8, 32, 59), 'last_updated_at_desc': datetime.datetime(2025, 8, 11, 8, 32, 59), 'last_updated_at_asc': datetime.datetime(2025, 8, 11, 8, 21, 27)}, 'flou': {'main_port_id': 25867258, 'sub_port_id': 25867279, 'hashtag': 'flou', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17428956, 'last_updated_at': datetime.datetime(2025, 8, 11, 8, 32, 59), 'last_updated_at_desc': datetime.datetime(2025, 8, 11, 8, 32, 59), 'last_updated_at_asc': datetime.datetime(2025, 8, 11, 8, 21, 27)}, 'autre_refus': {'main_port_id': 25867258, 'sub_port_id': 25867280, 'hashtag': 'autre_refus', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17428957, 'last_updated_at': datetime.datetime(2025, 8, 11, 8, 32, 59), 'last_updated_at_desc': datetime.datetime(2025, 8, 11, 8, 32, 59), 'last_updated_at_asc': datetime.datetime(2025, 8, 11, 8, 21, 27)}, 'environnement': {'main_port_id': 25867258, 'sub_port_id': 25867281, 'hashtag': 'environnement', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17428958, 'last_updated_at': datetime.datetime(2025, 8, 11, 8, 32, 59), 'last_updated_at_desc': datetime.datetime(2025, 8, 11, 8, 32, 59), 'last_updated_at_asc': datetime.datetime(2025, 8, 11, 8, 21, 27)}, 'plastique': {'main_port_id': 25867258, 'sub_port_id': 25867282, 'hashtag': 'plastique', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17428959, 'last_updated_at': datetime.datetime(2025, 8, 11, 8, 32, 59), 'last_updated_at_desc': datetime.datetime(2025, 8, 11, 8, 32, 59), 'last_updated_at_asc': datetime.datetime(2025, 8, 11, 8, 21, 27)}, 'Teint_Dans_La_Masse': {'main_port_id': 25867258, 'sub_port_id': 25867283, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17428960, 'last_updated_at': datetime.datetime(2025, 8, 11, 8, 32, 59), 'last_updated_at_desc': datetime.datetime(2025, 8, 11, 8, 32, 59), 'last_updated_at_asc': datetime.datetime(2025, 8, 11, 8, 21, 27)}, 'cartonnette': {'main_port_id': 25867258, 'sub_port_id': 25867284, 'hashtag': 'cartonnette', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17428961, 'last_updated_at': datetime.datetime(2025, 8, 11, 8, 32, 59), 'last_updated_at_desc': datetime.datetime(2025, 8, 11, 8, 32, 59), 'last_updated_at_asc': datetime.datetime(2025, 8, 11, 8, 21, 27)}, 'metal': {'main_port_id': 25867258, 'sub_port_id': 25867286, 'hashtag': 'metal', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17428962, 'last_updated_at': datetime.datetime(2025, 8, 11, 8, 32, 59), 'last_updated_at_desc': datetime.datetime(2025, 8, 11, 8, 32, 59), 'last_updated_at_asc': datetime.datetime(2025, 8, 11, 8, 21, 27)}} insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 25867274 , 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=25867258 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 (25867274) result : ((1376400110,), (1376402615,), (1376405304,), (1376405699,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (25867258) result : ((1376399374,), (1376399376,), (1376399377,), (1376399412,), (1376399413,), (1376399414,), (1376399415,), (1376399417,), (1376399420,), (1376399469,), (1376399494,), (1376399519,), (1376399541,), (1376399566,), (1376399803,), (1376399807,), (1376399814,), (1376399877,), (1376399881,), (1376399891,), (1376399894,), (1376399962,), (1376399963,), (1376399965,), (1376399967,), (1376399969,), (1376399971,), (1376399993,), (1376399996,), (1376400001,), (1376400003,), (1376400023,), (1376400025,), (1376400026,), (1376400054,), (1376400056,), (1376400057,), (1376400059,), (1376400078,), (1376400082,), (1376400083,), (1376400085,), (1376400088,), (1376400116,), (1376400117,), (1376400119,), (1376400168,)) 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 25867275 , 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=25867258 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 (25867275) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (25867258) result : ((1376399374,), (1376399376,), (1376399377,), (1376399412,), (1376399413,), (1376399414,), (1376399415,), (1376399417,), (1376399420,), (1376399469,), (1376399494,), (1376399519,), (1376399541,), (1376399566,), (1376399803,), (1376399807,), (1376399814,), (1376399877,), (1376399881,), (1376399891,), (1376399894,), (1376399962,), (1376399963,), (1376399965,), (1376399967,), (1376399969,), (1376399971,), (1376399993,), (1376399996,), (1376400001,), (1376400003,), (1376400023,), (1376400025,), (1376400026,), (1376400054,), (1376400056,), (1376400057,), (1376400059,), (1376400078,), (1376400082,), (1376400083,), (1376400085,), (1376400088,), (1376400116,), (1376400117,), (1376400119,), (1376400168,)) 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 25867276 , 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=25867258 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 (25867276) result : ((1376400881,),) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (25867258) result : ((1376399374,), (1376399376,), (1376399377,), (1376399412,), (1376399413,), (1376399414,), (1376399415,), (1376399417,), (1376399420,), (1376399469,), (1376399494,), (1376399519,), (1376399541,), (1376399566,), (1376399803,), (1376399807,), (1376399814,), (1376399877,), (1376399881,), (1376399891,), (1376399894,), (1376399962,), (1376399963,), (1376399965,), (1376399967,), (1376399969,), (1376399971,), (1376399993,), (1376399996,), (1376400001,), (1376400003,), (1376400023,), (1376400025,), (1376400026,), (1376400054,), (1376400056,), (1376400057,), (1376400059,), (1376400078,), (1376400082,), (1376400083,), (1376400085,), (1376400088,), (1376400116,), (1376400117,), (1376400119,), (1376400168,)) 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 25867277 , 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=25867258 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 (25867277) result : ((1376400113,), (1376400879,), (1376405306,), (1376405307,), (1376405702,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (25867258) result : ((1376399374,), (1376399376,), (1376399377,), (1376399412,), (1376399413,), (1376399414,), (1376399415,), (1376399417,), (1376399420,), (1376399469,), (1376399494,), (1376399519,), (1376399541,), (1376399566,), (1376399803,), (1376399807,), (1376399814,), (1376399877,), (1376399881,), (1376399891,), (1376399894,), (1376399962,), (1376399963,), (1376399965,), (1376399967,), (1376399969,), (1376399971,), (1376399993,), (1376399996,), (1376400001,), (1376400003,), (1376400023,), (1376400025,), (1376400026,), (1376400054,), (1376400056,), (1376400057,), (1376400059,), (1376400078,), (1376400082,), (1376400083,), (1376400085,), (1376400088,), (1376400116,), (1376400117,), (1376400119,), (1376400168,)) 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 25867278 , 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=25867258 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 (25867278) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (25867258) result : ((1376399374,), (1376399376,), (1376399377,), (1376399412,), (1376399413,), (1376399414,), (1376399415,), (1376399417,), (1376399420,), (1376399469,), (1376399494,), (1376399519,), (1376399541,), (1376399566,), (1376399803,), (1376399807,), (1376399814,), (1376399877,), (1376399881,), (1376399891,), (1376399894,), (1376399962,), (1376399963,), (1376399965,), (1376399967,), (1376399969,), (1376399971,), (1376399993,), (1376399996,), (1376400001,), (1376400003,), (1376400023,), (1376400025,), (1376400026,), (1376400054,), (1376400056,), (1376400057,), (1376400059,), (1376400078,), (1376400082,), (1376400083,), (1376400085,), (1376400088,), (1376400116,), (1376400117,), (1376400119,), (1376400168,)) 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 25867279 , 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=25867258 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 (25867279) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (25867258) result : ((1376399374,), (1376399376,), (1376399377,), (1376399412,), (1376399413,), (1376399414,), (1376399415,), (1376399417,), (1376399420,), (1376399469,), (1376399494,), (1376399519,), (1376399541,), (1376399566,), (1376399803,), (1376399807,), (1376399814,), (1376399877,), (1376399881,), (1376399891,), (1376399894,), (1376399962,), (1376399963,), (1376399965,), (1376399967,), (1376399969,), (1376399971,), (1376399993,), (1376399996,), (1376400001,), (1376400003,), (1376400023,), (1376400025,), (1376400026,), (1376400054,), (1376400056,), (1376400057,), (1376400059,), (1376400078,), (1376400082,), (1376400083,), (1376400085,), (1376400088,), (1376400116,), (1376400117,), (1376400119,), (1376400168,)) 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 25867280 , 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=25867258 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 (25867280) result : ((1376400107,), (1376400108,), (1376400109,), (1376405697,), (1376405698,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (25867258) result : ((1376399374,), (1376399376,), (1376399377,), (1376399412,), (1376399413,), (1376399414,), (1376399415,), (1376399417,), (1376399420,), (1376399469,), (1376399494,), (1376399519,), (1376399541,), (1376399566,), (1376399803,), (1376399807,), (1376399814,), (1376399877,), (1376399881,), (1376399891,), (1376399894,), (1376399962,), (1376399963,), (1376399965,), (1376399967,), (1376399969,), (1376399971,), (1376399993,), (1376399996,), (1376400001,), (1376400003,), (1376400023,), (1376400025,), (1376400026,), (1376400054,), (1376400056,), (1376400057,), (1376400059,), (1376400078,), (1376400082,), (1376400083,), (1376400085,), (1376400088,), (1376400116,), (1376400117,), (1376400119,), (1376400168,)) 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 25867281 , 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=25867258 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 (25867281) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (25867258) result : ((1376399374,), (1376399376,), (1376399377,), (1376399412,), (1376399413,), (1376399414,), (1376399415,), (1376399417,), (1376399420,), (1376399469,), (1376399494,), (1376399519,), (1376399541,), (1376399566,), (1376399803,), (1376399807,), (1376399814,), (1376399877,), (1376399881,), (1376399891,), (1376399894,), (1376399962,), (1376399963,), (1376399965,), (1376399967,), (1376399969,), (1376399971,), (1376399993,), (1376399996,), (1376400001,), (1376400003,), (1376400023,), (1376400025,), (1376400026,), (1376400054,), (1376400056,), (1376400057,), (1376400059,), (1376400078,), (1376400082,), (1376400083,), (1376400085,), (1376400088,), (1376400116,), (1376400117,), (1376400119,), (1376400168,)) 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 25867282 , 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=25867258 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 (25867282) result : ((1376400880,), (1376405308,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (25867258) result : ((1376399374,), (1376399376,), (1376399377,), (1376399412,), (1376399413,), (1376399414,), (1376399415,), (1376399417,), (1376399420,), (1376399469,), (1376399494,), (1376399519,), (1376399541,), (1376399566,), (1376399803,), (1376399807,), (1376399814,), (1376399877,), (1376399881,), (1376399891,), (1376399894,), (1376399962,), (1376399963,), (1376399965,), (1376399967,), (1376399969,), (1376399971,), (1376399993,), (1376399996,), (1376400001,), (1376400003,), (1376400023,), (1376400025,), (1376400026,), (1376400054,), (1376400056,), (1376400057,), (1376400059,), (1376400078,), (1376400082,), (1376400083,), (1376400085,), (1376400088,), (1376400116,), (1376400117,), (1376400119,), (1376400168,)) 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 25867283 , 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=25867258 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 (25867283) result : ((1376400308,), (1376405295,), (1376405296,), (1376405297,), (1376405298,), (1376405299,), (1376405300,), (1376405301,), (1376405696,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (25867258) result : ((1376399374,), (1376399376,), (1376399377,), (1376399412,), (1376399413,), (1376399414,), (1376399415,), (1376399417,), (1376399420,), (1376399469,), (1376399494,), (1376399519,), (1376399541,), (1376399566,), (1376399803,), (1376399807,), (1376399814,), (1376399877,), (1376399881,), (1376399891,), (1376399894,), (1376399962,), (1376399963,), (1376399965,), (1376399967,), (1376399969,), (1376399971,), (1376399993,), (1376399996,), (1376400001,), (1376400003,), (1376400023,), (1376400025,), (1376400026,), (1376400054,), (1376400056,), (1376400057,), (1376400059,), (1376400078,), (1376400082,), (1376400083,), (1376400085,), (1376400088,), (1376400116,), (1376400117,), (1376400119,), (1376400168,)) 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 25867284 , 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=25867258 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 (25867284) result : ((1376400111,), (1376400112,), (1376402622,), (1376405305,), (1376405700,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (25867258) result : ((1376399374,), (1376399376,), (1376399377,), (1376399412,), (1376399413,), (1376399414,), (1376399415,), (1376399417,), (1376399420,), (1376399469,), (1376399494,), (1376399519,), (1376399541,), (1376399566,), (1376399803,), (1376399807,), (1376399814,), (1376399877,), (1376399881,), (1376399891,), (1376399894,), (1376399962,), (1376399963,), (1376399965,), (1376399967,), (1376399969,), (1376399971,), (1376399993,), (1376399996,), (1376400001,), (1376400003,), (1376400023,), (1376400025,), (1376400026,), (1376400054,), (1376400056,), (1376400057,), (1376400059,), (1376400078,), (1376400082,), (1376400083,), (1376400085,), (1376400088,), (1376400116,), (1376400117,), (1376400119,), (1376400168,)) 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 25867286 , 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=25867258 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 (25867286) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (25867258) result : ((1376399374,), (1376399376,), (1376399377,), (1376399412,), (1376399413,), (1376399414,), (1376399415,), (1376399417,), (1376399420,), (1376399469,), (1376399494,), (1376399519,), (1376399541,), (1376399566,), (1376399803,), (1376399807,), (1376399814,), (1376399877,), (1376399881,), (1376399891,), (1376399894,), (1376399962,), (1376399963,), (1376399965,), (1376399967,), (1376399969,), (1376399971,), (1376399993,), (1376399996,), (1376400001,), (1376400003,), (1376400023,), (1376400025,), (1376400026,), (1376400054,), (1376400056,), (1376400057,), (1376400059,), (1376400078,), (1376400082,), (1376400083,), (1376400085,), (1376400088,), (1376400116,), (1376400117,), (1376400119,), (1376400168,)) 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`=25867258 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('environnement','Carton_gris','autre_refus','mal_croppe','kraft','metal','papier','Carton_brun','cartonnette','flou','Teint_Dans_La_Masse','plastique')) 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`=25867258 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('environnement','Carton_gris','autre_refus','mal_croppe','kraft','metal','papier','Carton_brun','cartonnette','flou','Teint_Dans_La_Masse','plastique')) AND mptpi.`min_score`=0.5 To do returned map {'Carton_gris': {'main_port_id': 25867258, 'sub_port_id': 25867287, 'hashtag': 'Carton_gris', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17428963, 'last_updated_at': datetime.datetime(2025, 8, 11, 8, 21, 29), 'last_updated_at_desc': datetime.datetime(2025, 8, 11, 8, 21, 29), 'last_updated_at_asc': datetime.datetime(2025, 8, 11, 8, 21, 29)}, 'papier': {'main_port_id': 25867258, 'sub_port_id': 25867288, 'hashtag': 'papier', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17428964, 'last_updated_at': datetime.datetime(2025, 8, 11, 8, 21, 29), 'last_updated_at_desc': datetime.datetime(2025, 8, 11, 8, 21, 29), 'last_updated_at_asc': datetime.datetime(2025, 8, 11, 8, 21, 29)}, 'kraft': {'main_port_id': 25867258, 'sub_port_id': 25867289, 'hashtag': 'kraft', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17428965, 'last_updated_at': datetime.datetime(2025, 8, 11, 8, 21, 29), 'last_updated_at_desc': datetime.datetime(2025, 8, 11, 8, 21, 29), 'last_updated_at_asc': datetime.datetime(2025, 8, 11, 8, 21, 29)}, 'Carton_brun': {'main_port_id': 25867258, 'sub_port_id': 25867290, 'hashtag': 'Carton_brun', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17428966, 'last_updated_at': datetime.datetime(2025, 8, 11, 8, 21, 29), 'last_updated_at_desc': datetime.datetime(2025, 8, 11, 8, 21, 29), 'last_updated_at_asc': datetime.datetime(2025, 8, 11, 8, 21, 29)}, 'mal_croppe': {'main_port_id': 25867258, 'sub_port_id': 25867291, 'hashtag': 'mal_croppe', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17428967, 'last_updated_at': datetime.datetime(2025, 8, 11, 8, 21, 29), 'last_updated_at_desc': datetime.datetime(2025, 8, 11, 8, 21, 29), 'last_updated_at_asc': datetime.datetime(2025, 8, 11, 8, 21, 29)}, 'flou': {'main_port_id': 25867258, 'sub_port_id': 25867292, 'hashtag': 'flou', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17428968, 'last_updated_at': datetime.datetime(2025, 8, 11, 8, 21, 29), 'last_updated_at_desc': datetime.datetime(2025, 8, 11, 8, 21, 29), 'last_updated_at_asc': datetime.datetime(2025, 8, 11, 8, 21, 29)}, 'autre_refus': {'main_port_id': 25867258, 'sub_port_id': 25867293, 'hashtag': 'autre_refus', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17428969, 'last_updated_at': datetime.datetime(2025, 8, 11, 8, 21, 29), 'last_updated_at_desc': datetime.datetime(2025, 8, 11, 8, 21, 29), 'last_updated_at_asc': datetime.datetime(2025, 8, 11, 8, 21, 29)}, 'environnement': {'main_port_id': 25867258, 'sub_port_id': 25867294, 'hashtag': 'environnement', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17428970, 'last_updated_at': datetime.datetime(2025, 8, 11, 8, 21, 29), 'last_updated_at_desc': datetime.datetime(2025, 8, 11, 8, 21, 29), 'last_updated_at_asc': datetime.datetime(2025, 8, 11, 8, 21, 29)}, 'plastique': {'main_port_id': 25867258, 'sub_port_id': 25867295, 'hashtag': 'plastique', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17428971, 'last_updated_at': datetime.datetime(2025, 8, 11, 8, 21, 29), 'last_updated_at_desc': datetime.datetime(2025, 8, 11, 8, 21, 29), 'last_updated_at_asc': datetime.datetime(2025, 8, 11, 8, 21, 29)}, 'Teint_Dans_La_Masse': {'main_port_id': 25867258, 'sub_port_id': 25867296, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17428972, 'last_updated_at': datetime.datetime(2025, 8, 11, 8, 21, 29), 'last_updated_at_desc': datetime.datetime(2025, 8, 11, 8, 21, 29), 'last_updated_at_asc': datetime.datetime(2025, 8, 11, 8, 21, 29)}, 'cartonnette': {'main_port_id': 25867258, 'sub_port_id': 25867297, 'hashtag': 'cartonnette', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17428973, 'last_updated_at': datetime.datetime(2025, 8, 11, 8, 21, 29), 'last_updated_at_desc': datetime.datetime(2025, 8, 11, 8, 21, 29), 'last_updated_at_asc': datetime.datetime(2025, 8, 11, 8, 21, 29)}, 'metal': {'main_port_id': 25867258, 'sub_port_id': 25867298, 'hashtag': 'metal', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17428974, 'last_updated_at': datetime.datetime(2025, 8, 11, 8, 32, 59), 'last_updated_at_desc': datetime.datetime(2025, 8, 11, 8, 32, 59), 'last_updated_at_asc': datetime.datetime(2025, 8, 11, 8, 21, 29)}} insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 25867287,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 25867274 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 25867288,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 25867275 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 25867289,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 25867276 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 25867290,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 25867277 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 25867291,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 25867278 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 25867292,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 25867279 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 25867293,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 25867280 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 25867294,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 25867281 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 25867295,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 25867282 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 25867296,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 25867283 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 25867297,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 25867284 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 25867298,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 25867286 lien utilise dans velours : https://www.fotonower.com/velours/25867287,25867288,25867289,25867290,25867291,25867292,25867293,25867294,25867295,25867296,25867297,25867298?tags=Carton_gris,papier,kraft,Carton_brun,mal_croppe,flou,autre_refus,environnement,plastique,Teint_Dans_La_Masse,cartonnette,metal After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([25867258]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1376400168, 1376400119, 1376400117, 1376400116, 1376400088, 1376400085, 1376400083, 1376400082, 1376400078, 1376400059, 1376400057, 1376400056, 1376400054, 1376400026, 1376400025, 1376400023, 1376400003, 1376400001, 1376399996, 1376399993, 1376399971, 1376399969, 1376399967, 1376399965, 1376399963, 1376399962, 1376399894, 1376399891, 1376399881, 1376399877, 1376399814, 1376399807, 1376399803, 1376399566, 1376399541, 1376399519, 1376399494, 1376399469, 1376399420, 1376399417, 1376399415, 1376399414, 1376399413, 1376399412, 1376399377, 1376399376, 1376399374] map_info['map_portfolio_photo'] : {25867258: [1376400168, 1376400119, 1376400117, 1376400116, 1376400088, 1376400085, 1376400083, 1376400082, 1376400078, 1376400059, 1376400057, 1376400056, 1376400054, 1376400026, 1376400025, 1376400023, 1376400003, 1376400001, 1376399996, 1376399993, 1376399971, 1376399969, 1376399967, 1376399965, 1376399963, 1376399962, 1376399894, 1376399891, 1376399881, 1376399877, 1376399814, 1376399807, 1376399803, 1376399566, 1376399541, 1376399519, 1376399494, 1376399469, 1376399420, 1376399417, 1376399415, 1376399414, 1376399413, 1376399412, 1376399377, 1376399376, 1376399374]} final : False mtd_id 4302 list_pids : [1376400168, 1376400119, 1376400117, 1376400116, 1376400088, 1376400085, 1376400083, 1376400082, 1376400078, 1376400059, 1376400057, 1376400056, 1376400054, 1376400026, 1376400025, 1376400023, 1376400003, 1376400001, 1376399996, 1376399993, 1376399971, 1376399969, 1376399967, 1376399965, 1376399963, 1376399962, 1376399894, 1376399891, 1376399881, 1376399877, 1376399814, 1376399807, 1376399803, 1376399566, 1376399541, 1376399519, 1376399494, 1376399469, 1376399420, 1376399417, 1376399415, 1376399414, 1376399413, 1376399412, 1376399377, 1376399376, 1376399374] Looping around the photos to save general results len do output : 1 /25867258. 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, '3507433') ('4302', '25867258', '1376400168', None, None, None, None, None, '3507433') ('4302', None, None, None, None, None, None, None, '3507433') ('4302', '25867258', '1376400119', None, None, None, None, None, '3507433') ('4302', None, None, None, None, None, None, None, '3507433') ('4302', '25867258', '1376400117', None, None, None, None, None, '3507433') ('4302', None, None, None, None, None, None, None, '3507433') ('4302', '25867258', '1376400116', None, None, None, None, None, '3507433') ('4302', None, None, None, None, None, None, None, '3507433') ('4302', '25867258', '1376400088', None, None, None, None, None, '3507433') ('4302', None, None, None, None, None, None, None, '3507433') ('4302', '25867258', '1376400085', None, None, None, None, None, '3507433') ('4302', None, None, None, None, None, None, None, '3507433') ('4302', '25867258', '1376400083', None, None, None, None, None, '3507433') ('4302', None, None, None, None, None, None, None, '3507433') ('4302', '25867258', '1376400082', None, None, None, None, None, '3507433') ('4302', None, None, None, None, None, None, None, '3507433') ('4302', '25867258', '1376400078', None, None, None, None, None, '3507433') ('4302', None, None, None, None, None, None, None, '3507433') ('4302', '25867258', '1376400059', None, None, None, None, None, '3507433') ('4302', None, None, None, None, None, None, None, '3507433') ('4302', '25867258', '1376400057', None, None, None, None, None, '3507433') ('4302', None, None, None, None, None, None, None, '3507433') ('4302', '25867258', '1376400056', None, None, None, None, None, '3507433') ('4302', None, None, None, None, None, None, None, '3507433') ('4302', '25867258', '1376400054', None, None, None, None, None, '3507433') ('4302', None, None, None, None, None, None, None, '3507433') ('4302', '25867258', '1376400026', None, None, None, None, None, '3507433') ('4302', None, None, None, None, None, None, None, '3507433') ('4302', '25867258', '1376400025', None, None, None, None, None, '3507433') ('4302', None, None, None, None, None, None, None, '3507433') ('4302', '25867258', '1376400023', None, None, None, None, None, '3507433') ('4302', None, None, None, None, None, None, None, '3507433') ('4302', '25867258', '1376400003', None, None, None, None, None, '3507433') ('4302', None, None, None, None, None, None, None, '3507433') ('4302', '25867258', '1376400001', None, None, None, None, None, '3507433') ('4302', None, None, None, None, None, None, None, '3507433') ('4302', '25867258', '1376399996', None, None, None, None, None, '3507433') ('4302', None, None, None, None, None, None, None, '3507433') ('4302', '25867258', '1376399993', None, None, None, None, None, '3507433') ('4302', None, None, None, None, None, None, None, '3507433') ('4302', '25867258', '1376399971', None, None, None, None, None, '3507433') ('4302', None, None, None, None, None, None, None, '3507433') ('4302', '25867258', '1376399969', None, None, None, None, None, '3507433') ('4302', None, None, None, None, None, None, None, '3507433') ('4302', '25867258', '1376399967', None, None, None, None, None, '3507433') ('4302', None, None, None, None, None, None, None, '3507433') ('4302', '25867258', '1376399965', None, None, None, None, None, '3507433') ('4302', None, None, None, None, None, None, None, '3507433') ('4302', '25867258', '1376399963', None, None, None, None, None, '3507433') ('4302', None, None, None, None, None, None, None, '3507433') ('4302', '25867258', '1376399962', None, None, None, None, None, '3507433') ('4302', None, None, None, None, None, None, None, '3507433') ('4302', '25867258', '1376399894', None, None, None, None, None, '3507433') ('4302', None, None, None, None, None, None, None, '3507433') ('4302', '25867258', '1376399891', None, None, None, None, None, '3507433') ('4302', None, None, None, None, None, None, None, '3507433') ('4302', '25867258', '1376399881', None, None, None, None, None, '3507433') ('4302', None, None, None, None, None, None, None, '3507433') ('4302', '25867258', '1376399877', None, None, None, None, None, '3507433') ('4302', None, None, None, None, None, None, None, '3507433') ('4302', '25867258', '1376399814', None, None, None, None, None, '3507433') ('4302', None, None, None, None, None, None, None, '3507433') ('4302', '25867258', '1376399807', None, None, None, None, None, '3507433') ('4302', None, None, None, None, None, None, None, '3507433') ('4302', '25867258', '1376399803', None, None, None, None, None, '3507433') ('4302', None, None, None, None, None, None, None, '3507433') ('4302', '25867258', '1376399566', None, None, None, None, None, '3507433') ('4302', None, None, None, None, None, None, None, '3507433') ('4302', '25867258', '1376399541', None, None, None, None, None, '3507433') ('4302', None, None, None, None, None, None, None, '3507433') ('4302', '25867258', '1376399519', None, None, None, None, None, '3507433') ('4302', None, None, None, None, None, None, None, '3507433') ('4302', '25867258', '1376399494', None, None, None, None, None, '3507433') ('4302', None, None, None, None, None, None, None, '3507433') ('4302', '25867258', '1376399469', None, None, None, None, None, '3507433') ('4302', None, None, None, None, None, None, None, '3507433') ('4302', '25867258', '1376399420', None, None, None, None, None, '3507433') ('4302', None, None, None, None, None, None, None, '3507433') ('4302', '25867258', '1376399417', None, None, None, None, None, '3507433') ('4302', None, None, None, None, None, None, None, '3507433') ('4302', '25867258', '1376399415', None, None, None, None, None, '3507433') ('4302', None, None, None, None, None, None, None, '3507433') ('4302', '25867258', '1376399414', None, None, None, None, None, '3507433') ('4302', None, None, None, None, None, None, None, '3507433') ('4302', '25867258', '1376399413', None, None, None, None, None, '3507433') ('4302', None, None, None, None, None, None, None, '3507433') ('4302', '25867258', '1376399412', None, None, None, None, None, '3507433') ('4302', None, None, None, None, None, None, None, '3507433') ('4302', '25867258', '1376399377', None, None, None, None, None, '3507433') ('4302', None, None, None, None, None, None, None, '3507433') ('4302', '25867258', '1376399376', None, None, None, None, None, '3507433') ('4302', None, None, None, None, None, None, None, '3507433') ('4302', '25867258', '1376399374', None, None, None, None, None, '3507433') 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', None, '25867258', "{'Carton_gris': 25867274, 'papier': 25867275, 'kraft': 25867276, 'Carton_brun': 25867277, 'mal_croppe': 25867278, 'flou': 25867279, 'autre_refus': 25867280, 'environnement': 25867281, 'plastique': 25867282, 'Teint_Dans_La_Masse': 25867283, 'cartonnette': 25867284, 'metal': 25867286}", None, None, None, None, '3507433'), ('4302', '25867258', '1376400168', None, None, None, None, None, '3507433'), ('4302', '25867258', '1376400119', None, None, None, None, None, '3507433'), ('4302', '25867258', '1376400117', None, None, None, None, None, '3507433'), ('4302', '25867258', '1376400116', None, None, None, None, None, '3507433'), ('4302', '25867258', '1376400088', None, None, None, None, None, '3507433'), ('4302', '25867258', '1376400085', None, None, None, None, None, '3507433'), ('4302', '25867258', '1376400083', None, None, None, None, None, '3507433'), ('4302', '25867258', '1376400082', None, None, None, None, None, '3507433'), ('4302', '25867258', '1376400078', None, None, None, None, None, '3507433'), ('4302', '25867258', '1376400059', None, None, None, None, None, '3507433'), ('4302', '25867258', '1376400057', None, None, None, None, None, '3507433'), ('4302', '25867258', '1376400056', None, None, None, None, None, '3507433'), ('4302', '25867258', '1376400054', None, None, None, None, None, '3507433'), ('4302', '25867258', '1376400026', None, None, None, None, None, '3507433'), ('4302', '25867258', '1376400025', None, None, None, None, None, '3507433'), ('4302', '25867258', '1376400023', None, None, None, None, None, '3507433'), ('4302', '25867258', '1376400003', None, None, None, None, None, '3507433'), ('4302', '25867258', '1376400001', None, None, None, None, None, '3507433'), ('4302', '25867258', '1376399996', None, None, None, None, None, '3507433'), ('4302', '25867258', '1376399993', None, None, None, None, None, '3507433'), ('4302', '25867258', '1376399971', None, None, None, None, None, '3507433'), ('4302', '25867258', '1376399969', None, None, None, None, None, '3507433'), ('4302', '25867258', '1376399967', None, None, None, None, None, '3507433'), ('4302', '25867258', '1376399965', None, None, None, None, None, '3507433'), ('4302', '25867258', '1376399963', None, None, None, None, None, '3507433'), ('4302', '25867258', '1376399962', None, None, None, None, None, '3507433'), ('4302', '25867258', '1376399894', None, None, None, None, None, '3507433'), ('4302', '25867258', '1376399891', None, None, None, None, None, '3507433'), ('4302', '25867258', '1376399881', None, None, None, None, None, '3507433'), ('4302', '25867258', '1376399877', None, None, None, None, None, '3507433'), ('4302', '25867258', '1376399814', None, None, None, None, None, '3507433'), ('4302', '25867258', '1376399807', None, None, None, None, None, '3507433'), ('4302', '25867258', '1376399803', None, None, None, None, None, '3507433'), ('4302', '25867258', '1376399566', None, None, None, None, None, '3507433'), ('4302', '25867258', '1376399541', None, None, None, None, None, '3507433'), ('4302', '25867258', '1376399519', None, None, None, None, None, '3507433'), ('4302', '25867258', '1376399494', None, None, None, None, None, '3507433'), ('4302', '25867258', '1376399469', None, None, None, None, None, '3507433'), ('4302', '25867258', '1376399420', None, None, None, None, None, '3507433'), ('4302', '25867258', '1376399417', None, None, None, None, None, '3507433'), ('4302', '25867258', '1376399415', None, None, None, None, None, '3507433'), ('4302', '25867258', '1376399414', None, None, None, None, None, '3507433'), ('4302', '25867258', '1376399413', None, None, None, None, None, '3507433'), ('4302', '25867258', '1376399412', None, None, None, None, None, '3507433'), ('4302', '25867258', '1376399377', None, None, None, None, None, '3507433'), ('4302', '25867258', '1376399376', None, None, None, None, None, '3507433'), ('4302', '25867258', '1376399374', None, None, None, None, None, '3507433')] time used for this insertion : 0.04406881332397461 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.8456776142120361 time spend to save output : 0.04453444480895996 total time spend for step 1 : 1.890212059020996 step2:final Tue Aug 12 05:42:30 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 (25867258) 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 25867258 : SELECT photo_id, hashtag_id, ratio from MTRPhoto.photo_carac_ratio where hashtag_type = 3726 and photo_id in (1376399377,1376399376,1376399374,1376399420,1376399417,1376399415,1376399414,1376399413,1376399412,1376399566,1376399541,1376399519,1376399494,1376399469,1376399814,1376399807,1376399803,1376399894,1376399891,1376399881,1376399877,1376399971,1376399969,1376399967,1376399965,1376399963,1376399962,1376400003,1376400001,1376399996,1376399993,1376400026,1376400025,1376400023,1376400059,1376400057,1376400056,1376400054,1376400088,1376400085,1376400083,1376400082,1376400078,1376400119,1376400117,1376400116,1376400168); insert ignore into MTRUser.portfolio_carac_ratio (portfolio_id, hashtag_type, hashtag_id, value) values (%s,%s,%s,%s) on DUPLICATE KEY UPDATE value=VALUES(value) After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([25867258]) Inside saveOutput : final : False verbose : True original output for save of step final : {1376400168: ('0.04414364055722506',), 1376400119: ('0.04414364055722506',), 1376400117: ('0.04414364055722506',), 1376400116: ('0.04414364055722506',), 1376400088: ('0.04414364055722506',), 1376400085: ('0.04414364055722506',), 1376400083: ('0.04414364055722506',), 1376400082: ('0.04414364055722506',), 1376400078: ('0.04414364055722506',), 1376400059: ('0.04414364055722506',), 1376400057: ('0.04414364055722506',), 1376400056: ('0.04414364055722506',), 1376400054: ('0.04414364055722506',), 1376400026: ('0.04414364055722506',), 1376400025: ('0.04414364055722506',), 1376400023: ('0.04414364055722506',), 1376400003: ('0.04414364055722506',), 1376400001: ('0.04414364055722506',), 1376399996: ('0.04414364055722506',), 1376399993: ('0.04414364055722506',), 1376399971: ('0.04414364055722506',), 1376399969: ('0.04414364055722506',), 1376399967: ('0.04414364055722506',), 1376399965: ('0.04414364055722506',), 1376399963: ('0.04414364055722506',), 1376399962: ('0.04414364055722506',), 1376399894: ('0.04414364055722506',), 1376399891: ('0.04414364055722506',), 1376399881: ('0.04414364055722506',), 1376399877: ('0.04414364055722506',), 1376399814: ('0.04414364055722506',), 1376399807: ('0.04414364055722506',), 1376399803: ('0.04414364055722506',), 1376399566: ('0.04414364055722506',), 1376399541: ('0.04414364055722506',), 1376399519: ('0.04414364055722506',), 1376399494: ('0.04414364055722506',), 1376399469: ('0.04414364055722506',), 1376399420: ('0.04414364055722506',), 1376399417: ('0.04414364055722506',), 1376399415: ('0.04414364055722506',), 1376399414: ('0.04414364055722506',), 1376399413: ('0.04414364055722506',), 1376399412: ('0.04414364055722506',), 1376399377: ('0.04414364055722506',), 1376399376: ('0.04414364055722506',), 1376399374: ('0.04414364055722506',)} new output for save of step final : {1376400168: ('0.04414364055722506',), 1376400119: ('0.04414364055722506',), 1376400117: ('0.04414364055722506',), 1376400116: ('0.04414364055722506',), 1376400088: ('0.04414364055722506',), 1376400085: ('0.04414364055722506',), 1376400083: ('0.04414364055722506',), 1376400082: ('0.04414364055722506',), 1376400078: ('0.04414364055722506',), 1376400059: ('0.04414364055722506',), 1376400057: ('0.04414364055722506',), 1376400056: ('0.04414364055722506',), 1376400054: ('0.04414364055722506',), 1376400026: ('0.04414364055722506',), 1376400025: ('0.04414364055722506',), 1376400023: ('0.04414364055722506',), 1376400003: ('0.04414364055722506',), 1376400001: ('0.04414364055722506',), 1376399996: ('0.04414364055722506',), 1376399993: ('0.04414364055722506',), 1376399971: ('0.04414364055722506',), 1376399969: ('0.04414364055722506',), 1376399967: ('0.04414364055722506',), 1376399965: ('0.04414364055722506',), 1376399963: ('0.04414364055722506',), 1376399962: ('0.04414364055722506',), 1376399894: ('0.04414364055722506',), 1376399891: ('0.04414364055722506',), 1376399881: ('0.04414364055722506',), 1376399877: ('0.04414364055722506',), 1376399814: ('0.04414364055722506',), 1376399807: ('0.04414364055722506',), 1376399803: ('0.04414364055722506',), 1376399566: ('0.04414364055722506',), 1376399541: ('0.04414364055722506',), 1376399519: ('0.04414364055722506',), 1376399494: ('0.04414364055722506',), 1376399469: ('0.04414364055722506',), 1376399420: ('0.04414364055722506',), 1376399417: ('0.04414364055722506',), 1376399415: ('0.04414364055722506',), 1376399414: ('0.04414364055722506',), 1376399413: ('0.04414364055722506',), 1376399412: ('0.04414364055722506',), 1376399377: ('0.04414364055722506',), 1376399376: ('0.04414364055722506',), 1376399374: ('0.04414364055722506',)} [1376400168, 1376400119, 1376400117, 1376400116, 1376400088, 1376400085, 1376400083, 1376400082, 1376400078, 1376400059, 1376400057, 1376400056, 1376400054, 1376400026, 1376400025, 1376400023, 1376400003, 1376400001, 1376399996, 1376399993, 1376399971, 1376399969, 1376399967, 1376399965, 1376399963, 1376399962, 1376399894, 1376399891, 1376399881, 1376399877, 1376399814, 1376399807, 1376399803, 1376399566, 1376399541, 1376399519, 1376399494, 1376399469, 1376399420, 1376399417, 1376399415, 1376399414, 1376399413, 1376399412, 1376399377, 1376399376, 1376399374] map_info['map_portfolio_photo'] : {25867258: [1376400168, 1376400119, 1376400117, 1376400116, 1376400088, 1376400085, 1376400083, 1376400082, 1376400078, 1376400059, 1376400057, 1376400056, 1376400054, 1376400026, 1376400025, 1376400023, 1376400003, 1376400001, 1376399996, 1376399993, 1376399971, 1376399969, 1376399967, 1376399965, 1376399963, 1376399962, 1376399894, 1376399891, 1376399881, 1376399877, 1376399814, 1376399807, 1376399803, 1376399566, 1376399541, 1376399519, 1376399494, 1376399469, 1376399420, 1376399417, 1376399415, 1376399414, 1376399413, 1376399412, 1376399377, 1376399376, 1376399374]} final : False mtd_id 4302 list_pids : [1376400168, 1376400119, 1376400117, 1376400116, 1376400088, 1376400085, 1376400083, 1376400082, 1376400078, 1376400059, 1376400057, 1376400056, 1376400054, 1376400026, 1376400025, 1376400023, 1376400003, 1376400001, 1376399996, 1376399993, 1376399971, 1376399969, 1376399967, 1376399965, 1376399963, 1376399962, 1376399894, 1376399891, 1376399881, 1376399877, 1376399814, 1376399807, 1376399803, 1376399566, 1376399541, 1376399519, 1376399494, 1376399469, 1376399420, 1376399417, 1376399415, 1376399414, 1376399413, 1376399412, 1376399377, 1376399376, 1376399374] Looping around the photos to save general results len do output : 47 /1376400168.Didn't retrieve data . /1376400119.Didn't retrieve data . /1376400117.Didn't retrieve data . /1376400116.Didn't retrieve data . /1376400088.Didn't retrieve data . /1376400085.Didn't retrieve data . /1376400083.Didn't retrieve data . /1376400082.Didn't retrieve data . /1376400078.Didn't retrieve data . /1376400059.Didn't retrieve data . /1376400057.Didn't retrieve data . /1376400056.Didn't retrieve data . /1376400054.Didn't retrieve data . /1376400026.Didn't retrieve data . /1376400025.Didn't retrieve data . /1376400023.Didn't retrieve data . /1376400003.Didn't retrieve data . /1376400001.Didn't retrieve data . /1376399996.Didn't retrieve data . /1376399993.Didn't retrieve data . /1376399971.Didn't retrieve data . /1376399969.Didn't retrieve data . /1376399967.Didn't retrieve data . /1376399965.Didn't retrieve data . /1376399963.Didn't retrieve data . /1376399962.Didn't retrieve data . /1376399894.Didn't retrieve data . /1376399891.Didn't retrieve data . /1376399881.Didn't retrieve data . /1376399877.Didn't retrieve data . /1376399814.Didn't retrieve data . /1376399807.Didn't retrieve data . /1376399803.Didn't retrieve data . /1376399566.Didn't retrieve data . /1376399541.Didn't retrieve data . /1376399519.Didn't retrieve data . /1376399494.Didn't retrieve data . /1376399469.Didn't retrieve data . /1376399420.Didn't retrieve data . /1376399417.Didn't retrieve data . /1376399415.Didn't retrieve data . /1376399414.Didn't retrieve data . /1376399413.Didn't retrieve data . /1376399412.Didn't retrieve data . /1376399377.Didn't retrieve data . /1376399376.Didn't retrieve data . /1376399374.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, '3507433') ('4302', '25867258', '1376400168', None, None, None, None, None, '3507433') ('4302', None, None, None, None, None, None, None, '3507433') ('4302', '25867258', '1376400119', None, None, None, None, None, '3507433') ('4302', None, None, None, None, None, None, None, '3507433') ('4302', '25867258', '1376400117', None, None, None, None, None, '3507433') ('4302', None, None, None, None, None, None, None, '3507433') ('4302', '25867258', '1376400116', None, None, None, None, None, '3507433') ('4302', None, None, None, None, None, None, None, '3507433') ('4302', '25867258', '1376400088', None, None, None, None, None, '3507433') ('4302', None, None, None, None, None, None, None, '3507433') ('4302', '25867258', '1376400085', None, None, None, None, None, '3507433') ('4302', None, None, None, None, None, None, None, '3507433') ('4302', '25867258', '1376400083', None, None, None, None, None, '3507433') ('4302', None, None, None, None, None, None, None, '3507433') ('4302', '25867258', '1376400082', None, None, None, None, None, '3507433') ('4302', None, None, None, None, None, None, None, '3507433') ('4302', '25867258', '1376400078', None, None, None, None, None, '3507433') ('4302', None, None, None, None, None, None, None, '3507433') ('4302', '25867258', '1376400059', None, None, None, None, None, '3507433') ('4302', None, None, None, None, None, None, None, '3507433') ('4302', '25867258', '1376400057', None, None, None, None, None, '3507433') ('4302', None, None, None, None, None, None, None, '3507433') ('4302', '25867258', '1376400056', None, None, None, None, None, '3507433') ('4302', None, None, None, None, None, None, None, '3507433') ('4302', '25867258', '1376400054', None, None, None, None, None, '3507433') ('4302', None, None, None, None, None, None, None, '3507433') ('4302', '25867258', '1376400026', None, None, None, None, None, '3507433') ('4302', None, None, None, None, None, None, None, '3507433') ('4302', '25867258', '1376400025', None, None, None, None, None, '3507433') ('4302', None, None, None, None, None, None, None, '3507433') ('4302', '25867258', '1376400023', None, None, None, None, None, '3507433') ('4302', None, None, None, None, None, None, None, '3507433') ('4302', '25867258', '1376400003', None, None, None, None, None, '3507433') ('4302', None, None, None, None, None, None, None, '3507433') ('4302', '25867258', '1376400001', None, None, None, None, None, '3507433') ('4302', None, None, None, None, None, None, None, '3507433') ('4302', '25867258', '1376399996', None, None, None, None, None, '3507433') ('4302', None, None, None, None, None, None, None, '3507433') ('4302', '25867258', '1376399993', None, None, None, None, None, '3507433') ('4302', None, None, None, None, None, None, None, '3507433') ('4302', '25867258', '1376399971', None, None, None, None, None, '3507433') ('4302', None, None, None, None, None, None, None, '3507433') ('4302', '25867258', '1376399969', None, None, None, None, None, '3507433') ('4302', None, None, None, None, None, None, None, '3507433') ('4302', '25867258', '1376399967', None, None, None, None, None, '3507433') ('4302', None, None, None, None, None, None, None, '3507433') ('4302', '25867258', '1376399965', None, None, None, None, None, '3507433') ('4302', None, None, None, None, None, None, None, '3507433') ('4302', '25867258', '1376399963', None, None, None, None, None, '3507433') ('4302', None, None, None, None, None, None, None, '3507433') ('4302', '25867258', '1376399962', None, None, None, None, None, '3507433') ('4302', None, None, None, None, None, None, None, '3507433') ('4302', '25867258', '1376399894', None, None, None, None, None, '3507433') ('4302', None, None, None, None, None, None, None, '3507433') ('4302', '25867258', '1376399891', None, None, None, None, None, '3507433') ('4302', None, None, None, None, None, None, None, '3507433') ('4302', '25867258', '1376399881', None, None, None, None, None, '3507433') ('4302', None, None, None, None, None, None, None, '3507433') ('4302', '25867258', '1376399877', None, None, None, None, None, '3507433') ('4302', None, None, None, None, None, None, None, '3507433') ('4302', '25867258', '1376399814', None, None, None, None, None, '3507433') ('4302', None, None, None, None, None, None, None, '3507433') ('4302', '25867258', '1376399807', None, None, None, None, None, '3507433') ('4302', None, None, None, None, None, None, None, '3507433') ('4302', '25867258', '1376399803', None, None, None, None, None, '3507433') ('4302', None, None, None, None, None, None, None, '3507433') ('4302', '25867258', '1376399566', None, None, None, None, None, '3507433') ('4302', None, None, None, None, None, None, None, '3507433') ('4302', '25867258', '1376399541', None, None, None, None, None, '3507433') ('4302', None, None, None, None, None, None, None, '3507433') ('4302', '25867258', '1376399519', None, None, None, None, None, '3507433') ('4302', None, None, None, None, None, None, None, '3507433') ('4302', '25867258', '1376399494', None, None, None, None, None, '3507433') ('4302', None, None, None, None, None, None, None, '3507433') ('4302', '25867258', '1376399469', None, None, None, None, None, '3507433') ('4302', None, None, None, None, None, None, None, '3507433') ('4302', '25867258', '1376399420', None, None, None, None, None, '3507433') ('4302', None, None, None, None, None, None, None, '3507433') ('4302', '25867258', '1376399417', None, None, None, None, None, '3507433') ('4302', None, None, None, None, None, None, None, '3507433') ('4302', '25867258', '1376399415', None, None, None, None, None, '3507433') ('4302', None, None, None, None, None, None, None, '3507433') ('4302', '25867258', '1376399414', None, None, None, None, None, '3507433') ('4302', None, None, None, None, None, None, None, '3507433') ('4302', '25867258', '1376399413', None, None, None, None, None, '3507433') ('4302', None, None, None, None, None, None, None, '3507433') ('4302', '25867258', '1376399412', None, None, None, None, None, '3507433') ('4302', None, None, None, None, None, None, None, '3507433') ('4302', '25867258', '1376399377', None, None, None, None, None, '3507433') ('4302', None, None, None, None, None, None, None, '3507433') ('4302', '25867258', '1376399376', None, None, None, None, None, '3507433') ('4302', None, None, None, None, None, None, None, '3507433') ('4302', '25867258', '1376399374', None, None, None, None, None, '3507433') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 141 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', '25867258', '1376400168', '0.04414364055722506', None, None, None, None, '3507433'), ('4302', '25867258', '1376400119', '0.04414364055722506', None, None, None, None, '3507433'), ('4302', '25867258', '1376400117', '0.04414364055722506', None, None, None, None, '3507433'), ('4302', '25867258', '1376400116', '0.04414364055722506', None, None, None, None, '3507433'), ('4302', '25867258', '1376400088', '0.04414364055722506', None, None, None, None, '3507433'), ('4302', '25867258', '1376400085', '0.04414364055722506', None, None, None, None, '3507433'), ('4302', '25867258', '1376400083', '0.04414364055722506', None, None, None, None, '3507433'), ('4302', '25867258', '1376400082', '0.04414364055722506', None, None, None, None, '3507433'), ('4302', '25867258', '1376400078', '0.04414364055722506', None, None, None, None, '3507433'), ('4302', '25867258', '1376400059', '0.04414364055722506', None, None, None, None, '3507433'), ('4302', '25867258', '1376400057', '0.04414364055722506', None, None, None, None, '3507433'), ('4302', '25867258', '1376400056', '0.04414364055722506', None, None, None, None, '3507433'), ('4302', '25867258', '1376400054', '0.04414364055722506', None, None, None, None, '3507433'), ('4302', '25867258', '1376400026', '0.04414364055722506', None, None, None, None, '3507433'), ('4302', '25867258', '1376400025', '0.04414364055722506', None, None, None, None, '3507433'), ('4302', '25867258', '1376400023', '0.04414364055722506', None, None, None, None, '3507433'), ('4302', '25867258', '1376400003', '0.04414364055722506', None, None, None, None, '3507433'), ('4302', '25867258', '1376400001', '0.04414364055722506', None, None, None, None, '3507433'), ('4302', '25867258', '1376399996', '0.04414364055722506', None, None, None, None, '3507433'), ('4302', '25867258', '1376399993', '0.04414364055722506', None, None, None, None, '3507433'), ('4302', '25867258', '1376399971', '0.04414364055722506', None, None, None, None, '3507433'), ('4302', '25867258', '1376399969', '0.04414364055722506', None, None, None, None, '3507433'), ('4302', '25867258', '1376399967', '0.04414364055722506', None, None, None, None, '3507433'), ('4302', '25867258', '1376399965', '0.04414364055722506', None, None, None, None, '3507433'), ('4302', '25867258', '1376399963', '0.04414364055722506', None, None, None, None, '3507433'), ('4302', '25867258', '1376399962', '0.04414364055722506', None, None, None, None, '3507433'), ('4302', '25867258', '1376399894', '0.04414364055722506', None, None, None, None, '3507433'), ('4302', '25867258', '1376399891', '0.04414364055722506', None, None, None, None, '3507433'), ('4302', '25867258', '1376399881', '0.04414364055722506', None, None, None, None, '3507433'), ('4302', '25867258', '1376399877', '0.04414364055722506', None, None, None, None, '3507433'), ('4302', '25867258', '1376399814', '0.04414364055722506', None, None, None, None, '3507433'), ('4302', '25867258', '1376399807', '0.04414364055722506', None, None, None, None, '3507433'), ('4302', '25867258', '1376399803', '0.04414364055722506', None, None, None, None, '3507433'), ('4302', '25867258', '1376399566', '0.04414364055722506', None, None, None, None, '3507433'), ('4302', '25867258', '1376399541', '0.04414364055722506', None, None, None, None, '3507433'), ('4302', '25867258', '1376399519', '0.04414364055722506', None, None, None, None, '3507433'), ('4302', '25867258', '1376399494', '0.04414364055722506', None, None, None, None, '3507433'), ('4302', '25867258', '1376399469', '0.04414364055722506', None, None, None, None, '3507433'), ('4302', '25867258', '1376399420', '0.04414364055722506', None, None, None, None, '3507433'), ('4302', '25867258', '1376399417', '0.04414364055722506', None, None, None, None, '3507433'), ('4302', '25867258', '1376399415', '0.04414364055722506', None, None, None, None, '3507433'), ('4302', '25867258', '1376399414', '0.04414364055722506', None, None, None, None, '3507433'), ('4302', '25867258', '1376399413', '0.04414364055722506', None, None, None, None, '3507433'), ('4302', '25867258', '1376399412', '0.04414364055722506', None, None, None, None, '3507433'), ('4302', '25867258', '1376399377', '0.04414364055722506', None, None, None, None, '3507433'), ('4302', '25867258', '1376399376', '0.04414364055722506', None, None, None, None, '3507433'), ('4302', '25867258', '1376399374', '0.04414364055722506', None, None, None, None, '3507433')] time used for this insertion : 0.0262143611907959 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.06852936744689941 time spend to save output : 0.028052806854248047 total time spend for step 2 : 0.09658217430114746 step3:velours_tree Tue Aug 12 05:42:30 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 : {25867258: [{'Carton_gris': 25867274, 'papier': 25867275, 'kraft': 25867276, 'Carton_brun': 25867277, 'mal_croppe': 25867278, 'flou': 25867279, 'autre_refus': 25867280, 'environnement': 25867281, 'plastique': 25867282, 'Teint_Dans_La_Masse': 25867283, 'cartonnette': 25867284, 'metal': 25867286}]} input_args_next_step : {25867258: ()} output_args : {25867258: [{'Carton_gris': 25867274, 'papier': 25867275, 'kraft': 25867276, 'Carton_brun': 25867277, 'mal_croppe': 25867278, 'flou': 25867279, 'autre_refus': 25867280, 'environnement': 25867281, 'plastique': 25867282, 'Teint_Dans_La_Masse': 25867283, 'cartonnette': 25867284, 'metal': 25867286}]} args : 25867258 depend.output_id : 0 VR 22-3-18 : For now we do not clean correctly the datou structure input_args_next_step, len :1, first value : ({'Carton_gris': 25867274, 'papier': 25867275, 'kraft': 25867276, 'Carton_brun': 25867277, 'mal_croppe': 25867278, 'flou': 25867279, 'autre_refus': 25867280, 'environnement': 25867281, 'plastique': 25867282, 'Teint_Dans_La_Masse': 25867283, 'cartonnette': 25867284, 'metal': 25867286},) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (25867258) 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([25867258]) 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.3091404438018799 time spend to save output : 4.9114227294921875e-05 total time spend for step 3 : 0.3091895580291748 step4:send_mail_cod Tue Aug 12 05:42:30 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 : {1376400168: ('0.04414364055722506',), 1376400119: ('0.04414364055722506',), 1376400117: ('0.04414364055722506',), 1376400116: ('0.04414364055722506',), 1376400088: ('0.04414364055722506',), 1376400085: ('0.04414364055722506',), 1376400083: ('0.04414364055722506',), 1376400082: ('0.04414364055722506',), 1376400078: ('0.04414364055722506',), 1376400059: ('0.04414364055722506',), 1376400057: ('0.04414364055722506',), 1376400056: ('0.04414364055722506',), 1376400054: ('0.04414364055722506',), 1376400026: ('0.04414364055722506',), 1376400025: ('0.04414364055722506',), 1376400023: ('0.04414364055722506',), 1376400003: ('0.04414364055722506',), 1376400001: ('0.04414364055722506',), 1376399996: ('0.04414364055722506',), 1376399993: ('0.04414364055722506',), 1376399971: ('0.04414364055722506',), 1376399969: ('0.04414364055722506',), 1376399967: ('0.04414364055722506',), 1376399965: ('0.04414364055722506',), 1376399963: ('0.04414364055722506',), 1376399962: ('0.04414364055722506',), 1376399894: ('0.04414364055722506',), 1376399891: ('0.04414364055722506',), 1376399881: ('0.04414364055722506',), 1376399877: ('0.04414364055722506',), 1376399814: ('0.04414364055722506',), 1376399807: ('0.04414364055722506',), 1376399803: ('0.04414364055722506',), 1376399566: ('0.04414364055722506',), 1376399541: ('0.04414364055722506',), 1376399519: ('0.04414364055722506',), 1376399494: ('0.04414364055722506',), 1376399469: ('0.04414364055722506',), 1376399420: ('0.04414364055722506',), 1376399417: ('0.04414364055722506',), 1376399415: ('0.04414364055722506',), 1376399414: ('0.04414364055722506',), 1376399413: ('0.04414364055722506',), 1376399412: ('0.04414364055722506',), 1376399377: ('0.04414364055722506',), 1376399376: ('0.04414364055722506',), 1376399374: ('0.04414364055722506',)} input_args_next_step : {1376400168: ()} output_args : {1376400168: ('0.04414364055722506',), 1376400119: ('0.04414364055722506',), 1376400117: ('0.04414364055722506',), 1376400116: ('0.04414364055722506',), 1376400088: ('0.04414364055722506',), 1376400085: ('0.04414364055722506',), 1376400083: ('0.04414364055722506',), 1376400082: ('0.04414364055722506',), 1376400078: ('0.04414364055722506',), 1376400059: ('0.04414364055722506',), 1376400057: ('0.04414364055722506',), 1376400056: ('0.04414364055722506',), 1376400054: ('0.04414364055722506',), 1376400026: ('0.04414364055722506',), 1376400025: ('0.04414364055722506',), 1376400023: ('0.04414364055722506',), 1376400003: ('0.04414364055722506',), 1376400001: ('0.04414364055722506',), 1376399996: ('0.04414364055722506',), 1376399993: ('0.04414364055722506',), 1376399971: ('0.04414364055722506',), 1376399969: ('0.04414364055722506',), 1376399967: ('0.04414364055722506',), 1376399965: ('0.04414364055722506',), 1376399963: ('0.04414364055722506',), 1376399962: ('0.04414364055722506',), 1376399894: ('0.04414364055722506',), 1376399891: ('0.04414364055722506',), 1376399881: ('0.04414364055722506',), 1376399877: ('0.04414364055722506',), 1376399814: ('0.04414364055722506',), 1376399807: ('0.04414364055722506',), 1376399803: ('0.04414364055722506',), 1376399566: ('0.04414364055722506',), 1376399541: ('0.04414364055722506',), 1376399519: ('0.04414364055722506',), 1376399494: ('0.04414364055722506',), 1376399469: ('0.04414364055722506',), 1376399420: ('0.04414364055722506',), 1376399417: ('0.04414364055722506',), 1376399415: ('0.04414364055722506',), 1376399414: ('0.04414364055722506',), 1376399413: ('0.04414364055722506',), 1376399412: ('0.04414364055722506',), 1376399377: ('0.04414364055722506',), 1376399376: ('0.04414364055722506',), 1376399374: ('0.04414364055722506',)} args : 1376400168 depend.output_id : 0 input_args_next_step : {1376400168: ('0.04414364055722506',), 1376400119: ()} output_args : {1376400168: ('0.04414364055722506',), 1376400119: ('0.04414364055722506',), 1376400117: ('0.04414364055722506',), 1376400116: ('0.04414364055722506',), 1376400088: ('0.04414364055722506',), 1376400085: ('0.04414364055722506',), 1376400083: ('0.04414364055722506',), 1376400082: ('0.04414364055722506',), 1376400078: ('0.04414364055722506',), 1376400059: ('0.04414364055722506',), 1376400057: ('0.04414364055722506',), 1376400056: ('0.04414364055722506',), 1376400054: ('0.04414364055722506',), 1376400026: ('0.04414364055722506',), 1376400025: ('0.04414364055722506',), 1376400023: ('0.04414364055722506',), 1376400003: ('0.04414364055722506',), 1376400001: ('0.04414364055722506',), 1376399996: ('0.04414364055722506',), 1376399993: ('0.04414364055722506',), 1376399971: ('0.04414364055722506',), 1376399969: ('0.04414364055722506',), 1376399967: ('0.04414364055722506',), 1376399965: ('0.04414364055722506',), 1376399963: ('0.04414364055722506',), 1376399962: ('0.04414364055722506',), 1376399894: ('0.04414364055722506',), 1376399891: ('0.04414364055722506',), 1376399881: ('0.04414364055722506',), 1376399877: ('0.04414364055722506',), 1376399814: ('0.04414364055722506',), 1376399807: ('0.04414364055722506',), 1376399803: ('0.04414364055722506',), 1376399566: ('0.04414364055722506',), 1376399541: ('0.04414364055722506',), 1376399519: ('0.04414364055722506',), 1376399494: ('0.04414364055722506',), 1376399469: ('0.04414364055722506',), 1376399420: ('0.04414364055722506',), 1376399417: ('0.04414364055722506',), 1376399415: ('0.04414364055722506',), 1376399414: ('0.04414364055722506',), 1376399413: ('0.04414364055722506',), 1376399412: ('0.04414364055722506',), 1376399377: ('0.04414364055722506',), 1376399376: ('0.04414364055722506',), 1376399374: ('0.04414364055722506',)} args : 1376400119 depend.output_id : 0 input_args_next_step : {1376400168: ('0.04414364055722506',), 1376400119: ('0.04414364055722506',), 1376400117: ()} output_args : {1376400168: ('0.04414364055722506',), 1376400119: ('0.04414364055722506',), 1376400117: ('0.04414364055722506',), 1376400116: ('0.04414364055722506',), 1376400088: ('0.04414364055722506',), 1376400085: ('0.04414364055722506',), 1376400083: ('0.04414364055722506',), 1376400082: ('0.04414364055722506',), 1376400078: ('0.04414364055722506',), 1376400059: ('0.04414364055722506',), 1376400057: ('0.04414364055722506',), 1376400056: ('0.04414364055722506',), 1376400054: ('0.04414364055722506',), 1376400026: ('0.04414364055722506',), 1376400025: ('0.04414364055722506',), 1376400023: ('0.04414364055722506',), 1376400003: ('0.04414364055722506',), 1376400001: ('0.04414364055722506',), 1376399996: ('0.04414364055722506',), 1376399993: ('0.04414364055722506',), 1376399971: ('0.04414364055722506',), 1376399969: ('0.04414364055722506',), 1376399967: ('0.04414364055722506',), 1376399965: ('0.04414364055722506',), 1376399963: ('0.04414364055722506',), 1376399962: ('0.04414364055722506',), 1376399894: ('0.04414364055722506',), 1376399891: ('0.04414364055722506',), 1376399881: ('0.04414364055722506',), 1376399877: ('0.04414364055722506',), 1376399814: ('0.04414364055722506',), 1376399807: ('0.04414364055722506',), 1376399803: ('0.04414364055722506',), 1376399566: ('0.04414364055722506',), 1376399541: ('0.04414364055722506',), 1376399519: ('0.04414364055722506',), 1376399494: ('0.04414364055722506',), 1376399469: ('0.04414364055722506',), 1376399420: ('0.04414364055722506',), 1376399417: ('0.04414364055722506',), 1376399415: ('0.04414364055722506',), 1376399414: ('0.04414364055722506',), 1376399413: ('0.04414364055722506',), 1376399412: ('0.04414364055722506',), 1376399377: ('0.04414364055722506',), 1376399376: ('0.04414364055722506',), 1376399374: ('0.04414364055722506',)} args : 1376400117 depend.output_id : 0 input_args_next_step : {1376400168: ('0.04414364055722506',), 1376400119: ('0.04414364055722506',), 1376400117: ('0.04414364055722506',), 1376400116: ()} output_args : {1376400168: ('0.04414364055722506',), 1376400119: ('0.04414364055722506',), 1376400117: ('0.04414364055722506',), 1376400116: ('0.04414364055722506',), 1376400088: ('0.04414364055722506',), 1376400085: ('0.04414364055722506',), 1376400083: ('0.04414364055722506',), 1376400082: ('0.04414364055722506',), 1376400078: ('0.04414364055722506',), 1376400059: ('0.04414364055722506',), 1376400057: ('0.04414364055722506',), 1376400056: ('0.04414364055722506',), 1376400054: ('0.04414364055722506',), 1376400026: ('0.04414364055722506',), 1376400025: ('0.04414364055722506',), 1376400023: ('0.04414364055722506',), 1376400003: ('0.04414364055722506',), 1376400001: ('0.04414364055722506',), 1376399996: ('0.04414364055722506',), 1376399993: ('0.04414364055722506',), 1376399971: ('0.04414364055722506',), 1376399969: ('0.04414364055722506',), 1376399967: ('0.04414364055722506',), 1376399965: ('0.04414364055722506',), 1376399963: ('0.04414364055722506',), 1376399962: ('0.04414364055722506',), 1376399894: ('0.04414364055722506',), 1376399891: ('0.04414364055722506',), 1376399881: ('0.04414364055722506',), 1376399877: ('0.04414364055722506',), 1376399814: ('0.04414364055722506',), 1376399807: ('0.04414364055722506',), 1376399803: ('0.04414364055722506',), 1376399566: ('0.04414364055722506',), 1376399541: ('0.04414364055722506',), 1376399519: ('0.04414364055722506',), 1376399494: ('0.04414364055722506',), 1376399469: ('0.04414364055722506',), 1376399420: ('0.04414364055722506',), 1376399417: ('0.04414364055722506',), 1376399415: ('0.04414364055722506',), 1376399414: ('0.04414364055722506',), 1376399413: ('0.04414364055722506',), 1376399412: ('0.04414364055722506',), 1376399377: ('0.04414364055722506',), 1376399376: ('0.04414364055722506',), 1376399374: ('0.04414364055722506',)} args : 1376400116 depend.output_id : 0 input_args_next_step : {1376400168: ('0.04414364055722506',), 1376400119: ('0.04414364055722506',), 1376400117: ('0.04414364055722506',), 1376400116: ('0.04414364055722506',), 1376400088: ()} output_args : {1376400168: ('0.04414364055722506',), 1376400119: ('0.04414364055722506',), 1376400117: ('0.04414364055722506',), 1376400116: ('0.04414364055722506',), 1376400088: ('0.04414364055722506',), 1376400085: ('0.04414364055722506',), 1376400083: ('0.04414364055722506',), 1376400082: ('0.04414364055722506',), 1376400078: ('0.04414364055722506',), 1376400059: ('0.04414364055722506',), 1376400057: ('0.04414364055722506',), 1376400056: ('0.04414364055722506',), 1376400054: ('0.04414364055722506',), 1376400026: ('0.04414364055722506',), 1376400025: ('0.04414364055722506',), 1376400023: ('0.04414364055722506',), 1376400003: ('0.04414364055722506',), 1376400001: ('0.04414364055722506',), 1376399996: ('0.04414364055722506',), 1376399993: ('0.04414364055722506',), 1376399971: ('0.04414364055722506',), 1376399969: ('0.04414364055722506',), 1376399967: ('0.04414364055722506',), 1376399965: ('0.04414364055722506',), 1376399963: ('0.04414364055722506',), 1376399962: ('0.04414364055722506',), 1376399894: ('0.04414364055722506',), 1376399891: ('0.04414364055722506',), 1376399881: ('0.04414364055722506',), 1376399877: ('0.04414364055722506',), 1376399814: ('0.04414364055722506',), 1376399807: ('0.04414364055722506',), 1376399803: ('0.04414364055722506',), 1376399566: ('0.04414364055722506',), 1376399541: ('0.04414364055722506',), 1376399519: ('0.04414364055722506',), 1376399494: ('0.04414364055722506',), 1376399469: ('0.04414364055722506',), 1376399420: ('0.04414364055722506',), 1376399417: ('0.04414364055722506',), 1376399415: ('0.04414364055722506',), 1376399414: ('0.04414364055722506',), 1376399413: ('0.04414364055722506',), 1376399412: ('0.04414364055722506',), 1376399377: ('0.04414364055722506',), 1376399376: ('0.04414364055722506',), 1376399374: ('0.04414364055722506',)} args : 1376400088 depend.output_id : 0 input_args_next_step : {1376400168: ('0.04414364055722506',), 1376400119: ('0.04414364055722506',), 1376400117: ('0.04414364055722506',), 1376400116: ('0.04414364055722506',), 1376400088: ('0.04414364055722506',), 1376400085: ()} output_args : {1376400168: ('0.04414364055722506',), 1376400119: ('0.04414364055722506',), 1376400117: ('0.04414364055722506',), 1376400116: ('0.04414364055722506',), 1376400088: ('0.04414364055722506',), 1376400085: ('0.04414364055722506',), 1376400083: ('0.04414364055722506',), 1376400082: ('0.04414364055722506',), 1376400078: ('0.04414364055722506',), 1376400059: ('0.04414364055722506',), 1376400057: ('0.04414364055722506',), 1376400056: ('0.04414364055722506',), 1376400054: ('0.04414364055722506',), 1376400026: ('0.04414364055722506',), 1376400025: ('0.04414364055722506',), 1376400023: ('0.04414364055722506',), 1376400003: ('0.04414364055722506',), 1376400001: ('0.04414364055722506',), 1376399996: ('0.04414364055722506',), 1376399993: ('0.04414364055722506',), 1376399971: ('0.04414364055722506',), 1376399969: ('0.04414364055722506',), 1376399967: ('0.04414364055722506',), 1376399965: ('0.04414364055722506',), 1376399963: ('0.04414364055722506',), 1376399962: ('0.04414364055722506',), 1376399894: ('0.04414364055722506',), 1376399891: ('0.04414364055722506',), 1376399881: ('0.04414364055722506',), 1376399877: ('0.04414364055722506',), 1376399814: ('0.04414364055722506',), 1376399807: ('0.04414364055722506',), 1376399803: ('0.04414364055722506',), 1376399566: ('0.04414364055722506',), 1376399541: ('0.04414364055722506',), 1376399519: ('0.04414364055722506',), 1376399494: ('0.04414364055722506',), 1376399469: ('0.04414364055722506',), 1376399420: ('0.04414364055722506',), 1376399417: ('0.04414364055722506',), 1376399415: ('0.04414364055722506',), 1376399414: ('0.04414364055722506',), 1376399413: ('0.04414364055722506',), 1376399412: ('0.04414364055722506',), 1376399377: ('0.04414364055722506',), 1376399376: ('0.04414364055722506',), 1376399374: ('0.04414364055722506',)} args : 1376400085 depend.output_id : 0 input_args_next_step : {1376400168: ('0.04414364055722506',), 1376400119: ('0.04414364055722506',), 1376400117: ('0.04414364055722506',), 1376400116: ('0.04414364055722506',), 1376400088: ('0.04414364055722506',), 1376400085: ('0.04414364055722506',), 1376400083: ()} output_args : {1376400168: ('0.04414364055722506',), 1376400119: ('0.04414364055722506',), 1376400117: ('0.04414364055722506',), 1376400116: ('0.04414364055722506',), 1376400088: ('0.04414364055722506',), 1376400085: ('0.04414364055722506',), 1376400083: ('0.04414364055722506',), 1376400082: ('0.04414364055722506',), 1376400078: ('0.04414364055722506',), 1376400059: ('0.04414364055722506',), 1376400057: ('0.04414364055722506',), 1376400056: ('0.04414364055722506',), 1376400054: ('0.04414364055722506',), 1376400026: ('0.04414364055722506',), 1376400025: ('0.04414364055722506',), 1376400023: ('0.04414364055722506',), 1376400003: ('0.04414364055722506',), 1376400001: ('0.04414364055722506',), 1376399996: ('0.04414364055722506',), 1376399993: ('0.04414364055722506',), 1376399971: ('0.04414364055722506',), 1376399969: ('0.04414364055722506',), 1376399967: ('0.04414364055722506',), 1376399965: ('0.04414364055722506',), 1376399963: ('0.04414364055722506',), 1376399962: ('0.04414364055722506',), 1376399894: ('0.04414364055722506',), 1376399891: ('0.04414364055722506',), 1376399881: ('0.04414364055722506',), 1376399877: ('0.04414364055722506',), 1376399814: ('0.04414364055722506',), 1376399807: ('0.04414364055722506',), 1376399803: ('0.04414364055722506',), 1376399566: ('0.04414364055722506',), 1376399541: ('0.04414364055722506',), 1376399519: ('0.04414364055722506',), 1376399494: ('0.04414364055722506',), 1376399469: ('0.04414364055722506',), 1376399420: ('0.04414364055722506',), 1376399417: ('0.04414364055722506',), 1376399415: ('0.04414364055722506',), 1376399414: ('0.04414364055722506',), 1376399413: ('0.04414364055722506',), 1376399412: ('0.04414364055722506',), 1376399377: ('0.04414364055722506',), 1376399376: ('0.04414364055722506',), 1376399374: ('0.04414364055722506',)} args : 1376400083 depend.output_id : 0 input_args_next_step : {1376400168: ('0.04414364055722506',), 1376400119: ('0.04414364055722506',), 1376400117: ('0.04414364055722506',), 1376400116: ('0.04414364055722506',), 1376400088: ('0.04414364055722506',), 1376400085: ('0.04414364055722506',), 1376400083: ('0.04414364055722506',), 1376400082: ()} output_args : {1376400168: ('0.04414364055722506',), 1376400119: ('0.04414364055722506',), 1376400117: ('0.04414364055722506',), 1376400116: ('0.04414364055722506',), 1376400088: ('0.04414364055722506',), 1376400085: ('0.04414364055722506',), 1376400083: ('0.04414364055722506',), 1376400082: ('0.04414364055722506',), 1376400078: ('0.04414364055722506',), 1376400059: ('0.04414364055722506',), 1376400057: ('0.04414364055722506',), 1376400056: ('0.04414364055722506',), 1376400054: ('0.04414364055722506',), 1376400026: ('0.04414364055722506',), 1376400025: ('0.04414364055722506',), 1376400023: ('0.04414364055722506',), 1376400003: ('0.04414364055722506',), 1376400001: ('0.04414364055722506',), 1376399996: ('0.04414364055722506',), 1376399993: ('0.04414364055722506',), 1376399971: ('0.04414364055722506',), 1376399969: ('0.04414364055722506',), 1376399967: ('0.04414364055722506',), 1376399965: ('0.04414364055722506',), 1376399963: ('0.04414364055722506',), 1376399962: ('0.04414364055722506',), 1376399894: ('0.04414364055722506',), 1376399891: ('0.04414364055722506',), 1376399881: ('0.04414364055722506',), 1376399877: ('0.04414364055722506',), 1376399814: ('0.04414364055722506',), 1376399807: ('0.04414364055722506',), 1376399803: ('0.04414364055722506',), 1376399566: ('0.04414364055722506',), 1376399541: ('0.04414364055722506',), 1376399519: ('0.04414364055722506',), 1376399494: ('0.04414364055722506',), 1376399469: ('0.04414364055722506',), 1376399420: ('0.04414364055722506',), 1376399417: ('0.04414364055722506',), 1376399415: ('0.04414364055722506',), 1376399414: ('0.04414364055722506',), 1376399413: ('0.04414364055722506',), 1376399412: ('0.04414364055722506',), 1376399377: ('0.04414364055722506',), 1376399376: ('0.04414364055722506',), 1376399374: ('0.04414364055722506',)} args : 1376400082 depend.output_id : 0 input_args_next_step : {1376400168: ('0.04414364055722506',), 1376400119: ('0.04414364055722506',), 1376400117: ('0.04414364055722506',), 1376400116: ('0.04414364055722506',), 1376400088: ('0.04414364055722506',), 1376400085: ('0.04414364055722506',), 1376400083: ('0.04414364055722506',), 1376400082: ('0.04414364055722506',), 1376400078: ()} output_args : {1376400168: ('0.04414364055722506',), 1376400119: ('0.04414364055722506',), 1376400117: ('0.04414364055722506',), 1376400116: ('0.04414364055722506',), 1376400088: ('0.04414364055722506',), 1376400085: ('0.04414364055722506',), 1376400083: ('0.04414364055722506',), 1376400082: ('0.04414364055722506',), 1376400078: ('0.04414364055722506',), 1376400059: ('0.04414364055722506',), 1376400057: ('0.04414364055722506',), 1376400056: ('0.04414364055722506',), 1376400054: ('0.04414364055722506',), 1376400026: ('0.04414364055722506',), 1376400025: ('0.04414364055722506',), 1376400023: ('0.04414364055722506',), 1376400003: ('0.04414364055722506',), 1376400001: ('0.04414364055722506',), 1376399996: ('0.04414364055722506',), 1376399993: ('0.04414364055722506',), 1376399971: ('0.04414364055722506',), 1376399969: ('0.04414364055722506',), 1376399967: ('0.04414364055722506',), 1376399965: ('0.04414364055722506',), 1376399963: ('0.04414364055722506',), 1376399962: ('0.04414364055722506',), 1376399894: ('0.04414364055722506',), 1376399891: ('0.04414364055722506',), 1376399881: ('0.04414364055722506',), 1376399877: ('0.04414364055722506',), 1376399814: ('0.04414364055722506',), 1376399807: ('0.04414364055722506',), 1376399803: ('0.04414364055722506',), 1376399566: ('0.04414364055722506',), 1376399541: ('0.04414364055722506',), 1376399519: ('0.04414364055722506',), 1376399494: ('0.04414364055722506',), 1376399469: ('0.04414364055722506',), 1376399420: ('0.04414364055722506',), 1376399417: ('0.04414364055722506',), 1376399415: ('0.04414364055722506',), 1376399414: ('0.04414364055722506',), 1376399413: ('0.04414364055722506',), 1376399412: ('0.04414364055722506',), 1376399377: ('0.04414364055722506',), 1376399376: ('0.04414364055722506',), 1376399374: ('0.04414364055722506',)} args : 1376400078 depend.output_id : 0 input_args_next_step : {1376400168: ('0.04414364055722506',), 1376400119: ('0.04414364055722506',), 1376400117: ('0.04414364055722506',), 1376400116: ('0.04414364055722506',), 1376400088: ('0.04414364055722506',), 1376400085: ('0.04414364055722506',), 1376400083: ('0.04414364055722506',), 1376400082: ('0.04414364055722506',), 1376400078: ('0.04414364055722506',), 1376400059: ()} output_args : {1376400168: ('0.04414364055722506',), 1376400119: ('0.04414364055722506',), 1376400117: ('0.04414364055722506',), 1376400116: ('0.04414364055722506',), 1376400088: ('0.04414364055722506',), 1376400085: ('0.04414364055722506',), 1376400083: ('0.04414364055722506',), 1376400082: ('0.04414364055722506',), 1376400078: ('0.04414364055722506',), 1376400059: ('0.04414364055722506',), 1376400057: ('0.04414364055722506',), 1376400056: ('0.04414364055722506',), 1376400054: ('0.04414364055722506',), 1376400026: ('0.04414364055722506',), 1376400025: ('0.04414364055722506',), 1376400023: ('0.04414364055722506',), 1376400003: ('0.04414364055722506',), 1376400001: ('0.04414364055722506',), 1376399996: ('0.04414364055722506',), 1376399993: ('0.04414364055722506',), 1376399971: ('0.04414364055722506',), 1376399969: ('0.04414364055722506',), 1376399967: ('0.04414364055722506',), 1376399965: ('0.04414364055722506',), 1376399963: ('0.04414364055722506',), 1376399962: ('0.04414364055722506',), 1376399894: ('0.04414364055722506',), 1376399891: ('0.04414364055722506',), 1376399881: ('0.04414364055722506',), 1376399877: ('0.04414364055722506',), 1376399814: ('0.04414364055722506',), 1376399807: ('0.04414364055722506',), 1376399803: ('0.04414364055722506',), 1376399566: ('0.04414364055722506',), 1376399541: ('0.04414364055722506',), 1376399519: ('0.04414364055722506',), 1376399494: ('0.04414364055722506',), 1376399469: ('0.04414364055722506',), 1376399420: ('0.04414364055722506',), 1376399417: ('0.04414364055722506',), 1376399415: ('0.04414364055722506',), 1376399414: ('0.04414364055722506',), 1376399413: ('0.04414364055722506',), 1376399412: ('0.04414364055722506',), 1376399377: ('0.04414364055722506',), 1376399376: ('0.04414364055722506',), 1376399374: ('0.04414364055722506',)} args : 1376400059 depend.output_id : 0 input_args_next_step : {1376400168: ('0.04414364055722506',), 1376400119: ('0.04414364055722506',), 1376400117: ('0.04414364055722506',), 1376400116: ('0.04414364055722506',), 1376400088: ('0.04414364055722506',), 1376400085: ('0.04414364055722506',), 1376400083: ('0.04414364055722506',), 1376400082: ('0.04414364055722506',), 1376400078: ('0.04414364055722506',), 1376400059: ('0.04414364055722506',), 1376400057: ()} output_args : {1376400168: ('0.04414364055722506',), 1376400119: ('0.04414364055722506',), 1376400117: ('0.04414364055722506',), 1376400116: ('0.04414364055722506',), 1376400088: ('0.04414364055722506',), 1376400085: ('0.04414364055722506',), 1376400083: ('0.04414364055722506',), 1376400082: ('0.04414364055722506',), 1376400078: ('0.04414364055722506',), 1376400059: ('0.04414364055722506',), 1376400057: ('0.04414364055722506',), 1376400056: ('0.04414364055722506',), 1376400054: ('0.04414364055722506',), 1376400026: ('0.04414364055722506',), 1376400025: ('0.04414364055722506',), 1376400023: ('0.04414364055722506',), 1376400003: ('0.04414364055722506',), 1376400001: ('0.04414364055722506',), 1376399996: ('0.04414364055722506',), 1376399993: ('0.04414364055722506',), 1376399971: ('0.04414364055722506',), 1376399969: ('0.04414364055722506',), 1376399967: ('0.04414364055722506',), 1376399965: ('0.04414364055722506',), 1376399963: ('0.04414364055722506',), 1376399962: ('0.04414364055722506',), 1376399894: ('0.04414364055722506',), 1376399891: ('0.04414364055722506',), 1376399881: ('0.04414364055722506',), 1376399877: ('0.04414364055722506',), 1376399814: ('0.04414364055722506',), 1376399807: ('0.04414364055722506',), 1376399803: ('0.04414364055722506',), 1376399566: ('0.04414364055722506',), 1376399541: ('0.04414364055722506',), 1376399519: ('0.04414364055722506',), 1376399494: ('0.04414364055722506',), 1376399469: ('0.04414364055722506',), 1376399420: ('0.04414364055722506',), 1376399417: ('0.04414364055722506',), 1376399415: ('0.04414364055722506',), 1376399414: ('0.04414364055722506',), 1376399413: ('0.04414364055722506',), 1376399412: ('0.04414364055722506',), 1376399377: ('0.04414364055722506',), 1376399376: ('0.04414364055722506',), 1376399374: ('0.04414364055722506',)} args : 1376400057 depend.output_id : 0 input_args_next_step : {1376400168: ('0.04414364055722506',), 1376400119: ('0.04414364055722506',), 1376400117: ('0.04414364055722506',), 1376400116: ('0.04414364055722506',), 1376400088: ('0.04414364055722506',), 1376400085: ('0.04414364055722506',), 1376400083: ('0.04414364055722506',), 1376400082: ('0.04414364055722506',), 1376400078: ('0.04414364055722506',), 1376400059: ('0.04414364055722506',), 1376400057: ('0.04414364055722506',), 1376400056: ()} output_args : {1376400168: ('0.04414364055722506',), 1376400119: ('0.04414364055722506',), 1376400117: ('0.04414364055722506',), 1376400116: ('0.04414364055722506',), 1376400088: ('0.04414364055722506',), 1376400085: ('0.04414364055722506',), 1376400083: ('0.04414364055722506',), 1376400082: ('0.04414364055722506',), 1376400078: ('0.04414364055722506',), 1376400059: ('0.04414364055722506',), 1376400057: ('0.04414364055722506',), 1376400056: ('0.04414364055722506',), 1376400054: ('0.04414364055722506',), 1376400026: ('0.04414364055722506',), 1376400025: ('0.04414364055722506',), 1376400023: ('0.04414364055722506',), 1376400003: ('0.04414364055722506',), 1376400001: ('0.04414364055722506',), 1376399996: ('0.04414364055722506',), 1376399993: ('0.04414364055722506',), 1376399971: ('0.04414364055722506',), 1376399969: ('0.04414364055722506',), 1376399967: ('0.04414364055722506',), 1376399965: ('0.04414364055722506',), 1376399963: ('0.04414364055722506',), 1376399962: ('0.04414364055722506',), 1376399894: ('0.04414364055722506',), 1376399891: ('0.04414364055722506',), 1376399881: ('0.04414364055722506',), 1376399877: ('0.04414364055722506',), 1376399814: ('0.04414364055722506',), 1376399807: ('0.04414364055722506',), 1376399803: ('0.04414364055722506',), 1376399566: ('0.04414364055722506',), 1376399541: ('0.04414364055722506',), 1376399519: ('0.04414364055722506',), 1376399494: ('0.04414364055722506',), 1376399469: ('0.04414364055722506',), 1376399420: ('0.04414364055722506',), 1376399417: ('0.04414364055722506',), 1376399415: ('0.04414364055722506',), 1376399414: ('0.04414364055722506',), 1376399413: ('0.04414364055722506',), 1376399412: ('0.04414364055722506',), 1376399377: ('0.04414364055722506',), 1376399376: ('0.04414364055722506',), 1376399374: ('0.04414364055722506',)} args : 1376400056 depend.output_id : 0 input_args_next_step : {1376400168: ('0.04414364055722506',), 1376400119: ('0.04414364055722506',), 1376400117: ('0.04414364055722506',), 1376400116: ('0.04414364055722506',), 1376400088: ('0.04414364055722506',), 1376400085: ('0.04414364055722506',), 1376400083: ('0.04414364055722506',), 1376400082: ('0.04414364055722506',), 1376400078: ('0.04414364055722506',), 1376400059: ('0.04414364055722506',), 1376400057: ('0.04414364055722506',), 1376400056: ('0.04414364055722506',), 1376400054: ()} output_args : {1376400168: ('0.04414364055722506',), 1376400119: ('0.04414364055722506',), 1376400117: ('0.04414364055722506',), 1376400116: ('0.04414364055722506',), 1376400088: ('0.04414364055722506',), 1376400085: ('0.04414364055722506',), 1376400083: ('0.04414364055722506',), 1376400082: ('0.04414364055722506',), 1376400078: ('0.04414364055722506',), 1376400059: ('0.04414364055722506',), 1376400057: ('0.04414364055722506',), 1376400056: ('0.04414364055722506',), 1376400054: ('0.04414364055722506',), 1376400026: ('0.04414364055722506',), 1376400025: ('0.04414364055722506',), 1376400023: ('0.04414364055722506',), 1376400003: ('0.04414364055722506',), 1376400001: ('0.04414364055722506',), 1376399996: ('0.04414364055722506',), 1376399993: ('0.04414364055722506',), 1376399971: ('0.04414364055722506',), 1376399969: ('0.04414364055722506',), 1376399967: ('0.04414364055722506',), 1376399965: ('0.04414364055722506',), 1376399963: ('0.04414364055722506',), 1376399962: ('0.04414364055722506',), 1376399894: ('0.04414364055722506',), 1376399891: ('0.04414364055722506',), 1376399881: ('0.04414364055722506',), 1376399877: ('0.04414364055722506',), 1376399814: ('0.04414364055722506',), 1376399807: ('0.04414364055722506',), 1376399803: ('0.04414364055722506',), 1376399566: ('0.04414364055722506',), 1376399541: ('0.04414364055722506',), 1376399519: ('0.04414364055722506',), 1376399494: ('0.04414364055722506',), 1376399469: ('0.04414364055722506',), 1376399420: ('0.04414364055722506',), 1376399417: ('0.04414364055722506',), 1376399415: ('0.04414364055722506',), 1376399414: ('0.04414364055722506',), 1376399413: ('0.04414364055722506',), 1376399412: ('0.04414364055722506',), 1376399377: ('0.04414364055722506',), 1376399376: ('0.04414364055722506',), 1376399374: ('0.04414364055722506',)} args : 1376400054 depend.output_id : 0 input_args_next_step : {1376400168: ('0.04414364055722506',), 1376400119: ('0.04414364055722506',), 1376400117: ('0.04414364055722506',), 1376400116: ('0.04414364055722506',), 1376400088: ('0.04414364055722506',), 1376400085: ('0.04414364055722506',), 1376400083: ('0.04414364055722506',), 1376400082: ('0.04414364055722506',), 1376400078: ('0.04414364055722506',), 1376400059: ('0.04414364055722506',), 1376400057: ('0.04414364055722506',), 1376400056: ('0.04414364055722506',), 1376400054: ('0.04414364055722506',), 1376400026: ()} output_args : {1376400168: ('0.04414364055722506',), 1376400119: ('0.04414364055722506',), 1376400117: ('0.04414364055722506',), 1376400116: ('0.04414364055722506',), 1376400088: ('0.04414364055722506',), 1376400085: ('0.04414364055722506',), 1376400083: ('0.04414364055722506',), 1376400082: ('0.04414364055722506',), 1376400078: ('0.04414364055722506',), 1376400059: ('0.04414364055722506',), 1376400057: ('0.04414364055722506',), 1376400056: ('0.04414364055722506',), 1376400054: ('0.04414364055722506',), 1376400026: ('0.04414364055722506',), 1376400025: ('0.04414364055722506',), 1376400023: ('0.04414364055722506',), 1376400003: ('0.04414364055722506',), 1376400001: ('0.04414364055722506',), 1376399996: ('0.04414364055722506',), 1376399993: ('0.04414364055722506',), 1376399971: ('0.04414364055722506',), 1376399969: ('0.04414364055722506',), 1376399967: ('0.04414364055722506',), 1376399965: ('0.04414364055722506',), 1376399963: ('0.04414364055722506',), 1376399962: ('0.04414364055722506',), 1376399894: ('0.04414364055722506',), 1376399891: ('0.04414364055722506',), 1376399881: ('0.04414364055722506',), 1376399877: ('0.04414364055722506',), 1376399814: ('0.04414364055722506',), 1376399807: ('0.04414364055722506',), 1376399803: ('0.04414364055722506',), 1376399566: ('0.04414364055722506',), 1376399541: ('0.04414364055722506',), 1376399519: ('0.04414364055722506',), 1376399494: ('0.04414364055722506',), 1376399469: ('0.04414364055722506',), 1376399420: ('0.04414364055722506',), 1376399417: ('0.04414364055722506',), 1376399415: ('0.04414364055722506',), 1376399414: ('0.04414364055722506',), 1376399413: ('0.04414364055722506',), 1376399412: ('0.04414364055722506',), 1376399377: ('0.04414364055722506',), 1376399376: ('0.04414364055722506',), 1376399374: ('0.04414364055722506',)} args : 1376400026 depend.output_id : 0 input_args_next_step : {1376400168: ('0.04414364055722506',), 1376400119: ('0.04414364055722506',), 1376400117: ('0.04414364055722506',), 1376400116: ('0.04414364055722506',), 1376400088: ('0.04414364055722506',), 1376400085: ('0.04414364055722506',), 1376400083: ('0.04414364055722506',), 1376400082: ('0.04414364055722506',), 1376400078: ('0.04414364055722506',), 1376400059: ('0.04414364055722506',), 1376400057: ('0.04414364055722506',), 1376400056: ('0.04414364055722506',), 1376400054: ('0.04414364055722506',), 1376400026: ('0.04414364055722506',), 1376400025: ()} output_args : {1376400168: ('0.04414364055722506',), 1376400119: ('0.04414364055722506',), 1376400117: ('0.04414364055722506',), 1376400116: ('0.04414364055722506',), 1376400088: ('0.04414364055722506',), 1376400085: ('0.04414364055722506',), 1376400083: ('0.04414364055722506',), 1376400082: ('0.04414364055722506',), 1376400078: ('0.04414364055722506',), 1376400059: ('0.04414364055722506',), 1376400057: ('0.04414364055722506',), 1376400056: ('0.04414364055722506',), 1376400054: ('0.04414364055722506',), 1376400026: ('0.04414364055722506',), 1376400025: ('0.04414364055722506',), 1376400023: ('0.04414364055722506',), 1376400003: ('0.04414364055722506',), 1376400001: ('0.04414364055722506',), 1376399996: ('0.04414364055722506',), 1376399993: ('0.04414364055722506',), 1376399971: ('0.04414364055722506',), 1376399969: ('0.04414364055722506',), 1376399967: ('0.04414364055722506',), 1376399965: ('0.04414364055722506',), 1376399963: ('0.04414364055722506',), 1376399962: ('0.04414364055722506',), 1376399894: ('0.04414364055722506',), 1376399891: ('0.04414364055722506',), 1376399881: ('0.04414364055722506',), 1376399877: ('0.04414364055722506',), 1376399814: ('0.04414364055722506',), 1376399807: ('0.04414364055722506',), 1376399803: ('0.04414364055722506',), 1376399566: ('0.04414364055722506',), 1376399541: ('0.04414364055722506',), 1376399519: ('0.04414364055722506',), 1376399494: ('0.04414364055722506',), 1376399469: ('0.04414364055722506',), 1376399420: ('0.04414364055722506',), 1376399417: ('0.04414364055722506',), 1376399415: ('0.04414364055722506',), 1376399414: ('0.04414364055722506',), 1376399413: ('0.04414364055722506',), 1376399412: ('0.04414364055722506',), 1376399377: ('0.04414364055722506',), 1376399376: ('0.04414364055722506',), 1376399374: ('0.04414364055722506',)} args : 1376400025 depend.output_id : 0 input_args_next_step : {1376400168: ('0.04414364055722506',), 1376400119: ('0.04414364055722506',), 1376400117: ('0.04414364055722506',), 1376400116: ('0.04414364055722506',), 1376400088: ('0.04414364055722506',), 1376400085: ('0.04414364055722506',), 1376400083: ('0.04414364055722506',), 1376400082: ('0.04414364055722506',), 1376400078: ('0.04414364055722506',), 1376400059: ('0.04414364055722506',), 1376400057: ('0.04414364055722506',), 1376400056: ('0.04414364055722506',), 1376400054: ('0.04414364055722506',), 1376400026: ('0.04414364055722506',), 1376400025: ('0.04414364055722506',), 1376400023: ()} output_args : {1376400168: ('0.04414364055722506',), 1376400119: ('0.04414364055722506',), 1376400117: ('0.04414364055722506',), 1376400116: ('0.04414364055722506',), 1376400088: ('0.04414364055722506',), 1376400085: ('0.04414364055722506',), 1376400083: ('0.04414364055722506',), 1376400082: ('0.04414364055722506',), 1376400078: ('0.04414364055722506',), 1376400059: ('0.04414364055722506',), 1376400057: ('0.04414364055722506',), 1376400056: ('0.04414364055722506',), 1376400054: ('0.04414364055722506',), 1376400026: ('0.04414364055722506',), 1376400025: ('0.04414364055722506',), 1376400023: ('0.04414364055722506',), 1376400003: ('0.04414364055722506',), 1376400001: ('0.04414364055722506',), 1376399996: ('0.04414364055722506',), 1376399993: ('0.04414364055722506',), 1376399971: ('0.04414364055722506',), 1376399969: ('0.04414364055722506',), 1376399967: ('0.04414364055722506',), 1376399965: ('0.04414364055722506',), 1376399963: ('0.04414364055722506',), 1376399962: ('0.04414364055722506',), 1376399894: ('0.04414364055722506',), 1376399891: ('0.04414364055722506',), 1376399881: ('0.04414364055722506',), 1376399877: ('0.04414364055722506',), 1376399814: ('0.04414364055722506',), 1376399807: ('0.04414364055722506',), 1376399803: ('0.04414364055722506',), 1376399566: ('0.04414364055722506',), 1376399541: ('0.04414364055722506',), 1376399519: ('0.04414364055722506',), 1376399494: ('0.04414364055722506',), 1376399469: ('0.04414364055722506',), 1376399420: ('0.04414364055722506',), 1376399417: ('0.04414364055722506',), 1376399415: ('0.04414364055722506',), 1376399414: ('0.04414364055722506',), 1376399413: ('0.04414364055722506',), 1376399412: ('0.04414364055722506',), 1376399377: ('0.04414364055722506',), 1376399376: ('0.04414364055722506',), 1376399374: ('0.04414364055722506',)} args : 1376400023 depend.output_id : 0 input_args_next_step : {1376400168: ('0.04414364055722506',), 1376400119: ('0.04414364055722506',), 1376400117: ('0.04414364055722506',), 1376400116: ('0.04414364055722506',), 1376400088: ('0.04414364055722506',), 1376400085: ('0.04414364055722506',), 1376400083: ('0.04414364055722506',), 1376400082: ('0.04414364055722506',), 1376400078: ('0.04414364055722506',), 1376400059: ('0.04414364055722506',), 1376400057: ('0.04414364055722506',), 1376400056: ('0.04414364055722506',), 1376400054: ('0.04414364055722506',), 1376400026: ('0.04414364055722506',), 1376400025: ('0.04414364055722506',), 1376400023: ('0.04414364055722506',), 1376400003: ()} output_args : {1376400168: ('0.04414364055722506',), 1376400119: ('0.04414364055722506',), 1376400117: ('0.04414364055722506',), 1376400116: ('0.04414364055722506',), 1376400088: ('0.04414364055722506',), 1376400085: ('0.04414364055722506',), 1376400083: ('0.04414364055722506',), 1376400082: ('0.04414364055722506',), 1376400078: ('0.04414364055722506',), 1376400059: ('0.04414364055722506',), 1376400057: ('0.04414364055722506',), 1376400056: ('0.04414364055722506',), 1376400054: ('0.04414364055722506',), 1376400026: ('0.04414364055722506',), 1376400025: ('0.04414364055722506',), 1376400023: ('0.04414364055722506',), 1376400003: ('0.04414364055722506',), 1376400001: ('0.04414364055722506',), 1376399996: ('0.04414364055722506',), 1376399993: ('0.04414364055722506',), 1376399971: ('0.04414364055722506',), 1376399969: ('0.04414364055722506',), 1376399967: ('0.04414364055722506',), 1376399965: ('0.04414364055722506',), 1376399963: ('0.04414364055722506',), 1376399962: ('0.04414364055722506',), 1376399894: ('0.04414364055722506',), 1376399891: ('0.04414364055722506',), 1376399881: ('0.04414364055722506',), 1376399877: ('0.04414364055722506',), 1376399814: ('0.04414364055722506',), 1376399807: ('0.04414364055722506',), 1376399803: ('0.04414364055722506',), 1376399566: ('0.04414364055722506',), 1376399541: ('0.04414364055722506',), 1376399519: ('0.04414364055722506',), 1376399494: ('0.04414364055722506',), 1376399469: ('0.04414364055722506',), 1376399420: ('0.04414364055722506',), 1376399417: ('0.04414364055722506',), 1376399415: ('0.04414364055722506',), 1376399414: ('0.04414364055722506',), 1376399413: ('0.04414364055722506',), 1376399412: ('0.04414364055722506',), 1376399377: ('0.04414364055722506',), 1376399376: ('0.04414364055722506',), 1376399374: ('0.04414364055722506',)} args : 1376400003 depend.output_id : 0 input_args_next_step : {1376400168: ('0.04414364055722506',), 1376400119: ('0.04414364055722506',), 1376400117: ('0.04414364055722506',), 1376400116: ('0.04414364055722506',), 1376400088: ('0.04414364055722506',), 1376400085: ('0.04414364055722506',), 1376400083: ('0.04414364055722506',), 1376400082: ('0.04414364055722506',), 1376400078: ('0.04414364055722506',), 1376400059: ('0.04414364055722506',), 1376400057: ('0.04414364055722506',), 1376400056: ('0.04414364055722506',), 1376400054: ('0.04414364055722506',), 1376400026: ('0.04414364055722506',), 1376400025: ('0.04414364055722506',), 1376400023: ('0.04414364055722506',), 1376400003: ('0.04414364055722506',), 1376400001: ()} output_args : {1376400168: ('0.04414364055722506',), 1376400119: ('0.04414364055722506',), 1376400117: ('0.04414364055722506',), 1376400116: ('0.04414364055722506',), 1376400088: ('0.04414364055722506',), 1376400085: ('0.04414364055722506',), 1376400083: ('0.04414364055722506',), 1376400082: ('0.04414364055722506',), 1376400078: ('0.04414364055722506',), 1376400059: ('0.04414364055722506',), 1376400057: ('0.04414364055722506',), 1376400056: ('0.04414364055722506',), 1376400054: ('0.04414364055722506',), 1376400026: ('0.04414364055722506',), 1376400025: ('0.04414364055722506',), 1376400023: ('0.04414364055722506',), 1376400003: ('0.04414364055722506',), 1376400001: ('0.04414364055722506',), 1376399996: ('0.04414364055722506',), 1376399993: ('0.04414364055722506',), 1376399971: ('0.04414364055722506',), 1376399969: ('0.04414364055722506',), 1376399967: ('0.04414364055722506',), 1376399965: ('0.04414364055722506',), 1376399963: ('0.04414364055722506',), 1376399962: ('0.04414364055722506',), 1376399894: ('0.04414364055722506',), 1376399891: ('0.04414364055722506',), 1376399881: ('0.04414364055722506',), 1376399877: ('0.04414364055722506',), 1376399814: ('0.04414364055722506',), 1376399807: ('0.04414364055722506',), 1376399803: ('0.04414364055722506',), 1376399566: ('0.04414364055722506',), 1376399541: ('0.04414364055722506',), 1376399519: ('0.04414364055722506',), 1376399494: ('0.04414364055722506',), 1376399469: ('0.04414364055722506',), 1376399420: ('0.04414364055722506',), 1376399417: ('0.04414364055722506',), 1376399415: ('0.04414364055722506',), 1376399414: ('0.04414364055722506',), 1376399413: ('0.04414364055722506',), 1376399412: ('0.04414364055722506',), 1376399377: ('0.04414364055722506',), 1376399376: ('0.04414364055722506',), 1376399374: ('0.04414364055722506',)} args : 1376400001 depend.output_id : 0 input_args_next_step : {1376400168: ('0.04414364055722506',), 1376400119: ('0.04414364055722506',), 1376400117: ('0.04414364055722506',), 1376400116: ('0.04414364055722506',), 1376400088: ('0.04414364055722506',), 1376400085: ('0.04414364055722506',), 1376400083: ('0.04414364055722506',), 1376400082: ('0.04414364055722506',), 1376400078: ('0.04414364055722506',), 1376400059: ('0.04414364055722506',), 1376400057: ('0.04414364055722506',), 1376400056: ('0.04414364055722506',), 1376400054: ('0.04414364055722506',), 1376400026: ('0.04414364055722506',), 1376400025: ('0.04414364055722506',), 1376400023: ('0.04414364055722506',), 1376400003: ('0.04414364055722506',), 1376400001: ('0.04414364055722506',), 1376399996: ()} output_args : {1376400168: ('0.04414364055722506',), 1376400119: ('0.04414364055722506',), 1376400117: ('0.04414364055722506',), 1376400116: ('0.04414364055722506',), 1376400088: ('0.04414364055722506',), 1376400085: ('0.04414364055722506',), 1376400083: ('0.04414364055722506',), 1376400082: ('0.04414364055722506',), 1376400078: ('0.04414364055722506',), 1376400059: ('0.04414364055722506',), 1376400057: ('0.04414364055722506',), 1376400056: ('0.04414364055722506',), 1376400054: ('0.04414364055722506',), 1376400026: ('0.04414364055722506',), 1376400025: ('0.04414364055722506',), 1376400023: ('0.04414364055722506',), 1376400003: ('0.04414364055722506',), 1376400001: ('0.04414364055722506',), 1376399996: ('0.04414364055722506',), 1376399993: ('0.04414364055722506',), 1376399971: ('0.04414364055722506',), 1376399969: ('0.04414364055722506',), 1376399967: ('0.04414364055722506',), 1376399965: ('0.04414364055722506',), 1376399963: ('0.04414364055722506',), 1376399962: ('0.04414364055722506',), 1376399894: ('0.04414364055722506',), 1376399891: ('0.04414364055722506',), 1376399881: ('0.04414364055722506',), 1376399877: ('0.04414364055722506',), 1376399814: ('0.04414364055722506',), 1376399807: ('0.04414364055722506',), 1376399803: ('0.04414364055722506',), 1376399566: ('0.04414364055722506',), 1376399541: ('0.04414364055722506',), 1376399519: ('0.04414364055722506',), 1376399494: ('0.04414364055722506',), 1376399469: ('0.04414364055722506',), 1376399420: ('0.04414364055722506',), 1376399417: ('0.04414364055722506',), 1376399415: ('0.04414364055722506',), 1376399414: ('0.04414364055722506',), 1376399413: ('0.04414364055722506',), 1376399412: ('0.04414364055722506',), 1376399377: ('0.04414364055722506',), 1376399376: ('0.04414364055722506',), 1376399374: ('0.04414364055722506',)} args : 1376399996 depend.output_id : 0 input_args_next_step : {1376400168: ('0.04414364055722506',), 1376400119: ('0.04414364055722506',), 1376400117: ('0.04414364055722506',), 1376400116: ('0.04414364055722506',), 1376400088: ('0.04414364055722506',), 1376400085: ('0.04414364055722506',), 1376400083: ('0.04414364055722506',), 1376400082: ('0.04414364055722506',), 1376400078: ('0.04414364055722506',), 1376400059: ('0.04414364055722506',), 1376400057: ('0.04414364055722506',), 1376400056: ('0.04414364055722506',), 1376400054: ('0.04414364055722506',), 1376400026: ('0.04414364055722506',), 1376400025: ('0.04414364055722506',), 1376400023: ('0.04414364055722506',), 1376400003: ('0.04414364055722506',), 1376400001: ('0.04414364055722506',), 1376399996: ('0.04414364055722506',), 1376399993: ()} output_args : {1376400168: ('0.04414364055722506',), 1376400119: ('0.04414364055722506',), 1376400117: ('0.04414364055722506',), 1376400116: ('0.04414364055722506',), 1376400088: ('0.04414364055722506',), 1376400085: ('0.04414364055722506',), 1376400083: ('0.04414364055722506',), 1376400082: ('0.04414364055722506',), 1376400078: ('0.04414364055722506',), 1376400059: ('0.04414364055722506',), 1376400057: ('0.04414364055722506',), 1376400056: ('0.04414364055722506',), 1376400054: ('0.04414364055722506',), 1376400026: ('0.04414364055722506',), 1376400025: ('0.04414364055722506',), 1376400023: ('0.04414364055722506',), 1376400003: ('0.04414364055722506',), 1376400001: ('0.04414364055722506',), 1376399996: ('0.04414364055722506',), 1376399993: ('0.04414364055722506',), 1376399971: ('0.04414364055722506',), 1376399969: ('0.04414364055722506',), 1376399967: ('0.04414364055722506',), 1376399965: ('0.04414364055722506',), 1376399963: ('0.04414364055722506',), 1376399962: ('0.04414364055722506',), 1376399894: ('0.04414364055722506',), 1376399891: ('0.04414364055722506',), 1376399881: ('0.04414364055722506',), 1376399877: ('0.04414364055722506',), 1376399814: ('0.04414364055722506',), 1376399807: ('0.04414364055722506',), 1376399803: ('0.04414364055722506',), 1376399566: ('0.04414364055722506',), 1376399541: ('0.04414364055722506',), 1376399519: ('0.04414364055722506',), 1376399494: ('0.04414364055722506',), 1376399469: ('0.04414364055722506',), 1376399420: ('0.04414364055722506',), 1376399417: ('0.04414364055722506',), 1376399415: ('0.04414364055722506',), 1376399414: ('0.04414364055722506',), 1376399413: ('0.04414364055722506',), 1376399412: ('0.04414364055722506',), 1376399377: ('0.04414364055722506',), 1376399376: ('0.04414364055722506',), 1376399374: ('0.04414364055722506',)} args : 1376399993 depend.output_id : 0 input_args_next_step : {1376400168: ('0.04414364055722506',), 1376400119: ('0.04414364055722506',), 1376400117: ('0.04414364055722506',), 1376400116: ('0.04414364055722506',), 1376400088: ('0.04414364055722506',), 1376400085: ('0.04414364055722506',), 1376400083: ('0.04414364055722506',), 1376400082: ('0.04414364055722506',), 1376400078: ('0.04414364055722506',), 1376400059: ('0.04414364055722506',), 1376400057: ('0.04414364055722506',), 1376400056: ('0.04414364055722506',), 1376400054: ('0.04414364055722506',), 1376400026: ('0.04414364055722506',), 1376400025: ('0.04414364055722506',), 1376400023: ('0.04414364055722506',), 1376400003: ('0.04414364055722506',), 1376400001: ('0.04414364055722506',), 1376399996: ('0.04414364055722506',), 1376399993: ('0.04414364055722506',), 1376399971: ()} output_args : {1376400168: ('0.04414364055722506',), 1376400119: ('0.04414364055722506',), 1376400117: ('0.04414364055722506',), 1376400116: ('0.04414364055722506',), 1376400088: ('0.04414364055722506',), 1376400085: ('0.04414364055722506',), 1376400083: ('0.04414364055722506',), 1376400082: ('0.04414364055722506',), 1376400078: ('0.04414364055722506',), 1376400059: ('0.04414364055722506',), 1376400057: ('0.04414364055722506',), 1376400056: ('0.04414364055722506',), 1376400054: ('0.04414364055722506',), 1376400026: ('0.04414364055722506',), 1376400025: ('0.04414364055722506',), 1376400023: ('0.04414364055722506',), 1376400003: ('0.04414364055722506',), 1376400001: ('0.04414364055722506',), 1376399996: ('0.04414364055722506',), 1376399993: ('0.04414364055722506',), 1376399971: ('0.04414364055722506',), 1376399969: ('0.04414364055722506',), 1376399967: ('0.04414364055722506',), 1376399965: ('0.04414364055722506',), 1376399963: ('0.04414364055722506',), 1376399962: ('0.04414364055722506',), 1376399894: ('0.04414364055722506',), 1376399891: ('0.04414364055722506',), 1376399881: ('0.04414364055722506',), 1376399877: ('0.04414364055722506',), 1376399814: ('0.04414364055722506',), 1376399807: ('0.04414364055722506',), 1376399803: ('0.04414364055722506',), 1376399566: ('0.04414364055722506',), 1376399541: ('0.04414364055722506',), 1376399519: ('0.04414364055722506',), 1376399494: ('0.04414364055722506',), 1376399469: ('0.04414364055722506',), 1376399420: ('0.04414364055722506',), 1376399417: ('0.04414364055722506',), 1376399415: ('0.04414364055722506',), 1376399414: ('0.04414364055722506',), 1376399413: ('0.04414364055722506',), 1376399412: ('0.04414364055722506',), 1376399377: ('0.04414364055722506',), 1376399376: ('0.04414364055722506',), 1376399374: ('0.04414364055722506',)} args : 1376399971 depend.output_id : 0 input_args_next_step : {1376400168: ('0.04414364055722506',), 1376400119: ('0.04414364055722506',), 1376400117: ('0.04414364055722506',), 1376400116: ('0.04414364055722506',), 1376400088: ('0.04414364055722506',), 1376400085: ('0.04414364055722506',), 1376400083: ('0.04414364055722506',), 1376400082: ('0.04414364055722506',), 1376400078: ('0.04414364055722506',), 1376400059: ('0.04414364055722506',), 1376400057: ('0.04414364055722506',), 1376400056: ('0.04414364055722506',), 1376400054: ('0.04414364055722506',), 1376400026: ('0.04414364055722506',), 1376400025: ('0.04414364055722506',), 1376400023: ('0.04414364055722506',), 1376400003: ('0.04414364055722506',), 1376400001: ('0.04414364055722506',), 1376399996: ('0.04414364055722506',), 1376399993: ('0.04414364055722506',), 1376399971: ('0.04414364055722506',), 1376399969: ()} output_args : {1376400168: ('0.04414364055722506',), 1376400119: ('0.04414364055722506',), 1376400117: ('0.04414364055722506',), 1376400116: ('0.04414364055722506',), 1376400088: ('0.04414364055722506',), 1376400085: ('0.04414364055722506',), 1376400083: ('0.04414364055722506',), 1376400082: ('0.04414364055722506',), 1376400078: ('0.04414364055722506',), 1376400059: ('0.04414364055722506',), 1376400057: ('0.04414364055722506',), 1376400056: ('0.04414364055722506',), 1376400054: ('0.04414364055722506',), 1376400026: ('0.04414364055722506',), 1376400025: ('0.04414364055722506',), 1376400023: ('0.04414364055722506',), 1376400003: ('0.04414364055722506',), 1376400001: ('0.04414364055722506',), 1376399996: ('0.04414364055722506',), 1376399993: ('0.04414364055722506',), 1376399971: ('0.04414364055722506',), 1376399969: ('0.04414364055722506',), 1376399967: ('0.04414364055722506',), 1376399965: ('0.04414364055722506',), 1376399963: ('0.04414364055722506',), 1376399962: ('0.04414364055722506',), 1376399894: ('0.04414364055722506',), 1376399891: ('0.04414364055722506',), 1376399881: ('0.04414364055722506',), 1376399877: ('0.04414364055722506',), 1376399814: ('0.04414364055722506',), 1376399807: ('0.04414364055722506',), 1376399803: ('0.04414364055722506',), 1376399566: ('0.04414364055722506',), 1376399541: ('0.04414364055722506',), 1376399519: ('0.04414364055722506',), 1376399494: ('0.04414364055722506',), 1376399469: ('0.04414364055722506',), 1376399420: ('0.04414364055722506',), 1376399417: ('0.04414364055722506',), 1376399415: ('0.04414364055722506',), 1376399414: ('0.04414364055722506',), 1376399413: ('0.04414364055722506',), 1376399412: ('0.04414364055722506',), 1376399377: ('0.04414364055722506',), 1376399376: ('0.04414364055722506',), 1376399374: ('0.04414364055722506',)} args : 1376399969 depend.output_id : 0 input_args_next_step : {1376400168: ('0.04414364055722506',), 1376400119: ('0.04414364055722506',), 1376400117: ('0.04414364055722506',), 1376400116: ('0.04414364055722506',), 1376400088: ('0.04414364055722506',), 1376400085: ('0.04414364055722506',), 1376400083: ('0.04414364055722506',), 1376400082: ('0.04414364055722506',), 1376400078: ('0.04414364055722506',), 1376400059: ('0.04414364055722506',), 1376400057: ('0.04414364055722506',), 1376400056: ('0.04414364055722506',), 1376400054: ('0.04414364055722506',), 1376400026: ('0.04414364055722506',), 1376400025: ('0.04414364055722506',), 1376400023: ('0.04414364055722506',), 1376400003: ('0.04414364055722506',), 1376400001: ('0.04414364055722506',), 1376399996: ('0.04414364055722506',), 1376399993: ('0.04414364055722506',), 1376399971: ('0.04414364055722506',), 1376399969: ('0.04414364055722506',), 1376399967: ()} output_args : {1376400168: ('0.04414364055722506',), 1376400119: ('0.04414364055722506',), 1376400117: ('0.04414364055722506',), 1376400116: ('0.04414364055722506',), 1376400088: ('0.04414364055722506',), 1376400085: ('0.04414364055722506',), 1376400083: ('0.04414364055722506',), 1376400082: ('0.04414364055722506',), 1376400078: ('0.04414364055722506',), 1376400059: ('0.04414364055722506',), 1376400057: ('0.04414364055722506',), 1376400056: ('0.04414364055722506',), 1376400054: ('0.04414364055722506',), 1376400026: ('0.04414364055722506',), 1376400025: ('0.04414364055722506',), 1376400023: ('0.04414364055722506',), 1376400003: ('0.04414364055722506',), 1376400001: ('0.04414364055722506',), 1376399996: ('0.04414364055722506',), 1376399993: ('0.04414364055722506',), 1376399971: ('0.04414364055722506',), 1376399969: ('0.04414364055722506',), 1376399967: ('0.04414364055722506',), 1376399965: ('0.04414364055722506',), 1376399963: ('0.04414364055722506',), 1376399962: ('0.04414364055722506',), 1376399894: ('0.04414364055722506',), 1376399891: ('0.04414364055722506',), 1376399881: ('0.04414364055722506',), 1376399877: ('0.04414364055722506',), 1376399814: ('0.04414364055722506',), 1376399807: ('0.04414364055722506',), 1376399803: ('0.04414364055722506',), 1376399566: ('0.04414364055722506',), 1376399541: ('0.04414364055722506',), 1376399519: ('0.04414364055722506',), 1376399494: ('0.04414364055722506',), 1376399469: ('0.04414364055722506',), 1376399420: ('0.04414364055722506',), 1376399417: ('0.04414364055722506',), 1376399415: ('0.04414364055722506',), 1376399414: ('0.04414364055722506',), 1376399413: ('0.04414364055722506',), 1376399412: ('0.04414364055722506',), 1376399377: ('0.04414364055722506',), 1376399376: ('0.04414364055722506',), 1376399374: ('0.04414364055722506',)} args : 1376399967 depend.output_id : 0 input_args_next_step : {1376400168: ('0.04414364055722506',), 1376400119: ('0.04414364055722506',), 1376400117: ('0.04414364055722506',), 1376400116: ('0.04414364055722506',), 1376400088: ('0.04414364055722506',), 1376400085: ('0.04414364055722506',), 1376400083: ('0.04414364055722506',), 1376400082: ('0.04414364055722506',), 1376400078: ('0.04414364055722506',), 1376400059: ('0.04414364055722506',), 1376400057: ('0.04414364055722506',), 1376400056: ('0.04414364055722506',), 1376400054: ('0.04414364055722506',), 1376400026: ('0.04414364055722506',), 1376400025: ('0.04414364055722506',), 1376400023: ('0.04414364055722506',), 1376400003: ('0.04414364055722506',), 1376400001: ('0.04414364055722506',), 1376399996: ('0.04414364055722506',), 1376399993: ('0.04414364055722506',), 1376399971: ('0.04414364055722506',), 1376399969: ('0.04414364055722506',), 1376399967: ('0.04414364055722506',), 1376399965: ()} output_args : {1376400168: ('0.04414364055722506',), 1376400119: ('0.04414364055722506',), 1376400117: ('0.04414364055722506',), 1376400116: ('0.04414364055722506',), 1376400088: ('0.04414364055722506',), 1376400085: ('0.04414364055722506',), 1376400083: ('0.04414364055722506',), 1376400082: ('0.04414364055722506',), 1376400078: ('0.04414364055722506',), 1376400059: ('0.04414364055722506',), 1376400057: ('0.04414364055722506',), 1376400056: ('0.04414364055722506',), 1376400054: ('0.04414364055722506',), 1376400026: ('0.04414364055722506',), 1376400025: ('0.04414364055722506',), 1376400023: ('0.04414364055722506',), 1376400003: ('0.04414364055722506',), 1376400001: ('0.04414364055722506',), 1376399996: ('0.04414364055722506',), 1376399993: ('0.04414364055722506',), 1376399971: ('0.04414364055722506',), 1376399969: ('0.04414364055722506',), 1376399967: ('0.04414364055722506',), 1376399965: ('0.04414364055722506',), 1376399963: ('0.04414364055722506',), 1376399962: ('0.04414364055722506',), 1376399894: ('0.04414364055722506',), 1376399891: ('0.04414364055722506',), 1376399881: ('0.04414364055722506',), 1376399877: ('0.04414364055722506',), 1376399814: ('0.04414364055722506',), 1376399807: ('0.04414364055722506',), 1376399803: ('0.04414364055722506',), 1376399566: ('0.04414364055722506',), 1376399541: ('0.04414364055722506',), 1376399519: ('0.04414364055722506',), 1376399494: ('0.04414364055722506',), 1376399469: ('0.04414364055722506',), 1376399420: ('0.04414364055722506',), 1376399417: ('0.04414364055722506',), 1376399415: ('0.04414364055722506',), 1376399414: ('0.04414364055722506',), 1376399413: ('0.04414364055722506',), 1376399412: ('0.04414364055722506',), 1376399377: ('0.04414364055722506',), 1376399376: ('0.04414364055722506',), 1376399374: ('0.04414364055722506',)} args : 1376399965 depend.output_id : 0 input_args_next_step : {1376400168: ('0.04414364055722506',), 1376400119: ('0.04414364055722506',), 1376400117: ('0.04414364055722506',), 1376400116: ('0.04414364055722506',), 1376400088: ('0.04414364055722506',), 1376400085: ('0.04414364055722506',), 1376400083: ('0.04414364055722506',), 1376400082: ('0.04414364055722506',), 1376400078: ('0.04414364055722506',), 1376400059: ('0.04414364055722506',), 1376400057: ('0.04414364055722506',), 1376400056: ('0.04414364055722506',), 1376400054: ('0.04414364055722506',), 1376400026: ('0.04414364055722506',), 1376400025: ('0.04414364055722506',), 1376400023: ('0.04414364055722506',), 1376400003: ('0.04414364055722506',), 1376400001: ('0.04414364055722506',), 1376399996: ('0.04414364055722506',), 1376399993: ('0.04414364055722506',), 1376399971: ('0.04414364055722506',), 1376399969: ('0.04414364055722506',), 1376399967: ('0.04414364055722506',), 1376399965: ('0.04414364055722506',), 1376399963: ()} output_args : {1376400168: ('0.04414364055722506',), 1376400119: ('0.04414364055722506',), 1376400117: ('0.04414364055722506',), 1376400116: ('0.04414364055722506',), 1376400088: ('0.04414364055722506',), 1376400085: ('0.04414364055722506',), 1376400083: ('0.04414364055722506',), 1376400082: ('0.04414364055722506',), 1376400078: ('0.04414364055722506',), 1376400059: ('0.04414364055722506',), 1376400057: ('0.04414364055722506',), 1376400056: ('0.04414364055722506',), 1376400054: ('0.04414364055722506',), 1376400026: ('0.04414364055722506',), 1376400025: ('0.04414364055722506',), 1376400023: ('0.04414364055722506',), 1376400003: ('0.04414364055722506',), 1376400001: ('0.04414364055722506',), 1376399996: ('0.04414364055722506',), 1376399993: ('0.04414364055722506',), 1376399971: ('0.04414364055722506',), 1376399969: ('0.04414364055722506',), 1376399967: ('0.04414364055722506',), 1376399965: ('0.04414364055722506',), 1376399963: ('0.04414364055722506',), 1376399962: ('0.04414364055722506',), 1376399894: ('0.04414364055722506',), 1376399891: ('0.04414364055722506',), 1376399881: ('0.04414364055722506',), 1376399877: ('0.04414364055722506',), 1376399814: ('0.04414364055722506',), 1376399807: ('0.04414364055722506',), 1376399803: ('0.04414364055722506',), 1376399566: ('0.04414364055722506',), 1376399541: ('0.04414364055722506',), 1376399519: ('0.04414364055722506',), 1376399494: ('0.04414364055722506',), 1376399469: ('0.04414364055722506',), 1376399420: ('0.04414364055722506',), 1376399417: ('0.04414364055722506',), 1376399415: ('0.04414364055722506',), 1376399414: ('0.04414364055722506',), 1376399413: ('0.04414364055722506',), 1376399412: ('0.04414364055722506',), 1376399377: ('0.04414364055722506',), 1376399376: ('0.04414364055722506',), 1376399374: ('0.04414364055722506',)} args : 1376399963 depend.output_id : 0 input_args_next_step : {1376400168: ('0.04414364055722506',), 1376400119: ('0.04414364055722506',), 1376400117: ('0.04414364055722506',), 1376400116: ('0.04414364055722506',), 1376400088: ('0.04414364055722506',), 1376400085: ('0.04414364055722506',), 1376400083: ('0.04414364055722506',), 1376400082: ('0.04414364055722506',), 1376400078: ('0.04414364055722506',), 1376400059: ('0.04414364055722506',), 1376400057: ('0.04414364055722506',), 1376400056: ('0.04414364055722506',), 1376400054: ('0.04414364055722506',), 1376400026: ('0.04414364055722506',), 1376400025: ('0.04414364055722506',), 1376400023: ('0.04414364055722506',), 1376400003: ('0.04414364055722506',), 1376400001: ('0.04414364055722506',), 1376399996: ('0.04414364055722506',), 1376399993: ('0.04414364055722506',), 1376399971: ('0.04414364055722506',), 1376399969: ('0.04414364055722506',), 1376399967: ('0.04414364055722506',), 1376399965: ('0.04414364055722506',), 1376399963: ('0.04414364055722506',), 1376399962: ()} output_args : {1376400168: ('0.04414364055722506',), 1376400119: ('0.04414364055722506',), 1376400117: ('0.04414364055722506',), 1376400116: ('0.04414364055722506',), 1376400088: ('0.04414364055722506',), 1376400085: ('0.04414364055722506',), 1376400083: ('0.04414364055722506',), 1376400082: ('0.04414364055722506',), 1376400078: ('0.04414364055722506',), 1376400059: ('0.04414364055722506',), 1376400057: ('0.04414364055722506',), 1376400056: ('0.04414364055722506',), 1376400054: ('0.04414364055722506',), 1376400026: ('0.04414364055722506',), 1376400025: ('0.04414364055722506',), 1376400023: ('0.04414364055722506',), 1376400003: ('0.04414364055722506',), 1376400001: ('0.04414364055722506',), 1376399996: ('0.04414364055722506',), 1376399993: ('0.04414364055722506',), 1376399971: ('0.04414364055722506',), 1376399969: ('0.04414364055722506',), 1376399967: ('0.04414364055722506',), 1376399965: ('0.04414364055722506',), 1376399963: ('0.04414364055722506',), 1376399962: ('0.04414364055722506',), 1376399894: ('0.04414364055722506',), 1376399891: ('0.04414364055722506',), 1376399881: ('0.04414364055722506',), 1376399877: ('0.04414364055722506',), 1376399814: ('0.04414364055722506',), 1376399807: ('0.04414364055722506',), 1376399803: ('0.04414364055722506',), 1376399566: ('0.04414364055722506',), 1376399541: ('0.04414364055722506',), 1376399519: ('0.04414364055722506',), 1376399494: ('0.04414364055722506',), 1376399469: ('0.04414364055722506',), 1376399420: ('0.04414364055722506',), 1376399417: ('0.04414364055722506',), 1376399415: ('0.04414364055722506',), 1376399414: ('0.04414364055722506',), 1376399413: ('0.04414364055722506',), 1376399412: ('0.04414364055722506',), 1376399377: ('0.04414364055722506',), 1376399376: ('0.04414364055722506',), 1376399374: ('0.04414364055722506',)} args : 1376399962 depend.output_id : 0 input_args_next_step : {1376400168: ('0.04414364055722506',), 1376400119: ('0.04414364055722506',), 1376400117: ('0.04414364055722506',), 1376400116: ('0.04414364055722506',), 1376400088: ('0.04414364055722506',), 1376400085: ('0.04414364055722506',), 1376400083: ('0.04414364055722506',), 1376400082: ('0.04414364055722506',), 1376400078: ('0.04414364055722506',), 1376400059: ('0.04414364055722506',), 1376400057: ('0.04414364055722506',), 1376400056: ('0.04414364055722506',), 1376400054: ('0.04414364055722506',), 1376400026: ('0.04414364055722506',), 1376400025: ('0.04414364055722506',), 1376400023: ('0.04414364055722506',), 1376400003: ('0.04414364055722506',), 1376400001: ('0.04414364055722506',), 1376399996: ('0.04414364055722506',), 1376399993: ('0.04414364055722506',), 1376399971: ('0.04414364055722506',), 1376399969: ('0.04414364055722506',), 1376399967: ('0.04414364055722506',), 1376399965: ('0.04414364055722506',), 1376399963: ('0.04414364055722506',), 1376399962: ('0.04414364055722506',), 1376399894: ()} output_args : {1376400168: ('0.04414364055722506',), 1376400119: ('0.04414364055722506',), 1376400117: ('0.04414364055722506',), 1376400116: ('0.04414364055722506',), 1376400088: ('0.04414364055722506',), 1376400085: ('0.04414364055722506',), 1376400083: ('0.04414364055722506',), 1376400082: ('0.04414364055722506',), 1376400078: ('0.04414364055722506',), 1376400059: ('0.04414364055722506',), 1376400057: ('0.04414364055722506',), 1376400056: ('0.04414364055722506',), 1376400054: ('0.04414364055722506',), 1376400026: ('0.04414364055722506',), 1376400025: ('0.04414364055722506',), 1376400023: ('0.04414364055722506',), 1376400003: ('0.04414364055722506',), 1376400001: ('0.04414364055722506',), 1376399996: ('0.04414364055722506',), 1376399993: ('0.04414364055722506',), 1376399971: ('0.04414364055722506',), 1376399969: ('0.04414364055722506',), 1376399967: ('0.04414364055722506',), 1376399965: ('0.04414364055722506',), 1376399963: ('0.04414364055722506',), 1376399962: ('0.04414364055722506',), 1376399894: ('0.04414364055722506',), 1376399891: ('0.04414364055722506',), 1376399881: ('0.04414364055722506',), 1376399877: ('0.04414364055722506',), 1376399814: ('0.04414364055722506',), 1376399807: ('0.04414364055722506',), 1376399803: ('0.04414364055722506',), 1376399566: ('0.04414364055722506',), 1376399541: ('0.04414364055722506',), 1376399519: ('0.04414364055722506',), 1376399494: ('0.04414364055722506',), 1376399469: ('0.04414364055722506',), 1376399420: ('0.04414364055722506',), 1376399417: ('0.04414364055722506',), 1376399415: ('0.04414364055722506',), 1376399414: ('0.04414364055722506',), 1376399413: ('0.04414364055722506',), 1376399412: ('0.04414364055722506',), 1376399377: ('0.04414364055722506',), 1376399376: ('0.04414364055722506',), 1376399374: ('0.04414364055722506',)} args : 1376399894 depend.output_id : 0 input_args_next_step : {1376400168: ('0.04414364055722506',), 1376400119: ('0.04414364055722506',), 1376400117: ('0.04414364055722506',), 1376400116: ('0.04414364055722506',), 1376400088: ('0.04414364055722506',), 1376400085: ('0.04414364055722506',), 1376400083: ('0.04414364055722506',), 1376400082: ('0.04414364055722506',), 1376400078: ('0.04414364055722506',), 1376400059: ('0.04414364055722506',), 1376400057: ('0.04414364055722506',), 1376400056: ('0.04414364055722506',), 1376400054: ('0.04414364055722506',), 1376400026: ('0.04414364055722506',), 1376400025: ('0.04414364055722506',), 1376400023: ('0.04414364055722506',), 1376400003: ('0.04414364055722506',), 1376400001: ('0.04414364055722506',), 1376399996: ('0.04414364055722506',), 1376399993: ('0.04414364055722506',), 1376399971: ('0.04414364055722506',), 1376399969: ('0.04414364055722506',), 1376399967: ('0.04414364055722506',), 1376399965: ('0.04414364055722506',), 1376399963: ('0.04414364055722506',), 1376399962: ('0.04414364055722506',), 1376399894: ('0.04414364055722506',), 1376399891: ()} output_args : {1376400168: ('0.04414364055722506',), 1376400119: ('0.04414364055722506',), 1376400117: ('0.04414364055722506',), 1376400116: ('0.04414364055722506',), 1376400088: ('0.04414364055722506',), 1376400085: ('0.04414364055722506',), 1376400083: ('0.04414364055722506',), 1376400082: ('0.04414364055722506',), 1376400078: ('0.04414364055722506',), 1376400059: ('0.04414364055722506',), 1376400057: ('0.04414364055722506',), 1376400056: ('0.04414364055722506',), 1376400054: ('0.04414364055722506',), 1376400026: ('0.04414364055722506',), 1376400025: ('0.04414364055722506',), 1376400023: ('0.04414364055722506',), 1376400003: ('0.04414364055722506',), 1376400001: ('0.04414364055722506',), 1376399996: ('0.04414364055722506',), 1376399993: ('0.04414364055722506',), 1376399971: ('0.04414364055722506',), 1376399969: ('0.04414364055722506',), 1376399967: ('0.04414364055722506',), 1376399965: ('0.04414364055722506',), 1376399963: ('0.04414364055722506',), 1376399962: ('0.04414364055722506',), 1376399894: ('0.04414364055722506',), 1376399891: ('0.04414364055722506',), 1376399881: ('0.04414364055722506',), 1376399877: ('0.04414364055722506',), 1376399814: ('0.04414364055722506',), 1376399807: ('0.04414364055722506',), 1376399803: ('0.04414364055722506',), 1376399566: ('0.04414364055722506',), 1376399541: ('0.04414364055722506',), 1376399519: ('0.04414364055722506',), 1376399494: ('0.04414364055722506',), 1376399469: ('0.04414364055722506',), 1376399420: ('0.04414364055722506',), 1376399417: ('0.04414364055722506',), 1376399415: ('0.04414364055722506',), 1376399414: ('0.04414364055722506',), 1376399413: ('0.04414364055722506',), 1376399412: ('0.04414364055722506',), 1376399377: ('0.04414364055722506',), 1376399376: ('0.04414364055722506',), 1376399374: ('0.04414364055722506',)} args : 1376399891 depend.output_id : 0 input_args_next_step : {1376400168: ('0.04414364055722506',), 1376400119: ('0.04414364055722506',), 1376400117: ('0.04414364055722506',), 1376400116: ('0.04414364055722506',), 1376400088: ('0.04414364055722506',), 1376400085: ('0.04414364055722506',), 1376400083: ('0.04414364055722506',), 1376400082: ('0.04414364055722506',), 1376400078: ('0.04414364055722506',), 1376400059: ('0.04414364055722506',), 1376400057: ('0.04414364055722506',), 1376400056: ('0.04414364055722506',), 1376400054: ('0.04414364055722506',), 1376400026: ('0.04414364055722506',), 1376400025: ('0.04414364055722506',), 1376400023: ('0.04414364055722506',), 1376400003: ('0.04414364055722506',), 1376400001: ('0.04414364055722506',), 1376399996: ('0.04414364055722506',), 1376399993: ('0.04414364055722506',), 1376399971: ('0.04414364055722506',), 1376399969: ('0.04414364055722506',), 1376399967: ('0.04414364055722506',), 1376399965: ('0.04414364055722506',), 1376399963: ('0.04414364055722506',), 1376399962: ('0.04414364055722506',), 1376399894: ('0.04414364055722506',), 1376399891: ('0.04414364055722506',), 1376399881: ()} output_args : {1376400168: ('0.04414364055722506',), 1376400119: ('0.04414364055722506',), 1376400117: ('0.04414364055722506',), 1376400116: ('0.04414364055722506',), 1376400088: ('0.04414364055722506',), 1376400085: ('0.04414364055722506',), 1376400083: ('0.04414364055722506',), 1376400082: ('0.04414364055722506',), 1376400078: ('0.04414364055722506',), 1376400059: ('0.04414364055722506',), 1376400057: ('0.04414364055722506',), 1376400056: ('0.04414364055722506',), 1376400054: ('0.04414364055722506',), 1376400026: ('0.04414364055722506',), 1376400025: ('0.04414364055722506',), 1376400023: ('0.04414364055722506',), 1376400003: ('0.04414364055722506',), 1376400001: ('0.04414364055722506',), 1376399996: ('0.04414364055722506',), 1376399993: ('0.04414364055722506',), 1376399971: ('0.04414364055722506',), 1376399969: ('0.04414364055722506',), 1376399967: ('0.04414364055722506',), 1376399965: ('0.04414364055722506',), 1376399963: ('0.04414364055722506',), 1376399962: ('0.04414364055722506',), 1376399894: ('0.04414364055722506',), 1376399891: ('0.04414364055722506',), 1376399881: ('0.04414364055722506',), 1376399877: ('0.04414364055722506',), 1376399814: ('0.04414364055722506',), 1376399807: ('0.04414364055722506',), 1376399803: ('0.04414364055722506',), 1376399566: ('0.04414364055722506',), 1376399541: ('0.04414364055722506',), 1376399519: ('0.04414364055722506',), 1376399494: ('0.04414364055722506',), 1376399469: ('0.04414364055722506',), 1376399420: ('0.04414364055722506',), 1376399417: ('0.04414364055722506',), 1376399415: ('0.04414364055722506',), 1376399414: ('0.04414364055722506',), 1376399413: ('0.04414364055722506',), 1376399412: ('0.04414364055722506',), 1376399377: ('0.04414364055722506',), 1376399376: ('0.04414364055722506',), 1376399374: ('0.04414364055722506',)} args : 1376399881 depend.output_id : 0 input_args_next_step : {1376400168: ('0.04414364055722506',), 1376400119: ('0.04414364055722506',), 1376400117: ('0.04414364055722506',), 1376400116: ('0.04414364055722506',), 1376400088: ('0.04414364055722506',), 1376400085: ('0.04414364055722506',), 1376400083: ('0.04414364055722506',), 1376400082: ('0.04414364055722506',), 1376400078: ('0.04414364055722506',), 1376400059: ('0.04414364055722506',), 1376400057: ('0.04414364055722506',), 1376400056: ('0.04414364055722506',), 1376400054: ('0.04414364055722506',), 1376400026: ('0.04414364055722506',), 1376400025: ('0.04414364055722506',), 1376400023: ('0.04414364055722506',), 1376400003: ('0.04414364055722506',), 1376400001: ('0.04414364055722506',), 1376399996: ('0.04414364055722506',), 1376399993: ('0.04414364055722506',), 1376399971: ('0.04414364055722506',), 1376399969: ('0.04414364055722506',), 1376399967: ('0.04414364055722506',), 1376399965: ('0.04414364055722506',), 1376399963: ('0.04414364055722506',), 1376399962: ('0.04414364055722506',), 1376399894: ('0.04414364055722506',), 1376399891: ('0.04414364055722506',), 1376399881: ('0.04414364055722506',), 1376399877: ()} output_args : {1376400168: ('0.04414364055722506',), 1376400119: ('0.04414364055722506',), 1376400117: ('0.04414364055722506',), 1376400116: ('0.04414364055722506',), 1376400088: ('0.04414364055722506',), 1376400085: ('0.04414364055722506',), 1376400083: ('0.04414364055722506',), 1376400082: ('0.04414364055722506',), 1376400078: ('0.04414364055722506',), 1376400059: ('0.04414364055722506',), 1376400057: ('0.04414364055722506',), 1376400056: ('0.04414364055722506',), 1376400054: ('0.04414364055722506',), 1376400026: ('0.04414364055722506',), 1376400025: ('0.04414364055722506',), 1376400023: ('0.04414364055722506',), 1376400003: ('0.04414364055722506',), 1376400001: ('0.04414364055722506',), 1376399996: ('0.04414364055722506',), 1376399993: ('0.04414364055722506',), 1376399971: ('0.04414364055722506',), 1376399969: ('0.04414364055722506',), 1376399967: ('0.04414364055722506',), 1376399965: ('0.04414364055722506',), 1376399963: ('0.04414364055722506',), 1376399962: ('0.04414364055722506',), 1376399894: ('0.04414364055722506',), 1376399891: ('0.04414364055722506',), 1376399881: ('0.04414364055722506',), 1376399877: ('0.04414364055722506',), 1376399814: ('0.04414364055722506',), 1376399807: ('0.04414364055722506',), 1376399803: ('0.04414364055722506',), 1376399566: ('0.04414364055722506',), 1376399541: ('0.04414364055722506',), 1376399519: ('0.04414364055722506',), 1376399494: ('0.04414364055722506',), 1376399469: ('0.04414364055722506',), 1376399420: ('0.04414364055722506',), 1376399417: ('0.04414364055722506',), 1376399415: ('0.04414364055722506',), 1376399414: ('0.04414364055722506',), 1376399413: ('0.04414364055722506',), 1376399412: ('0.04414364055722506',), 1376399377: ('0.04414364055722506',), 1376399376: ('0.04414364055722506',), 1376399374: ('0.04414364055722506',)} args : 1376399877 depend.output_id : 0 input_args_next_step : {1376400168: ('0.04414364055722506',), 1376400119: ('0.04414364055722506',), 1376400117: ('0.04414364055722506',), 1376400116: ('0.04414364055722506',), 1376400088: ('0.04414364055722506',), 1376400085: ('0.04414364055722506',), 1376400083: ('0.04414364055722506',), 1376400082: ('0.04414364055722506',), 1376400078: ('0.04414364055722506',), 1376400059: ('0.04414364055722506',), 1376400057: ('0.04414364055722506',), 1376400056: ('0.04414364055722506',), 1376400054: ('0.04414364055722506',), 1376400026: ('0.04414364055722506',), 1376400025: ('0.04414364055722506',), 1376400023: ('0.04414364055722506',), 1376400003: ('0.04414364055722506',), 1376400001: ('0.04414364055722506',), 1376399996: ('0.04414364055722506',), 1376399993: ('0.04414364055722506',), 1376399971: ('0.04414364055722506',), 1376399969: ('0.04414364055722506',), 1376399967: ('0.04414364055722506',), 1376399965: ('0.04414364055722506',), 1376399963: ('0.04414364055722506',), 1376399962: ('0.04414364055722506',), 1376399894: ('0.04414364055722506',), 1376399891: ('0.04414364055722506',), 1376399881: ('0.04414364055722506',), 1376399877: ('0.04414364055722506',), 1376399814: ()} output_args : {1376400168: ('0.04414364055722506',), 1376400119: ('0.04414364055722506',), 1376400117: ('0.04414364055722506',), 1376400116: ('0.04414364055722506',), 1376400088: ('0.04414364055722506',), 1376400085: ('0.04414364055722506',), 1376400083: ('0.04414364055722506',), 1376400082: ('0.04414364055722506',), 1376400078: ('0.04414364055722506',), 1376400059: ('0.04414364055722506',), 1376400057: ('0.04414364055722506',), 1376400056: ('0.04414364055722506',), 1376400054: ('0.04414364055722506',), 1376400026: ('0.04414364055722506',), 1376400025: ('0.04414364055722506',), 1376400023: ('0.04414364055722506',), 1376400003: ('0.04414364055722506',), 1376400001: ('0.04414364055722506',), 1376399996: ('0.04414364055722506',), 1376399993: ('0.04414364055722506',), 1376399971: ('0.04414364055722506',), 1376399969: ('0.04414364055722506',), 1376399967: ('0.04414364055722506',), 1376399965: ('0.04414364055722506',), 1376399963: ('0.04414364055722506',), 1376399962: ('0.04414364055722506',), 1376399894: ('0.04414364055722506',), 1376399891: ('0.04414364055722506',), 1376399881: ('0.04414364055722506',), 1376399877: ('0.04414364055722506',), 1376399814: ('0.04414364055722506',), 1376399807: ('0.04414364055722506',), 1376399803: ('0.04414364055722506',), 1376399566: ('0.04414364055722506',), 1376399541: ('0.04414364055722506',), 1376399519: ('0.04414364055722506',), 1376399494: ('0.04414364055722506',), 1376399469: ('0.04414364055722506',), 1376399420: ('0.04414364055722506',), 1376399417: ('0.04414364055722506',), 1376399415: ('0.04414364055722506',), 1376399414: ('0.04414364055722506',), 1376399413: ('0.04414364055722506',), 1376399412: ('0.04414364055722506',), 1376399377: ('0.04414364055722506',), 1376399376: ('0.04414364055722506',), 1376399374: ('0.04414364055722506',)} args : 1376399814 depend.output_id : 0 input_args_next_step : {1376400168: ('0.04414364055722506',), 1376400119: ('0.04414364055722506',), 1376400117: ('0.04414364055722506',), 1376400116: ('0.04414364055722506',), 1376400088: ('0.04414364055722506',), 1376400085: ('0.04414364055722506',), 1376400083: ('0.04414364055722506',), 1376400082: ('0.04414364055722506',), 1376400078: ('0.04414364055722506',), 1376400059: ('0.04414364055722506',), 1376400057: ('0.04414364055722506',), 1376400056: ('0.04414364055722506',), 1376400054: ('0.04414364055722506',), 1376400026: ('0.04414364055722506',), 1376400025: ('0.04414364055722506',), 1376400023: ('0.04414364055722506',), 1376400003: ('0.04414364055722506',), 1376400001: ('0.04414364055722506',), 1376399996: ('0.04414364055722506',), 1376399993: ('0.04414364055722506',), 1376399971: ('0.04414364055722506',), 1376399969: ('0.04414364055722506',), 1376399967: ('0.04414364055722506',), 1376399965: ('0.04414364055722506',), 1376399963: ('0.04414364055722506',), 1376399962: ('0.04414364055722506',), 1376399894: ('0.04414364055722506',), 1376399891: ('0.04414364055722506',), 1376399881: ('0.04414364055722506',), 1376399877: ('0.04414364055722506',), 1376399814: ('0.04414364055722506',), 1376399807: ()} output_args : {1376400168: ('0.04414364055722506',), 1376400119: ('0.04414364055722506',), 1376400117: ('0.04414364055722506',), 1376400116: ('0.04414364055722506',), 1376400088: ('0.04414364055722506',), 1376400085: ('0.04414364055722506',), 1376400083: ('0.04414364055722506',), 1376400082: ('0.04414364055722506',), 1376400078: ('0.04414364055722506',), 1376400059: ('0.04414364055722506',), 1376400057: ('0.04414364055722506',), 1376400056: ('0.04414364055722506',), 1376400054: ('0.04414364055722506',), 1376400026: ('0.04414364055722506',), 1376400025: ('0.04414364055722506',), 1376400023: ('0.04414364055722506',), 1376400003: ('0.04414364055722506',), 1376400001: ('0.04414364055722506',), 1376399996: ('0.04414364055722506',), 1376399993: ('0.04414364055722506',), 1376399971: ('0.04414364055722506',), 1376399969: ('0.04414364055722506',), 1376399967: ('0.04414364055722506',), 1376399965: ('0.04414364055722506',), 1376399963: ('0.04414364055722506',), 1376399962: ('0.04414364055722506',), 1376399894: ('0.04414364055722506',), 1376399891: ('0.04414364055722506',), 1376399881: ('0.04414364055722506',), 1376399877: ('0.04414364055722506',), 1376399814: ('0.04414364055722506',), 1376399807: ('0.04414364055722506',), 1376399803: ('0.04414364055722506',), 1376399566: ('0.04414364055722506',), 1376399541: ('0.04414364055722506',), 1376399519: ('0.04414364055722506',), 1376399494: ('0.04414364055722506',), 1376399469: ('0.04414364055722506',), 1376399420: ('0.04414364055722506',), 1376399417: ('0.04414364055722506',), 1376399415: ('0.04414364055722506',), 1376399414: ('0.04414364055722506',), 1376399413: ('0.04414364055722506',), 1376399412: ('0.04414364055722506',), 1376399377: ('0.04414364055722506',), 1376399376: ('0.04414364055722506',), 1376399374: ('0.04414364055722506',)} args : 1376399807 depend.output_id : 0 input_args_next_step : {1376400168: ('0.04414364055722506',), 1376400119: ('0.04414364055722506',), 1376400117: ('0.04414364055722506',), 1376400116: ('0.04414364055722506',), 1376400088: ('0.04414364055722506',), 1376400085: ('0.04414364055722506',), 1376400083: ('0.04414364055722506',), 1376400082: ('0.04414364055722506',), 1376400078: ('0.04414364055722506',), 1376400059: ('0.04414364055722506',), 1376400057: ('0.04414364055722506',), 1376400056: ('0.04414364055722506',), 1376400054: ('0.04414364055722506',), 1376400026: ('0.04414364055722506',), 1376400025: ('0.04414364055722506',), 1376400023: ('0.04414364055722506',), 1376400003: ('0.04414364055722506',), 1376400001: ('0.04414364055722506',), 1376399996: ('0.04414364055722506',), 1376399993: ('0.04414364055722506',), 1376399971: ('0.04414364055722506',), 1376399969: ('0.04414364055722506',), 1376399967: ('0.04414364055722506',), 1376399965: ('0.04414364055722506',), 1376399963: ('0.04414364055722506',), 1376399962: ('0.04414364055722506',), 1376399894: ('0.04414364055722506',), 1376399891: ('0.04414364055722506',), 1376399881: ('0.04414364055722506',), 1376399877: ('0.04414364055722506',), 1376399814: ('0.04414364055722506',), 1376399807: ('0.04414364055722506',), 1376399803: ()} output_args : {1376400168: ('0.04414364055722506',), 1376400119: ('0.04414364055722506',), 1376400117: ('0.04414364055722506',), 1376400116: ('0.04414364055722506',), 1376400088: ('0.04414364055722506',), 1376400085: ('0.04414364055722506',), 1376400083: ('0.04414364055722506',), 1376400082: ('0.04414364055722506',), 1376400078: ('0.04414364055722506',), 1376400059: ('0.04414364055722506',), 1376400057: ('0.04414364055722506',), 1376400056: ('0.04414364055722506',), 1376400054: ('0.04414364055722506',), 1376400026: ('0.04414364055722506',), 1376400025: ('0.04414364055722506',), 1376400023: ('0.04414364055722506',), 1376400003: ('0.04414364055722506',), 1376400001: ('0.04414364055722506',), 1376399996: ('0.04414364055722506',), 1376399993: ('0.04414364055722506',), 1376399971: ('0.04414364055722506',), 1376399969: ('0.04414364055722506',), 1376399967: ('0.04414364055722506',), 1376399965: ('0.04414364055722506',), 1376399963: ('0.04414364055722506',), 1376399962: ('0.04414364055722506',), 1376399894: ('0.04414364055722506',), 1376399891: ('0.04414364055722506',), 1376399881: ('0.04414364055722506',), 1376399877: ('0.04414364055722506',), 1376399814: ('0.04414364055722506',), 1376399807: ('0.04414364055722506',), 1376399803: ('0.04414364055722506',), 1376399566: ('0.04414364055722506',), 1376399541: ('0.04414364055722506',), 1376399519: ('0.04414364055722506',), 1376399494: ('0.04414364055722506',), 1376399469: ('0.04414364055722506',), 1376399420: ('0.04414364055722506',), 1376399417: ('0.04414364055722506',), 1376399415: ('0.04414364055722506',), 1376399414: ('0.04414364055722506',), 1376399413: ('0.04414364055722506',), 1376399412: ('0.04414364055722506',), 1376399377: ('0.04414364055722506',), 1376399376: ('0.04414364055722506',), 1376399374: ('0.04414364055722506',)} args : 1376399803 depend.output_id : 0 input_args_next_step : {1376400168: ('0.04414364055722506',), 1376400119: ('0.04414364055722506',), 1376400117: ('0.04414364055722506',), 1376400116: ('0.04414364055722506',), 1376400088: ('0.04414364055722506',), 1376400085: ('0.04414364055722506',), 1376400083: ('0.04414364055722506',), 1376400082: ('0.04414364055722506',), 1376400078: ('0.04414364055722506',), 1376400059: ('0.04414364055722506',), 1376400057: ('0.04414364055722506',), 1376400056: ('0.04414364055722506',), 1376400054: ('0.04414364055722506',), 1376400026: ('0.04414364055722506',), 1376400025: ('0.04414364055722506',), 1376400023: ('0.04414364055722506',), 1376400003: ('0.04414364055722506',), 1376400001: ('0.04414364055722506',), 1376399996: ('0.04414364055722506',), 1376399993: ('0.04414364055722506',), 1376399971: ('0.04414364055722506',), 1376399969: ('0.04414364055722506',), 1376399967: ('0.04414364055722506',), 1376399965: ('0.04414364055722506',), 1376399963: ('0.04414364055722506',), 1376399962: ('0.04414364055722506',), 1376399894: ('0.04414364055722506',), 1376399891: ('0.04414364055722506',), 1376399881: ('0.04414364055722506',), 1376399877: ('0.04414364055722506',), 1376399814: ('0.04414364055722506',), 1376399807: ('0.04414364055722506',), 1376399803: ('0.04414364055722506',), 1376399566: ()} output_args : {1376400168: ('0.04414364055722506',), 1376400119: ('0.04414364055722506',), 1376400117: ('0.04414364055722506',), 1376400116: ('0.04414364055722506',), 1376400088: ('0.04414364055722506',), 1376400085: ('0.04414364055722506',), 1376400083: ('0.04414364055722506',), 1376400082: ('0.04414364055722506',), 1376400078: ('0.04414364055722506',), 1376400059: ('0.04414364055722506',), 1376400057: ('0.04414364055722506',), 1376400056: ('0.04414364055722506',), 1376400054: ('0.04414364055722506',), 1376400026: ('0.04414364055722506',), 1376400025: ('0.04414364055722506',), 1376400023: ('0.04414364055722506',), 1376400003: ('0.04414364055722506',), 1376400001: ('0.04414364055722506',), 1376399996: ('0.04414364055722506',), 1376399993: ('0.04414364055722506',), 1376399971: ('0.04414364055722506',), 1376399969: ('0.04414364055722506',), 1376399967: ('0.04414364055722506',), 1376399965: ('0.04414364055722506',), 1376399963: ('0.04414364055722506',), 1376399962: ('0.04414364055722506',), 1376399894: ('0.04414364055722506',), 1376399891: ('0.04414364055722506',), 1376399881: ('0.04414364055722506',), 1376399877: ('0.04414364055722506',), 1376399814: ('0.04414364055722506',), 1376399807: ('0.04414364055722506',), 1376399803: ('0.04414364055722506',), 1376399566: ('0.04414364055722506',), 1376399541: ('0.04414364055722506',), 1376399519: ('0.04414364055722506',), 1376399494: ('0.04414364055722506',), 1376399469: ('0.04414364055722506',), 1376399420: ('0.04414364055722506',), 1376399417: ('0.04414364055722506',), 1376399415: ('0.04414364055722506',), 1376399414: ('0.04414364055722506',), 1376399413: ('0.04414364055722506',), 1376399412: ('0.04414364055722506',), 1376399377: ('0.04414364055722506',), 1376399376: ('0.04414364055722506',), 1376399374: ('0.04414364055722506',)} args : 1376399566 depend.output_id : 0 input_args_next_step : {1376400168: ('0.04414364055722506',), 1376400119: ('0.04414364055722506',), 1376400117: ('0.04414364055722506',), 1376400116: ('0.04414364055722506',), 1376400088: ('0.04414364055722506',), 1376400085: ('0.04414364055722506',), 1376400083: ('0.04414364055722506',), 1376400082: ('0.04414364055722506',), 1376400078: ('0.04414364055722506',), 1376400059: ('0.04414364055722506',), 1376400057: ('0.04414364055722506',), 1376400056: ('0.04414364055722506',), 1376400054: ('0.04414364055722506',), 1376400026: ('0.04414364055722506',), 1376400025: ('0.04414364055722506',), 1376400023: ('0.04414364055722506',), 1376400003: ('0.04414364055722506',), 1376400001: ('0.04414364055722506',), 1376399996: ('0.04414364055722506',), 1376399993: ('0.04414364055722506',), 1376399971: ('0.04414364055722506',), 1376399969: ('0.04414364055722506',), 1376399967: ('0.04414364055722506',), 1376399965: ('0.04414364055722506',), 1376399963: ('0.04414364055722506',), 1376399962: ('0.04414364055722506',), 1376399894: ('0.04414364055722506',), 1376399891: ('0.04414364055722506',), 1376399881: ('0.04414364055722506',), 1376399877: ('0.04414364055722506',), 1376399814: ('0.04414364055722506',), 1376399807: ('0.04414364055722506',), 1376399803: ('0.04414364055722506',), 1376399566: ('0.04414364055722506',), 1376399541: ()} output_args : {1376400168: ('0.04414364055722506',), 1376400119: ('0.04414364055722506',), 1376400117: ('0.04414364055722506',), 1376400116: ('0.04414364055722506',), 1376400088: ('0.04414364055722506',), 1376400085: ('0.04414364055722506',), 1376400083: ('0.04414364055722506',), 1376400082: ('0.04414364055722506',), 1376400078: ('0.04414364055722506',), 1376400059: ('0.04414364055722506',), 1376400057: ('0.04414364055722506',), 1376400056: ('0.04414364055722506',), 1376400054: ('0.04414364055722506',), 1376400026: ('0.04414364055722506',), 1376400025: ('0.04414364055722506',), 1376400023: ('0.04414364055722506',), 1376400003: ('0.04414364055722506',), 1376400001: ('0.04414364055722506',), 1376399996: ('0.04414364055722506',), 1376399993: ('0.04414364055722506',), 1376399971: ('0.04414364055722506',), 1376399969: ('0.04414364055722506',), 1376399967: ('0.04414364055722506',), 1376399965: ('0.04414364055722506',), 1376399963: ('0.04414364055722506',), 1376399962: ('0.04414364055722506',), 1376399894: ('0.04414364055722506',), 1376399891: ('0.04414364055722506',), 1376399881: ('0.04414364055722506',), 1376399877: ('0.04414364055722506',), 1376399814: ('0.04414364055722506',), 1376399807: ('0.04414364055722506',), 1376399803: ('0.04414364055722506',), 1376399566: ('0.04414364055722506',), 1376399541: ('0.04414364055722506',), 1376399519: ('0.04414364055722506',), 1376399494: ('0.04414364055722506',), 1376399469: ('0.04414364055722506',), 1376399420: ('0.04414364055722506',), 1376399417: ('0.04414364055722506',), 1376399415: ('0.04414364055722506',), 1376399414: ('0.04414364055722506',), 1376399413: ('0.04414364055722506',), 1376399412: ('0.04414364055722506',), 1376399377: ('0.04414364055722506',), 1376399376: ('0.04414364055722506',), 1376399374: ('0.04414364055722506',)} args : 1376399541 depend.output_id : 0 input_args_next_step : {1376400168: ('0.04414364055722506',), 1376400119: ('0.04414364055722506',), 1376400117: ('0.04414364055722506',), 1376400116: ('0.04414364055722506',), 1376400088: ('0.04414364055722506',), 1376400085: ('0.04414364055722506',), 1376400083: ('0.04414364055722506',), 1376400082: ('0.04414364055722506',), 1376400078: ('0.04414364055722506',), 1376400059: ('0.04414364055722506',), 1376400057: ('0.04414364055722506',), 1376400056: ('0.04414364055722506',), 1376400054: ('0.04414364055722506',), 1376400026: ('0.04414364055722506',), 1376400025: ('0.04414364055722506',), 1376400023: ('0.04414364055722506',), 1376400003: ('0.04414364055722506',), 1376400001: ('0.04414364055722506',), 1376399996: ('0.04414364055722506',), 1376399993: ('0.04414364055722506',), 1376399971: ('0.04414364055722506',), 1376399969: ('0.04414364055722506',), 1376399967: ('0.04414364055722506',), 1376399965: ('0.04414364055722506',), 1376399963: ('0.04414364055722506',), 1376399962: ('0.04414364055722506',), 1376399894: ('0.04414364055722506',), 1376399891: ('0.04414364055722506',), 1376399881: ('0.04414364055722506',), 1376399877: ('0.04414364055722506',), 1376399814: ('0.04414364055722506',), 1376399807: ('0.04414364055722506',), 1376399803: ('0.04414364055722506',), 1376399566: ('0.04414364055722506',), 1376399541: ('0.04414364055722506',), 1376399519: ()} output_args : {1376400168: ('0.04414364055722506',), 1376400119: ('0.04414364055722506',), 1376400117: ('0.04414364055722506',), 1376400116: ('0.04414364055722506',), 1376400088: ('0.04414364055722506',), 1376400085: ('0.04414364055722506',), 1376400083: ('0.04414364055722506',), 1376400082: ('0.04414364055722506',), 1376400078: ('0.04414364055722506',), 1376400059: ('0.04414364055722506',), 1376400057: ('0.04414364055722506',), 1376400056: ('0.04414364055722506',), 1376400054: ('0.04414364055722506',), 1376400026: ('0.04414364055722506',), 1376400025: ('0.04414364055722506',), 1376400023: ('0.04414364055722506',), 1376400003: ('0.04414364055722506',), 1376400001: ('0.04414364055722506',), 1376399996: ('0.04414364055722506',), 1376399993: ('0.04414364055722506',), 1376399971: ('0.04414364055722506',), 1376399969: ('0.04414364055722506',), 1376399967: ('0.04414364055722506',), 1376399965: ('0.04414364055722506',), 1376399963: ('0.04414364055722506',), 1376399962: ('0.04414364055722506',), 1376399894: ('0.04414364055722506',), 1376399891: ('0.04414364055722506',), 1376399881: ('0.04414364055722506',), 1376399877: ('0.04414364055722506',), 1376399814: ('0.04414364055722506',), 1376399807: ('0.04414364055722506',), 1376399803: ('0.04414364055722506',), 1376399566: ('0.04414364055722506',), 1376399541: ('0.04414364055722506',), 1376399519: ('0.04414364055722506',), 1376399494: ('0.04414364055722506',), 1376399469: ('0.04414364055722506',), 1376399420: ('0.04414364055722506',), 1376399417: ('0.04414364055722506',), 1376399415: ('0.04414364055722506',), 1376399414: ('0.04414364055722506',), 1376399413: ('0.04414364055722506',), 1376399412: ('0.04414364055722506',), 1376399377: ('0.04414364055722506',), 1376399376: ('0.04414364055722506',), 1376399374: ('0.04414364055722506',)} args : 1376399519 depend.output_id : 0 input_args_next_step : {1376400168: ('0.04414364055722506',), 1376400119: ('0.04414364055722506',), 1376400117: ('0.04414364055722506',), 1376400116: ('0.04414364055722506',), 1376400088: ('0.04414364055722506',), 1376400085: ('0.04414364055722506',), 1376400083: ('0.04414364055722506',), 1376400082: ('0.04414364055722506',), 1376400078: ('0.04414364055722506',), 1376400059: ('0.04414364055722506',), 1376400057: ('0.04414364055722506',), 1376400056: ('0.04414364055722506',), 1376400054: ('0.04414364055722506',), 1376400026: ('0.04414364055722506',), 1376400025: ('0.04414364055722506',), 1376400023: ('0.04414364055722506',), 1376400003: ('0.04414364055722506',), 1376400001: ('0.04414364055722506',), 1376399996: ('0.04414364055722506',), 1376399993: ('0.04414364055722506',), 1376399971: ('0.04414364055722506',), 1376399969: ('0.04414364055722506',), 1376399967: ('0.04414364055722506',), 1376399965: ('0.04414364055722506',), 1376399963: ('0.04414364055722506',), 1376399962: ('0.04414364055722506',), 1376399894: ('0.04414364055722506',), 1376399891: ('0.04414364055722506',), 1376399881: ('0.04414364055722506',), 1376399877: ('0.04414364055722506',), 1376399814: ('0.04414364055722506',), 1376399807: ('0.04414364055722506',), 1376399803: ('0.04414364055722506',), 1376399566: ('0.04414364055722506',), 1376399541: ('0.04414364055722506',), 1376399519: ('0.04414364055722506',), 1376399494: ()} output_args : {1376400168: ('0.04414364055722506',), 1376400119: ('0.04414364055722506',), 1376400117: ('0.04414364055722506',), 1376400116: ('0.04414364055722506',), 1376400088: ('0.04414364055722506',), 1376400085: ('0.04414364055722506',), 1376400083: ('0.04414364055722506',), 1376400082: ('0.04414364055722506',), 1376400078: ('0.04414364055722506',), 1376400059: ('0.04414364055722506',), 1376400057: ('0.04414364055722506',), 1376400056: ('0.04414364055722506',), 1376400054: ('0.04414364055722506',), 1376400026: ('0.04414364055722506',), 1376400025: ('0.04414364055722506',), 1376400023: ('0.04414364055722506',), 1376400003: ('0.04414364055722506',), 1376400001: ('0.04414364055722506',), 1376399996: ('0.04414364055722506',), 1376399993: ('0.04414364055722506',), 1376399971: ('0.04414364055722506',), 1376399969: ('0.04414364055722506',), 1376399967: ('0.04414364055722506',), 1376399965: ('0.04414364055722506',), 1376399963: ('0.04414364055722506',), 1376399962: ('0.04414364055722506',), 1376399894: ('0.04414364055722506',), 1376399891: ('0.04414364055722506',), 1376399881: ('0.04414364055722506',), 1376399877: ('0.04414364055722506',), 1376399814: ('0.04414364055722506',), 1376399807: ('0.04414364055722506',), 1376399803: ('0.04414364055722506',), 1376399566: ('0.04414364055722506',), 1376399541: ('0.04414364055722506',), 1376399519: ('0.04414364055722506',), 1376399494: ('0.04414364055722506',), 1376399469: ('0.04414364055722506',), 1376399420: ('0.04414364055722506',), 1376399417: ('0.04414364055722506',), 1376399415: ('0.04414364055722506',), 1376399414: ('0.04414364055722506',), 1376399413: ('0.04414364055722506',), 1376399412: ('0.04414364055722506',), 1376399377: ('0.04414364055722506',), 1376399376: ('0.04414364055722506',), 1376399374: ('0.04414364055722506',)} args : 1376399494 depend.output_id : 0 input_args_next_step : {1376400168: ('0.04414364055722506',), 1376400119: ('0.04414364055722506',), 1376400117: ('0.04414364055722506',), 1376400116: ('0.04414364055722506',), 1376400088: ('0.04414364055722506',), 1376400085: ('0.04414364055722506',), 1376400083: ('0.04414364055722506',), 1376400082: ('0.04414364055722506',), 1376400078: ('0.04414364055722506',), 1376400059: ('0.04414364055722506',), 1376400057: ('0.04414364055722506',), 1376400056: ('0.04414364055722506',), 1376400054: ('0.04414364055722506',), 1376400026: ('0.04414364055722506',), 1376400025: ('0.04414364055722506',), 1376400023: ('0.04414364055722506',), 1376400003: ('0.04414364055722506',), 1376400001: ('0.04414364055722506',), 1376399996: ('0.04414364055722506',), 1376399993: ('0.04414364055722506',), 1376399971: ('0.04414364055722506',), 1376399969: ('0.04414364055722506',), 1376399967: ('0.04414364055722506',), 1376399965: ('0.04414364055722506',), 1376399963: ('0.04414364055722506',), 1376399962: ('0.04414364055722506',), 1376399894: ('0.04414364055722506',), 1376399891: ('0.04414364055722506',), 1376399881: ('0.04414364055722506',), 1376399877: ('0.04414364055722506',), 1376399814: ('0.04414364055722506',), 1376399807: ('0.04414364055722506',), 1376399803: ('0.04414364055722506',), 1376399566: ('0.04414364055722506',), 1376399541: ('0.04414364055722506',), 1376399519: ('0.04414364055722506',), 1376399494: ('0.04414364055722506',), 1376399469: ()} output_args : {1376400168: ('0.04414364055722506',), 1376400119: ('0.04414364055722506',), 1376400117: ('0.04414364055722506',), 1376400116: ('0.04414364055722506',), 1376400088: ('0.04414364055722506',), 1376400085: ('0.04414364055722506',), 1376400083: ('0.04414364055722506',), 1376400082: ('0.04414364055722506',), 1376400078: ('0.04414364055722506',), 1376400059: ('0.04414364055722506',), 1376400057: ('0.04414364055722506',), 1376400056: ('0.04414364055722506',), 1376400054: ('0.04414364055722506',), 1376400026: ('0.04414364055722506',), 1376400025: ('0.04414364055722506',), 1376400023: ('0.04414364055722506',), 1376400003: ('0.04414364055722506',), 1376400001: ('0.04414364055722506',), 1376399996: ('0.04414364055722506',), 1376399993: ('0.04414364055722506',), 1376399971: ('0.04414364055722506',), 1376399969: ('0.04414364055722506',), 1376399967: ('0.04414364055722506',), 1376399965: ('0.04414364055722506',), 1376399963: ('0.04414364055722506',), 1376399962: ('0.04414364055722506',), 1376399894: ('0.04414364055722506',), 1376399891: ('0.04414364055722506',), 1376399881: ('0.04414364055722506',), 1376399877: ('0.04414364055722506',), 1376399814: ('0.04414364055722506',), 1376399807: ('0.04414364055722506',), 1376399803: ('0.04414364055722506',), 1376399566: ('0.04414364055722506',), 1376399541: ('0.04414364055722506',), 1376399519: ('0.04414364055722506',), 1376399494: ('0.04414364055722506',), 1376399469: ('0.04414364055722506',), 1376399420: ('0.04414364055722506',), 1376399417: ('0.04414364055722506',), 1376399415: ('0.04414364055722506',), 1376399414: ('0.04414364055722506',), 1376399413: ('0.04414364055722506',), 1376399412: ('0.04414364055722506',), 1376399377: ('0.04414364055722506',), 1376399376: ('0.04414364055722506',), 1376399374: ('0.04414364055722506',)} args : 1376399469 depend.output_id : 0 input_args_next_step : {1376400168: ('0.04414364055722506',), 1376400119: ('0.04414364055722506',), 1376400117: ('0.04414364055722506',), 1376400116: ('0.04414364055722506',), 1376400088: ('0.04414364055722506',), 1376400085: ('0.04414364055722506',), 1376400083: ('0.04414364055722506',), 1376400082: ('0.04414364055722506',), 1376400078: ('0.04414364055722506',), 1376400059: ('0.04414364055722506',), 1376400057: ('0.04414364055722506',), 1376400056: ('0.04414364055722506',), 1376400054: ('0.04414364055722506',), 1376400026: ('0.04414364055722506',), 1376400025: ('0.04414364055722506',), 1376400023: ('0.04414364055722506',), 1376400003: ('0.04414364055722506',), 1376400001: ('0.04414364055722506',), 1376399996: ('0.04414364055722506',), 1376399993: ('0.04414364055722506',), 1376399971: ('0.04414364055722506',), 1376399969: ('0.04414364055722506',), 1376399967: ('0.04414364055722506',), 1376399965: ('0.04414364055722506',), 1376399963: ('0.04414364055722506',), 1376399962: ('0.04414364055722506',), 1376399894: ('0.04414364055722506',), 1376399891: ('0.04414364055722506',), 1376399881: ('0.04414364055722506',), 1376399877: ('0.04414364055722506',), 1376399814: ('0.04414364055722506',), 1376399807: ('0.04414364055722506',), 1376399803: ('0.04414364055722506',), 1376399566: ('0.04414364055722506',), 1376399541: ('0.04414364055722506',), 1376399519: ('0.04414364055722506',), 1376399494: ('0.04414364055722506',), 1376399469: ('0.04414364055722506',), 1376399420: ()} output_args : {1376400168: ('0.04414364055722506',), 1376400119: ('0.04414364055722506',), 1376400117: ('0.04414364055722506',), 1376400116: ('0.04414364055722506',), 1376400088: ('0.04414364055722506',), 1376400085: ('0.04414364055722506',), 1376400083: ('0.04414364055722506',), 1376400082: ('0.04414364055722506',), 1376400078: ('0.04414364055722506',), 1376400059: ('0.04414364055722506',), 1376400057: ('0.04414364055722506',), 1376400056: ('0.04414364055722506',), 1376400054: ('0.04414364055722506',), 1376400026: ('0.04414364055722506',), 1376400025: ('0.04414364055722506',), 1376400023: ('0.04414364055722506',), 1376400003: ('0.04414364055722506',), 1376400001: ('0.04414364055722506',), 1376399996: ('0.04414364055722506',), 1376399993: ('0.04414364055722506',), 1376399971: ('0.04414364055722506',), 1376399969: ('0.04414364055722506',), 1376399967: ('0.04414364055722506',), 1376399965: ('0.04414364055722506',), 1376399963: ('0.04414364055722506',), 1376399962: ('0.04414364055722506',), 1376399894: ('0.04414364055722506',), 1376399891: ('0.04414364055722506',), 1376399881: ('0.04414364055722506',), 1376399877: ('0.04414364055722506',), 1376399814: ('0.04414364055722506',), 1376399807: ('0.04414364055722506',), 1376399803: ('0.04414364055722506',), 1376399566: ('0.04414364055722506',), 1376399541: ('0.04414364055722506',), 1376399519: ('0.04414364055722506',), 1376399494: ('0.04414364055722506',), 1376399469: ('0.04414364055722506',), 1376399420: ('0.04414364055722506',), 1376399417: ('0.04414364055722506',), 1376399415: ('0.04414364055722506',), 1376399414: ('0.04414364055722506',), 1376399413: ('0.04414364055722506',), 1376399412: ('0.04414364055722506',), 1376399377: ('0.04414364055722506',), 1376399376: ('0.04414364055722506',), 1376399374: ('0.04414364055722506',)} args : 1376399420 depend.output_id : 0 input_args_next_step : {1376400168: ('0.04414364055722506',), 1376400119: ('0.04414364055722506',), 1376400117: ('0.04414364055722506',), 1376400116: ('0.04414364055722506',), 1376400088: ('0.04414364055722506',), 1376400085: ('0.04414364055722506',), 1376400083: ('0.04414364055722506',), 1376400082: ('0.04414364055722506',), 1376400078: ('0.04414364055722506',), 1376400059: ('0.04414364055722506',), 1376400057: ('0.04414364055722506',), 1376400056: ('0.04414364055722506',), 1376400054: ('0.04414364055722506',), 1376400026: ('0.04414364055722506',), 1376400025: ('0.04414364055722506',), 1376400023: ('0.04414364055722506',), 1376400003: ('0.04414364055722506',), 1376400001: ('0.04414364055722506',), 1376399996: ('0.04414364055722506',), 1376399993: ('0.04414364055722506',), 1376399971: ('0.04414364055722506',), 1376399969: ('0.04414364055722506',), 1376399967: ('0.04414364055722506',), 1376399965: ('0.04414364055722506',), 1376399963: ('0.04414364055722506',), 1376399962: ('0.04414364055722506',), 1376399894: ('0.04414364055722506',), 1376399891: ('0.04414364055722506',), 1376399881: ('0.04414364055722506',), 1376399877: ('0.04414364055722506',), 1376399814: ('0.04414364055722506',), 1376399807: ('0.04414364055722506',), 1376399803: ('0.04414364055722506',), 1376399566: ('0.04414364055722506',), 1376399541: ('0.04414364055722506',), 1376399519: ('0.04414364055722506',), 1376399494: ('0.04414364055722506',), 1376399469: ('0.04414364055722506',), 1376399420: ('0.04414364055722506',), 1376399417: ()} output_args : {1376400168: ('0.04414364055722506',), 1376400119: ('0.04414364055722506',), 1376400117: ('0.04414364055722506',), 1376400116: ('0.04414364055722506',), 1376400088: ('0.04414364055722506',), 1376400085: ('0.04414364055722506',), 1376400083: ('0.04414364055722506',), 1376400082: ('0.04414364055722506',), 1376400078: ('0.04414364055722506',), 1376400059: ('0.04414364055722506',), 1376400057: ('0.04414364055722506',), 1376400056: ('0.04414364055722506',), 1376400054: ('0.04414364055722506',), 1376400026: ('0.04414364055722506',), 1376400025: ('0.04414364055722506',), 1376400023: ('0.04414364055722506',), 1376400003: ('0.04414364055722506',), 1376400001: ('0.04414364055722506',), 1376399996: ('0.04414364055722506',), 1376399993: ('0.04414364055722506',), 1376399971: ('0.04414364055722506',), 1376399969: ('0.04414364055722506',), 1376399967: ('0.04414364055722506',), 1376399965: ('0.04414364055722506',), 1376399963: ('0.04414364055722506',), 1376399962: ('0.04414364055722506',), 1376399894: ('0.04414364055722506',), 1376399891: ('0.04414364055722506',), 1376399881: ('0.04414364055722506',), 1376399877: ('0.04414364055722506',), 1376399814: ('0.04414364055722506',), 1376399807: ('0.04414364055722506',), 1376399803: ('0.04414364055722506',), 1376399566: ('0.04414364055722506',), 1376399541: ('0.04414364055722506',), 1376399519: ('0.04414364055722506',), 1376399494: ('0.04414364055722506',), 1376399469: ('0.04414364055722506',), 1376399420: ('0.04414364055722506',), 1376399417: ('0.04414364055722506',), 1376399415: ('0.04414364055722506',), 1376399414: ('0.04414364055722506',), 1376399413: ('0.04414364055722506',), 1376399412: ('0.04414364055722506',), 1376399377: ('0.04414364055722506',), 1376399376: ('0.04414364055722506',), 1376399374: ('0.04414364055722506',)} args : 1376399417 depend.output_id : 0 input_args_next_step : {1376400168: ('0.04414364055722506',), 1376400119: ('0.04414364055722506',), 1376400117: ('0.04414364055722506',), 1376400116: ('0.04414364055722506',), 1376400088: ('0.04414364055722506',), 1376400085: ('0.04414364055722506',), 1376400083: ('0.04414364055722506',), 1376400082: ('0.04414364055722506',), 1376400078: ('0.04414364055722506',), 1376400059: ('0.04414364055722506',), 1376400057: ('0.04414364055722506',), 1376400056: ('0.04414364055722506',), 1376400054: ('0.04414364055722506',), 1376400026: ('0.04414364055722506',), 1376400025: ('0.04414364055722506',), 1376400023: ('0.04414364055722506',), 1376400003: ('0.04414364055722506',), 1376400001: ('0.04414364055722506',), 1376399996: ('0.04414364055722506',), 1376399993: ('0.04414364055722506',), 1376399971: ('0.04414364055722506',), 1376399969: ('0.04414364055722506',), 1376399967: ('0.04414364055722506',), 1376399965: ('0.04414364055722506',), 1376399963: ('0.04414364055722506',), 1376399962: ('0.04414364055722506',), 1376399894: ('0.04414364055722506',), 1376399891: ('0.04414364055722506',), 1376399881: ('0.04414364055722506',), 1376399877: ('0.04414364055722506',), 1376399814: ('0.04414364055722506',), 1376399807: ('0.04414364055722506',), 1376399803: ('0.04414364055722506',), 1376399566: ('0.04414364055722506',), 1376399541: ('0.04414364055722506',), 1376399519: ('0.04414364055722506',), 1376399494: ('0.04414364055722506',), 1376399469: ('0.04414364055722506',), 1376399420: ('0.04414364055722506',), 1376399417: ('0.04414364055722506',), 1376399415: ()} output_args : {1376400168: ('0.04414364055722506',), 1376400119: ('0.04414364055722506',), 1376400117: ('0.04414364055722506',), 1376400116: ('0.04414364055722506',), 1376400088: ('0.04414364055722506',), 1376400085: ('0.04414364055722506',), 1376400083: ('0.04414364055722506',), 1376400082: ('0.04414364055722506',), 1376400078: ('0.04414364055722506',), 1376400059: ('0.04414364055722506',), 1376400057: ('0.04414364055722506',), 1376400056: ('0.04414364055722506',), 1376400054: ('0.04414364055722506',), 1376400026: ('0.04414364055722506',), 1376400025: ('0.04414364055722506',), 1376400023: ('0.04414364055722506',), 1376400003: ('0.04414364055722506',), 1376400001: ('0.04414364055722506',), 1376399996: ('0.04414364055722506',), 1376399993: ('0.04414364055722506',), 1376399971: ('0.04414364055722506',), 1376399969: ('0.04414364055722506',), 1376399967: ('0.04414364055722506',), 1376399965: ('0.04414364055722506',), 1376399963: ('0.04414364055722506',), 1376399962: ('0.04414364055722506',), 1376399894: ('0.04414364055722506',), 1376399891: ('0.04414364055722506',), 1376399881: ('0.04414364055722506',), 1376399877: ('0.04414364055722506',), 1376399814: ('0.04414364055722506',), 1376399807: ('0.04414364055722506',), 1376399803: ('0.04414364055722506',), 1376399566: ('0.04414364055722506',), 1376399541: ('0.04414364055722506',), 1376399519: ('0.04414364055722506',), 1376399494: ('0.04414364055722506',), 1376399469: ('0.04414364055722506',), 1376399420: ('0.04414364055722506',), 1376399417: ('0.04414364055722506',), 1376399415: ('0.04414364055722506',), 1376399414: ('0.04414364055722506',), 1376399413: ('0.04414364055722506',), 1376399412: ('0.04414364055722506',), 1376399377: ('0.04414364055722506',), 1376399376: ('0.04414364055722506',), 1376399374: ('0.04414364055722506',)} args : 1376399415 depend.output_id : 0 input_args_next_step : {1376400168: ('0.04414364055722506',), 1376400119: ('0.04414364055722506',), 1376400117: ('0.04414364055722506',), 1376400116: ('0.04414364055722506',), 1376400088: ('0.04414364055722506',), 1376400085: ('0.04414364055722506',), 1376400083: ('0.04414364055722506',), 1376400082: ('0.04414364055722506',), 1376400078: ('0.04414364055722506',), 1376400059: ('0.04414364055722506',), 1376400057: ('0.04414364055722506',), 1376400056: ('0.04414364055722506',), 1376400054: ('0.04414364055722506',), 1376400026: ('0.04414364055722506',), 1376400025: ('0.04414364055722506',), 1376400023: ('0.04414364055722506',), 1376400003: ('0.04414364055722506',), 1376400001: ('0.04414364055722506',), 1376399996: ('0.04414364055722506',), 1376399993: ('0.04414364055722506',), 1376399971: ('0.04414364055722506',), 1376399969: ('0.04414364055722506',), 1376399967: ('0.04414364055722506',), 1376399965: ('0.04414364055722506',), 1376399963: ('0.04414364055722506',), 1376399962: ('0.04414364055722506',), 1376399894: ('0.04414364055722506',), 1376399891: ('0.04414364055722506',), 1376399881: ('0.04414364055722506',), 1376399877: ('0.04414364055722506',), 1376399814: ('0.04414364055722506',), 1376399807: ('0.04414364055722506',), 1376399803: ('0.04414364055722506',), 1376399566: ('0.04414364055722506',), 1376399541: ('0.04414364055722506',), 1376399519: ('0.04414364055722506',), 1376399494: ('0.04414364055722506',), 1376399469: ('0.04414364055722506',), 1376399420: ('0.04414364055722506',), 1376399417: ('0.04414364055722506',), 1376399415: ('0.04414364055722506',), 1376399414: ()} output_args : {1376400168: ('0.04414364055722506',), 1376400119: ('0.04414364055722506',), 1376400117: ('0.04414364055722506',), 1376400116: ('0.04414364055722506',), 1376400088: ('0.04414364055722506',), 1376400085: ('0.04414364055722506',), 1376400083: ('0.04414364055722506',), 1376400082: ('0.04414364055722506',), 1376400078: ('0.04414364055722506',), 1376400059: ('0.04414364055722506',), 1376400057: ('0.04414364055722506',), 1376400056: ('0.04414364055722506',), 1376400054: ('0.04414364055722506',), 1376400026: ('0.04414364055722506',), 1376400025: ('0.04414364055722506',), 1376400023: ('0.04414364055722506',), 1376400003: ('0.04414364055722506',), 1376400001: ('0.04414364055722506',), 1376399996: ('0.04414364055722506',), 1376399993: ('0.04414364055722506',), 1376399971: ('0.04414364055722506',), 1376399969: ('0.04414364055722506',), 1376399967: ('0.04414364055722506',), 1376399965: ('0.04414364055722506',), 1376399963: ('0.04414364055722506',), 1376399962: ('0.04414364055722506',), 1376399894: ('0.04414364055722506',), 1376399891: ('0.04414364055722506',), 1376399881: ('0.04414364055722506',), 1376399877: ('0.04414364055722506',), 1376399814: ('0.04414364055722506',), 1376399807: ('0.04414364055722506',), 1376399803: ('0.04414364055722506',), 1376399566: ('0.04414364055722506',), 1376399541: ('0.04414364055722506',), 1376399519: ('0.04414364055722506',), 1376399494: ('0.04414364055722506',), 1376399469: ('0.04414364055722506',), 1376399420: ('0.04414364055722506',), 1376399417: ('0.04414364055722506',), 1376399415: ('0.04414364055722506',), 1376399414: ('0.04414364055722506',), 1376399413: ('0.04414364055722506',), 1376399412: ('0.04414364055722506',), 1376399377: ('0.04414364055722506',), 1376399376: ('0.04414364055722506',), 1376399374: ('0.04414364055722506',)} args : 1376399414 depend.output_id : 0 input_args_next_step : {1376400168: ('0.04414364055722506',), 1376400119: ('0.04414364055722506',), 1376400117: ('0.04414364055722506',), 1376400116: ('0.04414364055722506',), 1376400088: ('0.04414364055722506',), 1376400085: ('0.04414364055722506',), 1376400083: ('0.04414364055722506',), 1376400082: ('0.04414364055722506',), 1376400078: ('0.04414364055722506',), 1376400059: ('0.04414364055722506',), 1376400057: ('0.04414364055722506',), 1376400056: ('0.04414364055722506',), 1376400054: ('0.04414364055722506',), 1376400026: ('0.04414364055722506',), 1376400025: ('0.04414364055722506',), 1376400023: ('0.04414364055722506',), 1376400003: ('0.04414364055722506',), 1376400001: ('0.04414364055722506',), 1376399996: ('0.04414364055722506',), 1376399993: ('0.04414364055722506',), 1376399971: ('0.04414364055722506',), 1376399969: ('0.04414364055722506',), 1376399967: ('0.04414364055722506',), 1376399965: ('0.04414364055722506',), 1376399963: ('0.04414364055722506',), 1376399962: ('0.04414364055722506',), 1376399894: ('0.04414364055722506',), 1376399891: ('0.04414364055722506',), 1376399881: ('0.04414364055722506',), 1376399877: ('0.04414364055722506',), 1376399814: ('0.04414364055722506',), 1376399807: ('0.04414364055722506',), 1376399803: ('0.04414364055722506',), 1376399566: ('0.04414364055722506',), 1376399541: ('0.04414364055722506',), 1376399519: ('0.04414364055722506',), 1376399494: ('0.04414364055722506',), 1376399469: ('0.04414364055722506',), 1376399420: ('0.04414364055722506',), 1376399417: ('0.04414364055722506',), 1376399415: ('0.04414364055722506',), 1376399414: ('0.04414364055722506',), 1376399413: ()} output_args : {1376400168: ('0.04414364055722506',), 1376400119: ('0.04414364055722506',), 1376400117: ('0.04414364055722506',), 1376400116: ('0.04414364055722506',), 1376400088: ('0.04414364055722506',), 1376400085: ('0.04414364055722506',), 1376400083: ('0.04414364055722506',), 1376400082: ('0.04414364055722506',), 1376400078: ('0.04414364055722506',), 1376400059: ('0.04414364055722506',), 1376400057: ('0.04414364055722506',), 1376400056: ('0.04414364055722506',), 1376400054: ('0.04414364055722506',), 1376400026: ('0.04414364055722506',), 1376400025: ('0.04414364055722506',), 1376400023: ('0.04414364055722506',), 1376400003: ('0.04414364055722506',), 1376400001: ('0.04414364055722506',), 1376399996: ('0.04414364055722506',), 1376399993: ('0.04414364055722506',), 1376399971: ('0.04414364055722506',), 1376399969: ('0.04414364055722506',), 1376399967: ('0.04414364055722506',), 1376399965: ('0.04414364055722506',), 1376399963: ('0.04414364055722506',), 1376399962: ('0.04414364055722506',), 1376399894: ('0.04414364055722506',), 1376399891: ('0.04414364055722506',), 1376399881: ('0.04414364055722506',), 1376399877: ('0.04414364055722506',), 1376399814: ('0.04414364055722506',), 1376399807: ('0.04414364055722506',), 1376399803: ('0.04414364055722506',), 1376399566: ('0.04414364055722506',), 1376399541: ('0.04414364055722506',), 1376399519: ('0.04414364055722506',), 1376399494: ('0.04414364055722506',), 1376399469: ('0.04414364055722506',), 1376399420: ('0.04414364055722506',), 1376399417: ('0.04414364055722506',), 1376399415: ('0.04414364055722506',), 1376399414: ('0.04414364055722506',), 1376399413: ('0.04414364055722506',), 1376399412: ('0.04414364055722506',), 1376399377: ('0.04414364055722506',), 1376399376: ('0.04414364055722506',), 1376399374: ('0.04414364055722506',)} args : 1376399413 depend.output_id : 0 input_args_next_step : {1376400168: ('0.04414364055722506',), 1376400119: ('0.04414364055722506',), 1376400117: ('0.04414364055722506',), 1376400116: ('0.04414364055722506',), 1376400088: ('0.04414364055722506',), 1376400085: ('0.04414364055722506',), 1376400083: ('0.04414364055722506',), 1376400082: ('0.04414364055722506',), 1376400078: ('0.04414364055722506',), 1376400059: ('0.04414364055722506',), 1376400057: ('0.04414364055722506',), 1376400056: ('0.04414364055722506',), 1376400054: ('0.04414364055722506',), 1376400026: ('0.04414364055722506',), 1376400025: ('0.04414364055722506',), 1376400023: ('0.04414364055722506',), 1376400003: ('0.04414364055722506',), 1376400001: ('0.04414364055722506',), 1376399996: ('0.04414364055722506',), 1376399993: ('0.04414364055722506',), 1376399971: ('0.04414364055722506',), 1376399969: ('0.04414364055722506',), 1376399967: ('0.04414364055722506',), 1376399965: ('0.04414364055722506',), 1376399963: ('0.04414364055722506',), 1376399962: ('0.04414364055722506',), 1376399894: ('0.04414364055722506',), 1376399891: ('0.04414364055722506',), 1376399881: ('0.04414364055722506',), 1376399877: ('0.04414364055722506',), 1376399814: ('0.04414364055722506',), 1376399807: ('0.04414364055722506',), 1376399803: ('0.04414364055722506',), 1376399566: ('0.04414364055722506',), 1376399541: ('0.04414364055722506',), 1376399519: ('0.04414364055722506',), 1376399494: ('0.04414364055722506',), 1376399469: ('0.04414364055722506',), 1376399420: ('0.04414364055722506',), 1376399417: ('0.04414364055722506',), 1376399415: ('0.04414364055722506',), 1376399414: ('0.04414364055722506',), 1376399413: ('0.04414364055722506',), 1376399412: ()} output_args : {1376400168: ('0.04414364055722506',), 1376400119: ('0.04414364055722506',), 1376400117: ('0.04414364055722506',), 1376400116: ('0.04414364055722506',), 1376400088: ('0.04414364055722506',), 1376400085: ('0.04414364055722506',), 1376400083: ('0.04414364055722506',), 1376400082: ('0.04414364055722506',), 1376400078: ('0.04414364055722506',), 1376400059: ('0.04414364055722506',), 1376400057: ('0.04414364055722506',), 1376400056: ('0.04414364055722506',), 1376400054: ('0.04414364055722506',), 1376400026: ('0.04414364055722506',), 1376400025: ('0.04414364055722506',), 1376400023: ('0.04414364055722506',), 1376400003: ('0.04414364055722506',), 1376400001: ('0.04414364055722506',), 1376399996: ('0.04414364055722506',), 1376399993: ('0.04414364055722506',), 1376399971: ('0.04414364055722506',), 1376399969: ('0.04414364055722506',), 1376399967: ('0.04414364055722506',), 1376399965: ('0.04414364055722506',), 1376399963: ('0.04414364055722506',), 1376399962: ('0.04414364055722506',), 1376399894: ('0.04414364055722506',), 1376399891: ('0.04414364055722506',), 1376399881: ('0.04414364055722506',), 1376399877: ('0.04414364055722506',), 1376399814: ('0.04414364055722506',), 1376399807: ('0.04414364055722506',), 1376399803: ('0.04414364055722506',), 1376399566: ('0.04414364055722506',), 1376399541: ('0.04414364055722506',), 1376399519: ('0.04414364055722506',), 1376399494: ('0.04414364055722506',), 1376399469: ('0.04414364055722506',), 1376399420: ('0.04414364055722506',), 1376399417: ('0.04414364055722506',), 1376399415: ('0.04414364055722506',), 1376399414: ('0.04414364055722506',), 1376399413: ('0.04414364055722506',), 1376399412: ('0.04414364055722506',), 1376399377: ('0.04414364055722506',), 1376399376: ('0.04414364055722506',), 1376399374: ('0.04414364055722506',)} args : 1376399412 depend.output_id : 0 input_args_next_step : {1376400168: ('0.04414364055722506',), 1376400119: ('0.04414364055722506',), 1376400117: ('0.04414364055722506',), 1376400116: ('0.04414364055722506',), 1376400088: ('0.04414364055722506',), 1376400085: ('0.04414364055722506',), 1376400083: ('0.04414364055722506',), 1376400082: ('0.04414364055722506',), 1376400078: ('0.04414364055722506',), 1376400059: ('0.04414364055722506',), 1376400057: ('0.04414364055722506',), 1376400056: ('0.04414364055722506',), 1376400054: ('0.04414364055722506',), 1376400026: ('0.04414364055722506',), 1376400025: ('0.04414364055722506',), 1376400023: ('0.04414364055722506',), 1376400003: ('0.04414364055722506',), 1376400001: ('0.04414364055722506',), 1376399996: ('0.04414364055722506',), 1376399993: ('0.04414364055722506',), 1376399971: ('0.04414364055722506',), 1376399969: ('0.04414364055722506',), 1376399967: ('0.04414364055722506',), 1376399965: ('0.04414364055722506',), 1376399963: ('0.04414364055722506',), 1376399962: ('0.04414364055722506',), 1376399894: ('0.04414364055722506',), 1376399891: ('0.04414364055722506',), 1376399881: ('0.04414364055722506',), 1376399877: ('0.04414364055722506',), 1376399814: ('0.04414364055722506',), 1376399807: ('0.04414364055722506',), 1376399803: ('0.04414364055722506',), 1376399566: ('0.04414364055722506',), 1376399541: ('0.04414364055722506',), 1376399519: ('0.04414364055722506',), 1376399494: ('0.04414364055722506',), 1376399469: ('0.04414364055722506',), 1376399420: ('0.04414364055722506',), 1376399417: ('0.04414364055722506',), 1376399415: ('0.04414364055722506',), 1376399414: ('0.04414364055722506',), 1376399413: ('0.04414364055722506',), 1376399412: ('0.04414364055722506',), 1376399377: ()} output_args : {1376400168: ('0.04414364055722506',), 1376400119: ('0.04414364055722506',), 1376400117: ('0.04414364055722506',), 1376400116: ('0.04414364055722506',), 1376400088: ('0.04414364055722506',), 1376400085: ('0.04414364055722506',), 1376400083: ('0.04414364055722506',), 1376400082: ('0.04414364055722506',), 1376400078: ('0.04414364055722506',), 1376400059: ('0.04414364055722506',), 1376400057: ('0.04414364055722506',), 1376400056: ('0.04414364055722506',), 1376400054: ('0.04414364055722506',), 1376400026: ('0.04414364055722506',), 1376400025: ('0.04414364055722506',), 1376400023: ('0.04414364055722506',), 1376400003: ('0.04414364055722506',), 1376400001: ('0.04414364055722506',), 1376399996: ('0.04414364055722506',), 1376399993: ('0.04414364055722506',), 1376399971: ('0.04414364055722506',), 1376399969: ('0.04414364055722506',), 1376399967: ('0.04414364055722506',), 1376399965: ('0.04414364055722506',), 1376399963: ('0.04414364055722506',), 1376399962: ('0.04414364055722506',), 1376399894: ('0.04414364055722506',), 1376399891: ('0.04414364055722506',), 1376399881: ('0.04414364055722506',), 1376399877: ('0.04414364055722506',), 1376399814: ('0.04414364055722506',), 1376399807: ('0.04414364055722506',), 1376399803: ('0.04414364055722506',), 1376399566: ('0.04414364055722506',), 1376399541: ('0.04414364055722506',), 1376399519: ('0.04414364055722506',), 1376399494: ('0.04414364055722506',), 1376399469: ('0.04414364055722506',), 1376399420: ('0.04414364055722506',), 1376399417: ('0.04414364055722506',), 1376399415: ('0.04414364055722506',), 1376399414: ('0.04414364055722506',), 1376399413: ('0.04414364055722506',), 1376399412: ('0.04414364055722506',), 1376399377: ('0.04414364055722506',), 1376399376: ('0.04414364055722506',), 1376399374: ('0.04414364055722506',)} args : 1376399377 depend.output_id : 0 input_args_next_step : {1376400168: ('0.04414364055722506',), 1376400119: ('0.04414364055722506',), 1376400117: ('0.04414364055722506',), 1376400116: ('0.04414364055722506',), 1376400088: ('0.04414364055722506',), 1376400085: ('0.04414364055722506',), 1376400083: ('0.04414364055722506',), 1376400082: ('0.04414364055722506',), 1376400078: ('0.04414364055722506',), 1376400059: ('0.04414364055722506',), 1376400057: ('0.04414364055722506',), 1376400056: ('0.04414364055722506',), 1376400054: ('0.04414364055722506',), 1376400026: ('0.04414364055722506',), 1376400025: ('0.04414364055722506',), 1376400023: ('0.04414364055722506',), 1376400003: ('0.04414364055722506',), 1376400001: ('0.04414364055722506',), 1376399996: ('0.04414364055722506',), 1376399993: ('0.04414364055722506',), 1376399971: ('0.04414364055722506',), 1376399969: ('0.04414364055722506',), 1376399967: ('0.04414364055722506',), 1376399965: ('0.04414364055722506',), 1376399963: ('0.04414364055722506',), 1376399962: ('0.04414364055722506',), 1376399894: ('0.04414364055722506',), 1376399891: ('0.04414364055722506',), 1376399881: ('0.04414364055722506',), 1376399877: ('0.04414364055722506',), 1376399814: ('0.04414364055722506',), 1376399807: ('0.04414364055722506',), 1376399803: ('0.04414364055722506',), 1376399566: ('0.04414364055722506',), 1376399541: ('0.04414364055722506',), 1376399519: ('0.04414364055722506',), 1376399494: ('0.04414364055722506',), 1376399469: ('0.04414364055722506',), 1376399420: ('0.04414364055722506',), 1376399417: ('0.04414364055722506',), 1376399415: ('0.04414364055722506',), 1376399414: ('0.04414364055722506',), 1376399413: ('0.04414364055722506',), 1376399412: ('0.04414364055722506',), 1376399377: ('0.04414364055722506',), 1376399376: ()} output_args : {1376400168: ('0.04414364055722506',), 1376400119: ('0.04414364055722506',), 1376400117: ('0.04414364055722506',), 1376400116: ('0.04414364055722506',), 1376400088: ('0.04414364055722506',), 1376400085: ('0.04414364055722506',), 1376400083: ('0.04414364055722506',), 1376400082: ('0.04414364055722506',), 1376400078: ('0.04414364055722506',), 1376400059: ('0.04414364055722506',), 1376400057: ('0.04414364055722506',), 1376400056: ('0.04414364055722506',), 1376400054: ('0.04414364055722506',), 1376400026: ('0.04414364055722506',), 1376400025: ('0.04414364055722506',), 1376400023: ('0.04414364055722506',), 1376400003: ('0.04414364055722506',), 1376400001: ('0.04414364055722506',), 1376399996: ('0.04414364055722506',), 1376399993: ('0.04414364055722506',), 1376399971: ('0.04414364055722506',), 1376399969: ('0.04414364055722506',), 1376399967: ('0.04414364055722506',), 1376399965: ('0.04414364055722506',), 1376399963: ('0.04414364055722506',), 1376399962: ('0.04414364055722506',), 1376399894: ('0.04414364055722506',), 1376399891: ('0.04414364055722506',), 1376399881: ('0.04414364055722506',), 1376399877: ('0.04414364055722506',), 1376399814: ('0.04414364055722506',), 1376399807: ('0.04414364055722506',), 1376399803: ('0.04414364055722506',), 1376399566: ('0.04414364055722506',), 1376399541: ('0.04414364055722506',), 1376399519: ('0.04414364055722506',), 1376399494: ('0.04414364055722506',), 1376399469: ('0.04414364055722506',), 1376399420: ('0.04414364055722506',), 1376399417: ('0.04414364055722506',), 1376399415: ('0.04414364055722506',), 1376399414: ('0.04414364055722506',), 1376399413: ('0.04414364055722506',), 1376399412: ('0.04414364055722506',), 1376399377: ('0.04414364055722506',), 1376399376: ('0.04414364055722506',), 1376399374: ('0.04414364055722506',)} args : 1376399376 depend.output_id : 0 input_args_next_step : {1376400168: ('0.04414364055722506',), 1376400119: ('0.04414364055722506',), 1376400117: ('0.04414364055722506',), 1376400116: ('0.04414364055722506',), 1376400088: ('0.04414364055722506',), 1376400085: ('0.04414364055722506',), 1376400083: ('0.04414364055722506',), 1376400082: ('0.04414364055722506',), 1376400078: ('0.04414364055722506',), 1376400059: ('0.04414364055722506',), 1376400057: ('0.04414364055722506',), 1376400056: ('0.04414364055722506',), 1376400054: ('0.04414364055722506',), 1376400026: ('0.04414364055722506',), 1376400025: ('0.04414364055722506',), 1376400023: ('0.04414364055722506',), 1376400003: ('0.04414364055722506',), 1376400001: ('0.04414364055722506',), 1376399996: ('0.04414364055722506',), 1376399993: ('0.04414364055722506',), 1376399971: ('0.04414364055722506',), 1376399969: ('0.04414364055722506',), 1376399967: ('0.04414364055722506',), 1376399965: ('0.04414364055722506',), 1376399963: ('0.04414364055722506',), 1376399962: ('0.04414364055722506',), 1376399894: ('0.04414364055722506',), 1376399891: ('0.04414364055722506',), 1376399881: ('0.04414364055722506',), 1376399877: ('0.04414364055722506',), 1376399814: ('0.04414364055722506',), 1376399807: ('0.04414364055722506',), 1376399803: ('0.04414364055722506',), 1376399566: ('0.04414364055722506',), 1376399541: ('0.04414364055722506',), 1376399519: ('0.04414364055722506',), 1376399494: ('0.04414364055722506',), 1376399469: ('0.04414364055722506',), 1376399420: ('0.04414364055722506',), 1376399417: ('0.04414364055722506',), 1376399415: ('0.04414364055722506',), 1376399414: ('0.04414364055722506',), 1376399413: ('0.04414364055722506',), 1376399412: ('0.04414364055722506',), 1376399377: ('0.04414364055722506',), 1376399376: ('0.04414364055722506',), 1376399374: ()} output_args : {1376400168: ('0.04414364055722506',), 1376400119: ('0.04414364055722506',), 1376400117: ('0.04414364055722506',), 1376400116: ('0.04414364055722506',), 1376400088: ('0.04414364055722506',), 1376400085: ('0.04414364055722506',), 1376400083: ('0.04414364055722506',), 1376400082: ('0.04414364055722506',), 1376400078: ('0.04414364055722506',), 1376400059: ('0.04414364055722506',), 1376400057: ('0.04414364055722506',), 1376400056: ('0.04414364055722506',), 1376400054: ('0.04414364055722506',), 1376400026: ('0.04414364055722506',), 1376400025: ('0.04414364055722506',), 1376400023: ('0.04414364055722506',), 1376400003: ('0.04414364055722506',), 1376400001: ('0.04414364055722506',), 1376399996: ('0.04414364055722506',), 1376399993: ('0.04414364055722506',), 1376399971: ('0.04414364055722506',), 1376399969: ('0.04414364055722506',), 1376399967: ('0.04414364055722506',), 1376399965: ('0.04414364055722506',), 1376399963: ('0.04414364055722506',), 1376399962: ('0.04414364055722506',), 1376399894: ('0.04414364055722506',), 1376399891: ('0.04414364055722506',), 1376399881: ('0.04414364055722506',), 1376399877: ('0.04414364055722506',), 1376399814: ('0.04414364055722506',), 1376399807: ('0.04414364055722506',), 1376399803: ('0.04414364055722506',), 1376399566: ('0.04414364055722506',), 1376399541: ('0.04414364055722506',), 1376399519: ('0.04414364055722506',), 1376399494: ('0.04414364055722506',), 1376399469: ('0.04414364055722506',), 1376399420: ('0.04414364055722506',), 1376399417: ('0.04414364055722506',), 1376399415: ('0.04414364055722506',), 1376399414: ('0.04414364055722506',), 1376399413: ('0.04414364055722506',), 1376399412: ('0.04414364055722506',), 1376399377: ('0.04414364055722506',), 1376399376: ('0.04414364055722506',), 1376399374: ('0.04414364055722506',)} args : 1376399374 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 : {25867258: [{'Carton_gris': 25867274, 'papier': 25867275, 'kraft': 25867276, 'Carton_brun': 25867277, 'mal_croppe': 25867278, 'flou': 25867279, 'autre_refus': 25867280, 'environnement': 25867281, 'plastique': 25867282, 'Teint_Dans_La_Masse': 25867283, 'cartonnette': 25867284, 'metal': 25867286}]} input_args_next_step : {1376400168: ('0.04414364055722506',), 1376400119: ('0.04414364055722506',), 1376400117: ('0.04414364055722506',), 1376400116: ('0.04414364055722506',), 1376400088: ('0.04414364055722506',), 1376400085: ('0.04414364055722506',), 1376400083: ('0.04414364055722506',), 1376400082: ('0.04414364055722506',), 1376400078: ('0.04414364055722506',), 1376400059: ('0.04414364055722506',), 1376400057: ('0.04414364055722506',), 1376400056: ('0.04414364055722506',), 1376400054: ('0.04414364055722506',), 1376400026: ('0.04414364055722506',), 1376400025: ('0.04414364055722506',), 1376400023: ('0.04414364055722506',), 1376400003: ('0.04414364055722506',), 1376400001: ('0.04414364055722506',), 1376399996: ('0.04414364055722506',), 1376399993: ('0.04414364055722506',), 1376399971: ('0.04414364055722506',), 1376399969: ('0.04414364055722506',), 1376399967: ('0.04414364055722506',), 1376399965: ('0.04414364055722506',), 1376399963: ('0.04414364055722506',), 1376399962: ('0.04414364055722506',), 1376399894: ('0.04414364055722506',), 1376399891: ('0.04414364055722506',), 1376399881: ('0.04414364055722506',), 1376399877: ('0.04414364055722506',), 1376399814: ('0.04414364055722506',), 1376399807: ('0.04414364055722506',), 1376399803: ('0.04414364055722506',), 1376399566: ('0.04414364055722506',), 1376399541: ('0.04414364055722506',), 1376399519: ('0.04414364055722506',), 1376399494: ('0.04414364055722506',), 1376399469: ('0.04414364055722506',), 1376399420: ('0.04414364055722506',), 1376399417: ('0.04414364055722506',), 1376399415: ('0.04414364055722506',), 1376399414: ('0.04414364055722506',), 1376399413: ('0.04414364055722506',), 1376399412: ('0.04414364055722506',), 1376399377: ('0.04414364055722506',), 1376399376: ('0.04414364055722506',), 1376399374: ('0.04414364055722506',), 25867258: ()} output_args : {25867258: [{'Carton_gris': 25867274, 'papier': 25867275, 'kraft': 25867276, 'Carton_brun': 25867277, 'mal_croppe': 25867278, 'flou': 25867279, 'autre_refus': 25867280, 'environnement': 25867281, 'plastique': 25867282, 'Teint_Dans_La_Masse': 25867283, 'cartonnette': 25867284, 'metal': 25867286}]} args : 25867258 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 :48, first value : ('0.04414364055722506',) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (25867258) 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 (1376400168,1376400119,1376400117,1376400116,1376400088,1376400085,1376400083,1376400082,1376400078,1376400059,1376400057,1376400056,1376400054,1376400026,1376400025,1376400023,1376400003,1376400001,1376399996,1376399993,1376399971,1376399969,1376399967,1376399965,1376399963,1376399962,1376399894,1376399891,1376399881,1376399877,1376399814,1376399807,1376399803,1376399566,1376399541,1376399519,1376399494,1376399469,1376399420,1376399417,1376399415,1376399414,1376399413,1376399412,1376399377,1376399376,1376399374) Found this number of photos: 47 ##### Call download_photos : nb_thread : 5 begin to download photo : 1376399374 begin to download photo : 1376399494 begin to download photo : 1376399894 begin to download photo : 1376400003 begin to download photo : 1376400083 download finish for photo 1376399374 begin to download photo : 1376399376 download finish for photo 1376399494 begin to download photo : 1376399519 download finish for photo 1376400003 begin to download photo : 1376400023 download finish for photo 1376400083 begin to download photo : 1376400085 download finish for photo 1376399894 begin to download photo : 1376399962 download finish for photo 1376399376 begin to download photo : 1376399377 download finish for photo 1376399519 begin to download photo : 1376399541 download finish for photo 1376400023 begin to download photo : 1376400025 download finish for photo 1376399962 begin to download photo : 1376399963 download finish for photo 1376399377 begin to download photo : 1376399412 download finish for photo 1376399541 begin to download photo : 1376399566 download finish for photo 1376399963 begin to download photo : 1376399965 download finish for photo 1376399412 begin to download photo : 1376399413 download finish for photo 1376400025 begin to download photo : 1376400026 download finish for photo 1376399413 begin to download photo : 1376399414 download finish for photo 1376399566 begin to download photo : 1376399803 download finish for photo 1376399965 begin to download photo : 1376399967 download finish for photo 1376400026 begin to download photo : 1376400054 download finish for photo 1376399803 begin to download photo : 1376399807 download finish for photo 1376399967 begin to download photo : 1376399969 download finish for photo 1376399414 begin to download photo : 1376399415 download finish for photo 1376399807 begin to download photo : 1376399814 download finish for photo 1376400054 begin to download photo : 1376400056 download finish for photo 1376399969 begin to download photo : 1376399971 download finish for photo 1376399814 begin to download photo : 1376399877 download finish for photo 1376399971 begin to download photo : 1376399993 download finish for photo 1376400056 begin to download photo : 1376400057 download finish for photo 1376399415 begin to download photo : 1376399417 download finish for photo 1376399877 begin to download photo : 1376399881 download finish for photo 1376399417 begin to download photo : 1376399420 download finish for photo 1376399993 begin to download photo : 1376399996 download finish for photo 1376400057 begin to download photo : 1376400059 download finish for photo 1376400085 begin to download photo : 1376400088 download finish for photo 1376399881 begin to download photo : 1376399891 download finish for photo 1376399420 begin to download photo : 1376399469 download finish for photo 1376400088 begin to download photo : 1376400116 download finish for photo 1376399996 begin to download photo : 1376400001 download finish for photo 1376400059 begin to download photo : 1376400078 download finish for photo 1376399891 download finish for photo 1376399469 download finish for photo 1376400001 download finish for photo 1376400116 begin to download photo : 1376400117 download finish for photo 1376400078 begin to download photo : 1376400082 download finish for photo 1376400117 begin to download photo : 1376400119 download finish for photo 1376400082 download finish for photo 1376400119 begin to download photo : 1376400168 download finish for photo 1376400168 we have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB ##### After download_photos length of list_filenames : 47 ; length of list_pids : 47 ; length of list_args : 47 results_Auto_P25867258_12-08-2025_05_42_32.pdf 25867276 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=25867276 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1376400881: '1754894737_1975007_1376399971_d818aa8d92bfbfc3d95a657c4d7641f2_rle_crop_3910821914_0.png'} change filename to text .imagette258672761754970152/ imagette258672761754970152/1754894737_1975007_1376399971_d818aa8d92bfbfc3d95a657c4d7641f2_rle_crop_3910821914_0.png.png imagette258672781754970152/ imagette258672791754970152/ wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/79acc34a43e37d9d419faf003bacf326_9614202.png imagette258672761754970152 25867278 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=25867278 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette258672781754970152 25867279 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=25867279 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette258672791754970152 25867280 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=25867280 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1376400107: '1754893767_1191859_1376399891_d77712e77007282e888828f280d137c0_rle_crop_3910811854_0.png', 1376400108: '1754893767_1191859_1376399891_d77712e77007282e888828f280d137c0_rle_crop_3910811853_0.png', 1376400109: '1754893767_1191859_1376399881_ccc9d70affbb6978b647e14350b81b2d_rle_crop_3910811867_0.png', 1376405697: '1754897366_1310791_1376400057_ca8fd4acb02bd8d7454f4e953c2a3846_rle_crop_3910845145_0.png', 1376405698: '1754897366_1310791_1376400056_942725789ea9be9f95a09e7ecffaee5f_rle_crop_3910845161_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/ec112c4be17f05f29f525f4a2687c594_45215185.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/d1f5fc9331f21d876c3b358e74d22410_72133467.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/05c0dcc0755ba5baac33dd3d3726eced_67636435.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/20be95cc44e16c93925c744b124fcd20_49299760.png change filename to text .imagette258672801754970152/ imagette258672801754970152/1754893767_1191859_1376399891_d77712e77007282e888828f280d137c0_rle_crop_3910811853_0.png.png imagette258672801754970152/1754893767_1191859_1376399891_d77712e77007282e888828f280d137c0_rle_crop_3910811854_0.png.png imagette258672801754970152/1754893767_1191859_1376399881_ccc9d70affbb6978b647e14350b81b2d_rle_crop_3910811867_0.png.png imagette258672801754970152/1754897366_1310791_1376400056_942725789ea9be9f95a09e7ecffaee5f_rle_crop_3910845161_0.png.png imagette258672801754970152/1754897366_1310791_1376400057_ca8fd4acb02bd8d7454f4e953c2a3846_rle_crop_3910845145_0.png.png wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/177ce4008422d71c6f97d72f7f51aeba_93186755.png imagette258672801754970152 25867282 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=25867282 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1376400880: '1754894737_1975007_1376399971_d818aa8d92bfbfc3d95a657c4d7641f2_rle_crop_3910821911_0.png', 1376405308: '1754896467_1278710_1376400083_d476a5fad350e25f5ebffe587ea55687_rle_crop_3910843829_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/2c2a77106b8bdfa703cb2e086c3eec02_63960396.png change filename to text .imagette258672821754970153/ imagette258672821754970153/1754894737_1975007_1376399971_d818aa8d92bfbfc3d95a657c4d7641f2_rle_crop_3910821911_0.png.png imagette258672821754970153/1754896467_1278710_1376400083_d476a5fad350e25f5ebffe587ea55687_rle_crop_3910843829_0.png.png wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/2ef1545d27628744c72aa0b16712a214_8488900.png imagette258672821754970153 25867284 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=25867284 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1376400111: '1754893767_1191859_1376399891_d77712e77007282e888828f280d137c0_rle_crop_3910811857_0.png', 1376400112: '1754893767_1191859_1376399881_ccc9d70affbb6978b647e14350b81b2d_rle_crop_3910811870_0.png', 1376402622: '1754895566_1250381_1376399894_c1d6f64dc7ecea30afa9a2393b2b9302_rle_crop_3910835742_0.png', 1376405305: '1754896467_1278710_1376400078_4ee29dbfa9acaec2a4df72e9440b1bb1_rle_crop_3910843857_0.png', 1376405700: '1754897366_1310791_1376400057_ca8fd4acb02bd8d7454f4e953c2a3846_rle_crop_3910845143_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/35755eb1b6c98604e4f58083c40e196c_10941540.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/bcbd60f86574fd982e49c8d19ad917b7_3895344.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/361cb532ca69a150d109e897eaabc10a_21452947.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/459b499cf2597cd9d3bee340d5443a1b_58482406.png change filename to text .imagette258672841754970153/ imagette258672841754970153/1754896467_1278710_1376400078_4ee29dbfa9acaec2a4df72e9440b1bb1_rle_crop_3910843857_0.png.png imagette258672841754970153/1754895566_1250381_1376399894_c1d6f64dc7ecea30afa9a2393b2b9302_rle_crop_3910835742_0.png.png imagette258672841754970153/1754897366_1310791_1376400057_ca8fd4acb02bd8d7454f4e953c2a3846_rle_crop_3910845143_0.png.png imagette258672841754970153/1754893767_1191859_1376399891_d77712e77007282e888828f280d137c0_rle_crop_3910811857_0.png.png imagette258672841754970153/1754893767_1191859_1376399881_ccc9d70affbb6978b647e14350b81b2d_rle_crop_3910811870_0.png.png imagette258672861754970154/ wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/bfee0490417ed644119e0b34fe7e8205_12098658.png imagette258672841754970153 25867286 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=25867286 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette258672861754970154 25867274 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=25867274 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1376400110: '1754893767_1191859_1376399877_bbf81e4e6edab98e34bd990bc8d98826_rle_crop_3910811881_0.png', 1376402615: '1754895566_1250381_1376399807_e16ab174d381e3848e1cb4b9b25db903_rle_crop_3910835756_0.png', 1376405304: '1754896467_1278710_1376400083_d476a5fad350e25f5ebffe587ea55687_rle_crop_3910843823_0.png', 1376405699: '1754897366_1310791_1376400057_ca8fd4acb02bd8d7454f4e953c2a3846_rle_crop_3910845142_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/05de9b872ea8780b65e8865ec16e896f_74000208.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/27f604adab6b23177aa47db851905da4_37050679.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/7626d99edf851eeb731ee9f2dc50d813_2084141.png change filename to text .imagette258672741754970154/ imagette258672741754970154/1754893767_1191859_1376399877_bbf81e4e6edab98e34bd990bc8d98826_rle_crop_3910811881_0.png.png imagette258672741754970154/1754896467_1278710_1376400083_d476a5fad350e25f5ebffe587ea55687_rle_crop_3910843823_0.png.png imagette258672741754970154/1754895566_1250381_1376399807_e16ab174d381e3848e1cb4b9b25db903_rle_crop_3910835756_0.png.png imagette258672741754970154/1754897366_1310791_1376400057_ca8fd4acb02bd8d7454f4e953c2a3846_rle_crop_3910845142_0.png.png wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/f89ec2b7cacef9e9154cfe14b060e0c0_83991597.png imagette258672741754970154 25867277 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=25867277 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1376400113: '1754893767_1191859_1376399891_d77712e77007282e888828f280d137c0_rle_crop_3910811855_0.png', 1376400879: '1754894737_1975007_1376399971_d818aa8d92bfbfc3d95a657c4d7641f2_rle_crop_3910821918_0.png', 1376405306: '1754896467_1278710_1376400085_8a91d303dbde69686cd4403057624640_rle_crop_3910843811_0.png', 1376405307: '1754896467_1278710_1376400083_d476a5fad350e25f5ebffe587ea55687_rle_crop_3910843826_0.png', 1376405702: '1754897366_1310791_1376400088_24568386a07dfa89546823ec3bbeec57_rle_crop_3910845131_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/311aa7802b3a8e39591efbc4f033012e_10961759.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/e93d9344b27c60b30a4fb363d0024ece_93643919.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/3d9aacbf4c11ecdc01ec6ec7a500a078_75902462.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/5a5fd1236f92221a74ff9ce301f11f0a_45540873.png change filename to text .imagette258672771754970154/ imagette258672771754970154/1754893767_1191859_1376399891_d77712e77007282e888828f280d137c0_rle_crop_3910811855_0.png.png imagette258672771754970154/1754894737_1975007_1376399971_d818aa8d92bfbfc3d95a657c4d7641f2_rle_crop_3910821918_0.png.png imagette258672771754970154/1754897366_1310791_1376400088_24568386a07dfa89546823ec3bbeec57_rle_crop_3910845131_0.png.png imagette258672771754970154/1754896467_1278710_1376400083_d476a5fad350e25f5ebffe587ea55687_rle_crop_3910843826_0.png.png imagette258672771754970154/1754896467_1278710_1376400085_8a91d303dbde69686cd4403057624640_rle_crop_3910843811_0.png.png wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/2fcd3f45807094836231abc62335eb9c_84692743.png imagette258672771754970154 25867283 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=25867283 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1376400308: '1754894067_1199530_1376400116_961b469867af378aa2702396149fe263_rle_crop_3910812951_0.png', 1376405295: '1754896467_1278710_1376400119_41ef5eb00280b71ac03ed68d7c13caea_rle_crop_3910843800_0.png', 1376405296: '1754896467_1278710_1376400119_41ef5eb00280b71ac03ed68d7c13caea_rle_crop_3910843797_0.png', 1376405297: '1754896467_1278710_1376400085_8a91d303dbde69686cd4403057624640_rle_crop_3910843818_0.png', 1376405298: '1754896467_1278710_1376400085_8a91d303dbde69686cd4403057624640_rle_crop_3910843819_0.png', 1376405299: '1754896467_1278710_1376400083_d476a5fad350e25f5ebffe587ea55687_rle_crop_3910843839_0.png', 1376405300: '1754896467_1278710_1376400078_4ee29dbfa9acaec2a4df72e9440b1bb1_rle_crop_3910843867_0.png', 1376405301: '1754896467_1278710_1376400078_4ee29dbfa9acaec2a4df72e9440b1bb1_rle_crop_3910843863_0.png', 1376405696: '1754897366_1310791_1376400057_ca8fd4acb02bd8d7454f4e953c2a3846_rle_crop_3910845148_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/aa7179599a3f25b9ce7481388c6d2276_70241284.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/107064ad6b11daf41f8af184f26d975b_75231446.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/a7b0d7c462c5ffbbea7b48dc05a2ffaf_65548869.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/c74ba25a7f6f4ecb72fd781c7ce92573_40573070.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/b13a354c826a3bd3091518704ca476e3_23682664.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/9ca5afa1700ef4d8473ec55731ff4a7d_86590065.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/53514ddcf999d49a355cc364dc4eca18_51042959.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/e648ec0ec9d1c4a57fb7b14f2c8232e5_12281750.png change filename to text .imagette258672831754970154/ imagette258672831754970154/1754896467_1278710_1376400085_8a91d303dbde69686cd4403057624640_rle_crop_3910843818_0.png.png imagette258672831754970154/1754896467_1278710_1376400078_4ee29dbfa9acaec2a4df72e9440b1bb1_rle_crop_3910843863_0.png.png imagette258672831754970154/1754896467_1278710_1376400083_d476a5fad350e25f5ebffe587ea55687_rle_crop_3910843839_0.png.png imagette258672831754970154/1754896467_1278710_1376400119_41ef5eb00280b71ac03ed68d7c13caea_rle_crop_3910843800_0.png.png imagette258672831754970154/1754894067_1199530_1376400116_961b469867af378aa2702396149fe263_rle_crop_3910812951_0.png.png imagette258672831754970154/1754896467_1278710_1376400119_41ef5eb00280b71ac03ed68d7c13caea_rle_crop_3910843797_0.png.png imagette258672831754970154/1754897366_1310791_1376400057_ca8fd4acb02bd8d7454f4e953c2a3846_rle_crop_3910845148_0.png.png imagette258672831754970154/1754896467_1278710_1376400078_4ee29dbfa9acaec2a4df72e9440b1bb1_rle_crop_3910843867_0.png.png imagette258672831754970154/1754896467_1278710_1376400085_8a91d303dbde69686cd4403057624640_rle_crop_3910843819_0.png.png wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/c92a92174fd80ffd50bd560187285b8b_81996451.png imagette258672831754970154 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=25867258 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://www.fotonower.com/velours/25867287,25867288,25867289,25867290,25867291,25867292,25867293,25867294,25867295,25867296,25867297,25867298?tags=Carton_gris,papier,kraft,Carton_brun,mal_croppe,flou,autre_refus,environnement,plastique,Teint_Dans_La_Masse,cartonnette,metal your option no_mail is active, we will not send the real mail to your client args[1376400168] : ('0.04414364055722506',) no score found for photo 1376400168 We are sending mail with results at report@fotonower.com args[1376400119] : ('0.04414364055722506',) no score found for photo 1376400119 We are sending mail with results at report@fotonower.com args[1376400117] : ('0.04414364055722506',) no score found for photo 1376400117 We are sending mail with results at report@fotonower.com args[1376400116] : ('0.04414364055722506',) no score found for photo 1376400116 We are sending mail with results at report@fotonower.com args[1376400088] : ('0.04414364055722506',) no score found for photo 1376400088 We are sending mail with results at report@fotonower.com args[1376400085] : ('0.04414364055722506',) no score found for photo 1376400085 We are sending mail with results at report@fotonower.com args[1376400083] : ('0.04414364055722506',) no score found for photo 1376400083 We are sending mail with results at report@fotonower.com args[1376400082] : ('0.04414364055722506',) no score found for photo 1376400082 We are sending mail with results at report@fotonower.com args[1376400078] : ('0.04414364055722506',) no score found for photo 1376400078 We are sending mail with results at report@fotonower.com args[1376400059] : ('0.04414364055722506',) no score found for photo 1376400059 We are sending mail with results at report@fotonower.com args[1376400057] : ('0.04414364055722506',) no score found for photo 1376400057 We are sending mail with results at report@fotonower.com args[1376400056] : ('0.04414364055722506',) no score found for photo 1376400056 We are sending mail with results at report@fotonower.com args[1376400054] : ('0.04414364055722506',) no score found for photo 1376400054 We are sending mail with results at report@fotonower.com args[1376400026] : ('0.04414364055722506',) no score found for photo 1376400026 We are sending mail with results at report@fotonower.com args[1376400025] : ('0.04414364055722506',) no score found for photo 1376400025 We are sending mail with results at report@fotonower.com args[1376400023] : ('0.04414364055722506',) no score found for photo 1376400023 We are sending mail with results at report@fotonower.com args[1376400003] : ('0.04414364055722506',) no score found for photo 1376400003 We are sending mail with results at report@fotonower.com args[1376400001] : ('0.04414364055722506',) no score found for photo 1376400001 We are sending mail with results at report@fotonower.com args[1376399996] : ('0.04414364055722506',) no score found for photo 1376399996 We are sending mail with results at report@fotonower.com args[1376399993] : ('0.04414364055722506',) no score found for photo 1376399993 We are sending mail with results at report@fotonower.com args[1376399971] : ('0.04414364055722506',) no score found for photo 1376399971 We are sending mail with results at report@fotonower.com args[1376399969] : ('0.04414364055722506',) no score found for photo 1376399969 We are sending mail with results at report@fotonower.com args[1376399967] : ('0.04414364055722506',) no score found for photo 1376399967 We are sending mail with results at report@fotonower.com args[1376399965] : ('0.04414364055722506',) no score found for photo 1376399965 We are sending mail with results at report@fotonower.com args[1376399963] : ('0.04414364055722506',) no score found for photo 1376399963 We are sending mail with results at report@fotonower.com args[1376399962] : ('0.04414364055722506',) no score found for photo 1376399962 We are sending mail with results at report@fotonower.com args[1376399894] : ('0.04414364055722506',) no score found for photo 1376399894 We are sending mail with results at report@fotonower.com args[1376399891] : ('0.04414364055722506',) no score found for photo 1376399891 We are sending mail with results at report@fotonower.com args[1376399881] : ('0.04414364055722506',) no score found for photo 1376399881 We are sending mail with results at report@fotonower.com args[1376399877] : ('0.04414364055722506',) no score found for photo 1376399877 We are sending mail with results at report@fotonower.com args[1376399814] : ('0.04414364055722506',) no score found for photo 1376399814 We are sending mail with results at report@fotonower.com args[1376399807] : ('0.04414364055722506',) no score found for photo 1376399807 We are sending mail with results at report@fotonower.com args[1376399803] : ('0.04414364055722506',) no score found for photo 1376399803 We are sending mail with results at report@fotonower.com args[1376399566] : ('0.04414364055722506',) no score found for photo 1376399566 We are sending mail with results at report@fotonower.com args[1376399541] : ('0.04414364055722506',) no score found for photo 1376399541 We are sending mail with results at report@fotonower.com args[1376399519] : ('0.04414364055722506',) no score found for photo 1376399519 We are sending mail with results at report@fotonower.com args[1376399494] : ('0.04414364055722506',) no score found for photo 1376399494 We are sending mail with results at report@fotonower.com args[1376399469] : ('0.04414364055722506',) no score found for photo 1376399469 We are sending mail with results at report@fotonower.com args[1376399420] : ('0.04414364055722506',) no score found for photo 1376399420 We are sending mail with results at report@fotonower.com args[1376399417] : ('0.04414364055722506',) no score found for photo 1376399417 We are sending mail with results at report@fotonower.com args[1376399415] : ('0.04414364055722506',) no score found for photo 1376399415 We are sending mail with results at report@fotonower.com args[1376399414] : ('0.04414364055722506',) no score found for photo 1376399414 We are sending mail with results at report@fotonower.com args[1376399413] : ('0.04414364055722506',) no score found for photo 1376399413 We are sending mail with results at report@fotonower.com args[1376399412] : ('0.04414364055722506',) no score found for photo 1376399412 We are sending mail with results at report@fotonower.com args[1376399377] : ('0.04414364055722506',) no score found for photo 1376399377 We are sending mail with results at report@fotonower.com args[1376399376] : ('0.04414364055722506',) no score found for photo 1376399376 We are sending mail with results at report@fotonower.com args[1376399374] : ('0.04414364055722506',) no score found for photo 1376399374 We are sending mail with results at report@fotonower.com refus_total : 0.04414364055722506 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=25867258 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_P25867258_12-08-2025_05_42_32.pdf results_Auto_P25867258_12-08-2025_05_42_32.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25867258_12-08-2025_05_42_32.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','25867258','results_Auto_P25867258_12-08-2025_05_42_32.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25867258_12-08-2025_05_42_32.pdf','pdf','','0.4','0.04414364055722506') After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([25867258]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1376400168, 1376400119, 1376400117, 1376400116, 1376400088, 1376400085, 1376400083, 1376400082, 1376400078, 1376400059, 1376400057, 1376400056, 1376400054, 1376400026, 1376400025, 1376400023, 1376400003, 1376400001, 1376399996, 1376399993, 1376399971, 1376399969, 1376399967, 1376399965, 1376399963, 1376399962, 1376399894, 1376399891, 1376399881, 1376399877, 1376399814, 1376399807, 1376399803, 1376399566, 1376399541, 1376399519, 1376399494, 1376399469, 1376399420, 1376399417, 1376399415, 1376399414, 1376399413, 1376399412, 1376399377, 1376399376, 1376399374] map_info['map_portfolio_photo'] : {25867258: [1376400168, 1376400119, 1376400117, 1376400116, 1376400088, 1376400085, 1376400083, 1376400082, 1376400078, 1376400059, 1376400057, 1376400056, 1376400054, 1376400026, 1376400025, 1376400023, 1376400003, 1376400001, 1376399996, 1376399993, 1376399971, 1376399969, 1376399967, 1376399965, 1376399963, 1376399962, 1376399894, 1376399891, 1376399881, 1376399877, 1376399814, 1376399807, 1376399803, 1376399566, 1376399541, 1376399519, 1376399494, 1376399469, 1376399420, 1376399417, 1376399415, 1376399414, 1376399413, 1376399412, 1376399377, 1376399376, 1376399374]} final : False mtd_id 4302 list_pids : [1376400168, 1376400119, 1376400117, 1376400116, 1376400088, 1376400085, 1376400083, 1376400082, 1376400078, 1376400059, 1376400057, 1376400056, 1376400054, 1376400026, 1376400025, 1376400023, 1376400003, 1376400001, 1376399996, 1376399993, 1376399971, 1376399969, 1376399967, 1376399965, 1376399963, 1376399962, 1376399894, 1376399891, 1376399881, 1376399877, 1376399814, 1376399807, 1376399803, 1376399566, 1376399541, 1376399519, 1376399494, 1376399469, 1376399420, 1376399417, 1376399415, 1376399414, 1376399413, 1376399412, 1376399377, 1376399376, 1376399374] 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, '3507433') ('4302', '25867258', '1376400168', None, None, None, None, None, '3507433') ('4302', None, None, None, None, None, None, None, '3507433') ('4302', '25867258', '1376400119', None, None, None, None, None, '3507433') ('4302', None, None, None, None, None, None, None, '3507433') ('4302', '25867258', '1376400117', None, None, None, None, None, '3507433') ('4302', None, None, None, None, None, None, None, '3507433') ('4302', '25867258', '1376400116', None, None, None, None, None, '3507433') ('4302', None, None, None, None, None, None, None, '3507433') ('4302', '25867258', '1376400088', None, None, None, None, None, '3507433') ('4302', None, None, None, None, None, None, None, '3507433') ('4302', '25867258', '1376400085', None, None, None, None, None, '3507433') ('4302', None, None, None, None, None, None, None, '3507433') ('4302', '25867258', '1376400083', None, None, None, None, None, '3507433') ('4302', None, None, None, None, None, None, None, '3507433') ('4302', '25867258', '1376400082', None, None, None, None, None, '3507433') ('4302', None, None, None, None, None, None, None, '3507433') ('4302', '25867258', '1376400078', None, None, None, None, None, '3507433') ('4302', None, None, None, None, None, None, None, '3507433') ('4302', '25867258', '1376400059', None, None, None, None, None, '3507433') ('4302', None, None, None, None, None, None, None, '3507433') ('4302', '25867258', '1376400057', None, None, None, None, None, '3507433') ('4302', None, None, None, None, None, None, None, '3507433') ('4302', '25867258', '1376400056', None, None, None, None, None, '3507433') ('4302', None, None, None, None, None, None, None, '3507433') ('4302', '25867258', '1376400054', None, None, None, None, None, '3507433') ('4302', None, None, None, None, None, None, None, '3507433') ('4302', '25867258', '1376400026', None, None, None, None, None, '3507433') ('4302', None, None, None, None, None, None, None, '3507433') ('4302', '25867258', '1376400025', None, None, None, None, None, '3507433') ('4302', None, None, None, None, None, None, None, '3507433') ('4302', '25867258', '1376400023', None, None, None, None, None, '3507433') ('4302', None, None, None, None, None, None, None, '3507433') ('4302', '25867258', '1376400003', None, None, None, None, None, '3507433') ('4302', None, None, None, None, None, None, None, '3507433') ('4302', '25867258', '1376400001', None, None, None, None, None, '3507433') ('4302', None, None, None, None, None, None, None, '3507433') ('4302', '25867258', '1376399996', None, None, None, None, None, '3507433') ('4302', None, None, None, None, None, None, None, '3507433') ('4302', '25867258', '1376399993', None, None, None, None, None, '3507433') ('4302', None, None, None, None, None, None, None, '3507433') ('4302', '25867258', '1376399971', None, None, None, None, None, '3507433') ('4302', None, None, None, None, None, None, None, '3507433') ('4302', '25867258', '1376399969', None, None, None, None, None, '3507433') ('4302', None, None, None, None, None, None, None, '3507433') ('4302', '25867258', '1376399967', None, None, None, None, None, '3507433') ('4302', None, None, None, None, None, None, None, '3507433') ('4302', '25867258', '1376399965', None, None, None, None, None, '3507433') ('4302', None, None, None, None, None, None, None, '3507433') ('4302', '25867258', '1376399963', None, None, None, None, None, '3507433') ('4302', None, None, None, None, None, None, None, '3507433') ('4302', '25867258', '1376399962', None, None, None, None, None, '3507433') ('4302', None, None, None, None, None, None, None, '3507433') ('4302', '25867258', '1376399894', None, None, None, None, None, '3507433') ('4302', None, None, None, None, None, None, None, '3507433') ('4302', '25867258', '1376399891', None, None, None, None, None, '3507433') ('4302', None, None, None, None, None, None, None, '3507433') ('4302', '25867258', '1376399881', None, None, None, None, None, '3507433') ('4302', None, None, None, None, None, None, None, '3507433') ('4302', '25867258', '1376399877', None, None, None, None, None, '3507433') ('4302', None, None, None, None, None, None, None, '3507433') ('4302', '25867258', '1376399814', None, None, None, None, None, '3507433') ('4302', None, None, None, None, None, None, None, '3507433') ('4302', '25867258', '1376399807', None, None, None, None, None, '3507433') ('4302', None, None, None, None, None, None, None, '3507433') ('4302', '25867258', '1376399803', None, None, None, None, None, '3507433') ('4302', None, None, None, None, None, None, None, '3507433') ('4302', '25867258', '1376399566', None, None, None, None, None, '3507433') ('4302', None, None, None, None, None, None, None, '3507433') ('4302', '25867258', '1376399541', None, None, None, None, None, '3507433') ('4302', None, None, None, None, None, None, None, '3507433') ('4302', '25867258', '1376399519', None, None, None, None, None, '3507433') ('4302', None, None, None, None, None, None, None, '3507433') ('4302', '25867258', '1376399494', None, None, None, None, None, '3507433') ('4302', None, None, None, None, None, None, None, '3507433') ('4302', '25867258', '1376399469', None, None, None, None, None, '3507433') ('4302', None, None, None, None, None, None, None, '3507433') ('4302', '25867258', '1376399420', None, None, None, None, None, '3507433') ('4302', None, None, None, None, None, None, None, '3507433') ('4302', '25867258', '1376399417', None, None, None, None, None, '3507433') ('4302', None, None, None, None, None, None, None, '3507433') ('4302', '25867258', '1376399415', None, None, None, None, None, '3507433') ('4302', None, None, None, None, None, None, None, '3507433') ('4302', '25867258', '1376399414', None, None, None, None, None, '3507433') ('4302', None, None, None, None, None, None, None, '3507433') ('4302', '25867258', '1376399413', None, None, None, None, None, '3507433') ('4302', None, None, None, None, None, None, None, '3507433') ('4302', '25867258', '1376399412', None, None, None, None, None, '3507433') ('4302', None, None, None, None, None, None, None, '3507433') ('4302', '25867258', '1376399377', None, None, None, None, None, '3507433') ('4302', None, None, None, None, None, None, None, '3507433') ('4302', '25867258', '1376399376', None, None, None, None, None, '3507433') ('4302', None, None, None, None, None, None, None, '3507433') ('4302', '25867258', '1376399374', None, None, None, None, None, '3507433') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 47 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', '25867258', '1376400168', None, None, None, None, None, '3507433'), ('4302', '25867258', '1376400119', None, None, None, None, None, '3507433'), ('4302', '25867258', '1376400117', None, None, None, None, None, '3507433'), ('4302', '25867258', '1376400116', None, None, None, None, None, '3507433'), ('4302', '25867258', '1376400088', None, None, None, None, None, '3507433'), ('4302', '25867258', '1376400085', None, None, None, None, None, '3507433'), ('4302', '25867258', '1376400083', None, None, None, None, None, '3507433'), ('4302', '25867258', '1376400082', None, None, None, None, None, '3507433'), ('4302', '25867258', '1376400078', None, None, None, None, None, '3507433'), ('4302', '25867258', '1376400059', None, None, None, None, None, '3507433'), ('4302', '25867258', '1376400057', None, None, None, None, None, '3507433'), ('4302', '25867258', '1376400056', None, None, None, None, None, '3507433'), ('4302', '25867258', '1376400054', None, None, None, None, None, '3507433'), ('4302', '25867258', '1376400026', None, None, None, None, None, '3507433'), ('4302', '25867258', '1376400025', None, None, None, None, None, '3507433'), ('4302', '25867258', '1376400023', None, None, None, None, None, '3507433'), ('4302', '25867258', '1376400003', None, None, None, None, None, '3507433'), ('4302', '25867258', '1376400001', None, None, None, None, None, '3507433'), ('4302', '25867258', '1376399996', None, None, None, None, None, '3507433'), ('4302', '25867258', '1376399993', None, None, None, None, None, '3507433'), ('4302', '25867258', '1376399971', None, None, None, None, None, '3507433'), ('4302', '25867258', '1376399969', None, None, None, None, None, '3507433'), ('4302', '25867258', '1376399967', None, None, None, None, None, '3507433'), ('4302', '25867258', '1376399965', None, None, None, None, None, '3507433'), ('4302', '25867258', '1376399963', None, None, None, None, None, '3507433'), ('4302', '25867258', '1376399962', None, None, None, None, None, '3507433'), ('4302', '25867258', '1376399894', None, None, None, None, None, '3507433'), ('4302', '25867258', '1376399891', None, None, None, None, None, '3507433'), ('4302', '25867258', '1376399881', None, None, None, None, None, '3507433'), ('4302', '25867258', '1376399877', None, None, None, None, None, '3507433'), ('4302', '25867258', '1376399814', None, None, None, None, None, '3507433'), ('4302', '25867258', '1376399807', None, None, None, None, None, '3507433'), ('4302', '25867258', '1376399803', None, None, None, None, None, '3507433'), ('4302', '25867258', '1376399566', None, None, None, None, None, '3507433'), ('4302', '25867258', '1376399541', None, None, None, None, None, '3507433'), ('4302', '25867258', '1376399519', None, None, None, None, None, '3507433'), ('4302', '25867258', '1376399494', None, None, None, None, None, '3507433'), ('4302', '25867258', '1376399469', None, None, None, None, None, '3507433'), ('4302', '25867258', '1376399420', None, None, None, None, None, '3507433'), ('4302', '25867258', '1376399417', None, None, None, None, None, '3507433'), ('4302', '25867258', '1376399415', None, None, None, None, None, '3507433'), ('4302', '25867258', '1376399414', None, None, None, None, None, '3507433'), ('4302', '25867258', '1376399413', None, None, None, None, None, '3507433'), ('4302', '25867258', '1376399412', None, None, None, None, None, '3507433'), ('4302', '25867258', '1376399377', None, None, None, None, None, '3507433'), ('4302', '25867258', '1376399376', None, None, None, None, None, '3507433'), ('4302', '25867258', '1376399374', None, None, None, None, None, '3507433')] time used for this insertion : 0.22538256645202637 save_final save missing photos in datou_result : time spend for datou_step_exec : 7.219809532165527 time spend to save output : 0.2258470058441162 total time spend for step 4 : 7.4456565380096436 step5:split_time_score Tue Aug 12 05:42:38 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 : ['25867258'] 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 : [('25867258',)] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (25867258) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {1376399494: {'path': 'temp/1754970150_150854_1376399494_c7681a3e10e3abbebb9f2f30c5f7d58f.jpg', 'extension': 'jpg'}, 1376399519: {'path': 'temp/1754970150_150854_1376399519_a37f246188ca08d45de0fea57b116450.jpg', 'extension': 'jpg'}, 1376399541: {'path': 'temp/1754970150_150854_1376399541_4781e5c6703db97cdf49fb40296a18a1.jpg', 'extension': 'jpg'}, 1376399566: {'path': 'temp/1754970150_150854_1376399566_50fc9e4d0c53d61c19410b7b22c19333.jpg', 'extension': 'jpg'}, 1376399803: {'path': 'temp/1754970150_150854_1376399803_6aad286fd3d4d312435b1c1120dc8d68.jpg', 'extension': 'jpg'}, 1376399807: {'path': 'temp/1754970150_150854_1376399807_e16ab174d381e3848e1cb4b9b25db903.jpg', 'extension': 'jpg'}, 1376399814: {'path': 'temp/1754970150_150854_1376399814_ace36bb6983f64af659e6d378901a5fa.jpg', 'extension': 'jpg'}, 1376399877: {'path': 'temp/1754970150_150854_1376399877_bbf81e4e6edab98e34bd990bc8d98826.jpg', 'extension': 'jpg'}, 1376399881: {'path': 'temp/1754970150_150854_1376399881_ccc9d70affbb6978b647e14350b81b2d.jpg', 'extension': 'jpg'}, 1376399891: {'path': 'temp/1754970150_150854_1376399891_d77712e77007282e888828f280d137c0.jpg', 'extension': 'jpg'}, 1376399374: {'path': 'temp/1754970150_150854_1376399374_d4e571d0a1b53a7ffd1f005181fa59ee.jpg', 'extension': 'jpg'}, 1376399376: {'path': 'temp/1754970150_150854_1376399376_48fc8a03fb42cd7269684e6a896f4535.jpg', 'extension': 'jpg'}, 1376399377: {'path': 'temp/1754970150_150854_1376399377_e803af6b24d2c69ce5f2023216aa4094.jpg', 'extension': 'jpg'}, 1376399412: {'path': 'temp/1754970150_150854_1376399412_935b51a633baed2d21bcdb213359704d.jpg', 'extension': 'jpg'}, 1376399413: {'path': 'temp/1754970150_150854_1376399413_54f4ab3bc07196d4e03f546c50f24d7d.jpg', 'extension': 'jpg'}, 1376399414: {'path': 'temp/1754970150_150854_1376399414_88ae5016530fe0841242f4f6502575e7.jpg', 'extension': 'jpg'}, 1376399415: {'path': 'temp/1754970150_150854_1376399415_5aa45fa7ee7300003790d0b97cea7819.jpg', 'extension': 'jpg'}, 1376399417: {'path': 'temp/1754970150_150854_1376399417_628e184033d16ac7f954c677c0271952.jpg', 'extension': 'jpg'}, 1376399420: {'path': 'temp/1754970150_150854_1376399420_16bf1db15205fbe7db10488e4e01a4e7.jpg', 'extension': 'jpg'}, 1376399469: {'path': 'temp/1754970150_150854_1376399469_3e842ebb920cce75e0df42ab40bd7298.jpg', 'extension': 'jpg'}, 1376399894: {'path': 'temp/1754970150_150854_1376399894_c1d6f64dc7ecea30afa9a2393b2b9302.jpg', 'extension': 'jpg'}, 1376399962: {'path': 'temp/1754970150_150854_1376399962_f34aa7d05bd5db19c6d11d5998f089dc.jpg', 'extension': 'jpg'}, 1376399963: {'path': 'temp/1754970150_150854_1376399963_8631a821d29395549e85661c1dc8ab67.jpg', 'extension': 'jpg'}, 1376399965: {'path': 'temp/1754970150_150854_1376399965_98b9e9f7355e8b5d505ecaf73030d741.jpg', 'extension': 'jpg'}, 1376399967: {'path': 'temp/1754970150_150854_1376399967_fbeb2011db92bbc5c5125bd800651850.jpg', 'extension': 'jpg'}, 1376399969: {'path': 'temp/1754970150_150854_1376399969_ac3c95c9361af1dda1e36e840354356c.jpg', 'extension': 'jpg'}, 1376399971: {'path': 'temp/1754970150_150854_1376399971_d818aa8d92bfbfc3d95a657c4d7641f2.jpg', 'extension': 'jpg'}, 1376399993: {'path': 'temp/1754970150_150854_1376399993_3a9fad0523c8cf4e7ab4503e88a68218.jpg', 'extension': 'jpg'}, 1376399996: {'path': 'temp/1754970150_150854_1376399996_6e9c5cf7d6642f21286d6b50718e3de7.jpg', 'extension': 'jpg'}, 1376400001: {'path': 'temp/1754970150_150854_1376400001_d74ac34c835974a921c3192ec24ef864.jpg', 'extension': 'jpg'}, 1376400003: {'path': 'temp/1754970150_150854_1376400003_06510a0435dda6b3a9b954d900522106.jpg', 'extension': 'jpg'}, 1376400023: {'path': 'temp/1754970150_150854_1376400023_75e39bdea73435e859d4e0fa846d6e17.jpg', 'extension': 'jpg'}, 1376400025: {'path': 'temp/1754970150_150854_1376400025_c0e65c5429672626062f73b942665b93.jpg', 'extension': 'jpg'}, 1376400026: {'path': 'temp/1754970150_150854_1376400026_997e3fc1fdd303c2f8b99dcb01afe657.jpg', 'extension': 'jpg'}, 1376400054: {'path': 'temp/1754970150_150854_1376400054_f0d3f50f5e2d63fc396baa8f7d00bb70.jpg', 'extension': 'jpg'}, 1376400056: {'path': 'temp/1754970150_150854_1376400056_942725789ea9be9f95a09e7ecffaee5f.jpg', 'extension': 'jpg'}, 1376400057: {'path': 'temp/1754970150_150854_1376400057_ca8fd4acb02bd8d7454f4e953c2a3846.jpg', 'extension': 'jpg'}, 1376400059: {'path': 'temp/1754970150_150854_1376400059_a2627293daefe6f255c23698f7e306b8.jpg', 'extension': 'jpg'}, 1376400078: {'path': 'temp/1754970150_150854_1376400078_4ee29dbfa9acaec2a4df72e9440b1bb1.jpg', 'extension': 'jpg'}, 1376400082: {'path': 'temp/1754970150_150854_1376400082_f3537d438714321c94081b33b37350c1.jpg', 'extension': 'jpg'}, 1376400083: {'path': 'temp/1754970150_150854_1376400083_d476a5fad350e25f5ebffe587ea55687.jpg', 'extension': 'jpg'}, 1376400085: {'path': 'temp/1754970150_150854_1376400085_8a91d303dbde69686cd4403057624640.jpg', 'extension': 'jpg'}, 1376400088: {'path': 'temp/1754970150_150854_1376400088_24568386a07dfa89546823ec3bbeec57.jpg', 'extension': 'jpg'}, 1376400116: {'path': 'temp/1754970150_150854_1376400116_961b469867af378aa2702396149fe263.jpg', 'extension': 'jpg'}, 1376400117: {'path': 'temp/1754970150_150854_1376400117_cfcc59015b9ebe16bdb3c6cd697797c8.jpg', 'extension': 'jpg'}, 1376400119: {'path': 'temp/1754970150_150854_1376400119_41ef5eb00280b71ac03ed68d7c13caea.jpg', 'extension': 'jpg'}, 1376400168: {'path': 'temp/1754970150_150854_1376400168_771dce7e854baa1b11078b5809c7ab63.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 = 25867258; (('arc_en_ciel_jrm',), ('arc_en_ciel_jrm_bis',)) TODO : Insert select and so on Begin split_port_in_batch_balle thcls : [{'id': 861, 'mtr_user_id': 31, 'name': 'Rungis_class_dechets_1212', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'Rungis_Aluminium,Rungis_Carton,Rungis_Papier,Rungis_Plastique_clair,Rungis_Plastique_dur,Rungis_Plastique_fonce,Rungis_Tapis_vide,Rungis_Tetrapak', 'svm_portfolios_learning': '1160730,571842,571844,571839,571933,571840,571841,572307', 'photo_hashtag_type': 999, 'photo_desc_type': 3963, 'type_classification': 'caffe', 'hashtag_id_list': '2107751280,2107750907,2107750908,2107750909,2107750910,2107750911,2107750912,2107750913'}] thcls : [{'id': 758, 'mtr_user_id': 31, 'name': 'Rungis_amount_dechets_fall_2018_v2', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': '05102018_Papier_non_papier_dense,05102018_Papier_non_papier_peu_dense,05102018_Papier_non_papier_presque_vide,05102018_Papier_non_papier_tres_dense,05102018_Papier_non_papier_tres_peu_dense', 'svm_portfolios_learning': '1108385,1108386,1108388,1108384,1108387', 'photo_hashtag_type': 856, 'photo_desc_type': 3853, 'type_classification': 'caffe', 'hashtag_id_list': '2107751013,2107751014,2107751015,2107751016,2107751017'}] select SUBSTRING(ph.text,16,2) as h, count(*) from MTRUser.mtr_portfolio_photos mpp inner join MTRBack.photos ph on mpp.mtr_photo_id = ph.photo_id where mpp.mtr_portfolio_id = 25867258 group by h (('08', 47),) 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=25867258 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 (25867258) 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 (25867258) AND cps.thcl in (758) order by cps.score desc LIMIT 0, 100000 ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 11082025 25867258 Nombre de photos uploadées : 47 / 23040 (0%) 11082025 25867258 Nombre de photos taguées (types de déchets): 0 / 47 (0%) 11082025 25867258 Nombre de photos taguées (volume) : 0 / 47 (0%) [{'photo_id': 1376399377, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/e803af6b24d2c69ce5f2023216aa4094.jpg', 'username': None, 'uploaded_at': 1754893207, 'text': 'image_11082025_08_19_14_10134.jpg'}, {'photo_id': 1376399376, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/48fc8a03fb42cd7269684e6a896f4535.jpg', 'username': None, 'uploaded_at': 1754893207, 'text': 'image_11082025_08_19_23_9123.jpg'}, {'photo_id': 1376399374, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/d4e571d0a1b53a7ffd1f005181fa59ee.jpg', 'username': None, 'uploaded_at': 1754893207, 'text': 'image_11082025_08_19_33_10143.jpg'}, {'photo_id': 1376399420, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/16bf1db15205fbe7db10488e4e01a4e7.jpg', 'username': None, 'uploaded_at': 1754893267, 'text': 'image_11082025_08_19_44_10138.jpg'}] 0 [] elapsed_time : load_data_split_time_score 1.430511474609375e-06 elapsed_time : order_list_meta_photo_and_scores 5.0067901611328125e-06 ??????????????????????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.0022933483123779297 INSERT INTO `MTRPhoto`.`dashboard_entry_day` (`dashboard_place_id`, `mtr_portfolio_id`, `date`) VALUES ( 10, 25867258, '2025-08-11' ) 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-11' ; INSERT INTO `MTRPhoto`.`dashboard_run_ids` (`dashboard_entry_day`, `mtr_user_id`, `misc_info`) VALUES (2097453,979,"{}"); Catched exception ! Connect or reconnect ! elapsed_time : insert_dashboard_record_day_entry 0.19818854331970215 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= 2097453 AND ded.last_run_id=dri.id AND dri.dashboard_entry_day=ded.id AND dri.id=dr.dashboard_run_id [{'dashboat_entry_day': 2097453, 'dashboard_run_id': 2113131, 'mtr_portfolio_id': 25861976, 'dashboard_result_id': 13889299, '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_P25861976_12-08-2025_05_34_30.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25861977, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25861978, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25861979, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25861980, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25861981, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25861982, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25861983, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25861984, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25861985, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25861986, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25861987, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25861988, 'pht': 3726}}"}, {'dashboat_entry_day': 2097453, 'dashboard_run_id': 2113131, 'mtr_portfolio_id': 25862084, 'dashboard_result_id': 13889300, '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_P25862084_12-08-2025_05_34_31.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25862089, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25862090, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25862091, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25862092, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25862093, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25862094, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25862095, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25862096, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25862097, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25862098, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25862099, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25862100, 'pht': 3726}}"}, {'dashboat_entry_day': 2097453, 'dashboard_run_id': 2113131, 'mtr_portfolio_id': 25862313, 'dashboard_result_id': 13889301, '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_P25862313_12-08-2025_05_35_35.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 25862321, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25862322, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25862323, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25862324, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25862325, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25862326, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25862327, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25862328, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25862329, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25862330, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25862331, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25862332, 'pht': 3726}}"}, {'dashboat_entry_day': 2097453, 'dashboard_run_id': 2113131, 'mtr_portfolio_id': 25862578, 'dashboard_result_id': 13889302, '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_P25862578_12-08-2025_05_36_03.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25862589, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25862590, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25862591, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25862592, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25862593, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25862594, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25862595, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25862596, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25862597, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25862598, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25862599, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25862600, 'pht': 3726}}"}, {'dashboat_entry_day': 2097453, 'dashboard_run_id': 2113131, 'mtr_portfolio_id': 25862901, 'dashboard_result_id': 13889303, '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_P25862901_12-08-2025_05_37_04.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 25862949, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25862950, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25862951, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25862952, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25862953, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25862954, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25862955, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25862956, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25862957, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25862958, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25862959, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25862960, 'pht': 3726}}"}, {'dashboat_entry_day': 2097453, 'dashboard_run_id': 2113131, 'mtr_portfolio_id': 25863397, 'dashboard_result_id': 13889304, '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_P25863397_12-08-2025_05_37_32.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 25863406, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25863407, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25863408, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25863409, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25863410, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25863411, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25863412, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25863413, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25863414, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25863415, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25863416, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25863417, 'pht': 3726}}"}, {'dashboat_entry_day': 2097453, 'dashboard_run_id': 2113131, 'mtr_portfolio_id': 25863832, 'dashboard_result_id': 13889305, '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_P25863832_12-08-2025_05_38_01.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 25863850, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25863851, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25863852, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25863853, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25863854, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25863855, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25863856, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25863857, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25863858, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25863859, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25863860, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25863861, 'pht': 3726}}"}, {'dashboat_entry_day': 2097453, 'dashboard_run_id': 2113131, 'mtr_portfolio_id': 25864365, 'dashboard_result_id': 13889306, '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_P25864365_12-08-2025_05_39_02.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25864383, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25864384, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25864385, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25864386, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25864387, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25864388, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25864389, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25864390, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25864391, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25864392, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25864393, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25864394, 'pht': 3726}}"}, {'dashboat_entry_day': 2097453, 'dashboard_run_id': 2113131, 'mtr_portfolio_id': 25864819, 'dashboard_result_id': 13889307, '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_P25864819_12-08-2025_05_39_30.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 25864862, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25864863, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25864864, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25864865, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25864866, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25864867, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25864868, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25864869, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25864870, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25864871, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25864872, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25864873, 'pht': 3726}}"}, {'dashboat_entry_day': 2097453, 'dashboard_run_id': 2113131, 'mtr_portfolio_id': 25865316, 'dashboard_result_id': 13889308, '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_P25865316_12-08-2025_05_40_04.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 25865326, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25865327, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25865329, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25865330, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25865331, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25865332, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25865333, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25865334, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25865335, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25865336, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25865337, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25865338, 'pht': 3726}}"}, {'dashboat_entry_day': 2097453, 'dashboard_run_id': 2113131, 'mtr_portfolio_id': 25865676, 'dashboard_result_id': 13889309, '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_P25865676_12-08-2025_05_40_32.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25865711, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25865712, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25865713, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25865714, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25865715, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25865716, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25865717, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25865718, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25865719, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25865720, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25865721, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25865723, 'pht': 3726}}"}, {'dashboat_entry_day': 2097453, 'dashboard_run_id': 2113131, 'mtr_portfolio_id': 25866107, 'dashboard_result_id': 13889310, '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_P25866107_12-08-2025_05_41_32.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25866140, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25866141, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25866142, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25866143, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25866144, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25866145, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25866146, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25866147, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25866148, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25866149, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25866150, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25866151, 'pht': 3726}}"}, {'dashboat_entry_day': 2097453, 'dashboard_run_id': 2113131, 'mtr_portfolio_id': 25866527, 'dashboard_result_id': 13889311, '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_P25866527_12-08-2025_05_42_04.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25866537, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25866538, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25866539, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25866540, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25866541, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25866542, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25866543, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25866544, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25866545, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25866546, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25866547, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25866548, 'pht': 3726}}"}, {'dashboat_entry_day': 2097453, 'dashboard_run_id': 2113131, 'mtr_portfolio_id': 25867258, 'dashboard_result_id': 13889312, '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_P25867258_11-08-2025_08_33_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25867274, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25867275, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25867276, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25867277, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25867278, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25867279, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25867280, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25867281, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25867282, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25867283, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25867284, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25867286, 'pht': 3726}}"}, {'dashboat_entry_day': 2097453, 'dashboard_run_id': 2113131, 'mtr_portfolio_id': 25867642, 'dashboard_result_id': 13889313, '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_P25867642_11-08-2025_08_46_58.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 25867671, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25867672, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25867673, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25867674, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25867675, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25867676, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25867677, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25867678, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25867679, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25867680, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25867681, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25867682, 'pht': 3726}}"}, {'dashboat_entry_day': 2097453, 'dashboard_run_id': 2113131, 'mtr_portfolio_id': 25868093, 'dashboard_result_id': 13889314, '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_P25868093_11-08-2025_09_33_01.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25868127, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25868128, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25868129, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25868130, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25868131, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25868132, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25868133, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25868134, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25868135, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25868136, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25868137, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25868138, 'pht': 3726}}"}, {'dashboat_entry_day': 2097453, 'dashboard_run_id': 2113131, 'mtr_portfolio_id': 25869425, 'dashboard_result_id': 13889315, '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_P25869425_11-08-2025_09_46_58.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25869433, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25869434, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25869435, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25869436, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25869437, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25869438, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25869439, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25869440, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25869441, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25869442, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25869443, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25869444, 'pht': 3726}}"}, {'dashboat_entry_day': 2097453, 'dashboard_run_id': 2113131, 'mtr_portfolio_id': 25869673, 'dashboard_result_id': 13889316, '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_P25869673_11-08-2025_10_03_00.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 25869699, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25869700, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25869701, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25869702, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25869703, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25869704, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25869705, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25869706, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25869707, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25869708, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25869709, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25869710, 'pht': 3726}}"}, {'dashboat_entry_day': 2097453, 'dashboard_run_id': 2113131, 'mtr_portfolio_id': 25870073, 'dashboard_result_id': 13889317, '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_P25870073_11-08-2025_10_16_59.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 25870126, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25870127, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25870128, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25870129, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25870130, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25870131, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25870132, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25870133, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25870134, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25870135, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25870136, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25870137, 'pht': 3726}}"}, {'dashboat_entry_day': 2097453, 'dashboard_run_id': 2113131, 'mtr_portfolio_id': 25870454, 'dashboard_result_id': 13889318, '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_P25870454_11-08-2025_10_32_57.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25870473, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25870474, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25870475, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25870476, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25870477, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25870478, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25870479, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25870480, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25870481, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25870482, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25870483, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25870484, 'pht': 3726}}"}, {'dashboat_entry_day': 2097453, 'dashboard_run_id': 2113131, 'mtr_portfolio_id': 25870953, 'dashboard_result_id': 13889319, '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_P25870953_11-08-2025_10_48_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25870988, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25870989, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25870990, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25870991, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25870992, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25870993, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25870994, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25870995, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25870996, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25870997, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25870998, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25870999, 'pht': 3726}}"}, {'dashboat_entry_day': 2097453, 'dashboard_run_id': 2113131, 'mtr_portfolio_id': 25871461, 'dashboard_result_id': 13889320, '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_P25871461_11-08-2025_11_02_57.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25871496, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25871497, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25871498, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25871499, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25871500, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25871501, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25871502, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25871503, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25871504, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25871505, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25871506, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25871507, 'pht': 3726}}"}, {'dashboat_entry_day': 2097453, 'dashboard_run_id': 2113131, 'mtr_portfolio_id': 25871841, 'dashboard_result_id': 13889321, '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_P25871841_11-08-2025_11_16_34.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25871862, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25871863, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25871864, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25871865, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25871866, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25871867, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25871868, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25871869, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25871870, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25871871, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25871872, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25871873, 'pht': 3726}}"}, {'dashboat_entry_day': 2097453, 'dashboard_run_id': 2113131, 'mtr_portfolio_id': 25872460, 'dashboard_result_id': 13889322, '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_P25872460_11-08-2025_11_33_00.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 25872505, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25872506, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25872507, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25872508, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25872509, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25872510, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25872511, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25872512, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25872513, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25872514, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25872515, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25872516, 'pht': 3726}}"}, {'dashboat_entry_day': 2097453, 'dashboard_run_id': 2113131, 'mtr_portfolio_id': 25873111, 'dashboard_result_id': 13889323, '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_P25873111_11-08-2025_11_46_58.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25873121, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25873122, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25873123, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25873124, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25873125, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25873126, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25873127, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25873128, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25873129, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25873130, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25873131, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25873132, 'pht': 3726}}"}, {'dashboat_entry_day': 2097453, 'dashboard_run_id': 2113131, 'mtr_portfolio_id': 25873549, 'dashboard_result_id': 13889324, '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_P25873549_11-08-2025_12_03_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25873565, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25873566, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25873567, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25873568, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25873569, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25873570, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25873571, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25873572, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25873573, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25873574, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25873575, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25873576, 'pht': 3726}}"}, {'dashboat_entry_day': 2097453, 'dashboard_run_id': 2113131, 'mtr_portfolio_id': 25874015, 'dashboard_result_id': 13889325, '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_P25874015_11-08-2025_12_23_01.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25874035, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25874036, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25874037, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25874038, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25874039, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25874040, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25874041, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25874042, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25874043, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25874044, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25874045, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25874046, 'pht': 3726}}"}, {'dashboat_entry_day': 2097453, 'dashboard_run_id': 2113131, 'mtr_portfolio_id': 25874638, 'dashboard_result_id': 13889326, '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_P25874638_11-08-2025_12_32_59.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25874653, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25874654, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25874655, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25874656, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25874657, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25874658, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25874659, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25874661, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25874662, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25874663, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25874664, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25874665, 'pht': 3726}}"}, {'dashboat_entry_day': 2097453, 'dashboard_run_id': 2113131, 'mtr_portfolio_id': 25874930, 'dashboard_result_id': 13889327, '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_P25874930_11-08-2025_13_04_59.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25874959, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25874960, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25874961, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25874962, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25874963, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25874964, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25874965, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25874966, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25874967, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25874968, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25874969, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25874970, 'pht': 3726}}"}, {'dashboat_entry_day': 2097453, 'dashboard_run_id': 2113131, 'mtr_portfolio_id': 25875881, 'dashboard_result_id': 13889328, '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_P25875881_11-08-2025_13_19_01.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25875886, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25875887, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25875888, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25875889, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25875890, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25875891, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25875892, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25875893, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25875894, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25875895, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25875896, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25875897, 'pht': 3726}}"}, {'dashboat_entry_day': 2097453, 'dashboard_run_id': 2113131, 'mtr_portfolio_id': 25876305, 'dashboard_result_id': 13889329, '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_P25876305_11-08-2025_13_33_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25876315, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25876316, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25876317, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25876318, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25876319, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25876320, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25876321, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25876322, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25876323, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25876324, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25876325, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25876326, 'pht': 3726}}"}, {'dashboat_entry_day': 2097453, 'dashboard_run_id': 2113131, 'mtr_portfolio_id': 25876645, 'dashboard_result_id': 13889330, '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_P25876645_11-08-2025_13_49_27.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25876695, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25876696, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25876697, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25876698, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25876699, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25876700, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25876701, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25876702, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25876703, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25876704, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25876705, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25876706, 'pht': 3726}}"}, {'dashboat_entry_day': 2097453, 'dashboard_run_id': 2113131, 'mtr_portfolio_id': 25877056, 'dashboard_result_id': 13889331, '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_P25877056_11-08-2025_14_03_00.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 25877064, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25877065, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25877066, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25877067, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25877068, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25877069, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25877070, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25877071, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25877072, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25877073, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25877074, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25877075, 'pht': 3726}}"}, {'dashboat_entry_day': 2097453, 'dashboard_run_id': 2113131, 'mtr_portfolio_id': 25877510, 'dashboard_result_id': 13889332, '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_P25877510_11-08-2025_14_16_58.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25877538, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25877539, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25877540, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25877541, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25877542, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25877543, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25877544, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25877545, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25877546, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25877547, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25877549, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25877550, 'pht': 3726}}"}, {'dashboat_entry_day': 2097453, 'dashboard_run_id': 2113131, 'mtr_portfolio_id': 25878321, 'dashboard_result_id': 13889333, '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_P25878321_11-08-2025_14_32_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25878325, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25878326, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25878327, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25878328, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25878329, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25878330, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25878331, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25878332, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25878333, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25878334, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25878335, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25878336, 'pht': 3726}}"}, {'dashboat_entry_day': 2097453, 'dashboard_run_id': 2113131, 'mtr_portfolio_id': 25878725, 'dashboard_result_id': 13889334, '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_P25878725_11-08-2025_14_47_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25878769, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25878770, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25878771, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25878772, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25878773, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25878774, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25878775, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25878776, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25878777, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25878778, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25878779, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25878780, 'pht': 3726}}"}, {'dashboat_entry_day': 2097453, 'dashboard_run_id': 2113131, 'mtr_portfolio_id': 25879292, 'dashboard_result_id': 13889335, '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_P25879292_11-08-2025_15_02_58.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25879296, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25879297, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25879298, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25879299, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25879300, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25879301, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25879302, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25879303, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25879304, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25879305, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25879306, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25879307, 'pht': 3726}}"}, {'dashboat_entry_day': 2097453, 'dashboard_run_id': 2113131, 'mtr_portfolio_id': 25879781, 'dashboard_result_id': 13889336, '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_P25879781_11-08-2025_15_25_01.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25879786, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25879787, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25879788, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25879789, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25879790, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25879791, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25879792, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25879793, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25879794, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25879795, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25879796, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25879797, 'pht': 3726}}"}, {'dashboat_entry_day': 2097453, 'dashboard_run_id': 2113131, 'mtr_portfolio_id': 25880423, 'dashboard_result_id': 13889337, '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_P25880423_11-08-2025_15_33_01.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25880435, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25880436, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25880437, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25880438, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25880439, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25880440, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25880441, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25880442, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25880443, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25880444, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25880445, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25880446, 'pht': 3726}}"}, {'dashboat_entry_day': 2097453, 'dashboard_run_id': 2113131, 'mtr_portfolio_id': 25880610, 'dashboard_result_id': 13889338, '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_P25880610_11-08-2025_15_46_59.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 25880632, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25880633, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25880634, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25880635, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25880636, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25880637, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25880638, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25880639, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25880640, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25880641, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25880642, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25880643, 'pht': 3726}}"}, {'dashboat_entry_day': 2097453, 'dashboard_run_id': 2113131, 'mtr_portfolio_id': 25880978, 'dashboard_result_id': 13889339, '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_P25880978_11-08-2025_16_02_59.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25880992, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25880993, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25880994, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25880995, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25880996, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25880997, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25880998, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25880999, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25881000, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25881001, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25881002, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25881003, 'pht': 3726}}"}, {'dashboat_entry_day': 2097453, 'dashboard_run_id': 2113131, 'mtr_portfolio_id': 25881408, 'dashboard_result_id': 13889340, '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_P25881408_11-08-2025_16_16_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25881452, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25881453, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25881454, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25881455, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25881456, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25881457, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25881458, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25881459, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25881460, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25881461, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25881462, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25881463, 'pht': 3726}}"}, {'dashboat_entry_day': 2097453, 'dashboard_run_id': 2113131, 'mtr_portfolio_id': 25882064, 'dashboard_result_id': 13889341, '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_P25882064_11-08-2025_16_33_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25882082, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25882083, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25882084, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25882085, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25882086, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25882088, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25882089, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25882090, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25882091, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25882092, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25882093, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25882094, 'pht': 3726}}"}, {'dashboat_entry_day': 2097453, 'dashboard_run_id': 2113131, 'mtr_portfolio_id': 25882962, 'dashboard_result_id': 13889342, '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_P25882962_11-08-2025_16_48_57.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25882971, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25882972, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25882973, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25882974, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25882975, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25882976, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25882977, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25882978, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25882979, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25882980, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25882981, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25882982, 'pht': 3726}}"}, {'dashboat_entry_day': 2097453, 'dashboard_run_id': 2113131, 'mtr_portfolio_id': 25883355, 'dashboard_result_id': 13889343, '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_P25883355_11-08-2025_17_03_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25883408, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25883409, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25883410, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25883411, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25883412, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25883413, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25883414, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25883415, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25883416, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25883417, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25883418, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25883419, 'pht': 3726}}"}, {'dashboat_entry_day': 2097453, 'dashboard_run_id': 2113131, 'mtr_portfolio_id': 25883820, 'dashboard_result_id': 13889344, '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_P25883820_11-08-2025_17_16_59.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 25883873, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25883874, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25883875, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25883876, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25883877, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25883878, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25883879, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25883880, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25883881, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25883882, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25883883, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25883884, 'pht': 3726}}"}, {'dashboat_entry_day': 2097453, 'dashboard_run_id': 2113131, 'mtr_portfolio_id': 25884548, 'dashboard_result_id': 13889345, '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_P25884548_11-08-2025_18_03_28.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25884589, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25884590, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25884591, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25884592, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25884593, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25884594, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25884595, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25884596, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25884597, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25884598, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25884599, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25884600, 'pht': 3726}}"}, {'dashboat_entry_day': 2097453, 'dashboard_run_id': 2113131, 'mtr_portfolio_id': 25885952, 'dashboard_result_id': 13889346, '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_P25885952_11-08-2025_18_18_57.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25885961, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25885962, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25885963, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25885964, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25885965, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25885966, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25885967, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25885968, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25885969, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25885970, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25885971, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25885972, 'pht': 3726}}"}, {'dashboat_entry_day': 2097453, 'dashboard_run_id': 2113131, 'mtr_portfolio_id': 25886509, 'dashboard_result_id': 13889347, '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_P25886509_11-08-2025_18_33_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25886520, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25886521, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25886522, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25886523, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25886524, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25886525, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25886526, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25886527, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25886528, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25886529, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25886530, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25886531, 'pht': 3726}}"}, {'dashboat_entry_day': 2097453, 'dashboard_run_id': 2113131, 'mtr_portfolio_id': 25886915, 'dashboard_result_id': 13889348, '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_P25886915_11-08-2025_18_48_31.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25886961, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25886962, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25886963, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25886964, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25886965, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25886966, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25886967, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25886968, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25886969, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25886970, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25886971, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25886972, 'pht': 3726}}"}, {'dashboat_entry_day': 2097453, 'dashboard_run_id': 2113131, 'mtr_portfolio_id': 25887463, 'dashboard_result_id': 13889349, '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_P25887463_11-08-2025_19_02_58.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25887468, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25887469, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25887470, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25887471, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25887472, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25887473, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25887474, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25887475, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25887476, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25887477, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25887478, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25887479, 'pht': 3726}}"}, {'dashboat_entry_day': 2097453, 'dashboard_run_id': 2113131, 'mtr_portfolio_id': 25887831, 'dashboard_result_id': 13889350, '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_P25887831_11-08-2025_19_17_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25887858, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25887859, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25887860, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25887861, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25887862, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25887863, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25887864, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25887865, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25887866, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25887867, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25887868, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25887869, 'pht': 3726}}"}, {'dashboat_entry_day': 2097453, 'dashboard_run_id': 2113131, 'mtr_portfolio_id': 25888318, 'dashboard_result_id': 13889351, '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_P25888318_11-08-2025_19_32_58.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25888348, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25888349, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25888350, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25888351, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25888352, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25888353, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25888354, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25888355, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25888356, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25888357, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25888358, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25888359, 'pht': 3726}}"}, {'dashboat_entry_day': 2097453, 'dashboard_run_id': 2113131, 'mtr_portfolio_id': 25888800, 'dashboard_result_id': 13889352, '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_P25888800_11-08-2025_19_51_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25888826, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25888827, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25888828, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25888829, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25888830, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25888831, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25888832, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25888833, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25888834, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25888835, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25888836, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25888837, 'pht': 3726}}"}, {'dashboat_entry_day': 2097453, 'dashboard_run_id': 2113131, 'mtr_portfolio_id': 25889448, 'dashboard_result_id': 13889353, '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_P25889448_11-08-2025_20_02_59.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 25889479, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25889480, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25889481, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25889482, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25889483, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25889484, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25889485, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25889486, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25889487, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25889488, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25889489, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25889490, 'pht': 3726}}"}, {'dashboat_entry_day': 2097453, 'dashboard_run_id': 2113131, 'mtr_portfolio_id': 25889714, 'dashboard_result_id': 13889354, '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_P25889714_11-08-2025_20_16_57.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25889759, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25889760, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25889761, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25889762, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25889763, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25889764, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25889765, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25889766, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25889767, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25889768, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25889770, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25889771, 'pht': 3726}}"}, {'dashboat_entry_day': 2097453, 'dashboard_run_id': 2113131, 'mtr_portfolio_id': 25890230, 'dashboard_result_id': 13889355, '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_P25890230_11-08-2025_20_34_29.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25890265, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25890266, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25890267, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25890268, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25890269, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25890270, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25890271, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25890272, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25890273, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25890274, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25890275, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25890276, 'pht': 3726}}"}, {'dashboat_entry_day': 2097453, 'dashboard_run_id': 2113131, 'mtr_portfolio_id': 25890846, 'dashboard_result_id': 13889356, '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_P25890846_11-08-2025_21_17_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25890860, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25890861, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25890862, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25890863, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25890864, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25890865, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25890866, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25890867, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25890868, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25890869, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25890870, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25890871, 'pht': 3726}}"}, {'dashboat_entry_day': 2097453, 'dashboard_run_id': 2113131, 'mtr_portfolio_id': 25892108, 'dashboard_result_id': 13889357, '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_P25892108_11-08-2025_21_33_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25892127, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25892128, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25892129, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25892130, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25892131, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25892132, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25892133, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25892134, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25892135, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25892136, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25892137, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25892138, 'pht': 3726}}"}, {'dashboat_entry_day': 2097453, 'dashboard_run_id': 2113131, 'mtr_portfolio_id': 25893569, 'dashboard_result_id': 13889358, '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_P25893569_11-08-2025_22_37_00.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25893570, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25893571, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25893572, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25893573, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25893574, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25893575, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25893576, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25893577, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25893578, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25893579, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25893580, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25893581, '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 = 25861976 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': 3507420, 'mtr_portfolio_id': 25861976, 'created_at': datetime.datetime(2025, 8, 12, 5, 34, 29), 'result': '0.033937380783564355', 'result_long': None, 'result_double': None}] Qualite : 0.033937380783564355 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25861976 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25861976_12-08-2025_05_34_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25861976 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_P25861976_12-08-2025_05_34_30.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25861977, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25861978, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25861979, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25861980, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25861981, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25861982, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25861983, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25861984, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25861985, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25861986, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25861987, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25861988, 'pht': 3726}}" where mtr_portfolio_id = 25861976 and dashboard_run_id = 2113131 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`=25861976 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13889299, 0.033937380783564355, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25861976_12-08-2025_05_34_30.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25861977, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25861978, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25861979, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25861980, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25861981, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25861982, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25861983, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25861984, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25861985, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25861986, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25861987, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25861988, '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 = 25862084 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': 3507421, 'mtr_portfolio_id': 25862084, 'created_at': datetime.datetime(2025, 8, 12, 5, 34, 29), 'result': '0.03750877122420241', 'result_long': None, 'result_double': None}] Qualite : 0.03750877122420241 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25862084 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25862084_12-08-2025_05_34_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25862084 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_P25862084_12-08-2025_05_34_31.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25862089, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25862090, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25862091, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25862092, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25862093, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25862094, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25862095, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25862096, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25862097, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25862098, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25862099, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25862100, 'pht': 3726}}" where mtr_portfolio_id = 25862084 and dashboard_run_id = 2113131 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`=25862084 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13889300, 0.03750877122420241, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25862084_12-08-2025_05_34_31.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25862089, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25862090, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25862091, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25862092, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25862093, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25862094, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25862095, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25862096, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25862097, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25862098, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25862099, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25862100, '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 = 25862313 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': 3507422, 'mtr_portfolio_id': 25862313, 'created_at': datetime.datetime(2025, 8, 12, 5, 35, 30), 'result': '0.042421819268326465', 'result_long': None, 'result_double': None}] Qualite : 0.042421819268326465 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25862313 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25862313_12-08-2025_05_35_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25862313 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_P25862313_12-08-2025_05_35_35.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 25862321, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25862322, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25862323, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25862324, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25862325, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25862326, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25862327, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25862328, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25862329, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25862330, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25862331, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25862332, 'pht': 3726}}" where mtr_portfolio_id = 25862313 and dashboard_run_id = 2113131 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`=25862313 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13889301, 0.042421819268326465, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25862313_12-08-2025_05_35_35.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 25862321, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25862322, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25862323, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25862324, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25862325, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25862326, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25862327, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25862328, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25862329, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25862330, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25862331, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25862332, '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 = 25862578 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': 3507423, 'mtr_portfolio_id': 25862578, 'created_at': datetime.datetime(2025, 8, 12, 5, 36), 'result': '0.04396636996644359', 'result_long': None, 'result_double': None}] Qualite : 0.04396636996644359 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25862578 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25862578_12-08-2025_05_36_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25862578 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_P25862578_12-08-2025_05_36_03.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25862589, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25862590, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25862591, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25862592, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25862593, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25862594, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25862595, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25862596, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25862597, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25862598, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25862599, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25862600, 'pht': 3726}}" where mtr_portfolio_id = 25862578 and dashboard_run_id = 2113131 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`=25862578 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13889302, 0.04396636996644359, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25862578_12-08-2025_05_36_03.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25862589, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25862590, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25862591, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25862592, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25862593, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25862594, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25862595, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25862596, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25862597, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25862598, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25862599, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25862600, '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 = 25862901 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': 3507424, 'mtr_portfolio_id': 25862901, 'created_at': datetime.datetime(2025, 8, 12, 5, 36, 59), 'result': '0.0598741466488775', 'result_long': None, 'result_double': None}] Qualite : 0.0598741466488775 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25862901 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25862901_12-08-2025_05_37_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25862901 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_P25862901_12-08-2025_05_37_04.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 25862949, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25862950, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25862951, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25862952, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25862953, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25862954, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25862955, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25862956, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25862957, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25862958, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25862959, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25862960, 'pht': 3726}}" where mtr_portfolio_id = 25862901 and dashboard_run_id = 2113131 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`=25862901 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13889303, 0.0598741466488775, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25862901_12-08-2025_05_37_04.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 25862949, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25862950, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25862951, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25862952, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25862953, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25862954, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25862955, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25862956, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25862957, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25862958, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25862959, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25862960, '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 = 25863397 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': 3507425, 'mtr_portfolio_id': 25863397, 'created_at': datetime.datetime(2025, 8, 12, 5, 37, 30), 'result': '0.03442052276230822', 'result_long': None, 'result_double': None}] Qualite : 0.03442052276230822 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25863397 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25863397_12-08-2025_05_37_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25863397 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_P25863397_12-08-2025_05_37_32.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 25863406, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25863407, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25863408, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25863409, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25863410, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25863411, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25863412, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25863413, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25863414, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25863415, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25863416, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25863417, 'pht': 3726}}" where mtr_portfolio_id = 25863397 and dashboard_run_id = 2113131 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`=25863397 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13889304, 0.03442052276230822, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25863397_12-08-2025_05_37_32.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 25863406, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25863407, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25863408, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25863409, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25863410, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25863411, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25863412, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25863413, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25863414, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25863415, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25863416, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25863417, '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 = 25863832 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': 3507426, 'mtr_portfolio_id': 25863832, 'created_at': datetime.datetime(2025, 8, 12, 5, 37, 59), 'result': '0.05504780478670154', 'result_long': None, 'result_double': None}] Qualite : 0.05504780478670154 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25863832 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25863832_12-08-2025_05_38_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25863832 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_P25863832_12-08-2025_05_38_01.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 25863850, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25863851, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25863852, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25863853, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25863854, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25863855, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25863856, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25863857, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25863858, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25863859, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25863860, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25863861, 'pht': 3726}}" where mtr_portfolio_id = 25863832 and dashboard_run_id = 2113131 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`=25863832 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13889305, 0.05504780478670154, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25863832_12-08-2025_05_38_01.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 25863850, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25863851, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25863852, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25863853, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25863854, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25863855, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25863856, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25863857, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25863858, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25863859, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25863860, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25863861, '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 = 25864365 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': 3507427, 'mtr_portfolio_id': 25864365, 'created_at': datetime.datetime(2025, 8, 12, 5, 39), 'result': '0.05860381945207604', 'result_long': None, 'result_double': None}] Qualite : 0.05860381945207604 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25864365 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25864365_12-08-2025_05_39_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25864365 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_P25864365_12-08-2025_05_39_02.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25864383, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25864384, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25864385, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25864386, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25864387, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25864388, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25864389, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25864390, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25864391, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25864392, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25864393, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25864394, 'pht': 3726}}" where mtr_portfolio_id = 25864365 and dashboard_run_id = 2113131 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`=25864365 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13889306, 0.05860381945207604, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25864365_12-08-2025_05_39_02.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25864383, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25864384, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25864385, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25864386, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25864387, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25864388, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25864389, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25864390, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25864391, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25864392, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25864393, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25864394, '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 = 25864819 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': 3507428, 'mtr_portfolio_id': 25864819, 'created_at': datetime.datetime(2025, 8, 12, 5, 39, 28), 'result': '0.07226557022599092', 'result_long': None, 'result_double': None}] Qualite : 0.07226557022599092 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25864819 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25864819_12-08-2025_05_39_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25864819 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_P25864819_12-08-2025_05_39_30.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 25864862, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25864863, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25864864, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25864865, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25864866, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25864867, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25864868, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25864869, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25864870, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25864871, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25864872, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25864873, 'pht': 3726}}" where mtr_portfolio_id = 25864819 and dashboard_run_id = 2113131 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`=25864819 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13889307, 0.07226557022599092, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25864819_12-08-2025_05_39_30.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 25864862, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25864863, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25864864, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25864865, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25864866, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25864867, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25864868, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25864869, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25864870, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25864871, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25864872, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25864873, '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 = 25865316 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': 3507429, 'mtr_portfolio_id': 25865316, 'created_at': datetime.datetime(2025, 8, 12, 5, 39, 59), 'result': '0.05113573105459623', 'result_long': None, 'result_double': None}] Qualite : 0.05113573105459623 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25865316 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25865316_12-08-2025_05_40_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25865316 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_P25865316_12-08-2025_05_40_04.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 25865326, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25865327, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25865329, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25865330, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25865331, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25865332, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25865333, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25865334, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25865335, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25865336, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25865337, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25865338, 'pht': 3726}}" where mtr_portfolio_id = 25865316 and dashboard_run_id = 2113131 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`=25865316 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13889308, 0.05113573105459623, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25865316_12-08-2025_05_40_04.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 25865326, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25865327, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25865329, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25865330, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25865331, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25865332, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25865333, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25865334, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25865335, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25865336, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25865337, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25865338, '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 = 25865676 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': 3507430, 'mtr_portfolio_id': 25865676, 'created_at': datetime.datetime(2025, 8, 12, 5, 40, 29), 'result': '0.0444192926457005', 'result_long': None, 'result_double': None}] Qualite : 0.0444192926457005 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25865676 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25865676_12-08-2025_05_40_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25865676 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_P25865676_12-08-2025_05_40_32.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25865711, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25865712, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25865713, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25865714, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25865715, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25865716, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25865717, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25865718, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25865719, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25865720, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25865721, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25865723, 'pht': 3726}}" where mtr_portfolio_id = 25865676 and dashboard_run_id = 2113131 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`=25865676 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13889309, 0.0444192926457005, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25865676_12-08-2025_05_40_32.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25865711, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25865712, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25865713, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25865714, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25865715, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25865716, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25865717, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25865718, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25865719, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25865720, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25865721, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25865723, '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 = 25866107 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': 3507431, 'mtr_portfolio_id': 25866107, 'created_at': datetime.datetime(2025, 8, 12, 5, 41, 29), 'result': '0.05076205446748936', 'result_long': None, 'result_double': None}] Qualite : 0.05076205446748936 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25866107 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25866107_12-08-2025_05_41_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25866107 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_P25866107_12-08-2025_05_41_32.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25866140, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25866141, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25866142, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25866143, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25866144, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25866145, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25866146, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25866147, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25866148, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25866149, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25866150, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25866151, 'pht': 3726}}" where mtr_portfolio_id = 25866107 and dashboard_run_id = 2113131 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`=25866107 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13889310, 0.05076205446748936, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25866107_12-08-2025_05_41_32.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25866140, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25866141, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25866142, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25866143, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25866144, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25866145, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25866146, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25866147, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25866148, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25866149, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25866150, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25866151, '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 = 25866527 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': 3507432, 'mtr_portfolio_id': 25866527, 'created_at': datetime.datetime(2025, 8, 12, 5, 41, 59), 'result': '0.07007843698638754', 'result_long': None, 'result_double': None}] Qualite : 0.07007843698638754 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25866527 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25866527_12-08-2025_05_42_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25866527 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_P25866527_12-08-2025_05_42_04.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25866537, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25866538, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25866539, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25866540, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25866541, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25866542, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25866543, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25866544, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25866545, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25866546, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25866547, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25866548, 'pht': 3726}}" where mtr_portfolio_id = 25866527 and dashboard_run_id = 2113131 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`=25866527 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13889311, 0.07007843698638754, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25866527_12-08-2025_05_42_04.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25866537, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25866538, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25866539, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25866540, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25866541, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25866542, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25866543, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25866544, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25866545, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25866546, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25866547, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25866548, '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 = 25867258 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': 3507433, 'mtr_portfolio_id': 25867258, 'created_at': datetime.datetime(2025, 8, 12, 5, 42, 30), 'result': '0.04414364055722506', 'result_long': None, 'result_double': None}] Qualite : 0.04414364055722506 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25867258 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25867258_12-08-2025_05_42_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25867258 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_P25867258_12-08-2025_05_42_32.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25867274, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25867275, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25867276, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25867277, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25867278, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25867279, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25867280, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25867281, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25867282, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25867283, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25867284, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25867286, 'pht': 3726}}" where mtr_portfolio_id = 25867258 and dashboard_run_id = 2113131 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`=25867258 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13889312, 0.04414364055722506, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25867258_12-08-2025_05_42_32.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25867274, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25867275, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25867276, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25867277, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25867278, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25867279, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25867280, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25867281, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25867282, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25867283, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25867284, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25867286, '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 = 25867642 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': 3496187, 'mtr_portfolio_id': 25867642, 'created_at': datetime.datetime(2025, 8, 11, 8, 46, 58), 'result': '0.07919096409927755', 'result_long': None, 'result_double': None}] Qualite : 0.07919096409927755 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25867642 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25867642_11-08-2025_08_46_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25867642 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_P25867642_11-08-2025_08_46_58.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 25867671, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25867672, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25867673, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25867674, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25867675, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25867676, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25867677, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25867678, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25867679, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25867680, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25867681, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25867682, 'pht': 3726}}" where mtr_portfolio_id = 25867642 and dashboard_run_id = 2113131 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`=25867642 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13889313, 0.07919096409927755, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25867642_11-08-2025_08_46_58.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 25867671, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25867672, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25867673, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25867674, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25867675, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25867676, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25867677, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25867678, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25867679, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25867680, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25867681, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25867682, '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 = 25868093 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': 3496403, 'mtr_portfolio_id': 25868093, 'created_at': datetime.datetime(2025, 8, 11, 9, 33), 'result': '0.07580989568027292', 'result_long': None, 'result_double': None}] Qualite : 0.07580989568027292 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25868093 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25868093_11-08-2025_09_33_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25868093 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_P25868093_11-08-2025_09_33_01.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25868127, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25868128, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25868129, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25868130, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25868131, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25868132, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25868133, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25868134, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25868135, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25868136, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25868137, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25868138, 'pht': 3726}}" where mtr_portfolio_id = 25868093 and dashboard_run_id = 2113131 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`=25868093 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13889314, 0.07580989568027292, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25868093_11-08-2025_09_33_01.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25868127, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25868128, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25868129, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25868130, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25868131, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25868132, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25868133, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25868134, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25868135, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25868136, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25868137, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25868138, '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 = 25869425 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': 3496900, 'mtr_portfolio_id': 25869425, 'created_at': datetime.datetime(2025, 8, 11, 9, 46, 58), 'result': '0.037976347014032484', 'result_long': None, 'result_double': None}] Qualite : 0.037976347014032484 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25869425 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25869425_11-08-2025_09_46_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25869425 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_P25869425_11-08-2025_09_46_58.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25869433, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25869434, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25869435, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25869436, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25869437, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25869438, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25869439, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25869440, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25869441, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25869442, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25869443, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25869444, 'pht': 3726}}" where mtr_portfolio_id = 25869425 and dashboard_run_id = 2113131 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`=25869425 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13889315, 0.037976347014032484, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25869425_11-08-2025_09_46_58.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25869433, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25869434, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25869435, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25869436, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25869437, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25869438, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25869439, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25869440, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25869441, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25869442, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25869443, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25869444, '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 = 25869673 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': 3496993, 'mtr_portfolio_id': 25869673, 'created_at': datetime.datetime(2025, 8, 11, 10, 3), 'result': '0.03561819557763649', 'result_long': None, 'result_double': None}] Qualite : 0.03561819557763649 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25869673 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25869673_11-08-2025_10_03_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25869673 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_P25869673_11-08-2025_10_03_00.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 25869699, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25869700, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25869701, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25869702, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25869703, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25869704, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25869705, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25869706, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25869707, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25869708, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25869709, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25869710, 'pht': 3726}}" where mtr_portfolio_id = 25869673 and dashboard_run_id = 2113131 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`=25869673 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13889316, 0.03561819557763649, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25869673_11-08-2025_10_03_00.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 25869699, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25869700, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25869701, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25869702, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25869703, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25869704, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25869705, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25869706, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25869707, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25869708, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25869709, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25869710, '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 = 25870073 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': 3497116, 'mtr_portfolio_id': 25870073, 'created_at': datetime.datetime(2025, 8, 11, 10, 16, 58), 'result': '0.03831155821184992', 'result_long': None, 'result_double': None}] Qualite : 0.03831155821184992 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25870073 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25870073_11-08-2025_10_16_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25870073 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_P25870073_11-08-2025_10_16_59.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 25870126, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25870127, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25870128, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25870129, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25870130, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25870131, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25870132, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25870133, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25870134, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25870135, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25870136, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25870137, 'pht': 3726}}" where mtr_portfolio_id = 25870073 and dashboard_run_id = 2113131 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`=25870073 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13889317, 0.03831155821184992, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25870073_11-08-2025_10_16_59.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 25870126, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25870127, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25870128, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25870129, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25870130, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25870131, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25870132, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25870133, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25870134, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25870135, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25870136, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25870137, '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 = 25870454 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': 3497270, 'mtr_portfolio_id': 25870454, 'created_at': datetime.datetime(2025, 8, 11, 10, 32, 56), 'result': '0.05024186783389757', 'result_long': None, 'result_double': None}] Qualite : 0.05024186783389757 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25870454 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25870454_11-08-2025_10_32_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25870454 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_P25870454_11-08-2025_10_32_57.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25870473, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25870474, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25870475, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25870476, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25870477, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25870478, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25870479, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25870480, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25870481, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25870482, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25870483, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25870484, 'pht': 3726}}" where mtr_portfolio_id = 25870454 and dashboard_run_id = 2113131 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`=25870454 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13889318, 0.05024186783389757, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25870454_11-08-2025_10_32_57.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25870473, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25870474, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25870475, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25870476, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25870477, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25870478, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25870479, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25870480, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25870481, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25870482, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25870483, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25870484, '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 = 25870953 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': 3497556, 'mtr_portfolio_id': 25870953, 'created_at': datetime.datetime(2025, 8, 11, 10, 48, 58), 'result': '0.030618384861886217', 'result_long': None, 'result_double': None}] Qualite : 0.030618384861886217 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25870953 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25870953_11-08-2025_10_48_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25870953 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_P25870953_11-08-2025_10_48_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25870988, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25870989, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25870990, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25870991, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25870992, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25870993, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25870994, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25870995, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25870996, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25870997, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25870998, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25870999, 'pht': 3726}}" where mtr_portfolio_id = 25870953 and dashboard_run_id = 2113131 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`=25870953 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13889319, 0.030618384861886217, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25870953_11-08-2025_10_48_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25870988, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25870989, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25870990, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25870991, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25870992, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25870993, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25870994, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25870995, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25870996, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25870997, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25870998, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25870999, '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 = 25871461 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': 3497778, 'mtr_portfolio_id': 25871461, 'created_at': datetime.datetime(2025, 8, 11, 11, 2, 57), 'result': '0.05872505015514822', 'result_long': None, 'result_double': None}] Qualite : 0.05872505015514822 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25871461 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25871461_11-08-2025_11_02_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25871461 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_P25871461_11-08-2025_11_02_57.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25871496, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25871497, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25871498, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25871499, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25871500, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25871501, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25871502, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25871503, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25871504, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25871505, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25871506, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25871507, 'pht': 3726}}" where mtr_portfolio_id = 25871461 and dashboard_run_id = 2113131 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`=25871461 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13889320, 0.05872505015514822, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25871461_11-08-2025_11_02_57.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25871496, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25871497, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25871498, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25871499, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25871500, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25871501, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25871502, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25871503, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25871504, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25871505, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25871506, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25871507, '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 = 25871841 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': 3497984, 'mtr_portfolio_id': 25871841, 'created_at': datetime.datetime(2025, 8, 11, 11, 16, 34), 'result': '0.03272067744697506', 'result_long': None, 'result_double': None}] Qualite : 0.03272067744697506 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25871841 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25871841_11-08-2025_11_16_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25871841 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_P25871841_11-08-2025_11_16_34.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25871862, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25871863, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25871864, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25871865, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25871866, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25871867, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25871868, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25871869, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25871870, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25871871, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25871872, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25871873, 'pht': 3726}}" where mtr_portfolio_id = 25871841 and dashboard_run_id = 2113131 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`=25871841 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13889321, 0.03272067744697506, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25871841_11-08-2025_11_16_34.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25871862, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25871863, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25871864, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25871865, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25871866, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25871867, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25871868, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25871869, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25871870, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25871871, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25871872, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25871873, '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 = 25872460 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': 3498176, 'mtr_portfolio_id': 25872460, 'created_at': datetime.datetime(2025, 8, 11, 11, 32, 59), 'result': '0.05181511967872851', 'result_long': None, 'result_double': None}] Qualite : 0.05181511967872851 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25872460 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25872460_11-08-2025_11_33_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25872460 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_P25872460_11-08-2025_11_33_00.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 25872505, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25872506, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25872507, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25872508, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25872509, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25872510, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25872511, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25872512, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25872513, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25872514, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25872515, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25872516, 'pht': 3726}}" where mtr_portfolio_id = 25872460 and dashboard_run_id = 2113131 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`=25872460 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13889322, 0.05181511967872851, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25872460_11-08-2025_11_33_00.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 25872505, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25872506, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25872507, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25872508, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25872509, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25872510, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25872511, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25872512, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25872513, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25872514, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25872515, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25872516, '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 = 25873111 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': 3498413, 'mtr_portfolio_id': 25873111, 'created_at': datetime.datetime(2025, 8, 11, 11, 46, 58), 'result': '0.03355898057736579', 'result_long': None, 'result_double': None}] Qualite : 0.03355898057736579 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25873111 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25873111_11-08-2025_11_46_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25873111 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_P25873111_11-08-2025_11_46_58.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25873121, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25873122, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25873123, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25873124, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25873125, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25873126, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25873127, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25873128, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25873129, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25873130, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25873131, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25873132, 'pht': 3726}}" where mtr_portfolio_id = 25873111 and dashboard_run_id = 2113131 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`=25873111 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13889323, 0.03355898057736579, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25873111_11-08-2025_11_46_58.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25873121, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25873122, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25873123, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25873124, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25873125, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25873126, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25873127, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25873128, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25873129, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25873130, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25873131, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25873132, '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 = 25873549 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': 3498592, 'mtr_portfolio_id': 25873549, 'created_at': datetime.datetime(2025, 8, 11, 12, 2, 59), 'result': '0.097738050864269', 'result_long': None, 'result_double': None}] Qualite : 0.097738050864269 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25873549 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25873549_11-08-2025_12_03_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25873549 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_P25873549_11-08-2025_12_03_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25873565, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25873566, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25873567, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25873568, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25873569, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25873570, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25873571, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25873572, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25873573, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25873574, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25873575, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25873576, 'pht': 3726}}" where mtr_portfolio_id = 25873549 and dashboard_run_id = 2113131 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`=25873549 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13889324, 0.097738050864269, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25873549_11-08-2025_12_03_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25873565, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25873566, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25873567, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25873568, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25873569, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25873570, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25873571, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25873572, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25873573, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25873574, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25873575, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25873576, '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 = 25874015 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': 3498829, 'mtr_portfolio_id': 25874015, 'created_at': datetime.datetime(2025, 8, 11, 12, 23), 'result': '0.05066639730407634', 'result_long': None, 'result_double': None}] Qualite : 0.05066639730407634 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25874015 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25874015_11-08-2025_12_23_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25874015 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_P25874015_11-08-2025_12_23_01.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25874035, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25874036, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25874037, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25874038, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25874039, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25874040, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25874041, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25874042, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25874043, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25874044, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25874045, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25874046, 'pht': 3726}}" where mtr_portfolio_id = 25874015 and dashboard_run_id = 2113131 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`=25874015 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13889325, 0.05066639730407634, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25874015_11-08-2025_12_23_01.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25874035, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25874036, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25874037, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25874038, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25874039, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25874040, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25874041, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25874042, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25874043, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25874044, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25874045, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25874046, '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 = 25874638 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': 3499130, 'mtr_portfolio_id': 25874638, 'created_at': datetime.datetime(2025, 8, 11, 12, 32, 59), 'result': '0.07354015406092435', 'result_long': None, 'result_double': None}] Qualite : 0.07354015406092435 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25874638 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25874638_11-08-2025_12_32_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25874638 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_P25874638_11-08-2025_12_32_59.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25874653, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25874654, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25874655, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25874656, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25874657, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25874658, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25874659, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25874661, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25874662, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25874663, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25874664, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25874665, 'pht': 3726}}" where mtr_portfolio_id = 25874638 and dashboard_run_id = 2113131 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`=25874638 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13889326, 0.07354015406092435, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25874638_11-08-2025_12_32_59.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25874653, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25874654, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25874655, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25874656, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25874657, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25874658, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25874659, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25874661, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25874662, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25874663, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25874664, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25874665, '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 = 25874930 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': 3499274, 'mtr_portfolio_id': 25874930, 'created_at': datetime.datetime(2025, 8, 11, 13, 4, 59), 'result': '0.048946625561303046', 'result_long': None, 'result_double': None}] Qualite : 0.048946625561303046 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25874930 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25874930_11-08-2025_13_04_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25874930 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_P25874930_11-08-2025_13_04_59.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25874959, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25874960, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25874961, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25874962, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25874963, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25874964, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25874965, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25874966, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25874967, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25874968, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25874969, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25874970, 'pht': 3726}}" where mtr_portfolio_id = 25874930 and dashboard_run_id = 2113131 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`=25874930 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13889327, 0.048946625561303046, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25874930_11-08-2025_13_04_59.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25874959, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25874960, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25874961, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25874962, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25874963, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25874964, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25874965, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25874966, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25874967, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25874968, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25874969, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25874970, '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 = 25875881 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': 3499687, 'mtr_portfolio_id': 25875881, 'created_at': datetime.datetime(2025, 8, 11, 13, 19), 'result': '0.10259705253656123', 'result_long': None, 'result_double': None}] Qualite : 0.10259705253656123 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25875881 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25875881_11-08-2025_13_19_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25875881 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_P25875881_11-08-2025_13_19_01.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25875886, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25875887, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25875888, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25875889, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25875890, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25875891, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25875892, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25875893, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25875894, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25875895, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25875896, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25875897, 'pht': 3726}}" where mtr_portfolio_id = 25875881 and dashboard_run_id = 2113131 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`=25875881 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13889328, 0.10259705253656123, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25875881_11-08-2025_13_19_01.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25875886, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25875887, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25875888, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25875889, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25875890, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25875891, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25875892, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25875893, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25875894, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25875895, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25875896, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25875897, '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 = 25876305 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': 3499747, 'mtr_portfolio_id': 25876305, 'created_at': datetime.datetime(2025, 8, 11, 13, 32, 59), 'result': '0.046245696781947274', 'result_long': None, 'result_double': None}] Qualite : 0.046245696781947274 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25876305 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25876305_11-08-2025_13_33_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25876305 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_P25876305_11-08-2025_13_33_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25876315, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25876316, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25876317, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25876318, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25876319, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25876320, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25876321, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25876322, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25876323, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25876324, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25876325, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25876326, 'pht': 3726}}" where mtr_portfolio_id = 25876305 and dashboard_run_id = 2113131 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`=25876305 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13889329, 0.046245696781947274, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25876305_11-08-2025_13_33_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25876315, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25876316, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25876317, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25876318, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25876319, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25876320, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25876321, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25876322, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25876323, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25876324, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25876325, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25876326, '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 = 25876645 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': 3499881, 'mtr_portfolio_id': 25876645, 'created_at': datetime.datetime(2025, 8, 11, 13, 49, 27), 'result': '0.03734073812958183', 'result_long': None, 'result_double': None}] Qualite : 0.03734073812958183 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25876645 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25876645_11-08-2025_13_49_27.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25876645 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_P25876645_11-08-2025_13_49_27.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25876695, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25876696, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25876697, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25876698, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25876699, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25876700, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25876701, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25876702, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25876703, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25876704, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25876705, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25876706, 'pht': 3726}}" where mtr_portfolio_id = 25876645 and dashboard_run_id = 2113131 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`=25876645 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13889330, 0.03734073812958183, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25876645_11-08-2025_13_49_27.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25876695, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25876696, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25876697, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25876698, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25876699, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25876700, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25876701, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25876702, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25876703, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25876704, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25876705, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25876706, '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 = 25877056 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': 3500020, 'mtr_portfolio_id': 25877056, 'created_at': datetime.datetime(2025, 8, 11, 14, 3), 'result': '0.03219117950365315', 'result_long': None, 'result_double': None}] Qualite : 0.03219117950365315 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25877056 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25877056_11-08-2025_14_03_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25877056 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_P25877056_11-08-2025_14_03_00.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 25877064, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25877065, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25877066, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25877067, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25877068, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25877069, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25877070, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25877071, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25877072, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25877073, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25877074, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25877075, 'pht': 3726}}" where mtr_portfolio_id = 25877056 and dashboard_run_id = 2113131 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`=25877056 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13889331, 0.03219117950365315, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25877056_11-08-2025_14_03_00.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 25877064, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25877065, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25877066, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25877067, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25877068, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25877069, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25877070, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25877071, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25877072, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25877073, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25877074, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25877075, '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 = 25877510 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': 3500247, 'mtr_portfolio_id': 25877510, 'created_at': datetime.datetime(2025, 8, 11, 14, 16, 57), 'result': '0.0227928828635785', 'result_long': None, 'result_double': None}] Qualite : 0.0227928828635785 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25877510 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25877510_11-08-2025_14_16_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25877510 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_P25877510_11-08-2025_14_16_58.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25877538, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25877539, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25877540, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25877541, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25877542, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25877543, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25877544, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25877545, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25877546, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25877547, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25877549, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25877550, 'pht': 3726}}" where mtr_portfolio_id = 25877510 and dashboard_run_id = 2113131 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`=25877510 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13889332, 0.0227928828635785, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25877510_11-08-2025_14_16_58.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25877538, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25877539, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25877540, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25877541, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25877542, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25877543, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25877544, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25877545, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25877546, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25877547, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25877549, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25877550, '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 = 25878321 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': 3500591, 'mtr_portfolio_id': 25878321, 'created_at': datetime.datetime(2025, 8, 11, 14, 32, 59), 'result': '0.06521030839259022', 'result_long': None, 'result_double': None}] Qualite : 0.06521030839259022 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25878321 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25878321_11-08-2025_14_32_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25878321 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_P25878321_11-08-2025_14_32_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25878325, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25878326, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25878327, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25878328, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25878329, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25878330, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25878331, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25878332, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25878333, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25878334, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25878335, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25878336, 'pht': 3726}}" where mtr_portfolio_id = 25878321 and dashboard_run_id = 2113131 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`=25878321 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13889333, 0.06521030839259022, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25878321_11-08-2025_14_32_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25878325, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25878326, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25878327, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25878328, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25878329, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25878330, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25878331, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25878332, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25878333, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25878334, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25878335, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25878336, '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 = 25878725 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': 3500774, 'mtr_portfolio_id': 25878725, 'created_at': datetime.datetime(2025, 8, 11, 14, 46, 59), 'result': '0.016435802295908658', 'result_long': None, 'result_double': None}] Qualite : 0.016435802295908658 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25878725 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25878725_11-08-2025_14_47_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25878725 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_P25878725_11-08-2025_14_47_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25878769, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25878770, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25878771, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25878772, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25878773, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25878774, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25878775, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25878776, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25878777, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25878778, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25878779, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25878780, 'pht': 3726}}" where mtr_portfolio_id = 25878725 and dashboard_run_id = 2113131 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`=25878725 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13889334, 0.016435802295908658, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25878725_11-08-2025_14_47_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25878769, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25878770, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25878771, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25878772, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25878773, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25878774, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25878775, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25878776, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25878777, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25878778, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25878779, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25878780, '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 = 25879292 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': 3501003, 'mtr_portfolio_id': 25879292, 'created_at': datetime.datetime(2025, 8, 11, 15, 2, 58), 'result': '0.13873760201286442', 'result_long': None, 'result_double': None}] Qualite : 0.13873760201286442 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25879292 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25879292_11-08-2025_15_02_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25879292 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_P25879292_11-08-2025_15_02_58.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25879296, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25879297, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25879298, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25879299, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25879300, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25879301, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25879302, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25879303, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25879304, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25879305, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25879306, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25879307, 'pht': 3726}}" where mtr_portfolio_id = 25879292 and dashboard_run_id = 2113131 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`=25879292 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13889335, 0.13873760201286442, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25879292_11-08-2025_15_02_58.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25879296, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25879297, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25879298, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25879299, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25879300, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25879301, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25879302, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25879303, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25879304, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25879305, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25879306, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25879307, '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 = 25879781 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': 3501206, 'mtr_portfolio_id': 25879781, 'created_at': datetime.datetime(2025, 8, 11, 15, 25), 'result': '0.0690058756159746', 'result_long': None, 'result_double': None}] Qualite : 0.0690058756159746 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25879781 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25879781_11-08-2025_15_25_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25879781 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_P25879781_11-08-2025_15_25_01.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25879786, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25879787, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25879788, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25879789, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25879790, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25879791, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25879792, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25879793, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25879794, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25879795, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25879796, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25879797, 'pht': 3726}}" where mtr_portfolio_id = 25879781 and dashboard_run_id = 2113131 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`=25879781 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13889336, 0.0690058756159746, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25879781_11-08-2025_15_25_01.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25879786, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25879787, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25879788, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25879789, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25879790, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25879791, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25879792, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25879793, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25879794, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25879795, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25879796, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25879797, '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 = 25880423 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': 3501482, 'mtr_portfolio_id': 25880423, 'created_at': datetime.datetime(2025, 8, 11, 15, 33, 1), 'result': '0.07377639895165616', 'result_long': None, 'result_double': None}] Qualite : 0.07377639895165616 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25880423 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25880423_11-08-2025_15_33_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25880423 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_P25880423_11-08-2025_15_33_01.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25880435, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25880436, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25880437, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25880438, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25880439, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25880440, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25880441, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25880442, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25880443, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25880444, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25880445, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25880446, 'pht': 3726}}" where mtr_portfolio_id = 25880423 and dashboard_run_id = 2113131 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`=25880423 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13889337, 0.07377639895165616, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25880423_11-08-2025_15_33_01.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25880435, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25880436, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25880437, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25880438, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25880439, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25880440, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25880441, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25880442, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25880443, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25880444, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25880445, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25880446, '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 = 25880610 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': 3501590, 'mtr_portfolio_id': 25880610, 'created_at': datetime.datetime(2025, 8, 11, 15, 46, 58), 'result': '0.023004423071545835', 'result_long': None, 'result_double': None}] Qualite : 0.023004423071545835 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25880610 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25880610_11-08-2025_15_46_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25880610 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_P25880610_11-08-2025_15_46_59.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 25880632, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25880633, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25880634, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25880635, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25880636, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25880637, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25880638, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25880639, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25880640, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25880641, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25880642, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25880643, 'pht': 3726}}" where mtr_portfolio_id = 25880610 and dashboard_run_id = 2113131 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`=25880610 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13889338, 0.023004423071545835, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25880610_11-08-2025_15_46_59.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 25880632, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25880633, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25880634, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25880635, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25880636, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25880637, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25880638, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25880639, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25880640, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25880641, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25880642, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25880643, '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 = 25880978 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': 3501771, 'mtr_portfolio_id': 25880978, 'created_at': datetime.datetime(2025, 8, 11, 16, 2, 58), 'result': '0.08026325985787529', 'result_long': None, 'result_double': None}] Qualite : 0.08026325985787529 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25880978 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25880978_11-08-2025_16_02_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25880978 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_P25880978_11-08-2025_16_02_59.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25880992, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25880993, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25880994, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25880995, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25880996, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25880997, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25880998, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25880999, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25881000, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25881001, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25881002, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25881003, 'pht': 3726}}" where mtr_portfolio_id = 25880978 and dashboard_run_id = 2113131 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`=25880978 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13889339, 0.08026325985787529, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25880978_11-08-2025_16_02_59.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25880992, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25880993, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25880994, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25880995, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25880996, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25880997, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25880998, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25880999, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25881000, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25881001, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25881002, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25881003, '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 = 25881408 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': 3502011, 'mtr_portfolio_id': 25881408, 'created_at': datetime.datetime(2025, 8, 11, 16, 16, 58), 'result': '0.045091584539776346', 'result_long': None, 'result_double': None}] Qualite : 0.045091584539776346 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25881408 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25881408_11-08-2025_16_16_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25881408 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_P25881408_11-08-2025_16_16_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25881452, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25881453, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25881454, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25881455, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25881456, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25881457, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25881458, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25881459, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25881460, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25881461, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25881462, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25881463, 'pht': 3726}}" where mtr_portfolio_id = 25881408 and dashboard_run_id = 2113131 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`=25881408 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13889340, 0.045091584539776346, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25881408_11-08-2025_16_16_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25881452, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25881453, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25881454, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25881455, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25881456, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25881457, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25881458, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25881459, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25881460, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25881461, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25881462, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25881463, '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 = 25882064 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': 3502222, 'mtr_portfolio_id': 25882064, 'created_at': datetime.datetime(2025, 8, 11, 16, 33), 'result': '0.035382169576024726', 'result_long': None, 'result_double': None}] Qualite : 0.035382169576024726 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25882064 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25882064_11-08-2025_16_33_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25882064 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_P25882064_11-08-2025_16_33_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25882082, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25882083, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25882084, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25882085, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25882086, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25882088, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25882089, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25882090, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25882091, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25882092, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25882093, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25882094, 'pht': 3726}}" where mtr_portfolio_id = 25882064 and dashboard_run_id = 2113131 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`=25882064 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13889341, 0.035382169576024726, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25882064_11-08-2025_16_33_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25882082, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25882083, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25882084, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25882085, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25882086, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25882088, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25882089, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25882090, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25882091, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25882092, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25882093, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25882094, '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 = 25882962 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': 3502524, 'mtr_portfolio_id': 25882962, 'created_at': datetime.datetime(2025, 8, 11, 16, 48, 56), 'result': '0.018545402753002815', 'result_long': None, 'result_double': None}] Qualite : 0.018545402753002815 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25882962 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25882962_11-08-2025_16_48_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25882962 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_P25882962_11-08-2025_16_48_57.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25882971, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25882972, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25882973, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25882974, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25882975, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25882976, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25882977, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25882978, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25882979, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25882980, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25882981, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25882982, 'pht': 3726}}" where mtr_portfolio_id = 25882962 and dashboard_run_id = 2113131 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`=25882962 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13889342, 0.018545402753002815, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25882962_11-08-2025_16_48_57.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25882971, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25882972, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25882973, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25882974, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25882975, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25882976, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25882977, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25882978, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25882979, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25882980, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25882981, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25882982, '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 = 25883355 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': 3502677, 'mtr_portfolio_id': 25883355, 'created_at': datetime.datetime(2025, 8, 11, 17, 3), 'result': '0.10223031355703611', 'result_long': None, 'result_double': None}] Qualite : 0.10223031355703611 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25883355 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25883355_11-08-2025_17_03_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25883355 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_P25883355_11-08-2025_17_03_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25883408, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25883409, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25883410, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25883411, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25883412, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25883413, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25883414, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25883415, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25883416, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25883417, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25883418, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25883419, 'pht': 3726}}" where mtr_portfolio_id = 25883355 and dashboard_run_id = 2113131 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`=25883355 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13889343, 0.10223031355703611, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25883355_11-08-2025_17_03_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25883408, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25883409, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25883410, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25883411, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25883412, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25883413, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25883414, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25883415, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25883416, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25883417, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25883418, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25883419, '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 = 25883820 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': 3502919, 'mtr_portfolio_id': 25883820, 'created_at': datetime.datetime(2025, 8, 11, 17, 16, 58), 'result': '0.006556430880331939', 'result_long': None, 'result_double': None}] Qualite : 0.006556430880331939 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25883820 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25883820_11-08-2025_17_16_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25883820 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_P25883820_11-08-2025_17_16_59.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 25883873, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25883874, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25883875, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25883876, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25883877, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25883878, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25883879, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25883880, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25883881, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25883882, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25883883, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25883884, 'pht': 3726}}" where mtr_portfolio_id = 25883820 and dashboard_run_id = 2113131 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`=25883820 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13889344, 0.006556430880331939, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25883820_11-08-2025_17_16_59.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 25883873, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25883874, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25883875, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25883876, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25883877, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25883878, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25883879, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25883880, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25883881, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25883882, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25883883, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25883884, '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 = 25884548 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': 3503144, 'mtr_portfolio_id': 25884548, 'created_at': datetime.datetime(2025, 8, 11, 18, 3, 27), 'result': '0.058606948012358696', 'result_long': None, 'result_double': None}] Qualite : 0.058606948012358696 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25884548 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25884548_11-08-2025_18_03_28.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25884548 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_P25884548_11-08-2025_18_03_28.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25884589, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25884590, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25884591, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25884592, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25884593, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25884594, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25884595, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25884596, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25884597, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25884598, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25884599, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25884600, 'pht': 3726}}" where mtr_portfolio_id = 25884548 and dashboard_run_id = 2113131 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`=25884548 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13889345, 0.058606948012358696, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25884548_11-08-2025_18_03_28.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25884589, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25884590, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25884591, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25884592, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25884593, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25884594, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25884595, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25884596, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25884597, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25884598, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25884599, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25884600, '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 = 25885952 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': 3503798, 'mtr_portfolio_id': 25885952, 'created_at': datetime.datetime(2025, 8, 11, 18, 18, 57), 'result': '0.05734882280069833', 'result_long': None, 'result_double': None}] Qualite : 0.05734882280069833 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25885952 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25885952_11-08-2025_18_18_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25885952 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_P25885952_11-08-2025_18_18_57.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25885961, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25885962, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25885963, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25885964, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25885965, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25885966, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25885967, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25885968, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25885969, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25885970, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25885971, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25885972, 'pht': 3726}}" where mtr_portfolio_id = 25885952 and dashboard_run_id = 2113131 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`=25885952 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13889346, 0.05734882280069833, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25885952_11-08-2025_18_18_57.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25885961, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25885962, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25885963, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25885964, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25885965, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25885966, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25885967, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25885968, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25885969, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25885970, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25885971, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25885972, '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 = 25886509 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': 3503917, 'mtr_portfolio_id': 25886509, 'created_at': datetime.datetime(2025, 8, 11, 18, 33), 'result': '0.02600378292191498', 'result_long': None, 'result_double': None}] Qualite : 0.02600378292191498 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25886509 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25886509_11-08-2025_18_33_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25886509 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_P25886509_11-08-2025_18_33_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25886520, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25886521, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25886522, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25886523, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25886524, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25886525, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25886526, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25886527, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25886528, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25886529, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25886530, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25886531, 'pht': 3726}}" where mtr_portfolio_id = 25886509 and dashboard_run_id = 2113131 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`=25886509 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13889347, 0.02600378292191498, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25886509_11-08-2025_18_33_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25886520, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25886521, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25886522, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25886523, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25886524, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25886525, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25886526, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25886527, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25886528, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25886529, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25886530, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25886531, '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 = 25886915 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': 3504012, 'mtr_portfolio_id': 25886915, 'created_at': datetime.datetime(2025, 8, 11, 18, 48, 31), 'result': '0.08372068146561441', 'result_long': None, 'result_double': None}] Qualite : 0.08372068146561441 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25886915 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25886915_11-08-2025_18_48_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25886915 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_P25886915_11-08-2025_18_48_31.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25886961, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25886962, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25886963, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25886964, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25886965, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25886966, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25886967, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25886968, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25886969, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25886970, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25886971, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25886972, 'pht': 3726}}" where mtr_portfolio_id = 25886915 and dashboard_run_id = 2113131 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`=25886915 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13889348, 0.08372068146561441, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25886915_11-08-2025_18_48_31.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25886961, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25886962, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25886963, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25886964, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25886965, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25886966, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25886967, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25886968, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25886969, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25886970, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25886971, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25886972, '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 = 25887463 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': 3504242, 'mtr_portfolio_id': 25887463, 'created_at': datetime.datetime(2025, 8, 11, 19, 2, 58), 'result': '0.03263496972675258', 'result_long': None, 'result_double': None}] Qualite : 0.03263496972675258 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25887463 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25887463_11-08-2025_19_02_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25887463 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_P25887463_11-08-2025_19_02_58.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25887468, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25887469, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25887470, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25887471, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25887472, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25887473, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25887474, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25887475, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25887476, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25887477, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25887478, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25887479, 'pht': 3726}}" where mtr_portfolio_id = 25887463 and dashboard_run_id = 2113131 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`=25887463 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13889349, 0.03263496972675258, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25887463_11-08-2025_19_02_58.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25887468, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25887469, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25887470, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25887471, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25887472, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25887473, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25887474, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25887475, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25887476, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25887477, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25887478, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25887479, '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 = 25887831 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': 3504406, 'mtr_portfolio_id': 25887831, 'created_at': datetime.datetime(2025, 8, 11, 19, 16, 59), 'result': '0.05072975187223027', 'result_long': None, 'result_double': None}] Qualite : 0.05072975187223027 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25887831 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25887831_11-08-2025_19_17_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25887831 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_P25887831_11-08-2025_19_17_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25887858, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25887859, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25887860, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25887861, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25887862, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25887863, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25887864, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25887865, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25887866, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25887867, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25887868, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25887869, 'pht': 3726}}" where mtr_portfolio_id = 25887831 and dashboard_run_id = 2113131 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`=25887831 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13889350, 0.05072975187223027, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25887831_11-08-2025_19_17_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25887858, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25887859, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25887860, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25887861, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25887862, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25887863, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25887864, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25887865, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25887866, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25887867, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25887868, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25887869, '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 = 25888318 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': 3504606, 'mtr_portfolio_id': 25888318, 'created_at': datetime.datetime(2025, 8, 11, 19, 32, 58), 'result': '0.040607397259382436', 'result_long': None, 'result_double': None}] Qualite : 0.040607397259382436 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25888318 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25888318_11-08-2025_19_32_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25888318 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_P25888318_11-08-2025_19_32_58.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25888348, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25888349, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25888350, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25888351, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25888352, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25888353, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25888354, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25888355, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25888356, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25888357, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25888358, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25888359, 'pht': 3726}}" where mtr_portfolio_id = 25888318 and dashboard_run_id = 2113131 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`=25888318 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13889351, 0.040607397259382436, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25888318_11-08-2025_19_32_58.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25888348, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25888349, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25888350, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25888351, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25888352, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25888353, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25888354, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25888355, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25888356, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25888357, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25888358, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25888359, '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 = 25888800 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': 3504854, 'mtr_portfolio_id': 25888800, 'created_at': datetime.datetime(2025, 8, 11, 19, 51), 'result': '0.055940461550484766', 'result_long': None, 'result_double': None}] Qualite : 0.055940461550484766 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25888800 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25888800_11-08-2025_19_51_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25888800 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_P25888800_11-08-2025_19_51_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25888826, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25888827, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25888828, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25888829, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25888830, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25888831, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25888832, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25888833, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25888834, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25888835, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25888836, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25888837, 'pht': 3726}}" where mtr_portfolio_id = 25888800 and dashboard_run_id = 2113131 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`=25888800 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13889352, 0.055940461550484766, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25888800_11-08-2025_19_51_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25888826, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25888827, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25888828, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25888829, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25888830, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25888831, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25888832, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25888833, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25888834, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25888835, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25888836, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25888837, '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 = 25889448 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': 3505136, 'mtr_portfolio_id': 25889448, 'created_at': datetime.datetime(2025, 8, 11, 20, 2, 58), 'result': '0.03027217350337634', 'result_long': None, 'result_double': None}] Qualite : 0.03027217350337634 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25889448 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25889448_11-08-2025_20_02_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25889448 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_P25889448_11-08-2025_20_02_59.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 25889479, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25889480, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25889481, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25889482, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25889483, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25889484, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25889485, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25889486, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25889487, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25889488, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25889489, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25889490, 'pht': 3726}}" where mtr_portfolio_id = 25889448 and dashboard_run_id = 2113131 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`=25889448 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13889353, 0.03027217350337634, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25889448_11-08-2025_20_02_59.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 25889479, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25889480, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25889481, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25889482, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25889483, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25889484, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25889485, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25889486, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25889487, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25889488, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25889489, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25889490, '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 = 25889714 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': 3505329, 'mtr_portfolio_id': 25889714, 'created_at': datetime.datetime(2025, 8, 11, 20, 16, 56), 'result': '0.06479665572148362', 'result_long': None, 'result_double': None}] Qualite : 0.06479665572148362 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25889714 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25889714_11-08-2025_20_16_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25889714 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_P25889714_11-08-2025_20_16_57.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25889759, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25889760, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25889761, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25889762, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25889763, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25889764, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25889765, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25889766, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25889767, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25889768, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25889770, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25889771, 'pht': 3726}}" where mtr_portfolio_id = 25889714 and dashboard_run_id = 2113131 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`=25889714 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13889354, 0.06479665572148362, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25889714_11-08-2025_20_16_57.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25889759, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25889760, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25889761, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25889762, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25889763, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25889764, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25889765, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25889766, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25889767, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25889768, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25889770, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25889771, '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 = 25890230 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': 3505497, 'mtr_portfolio_id': 25890230, 'created_at': datetime.datetime(2025, 8, 11, 20, 34, 28), 'result': '0.04218487757174762', 'result_long': None, 'result_double': None}] Qualite : 0.04218487757174762 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25890230 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25890230_11-08-2025_20_34_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25890230 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_P25890230_11-08-2025_20_34_29.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25890265, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25890266, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25890267, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25890268, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25890269, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25890270, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25890271, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25890272, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25890273, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25890274, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25890275, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25890276, 'pht': 3726}}" where mtr_portfolio_id = 25890230 and dashboard_run_id = 2113131 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`=25890230 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13889355, 0.04218487757174762, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25890230_11-08-2025_20_34_29.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25890265, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25890266, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25890267, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25890268, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25890269, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25890270, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25890271, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25890272, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25890273, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25890274, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25890275, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25890276, '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 = 25890846 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': 3505780, 'mtr_portfolio_id': 25890846, 'created_at': datetime.datetime(2025, 8, 11, 21, 16, 59), 'result': '0.0385162267104687', 'result_long': None, 'result_double': None}] Qualite : 0.0385162267104687 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25890846 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25890846_11-08-2025_21_17_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25890846 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_P25890846_11-08-2025_21_17_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25890860, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25890861, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25890862, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25890863, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25890864, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25890865, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25890866, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25890867, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25890868, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25890869, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25890870, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25890871, 'pht': 3726}}" where mtr_portfolio_id = 25890846 and dashboard_run_id = 2113131 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`=25890846 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13889356, 0.0385162267104687, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25890846_11-08-2025_21_17_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25890860, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25890861, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25890862, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25890863, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25890864, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25890865, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25890866, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25890867, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25890868, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25890869, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25890870, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25890871, '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 = 25892108 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': 3506266, 'mtr_portfolio_id': 25892108, 'created_at': datetime.datetime(2025, 8, 11, 21, 32, 59), 'result': '0.06702238448127314', 'result_long': None, 'result_double': None}] Qualite : 0.06702238448127314 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25892108 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25892108_11-08-2025_21_33_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25892108 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_P25892108_11-08-2025_21_33_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25892127, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25892128, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25892129, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25892130, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25892131, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25892132, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25892133, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25892134, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25892135, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25892136, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25892137, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25892138, 'pht': 3726}}" where mtr_portfolio_id = 25892108 and dashboard_run_id = 2113131 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`=25892108 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13889357, 0.06702238448127314, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25892108_11-08-2025_21_33_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25892127, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25892128, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25892129, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25892130, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25892131, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25892132, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25892133, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25892134, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25892135, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25892136, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25892137, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25892138, '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 = 25893569 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': 3506528, 'mtr_portfolio_id': 25893569, 'created_at': datetime.datetime(2025, 8, 11, 22, 37), 'result': '0.06498277053466085', 'result_long': None, 'result_double': None}] Qualite : 0.06498277053466085 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25893569 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25893569_11-08-2025_22_37_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25893569 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_P25893569_11-08-2025_22_37_00.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25893570, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25893571, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25893572, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25893573, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25893574, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25893575, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25893576, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25893577, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25893578, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25893579, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25893580, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25893581, 'pht': 3726}}" where mtr_portfolio_id = 25893569 and dashboard_run_id = 2113131 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`=25893569 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13889358, 0.06498277053466085, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25893569_11-08-2025_22_37_00.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25893570, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25893571, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25893572, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25893573, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25893574, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25893575, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25893576, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25893577, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25893578, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25893579, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25893580, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25893581, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (25861976,25862084,25862313,25862578,25862901,25863397,25863832,25864365,25864819,25865316,25865676,25866107,25866527,25867258,25867642,25868093,25869425,25869673,25870073,25870454,25870953,25871461,25871841,25872460,25873111,25873549,25874015,25874638,25874930,25875881,25876305,25876645,25877056,25877510,25878321,25878725,25879292,25879781,25880423,25880610,25880978,25881408,25882064,25882962,25883355,25883820,25884548,25885952,25886509,25886915,25887463,25887831,25888318,25888800,25889448,25889714,25890230,25890846,25892108,25893569) result : ((1376384821,), (1376385171,), (1376385185,), (1376385187,), (1376385195,), (1376385198,), (1376385199,), (1376385200,), (1376385227,), (1376385228,), (1376385247,), (1376385245,), (1376385261,), (1376385262,), (1376385263,), (1376385279,), (1376385281,), (1376385282,), (1376385283,), (1376385284,), (1376385292,), (1376385293,), (1376385317,), (1376385331,), (1376385354,), (1376385357,), (1376385360,), (1376385363,), (1376385413,), (1376385416,), (1376385418,), (1376385429,), (1376385430,), (1376385443,), (1376385455,), (1376385458,), (1376385460,), (1376385462,), (1376385476,), (1376385479,), (1376385520,), (1376385523,), (1376385524,), (1376385525,), (1376385542,), (1376385544,), (1376385545,), (1376385547,), (1376385567,), (1376385563,), (1376385564,), (1376385566,), (1376385586,), (1376385589,), (1376385590,), (1376385592,), (1376385593,), (1376385605,), (1376385607,), (1376385608,), (1376385620,), (1376385623,), (1376385624,), (1376385625,), (1376385626,), (1376385627,), (1376385634,), (1376385635,), (1376385636,), (1376385637,), (1376385638,), (1376385648,), (1376385650,), (1376385651,), (1376385659,), (1376385660,), (1376385661,), (1376385662,), (1376385663,), (1376385679,), (1376385681,), (1376385682,), (1376385683,), (1376385691,), (1376385692,), (1376385693,), (1376385694,), (1376385717,), (1376385723,), (1376385724,), (1376385725,), (1376385726,), (1376385735,), (1376385736,), (1376385737,), (1376385759,), (1376385761,), (1376385762,), (1376385763,), (1376385777,), (1376385778,), (1376385780,), (1376385781,), (1376385782,), (1376385797,), (1376385801,), (1376385802,), (1376385804,), (1376385806,), (1376385812,), (1376385813,), (1376385814,), (1376385816,), (1376385819,), (1376385821,), (1376385831,), (1376385834,), (1376385836,), (1376385843,), (1376385841,), (1376385842,), (1376385852,), (1376385854,), (1376385857,), (1376385860,), (1376385863,), (1376385866,), (1376385877,), (1376385878,), (1376385879,), (1376385881,), (1376385898,), (1376385899,), (1376385900,), (1376385901,), (1376385920,), (1376385921,), (1376385922,), (1376385923,), (1376385924,), (1376385939,), (1376385941,), (1376385955,), (1376385957,), (1376385966,), (1376385978,), (1376385980,), (1376385982,), (1376385983,), (1376385991,), (1376385993,), (1376385995,), (1376385998,), (1376386001,), (1376386003,), (1376386010,), (1376386012,), (1376386014,), (1376386017,), (1376386020,), (1376386021,), (1376386029,), (1376386030,), (1376386031,), (1376386036,), (1376386038,), (1376386040,), (1376386041,), (1376386044,), (1376386056,), (1376386058,), (1376386060,), (1376386061,), (1376386063,), (1376386065,), (1376386261,), (1376386284,), (1376386306,), (1376386328,), (1376386761,), (1376386782,), (1376386804,), (1376386835,), (1376386856,), (1376386882,), (1376386936,), (1376386937,), (1376386944,), (1376386946,), (1376387080,), (1376386987,), (1376387010,), (1376387032,), (1376387057,), (1376387142,), (1376387144,), (1376387145,), (1376387146,), (1376387148,), (1376387156,), (1376387157,), (1376387158,), (1376387159,), (1376387162,), (1376387164,), (1376387188,), (1376387216,), (1376387236,), (1376387259,), (1376387281,), (1376387553,), (1376387576,), (1376387599,), (1376387621,), (1376387822,), (1376387825,), (1376387826,), (1376387828,), (1376388027,), (1376388029,), (1376388030,), (1376388032,), (1376388033,), (1376388035,), (1376388064,), (1376388067,), (1376388068,), (1376388069,), (1376388091,), (1376388093,), (1376388095,), (1376388096,), (1376388141,), (1376388143,), (1376388169,), (1376388174,), (1376388176,), (1376388177,), (1376388179,), (1376388197,), (1376388199,), (1376388200,), (1376388218,), (1376388220,), (1376388221,), (1376388222,), (1376388223,), (1376388226,), (1376388236,), (1376388254,), (1376388269,), (1376388271,), (1376388272,), (1376388274,), (1376388278,), (1376388306,), (1376388310,), (1376388311,), (1376388312,), (1376388313,), (1376388316,), (1376388330,), (1376388331,), (1376388332,), (1376388333,), (1376388361,), (1376388362,), (1376388363,), (1376388364,), (1376388388,), (1376388392,), (1376388394,), (1376388397,), (1376388400,), (1376388403,), (1376388425,), (1376388426,), (1376388428,), (1376388431,), (1376388433,), (1376388442,), (1376388444,), (1376388446,), (1376388447,), (1376388449,), (1376388488,), (1376388490,), (1376388517,), (1376388542,), (1376388585,), (1376388587,), (1376388589,), (1376388592,), (1376388611,), (1376388612,), (1376388647,), (1376388639,), (1376388641,), (1376388642,), (1376388644,), (1376388677,), (1376388679,), (1376388680,), (1376388682,), (1376388696,), (1376388697,), (1376388716,), (1376388717,), (1376388718,), (1376388720,), (1376388743,), (1376388744,), (1376388745,), (1376388748,), (1376388752,), (1376388756,), (1376388772,), (1376388774,), (1376388775,), (1376388778,), (1376388782,), (1376388799,), (1376388801,), (1376388803,), (1376388841,), (1376388844,), (1376388845,), (1376388847,), (1376388850,), (1376388852,), (1376388876,), (1376388879,), (1376388881,), (1376388883,), (1376388908,), (1376388912,), (1376388913,), (1376388915,), (1376388919,), (1376388951,), (1376388954,), (1376388956,), (1376388994,), (1376388999,), (1376389014,), (1376389017,), (1376389019,), (1376389038,), (1376389040,), (1376389043,), (1376389045,), (1376389049,), (1376389068,), (1376389071,), (1376389073,), (1376389111,), (1376389096,), (1376389099,), (1376389101,), (1376389106,), (1376389135,), (1376389137,), (1376389139,), (1376389143,), (1376389172,), (1376389174,), (1376389175,), (1376389177,), (1376389181,), (1376389204,), (1376389206,), (1376389207,), (1376389209,), (1376389213,), (1376389235,), (1376389237,), (1376389281,), (1376389284,), (1376389287,), (1376389289,), (1376389320,), (1376389324,), (1376389326,), (1376389329,), (1376389364,), (1376389368,), (1376389398,), (1376389403,), (1376389406,), (1376389409,), (1376389413,), (1376389416,), (1376389430,), (1376389432,), (1376389433,), (1376389435,), (1376389438,), (1376389456,), (1376389458,), (1376389489,), (1376389491,), (1376389492,), (1376389494,), (1376389531,), (1376389533,), (1376389534,), (1376389579,), (1376389586,), (1376389590,), (1376390269,), (1376390262,), (1376390264,), (1376390267,), (1376390384,), (1376390407,), (1376390432,), (1376390670,), (1376390711,), (1376390738,), (1376391141,), (1376391170,), (1376391193,), (1376391516,), (1376391541,), (1376391564,), (1376391567,), (1376391570,), (1376391760,), (1376391803,), (1376391850,), (1376391897,), (1376391936,), (1376392277,), (1376392304,), (1376392328,), (1376392352,), (1376392394,), (1376392649,), (1376392674,), (1376392779,), (1376392802,), (1376393020,), (1376393022,), (1376393023,), (1376393051,), (1376393053,), (1376393054,), (1376393056,), (1376393087,), (1376393089,), (1376393091,), (1376393093,), (1376393096,), (1376393116,), (1376393120,), (1376393129,), (1376393143,), (1376393206,), (1376393167,), (1376393176,), (1376393186,), (1376393196,), (1376393201,), (1376393226,), (1376393229,), (1376393231,), (1376393235,), (1376393256,), (1376393272,), (1376393285,), (1376393289,), (1376393292,), (1376393310,), (1376393312,), (1376393336,), (1376393339,), (1376393343,), (1376393346,), (1376393349,), (1376393369,), (1376393372,), (1376393377,), (1376393381,), (1376393386,), (1376393410,), (1376393414,), (1376393417,), (1376393420,), (1376393423,), (1376393452,), (1376393455,), (1376393458,), (1376393461,), (1376393465,), (1376393468,), (1376393489,), (1376393492,), (1376393493,), (1376393498,), (1376393503,), (1376393509,), (1376393523,), (1376393525,), (1376393526,), (1376393529,), (1376393532,), (1376393554,), (1376393582,), (1376393584,), (1376393586,), (1376393588,), (1376393629,), (1376393630,), (1376393631,), (1376393633,), (1376393636,), (1376393659,), (1376393661,), (1376393662,), (1376393664,), (1376393666,), (1376393671,), (1376393700,), (1376393701,), (1376393703,), (1376393705,), (1376393746,), (1376393732,), (1376393733,), (1376393737,), (1376393739,), (1376393741,), (1376393768,), (1376393769,), (1376393770,), (1376393793,), (1376393794,), (1376393795,), (1376393797,), (1376393828,), (1376393830,), (1376393831,), (1376393833,), (1376393836,), (1376393858,), (1376393861,), (1376393863,), (1376393866,), (1376393868,), (1376393870,), (1376393885,), (1376393904,), (1376393906,), (1376393909,), (1376393928,), (1376393932,), (1376393934,), (1376393936,), (1376393939,), (1376393942,), (1376393962,), (1376393966,), (1376393968,), (1376393971,), (1376393996,), (1376393999,), (1376394001,), (1376394003,), (1376394006,), (1376394009,), (1376394035,), (1376394039,), (1376394042,), (1376394045,), (1376394047,), (1376394092,), (1376394094,), (1376394097,), (1376394134,), (1376394137,), (1376394138,), (1376394140,), (1376394143,), (1376394146,), (1376394168,), (1376394171,), (1376394173,), (1376394174,), (1376394177,), (1376394206,), (1376394208,), (1376394210,), (1376394214,), (1376394232,), (1376394243,), (1376394250,), (1376394254,), (1376394257,), (1376394261,), (1376394290,), (1376394283,), (1376394285,), (1376394287,), (1376394316,), (1376394318,), (1376394340,), (1376394342,), (1376394344,), (1376394346,), (1376394368,), (1376394371,), (1376394373,), (1376394397,), (1376394398,), (1376394401,), (1376394428,), (1376394433,), (1376394436,), (1376394438,), (1376394441,), (1376394466,), (1376394472,), (1376394474,), (1376394477,), (1376394479,), (1376394493,), (1376394495,), (1376394497,), (1376394499,), (1376394526,), (1376394528,), (1376394530,), (1376394533,), (1376394535,), (1376394539,), (1376394552,), (1376394554,), (1376394556,), (1376394558,), (1376394562,), (1376394565,), (1376394578,), (1376394581,), (1376394582,), (1376394611,), (1376394614,), (1376394616,), (1376394618,), (1376394621,), (1376394646,), (1376394649,), (1376394650,), (1376394652,), (1376394655,), (1376394658,), (1376395582,), (1376395603,), (1376395630,), (1376395653,), (1376395681,), (1376395710,), (1376395839,), (1376396096,), (1376396019,), (1376396045,), (1376396072,), (1376396093,), (1376396375,), (1376396382,), (1376396385,), (1376396662,), (1376396687,), (1376396710,), (1376396731,), (1376397051,), (1376397081,), (1376397104,), (1376397128,), (1376397379,), (1376397386,), (1376397388,), (1376397391,), (1376397482,), (1376397505,), (1376397530,), (1376397560,), (1376397586,), (1376397763,), (1376397765,), (1376397766,), (1376397769,), (1376397813,), (1376397815,), (1376397816,), (1376397818,), (1376397898,), (1376397900,), (1376397903,), (1376397905,), (1376397917,), (1376398030,), (1376398033,), (1376398035,), (1376398258,), (1376398282,), (1376398307,), (1376398336,), (1376398366,), (1376398698,), (1376398725,), (1376398754,), (1376398775,), (1376398866,), (1376398867,), (1376399379,), (1376399374,), (1376399376,), (1376399377,), (1376399412,), (1376399413,), (1376399414,), (1376399415,), (1376399417,), (1376399420,), (1376399469,), (1376399494,), (1376399519,), (1376399541,), (1376399566,), (1376399803,), (1376399807,), (1376399814,), (1376399877,), (1376399881,), (1376399891,), (1376399894,), (1376399962,), (1376399963,), (1376399965,), (1376399967,), (1376399969,), (1376399971,), (1376399993,), (1376399996,), (1376400001,), (1376400003,), (1376400023,), (1376400025,), (1376400026,), (1376400054,), (1376400056,), (1376400057,), (1376400059,), (1376400078,), (1376400082,), (1376400083,), (1376400085,), (1376400088,), (1376400116,), (1376400117,), (1376400119,), (1376400168,), (1376400160,), (1376400161,), (1376400162,), (1376400164,), (1376400193,), (1376400197,), (1376400198,), (1376400200,), (1376400201,), (1376400208,), (1376400229,), (1376400230,), (1376400231,), (1376400257,), (1376400258,), (1376400259,), (1376400262,), (1376400263,), (1376400310,), (1376400312,), (1376400313,), (1376400316,), (1376400337,), (1376400339,), (1376400341,), (1376400343,), (1376400359,), (1376400361,), (1376400362,), (1376400364,), (1376400399,), (1376400401,), (1376400402,), (1376400430,), (1376400431,), (1376400458,), (1376400461,), (1376400463,), (1376400467,), (1376400471,), (1376400499,), (1376400599,), (1376400601,), (1376400602,), (1376400612,), (1376400634,), (1376400791,), (1376400793,), (1376400794,), (1376400817,), (1376400819,), (1376400820,), (1376400822,), (1376400826,), (1376400839,), (1376400886,), (1376400877,), (1376400878,), (1376400882,), (1376400884,), (1376400951,), (1376400956,), (1376400959,), (1376400962,), (1376401034,), (1376401036,), (1376401038,), (1376401040,), (1376401067,), (1376401070,), (1376401081,), (1376401115,), (1376401116,), (1376401467,), (1376401472,), (1376401474,), (1376401476,), (1376401558,), (1376401559,), (1376401652,), (1376401876,), (1376401921,), (1376402165,), (1376402167,), (1376402168,), (1376402171,), (1376402175,), (1376402197,), (1376402199,), (1376402201,), (1376402203,), (1376402205,), (1376402226,), (1376402228,), (1376402229,), (1376402231,), (1376402251,), (1376402254,), (1376402258,), (1376402674,), (1376402701,), (1376402733,), (1376402777,), (1376405743,), (1376405735,), (1376405737,), (1376405738,), (1376405740,), (1376405766,), (1376405768,), (1376405770,), (1376405772,), (1376405801,), (1376405803,), (1376405833,), (1376405836,), (1376405840,), (1376405842,), (1376405846,), (1376405870,), (1376405872,), (1376405873,), (1376405875,), (1376405877,), (1376405879,), (1376405899,), (1376405902,), (1376405904,), (1376405906,), (1376405987,), (1376406019,), (1376406045,), (1376406063,), (1376406067,), (1376406071,), (1376406102,), (1376406105,), (1376406106,), (1376406108,), (1376406112,), (1376406157,), (1376406160,), (1376406161,), (1376406163,), (1376406166,), (1376406197,), (1376406201,), (1376406202,), (1376406204,), (1376406207,), (1376406211,), (1376406235,), (1376406238,), (1376406239,), (1376406358,), (1376406362,), (1376406365,), (1376406374,), (1376406407,), (1376406410,), (1376406411,), (1376406412,), (1376406414,), (1376406419,), (1376406463,), (1376406469,), (1376406472,), (1376406474,), (1376406492,), (1376406495,), (1376406496,), (1376406602,), (1376406547,), (1376406550,), (1376406552,), (1376406576,), (1376406671,), (1376406673,), (1376406674,), (1376406676,), (1376406679,), (1376406683,), (1376406769,), (1376406771,), (1376406803,), (1376406908,), (1376406934,), (1376406946,), (1376407021,), (1376407025,), (1376407032,), (1376407033,), (1376407051,), (1376407087,), (1376407096,), (1376407104,), (1376407110,), (1376407144,), (1376407147,), (1376407149,), (1376407153,), (1376407169,), (1376407170,), (1376407171,), (1376407172,), (1376407206,), (1376407208,), (1376407210,), (1376407215,), (1376407219,), (1376407223,), (1376407241,), (1376407266,), (1376407290,), (1376407315,), (1376407340,), (1376407596,), (1376407618,), (1376407642,), (1376408325,), (1376408331,), (1376408335,), (1376408338,), (1376408348,), (1376408375,), (1376408528,), (1376408514,), (1376408517,), (1376408519,), (1376408523,), (1376408580,), (1376408618,), (1376408620,), (1376408650,), (1376408653,), (1376408656,), (1376408660,), (1376408684,), (1376408687,), (1376408690,), (1376408695,), (1376408699,), (1376408711,), (1376408713,), (1376408715,), (1376408718,), (1376408721,), (1376408750,), (1376408752,), (1376408754,), (1376408757,), (1376408760,), (1376408775,), (1376408778,), (1376408803,), (1376409002,), (1376409018,), (1376409021,), (1376409023,), (1376409027,), (1376409046,), (1376409050,), (1376409053,), (1376409054,), (1376409075,), (1376409082,), (1376409085,), (1376409087,), (1376409090,), (1376409118,), (1376409120,), (1376409121,), (1376409169,), (1376409171,), (1376409249,), (1376409274,), (1376409297,), (1376409329,), (1376409415,), (1376409419,), (1376409421,), (1376409448,), (1376409449,), (1376409451,), (1376409494,), (1376409474,), (1376409483,), (1376409491,), (1376409515,), (1376409517,), (1376409518,), (1376409520,), (1376409636,), (1376409639,), (1376409641,), (1376409644,), (1376409647,), (1376409649,), (1376409802,), (1376409804,), (1376409899,), (1376409915,), (1376409964,), (1376410006,), (1376410038,), (1376410099,), (1376410103,), (1376410109,), (1376410113,), (1376410118,), (1376410123,), (1376410135,), (1376410136,), (1376410137,), (1376410142,), (1376410189,), (1376410212,), (1376410235,), (1376410257,), (1376410280,), (1376410307,), (1376410405,), (1376410430,), (1376410456,), (1376410505,), (1376410528,), (1376410550,), (1376410558,), (1376410563,), (1376410567,), (1376410568,), (1376410570,), (1376410600,), (1376410601,), (1376410602,), (1376410604,), (1376410618,), (1376410620,), (1376410621,), (1376410624,), (1376410644,), (1376410646,), (1376410647,), (1376410649,), (1376410709,), (1376410711,), (1376410712,), (1376410713,), (1376410717,), (1376410720,), (1376410756,), (1376410758,), (1376410761,), (1376410765,), (1376410768,), (1376410771,), (1376410797,), (1376410837,), (1376410840,), (1376410844,), (1376410854,), (1376410856,), (1376410858,), (1376410829,), (1376410834,), (1376410835,), (1376410861,), (1376410862,), (1376410863,), (1376410865,), (1376410868,), (1376410872,), (1376410891,), (1376410892,), (1376410893,), (1376410895,), (1376410921,), (1376410922,), (1376410923,), (1376410925,), (1376410929,), (1376410932,), (1376410953,), (1376410954,), (1376410955,), (1376410957,), (1376410961,), (1376410981,), (1376410982,), (1376410984,), (1376410986,), (1376411019,), (1376411021,), (1376411026,), (1376411030,), (1376411033,), (1376411108,), (1376411111,), (1376411113,), (1376411115,), (1376411117,), (1376411120,), (1376411141,), (1376411144,), (1376411145,), (1376411173,), (1376411174,), (1376411176,), (1376411178,), (1376411180,), (1376411213,), (1376411215,), (1376411216,), (1376411218,), (1376411223,), (1376411230,), (1376411335,), (1376411364,), (1376411387,), (1376411633,), (1376411635,), (1376411636,), (1376411638,), (1376411641,), (1376411664,), (1376411667,), (1376411669,), (1376411671,), (1376411674,), (1376411677,), (1376411694,), (1376411696,), (1376411697,), (1376411698,), (1376411742,), (1376411732,), (1376411734,), (1376411735,), (1376411736,), (1376411738,), (1376411763,), (1376411765,), (1376411766,), (1376411768,), (1376411771,), (1376411774,), (1376411806,), (1376411807,), (1376411810,), (1376411835,), (1376411837,), (1376411839,), (1376411842,), (1376411844,), (1376411932,), (1376411934,), (1376411935,), (1376411937,), (1376411939,), (1376411944,), (1376411971,), (1376411973,), (1376411974,), (1376411976,), (1376411980,), (1376412009,), (1376412012,), (1376412013,), (1376412016,), (1376412020,), (1376412024,), (1376412028,), (1376412034,), (1376412047,), (1376412053,), (1376412098,), (1376412100,), (1376412101,), (1376412103,), (1376412106,), (1376412108,), (1376412131,), (1376412132,), (1376412152,), (1376412154,), (1376412156,), (1376412159,), (1376412182,), (1376412184,), (1376412185,), (1376412188,), (1376412216,), (1376412222,), (1376412225,), (1376412228,), (1376412230,), (1376412253,), (1376412268,), (1376412291,), (1376412315,), (1376412340,), (1376412360,), (1376412694,), (1376412727,), (1376412756,), (1376413068,), (1376413012,), (1376413034,), (1376413058,), (1376413329,), (1376413354,), (1376413378,), (1376413403,), (1376413693,), (1376413718,), (1376413747,), (1376413771,), (1376413801,), (1376414317,), (1376414361,), (1376414404,), (1376414449,), (1376414498,), (1376414672,), (1376414695,), (1376414719,), (1376414750,), (1376414795,), (1376414847,), (1376415224,), (1376415256,), (1376415309,), (1376415554,), (1376415578,), (1376415590,), (1376415593,), (1376415666,), (1376415669,), (1376415690,), (1376415695,), (1376415698,), (1376415729,), (1376415912,), (1376415935,), (1376415960,), (1376416256,), (1376416280,), (1376416572,), (1376416722,), (1376416758,), (1376416745,), (1376417130,), (1376417262,), (1376417265,), (1376417278,), (1376417302,), (1376417438,), (1376417726,), (1376417748,), (1376417771,), (1376417837,), (1376417839,), (1376417859,), (1376417860,), (1376418043,), (1376418044,), (1376418045,), (1376418049,), (1376418054,), (1376418109,), (1376418113,), (1376418118,), (1376418121,), (1376418140,), (1376418275,), (1376418298,), (1376418321,), (1376418344,), (1376418367,), (1376418724,), (1376418748,), (1376418770,), (1376418775,), (1376418811,), (1376418919,), (1376418922,), (1376418923,), (1376419067,), (1376419069,), (1376419071,), (1376419114,), (1376419112,), (1376419157,), (1376419159,), (1376419160,), (1376419162,), (1376419166,), (1376419168,), (1376419186,), (1376419189,), (1376419190,), (1376419193,), (1376419196,), (1376419227,), (1376419230,), (1376419232,), (1376419246,), (1376419247,), (1376419248,), (1376419250,), (1376419274,), (1376419275,), (1376419276,), (1376419279,), (1376419346,), (1376419347,), (1376419386,), (1376419387,), (1376419389,), (1376419423,), (1376419424,), (1376419427,), (1376419429,), (1376419468,), (1376419471,), (1376419473,), (1376419476,), (1376419635,), (1376419652,), (1376419656,), (1376419660,), (1376419663,), (1376419821,), (1376419950,), (1376419954,), (1376419956,), (1376419959,), (1376420094,), (1376420116,), (1376420471,), (1376420467,), (1376420469,), (1376420504,), (1376420506,), (1376420539,), (1376420541,), (1376420543,), (1376420551,), (1376420604,), (1376420607,), (1376420643,), (1376420649,), (1376420651,), (1376420942,), (1376420965,), (1376420986,), (1376421106,), (1376421408,), (1376421431,), (1376421434,), (1376421436,), (1376421441,), (1376421447,), (1376421460,), (1376421463,), (1376421470,), (1376421471,), (1376421472,), (1376421474,), (1376421476,), (1376421479,), (1376421496,), (1376421498,), (1376421499,), (1376421528,), (1376421531,), (1376421532,), (1376421533,), (1376421535,), (1376421557,), (1376421561,), (1376421562,), (1376421564,), (1376421567,), (1376421598,), (1376421601,), (1376421602,), (1376421604,), (1376421606,), (1376422013,), (1376422040,), (1376422067,), (1376422481,), (1376422427,), (1376422455,), (1376423012,), (1376423188,), (1376423232,), (1376423281,), (1376423864,), (1376423916,), (1376423955,), (1376424339,), (1376424364,), (1376424384,), (1376424386,), (1376424399,), (1376424469,), (1376424478,), (1376424503,), (1376424739,), (1376424761,), (1376424770,), (1376424854,), (1376424856,), (1376424859,), (1376424861,), (1376424885,), (1376424888,), (1376424916,), (1376424919,), (1376424946,), (1376424951,), (1376424953,), (1376425027,), (1376425547,), (1376425551,), (1376425793,), (1376425785,), (1376425788,), (1376425791,), (1376425823,), (1376425825,), (1376425826,), (1376425847,), (1376425877,), (1376425879,), (1376425880,), (1376425909,), (1376425913,), (1376425915,), (1376425916,), (1376425937,), (1376425939,), (1376425940,), (1376425941,), (1376425972,), (1376425974,), (1376425976,), (1376425981,), (1376425986,), (1376425989,), (1376426010,), (1376426014,), (1376426018,), (1376426022,), (1376426027,), (1376426029,), (1376426038,), (1376426044,), (1376426046,), (1376426052,), (1376426056,), (1376426060,), (1376426084,), (1376426089,), (1376426092,), (1376426096,), (1376426099,), (1376426101,), (1376426117,), (1376426119,), (1376426120,), (1376426121,), (1376426123,), (1376426127,), (1376426155,), (1376426150,), (1376426152,), (1376426153,), (1376426185,), (1376426187,), (1376426188,), (1376426190,), (1376426210,), (1376426212,), (1376426214,), (1376426215,), (1376426217,), (1376426248,), (1376426250,), (1376426273,), (1376426275,), (1376426276,), (1376426279,), (1376426315,), (1376426618,), (1376426641,), (1376426663,), (1376426988,), (1376427011,), (1376427051,), (1376427077,), (1376427328,), (1376427331,), (1376430945,), (1376431265,), (1376431875,), (1376432099,), (1376432177,), (1376432201,), (1376432514,), (1376432542,), (1376432581,), (1376432611,), (1376432637,), (1376432663,), (1376432722,), (1376432725,), (1376432727,), (1376432745,), (1376433132,), (1376433166,), (1376433191,), (1376433414,), (1376433417,), (1376433419,), (1376433421,), (1376433424,), (1376433426,), (1376433465,), (1376433468,), (1376433470,), (1376433472,), (1376433476,), (1376433546,), (1376433572,), (1376433596,), (1376433692,), (1376433680,), (1376433682,), (1376433685,), (1376433688,), (1376433799,), (1376433800,), (1376433801,), (1376433811,), (1376433845,), (1376433902,), (1376433903,), (1376433905,), (1376433909,), (1376434101,), (1376434106,), (1376434112,), (1376434117,), (1376434131,), (1376434249,), (1376434294,), (1376434298,), (1376434299,), (1376434302,), (1376434330,), (1376434332,), (1376434381,), (1376434383,), (1376434512,), (1376434513,), (1376434515,), (1376434542,), (1376434543,), (1376434569,), (1376434570,), (1376434571,), (1376434573,), (1376434594,), (1376434595,), (1376434596,), (1376434598,), (1376434600,), (1376434676,), (1376434677,), (1376434679,), (1376434751,), (1376434753,), (1376434754,), (1376434757,), (1376434760,), (1376434762,), (1376434848,), (1376434852,), (1376434853,), (1376434856,), (1376434862,), (1376434931,), (1376434922,), (1376434925,), (1376434926,), (1376434927,), (1376434952,), (1376434954,), (1376434955,), (1376434957,), (1376434960,), (1376435074,), (1376435075,), (1376435076,), (1376435078,), (1376435081,), (1376435104,), (1376435105,), (1376435106,), (1376435108,), (1376435110,), (1376435135,), (1376435392,), (1376435416,), (1376435446,), (1376435488,), (1376435706,), (1376435708,), (1376435709,), (1376435712,), (1376435717,), (1376435721,), (1376435768,), (1376435791,), (1376435815,), (1376435842,), (1376435867,), (1376435892,), (1376435987,), (1376436016,), (1376436040,), (1376436115,), (1376436116,), (1376436214,), (1376436216,), (1376436233,), (1376436394,), (1376436396,), (1376436398,), (1376436400,), (1376436442,), (1376436466,), (1376436470,), (1376436477,), (1376436482,), (1376436566,), (1376436568,), (1376436569,), (1376436571,), (1376436584,), (1376436585,), (1376436586,), (1376436588,), (1376436591,), (1376436615,), (1376436616,), (1376436617,), (1376436619,), (1376436620,), (1376436642,), (1376436643,), (1376436644,), (1376436647,), (1376436686,), (1376436743,), (1376436676,), (1376436677,), (1376436678,), (1376436680,), (1376436683,), (1376436712,), (1376436713,), (1376436715,), (1376436718,), (1376436721,), (1376436724,), (1376436735,), (1376436738,), (1376436741,), (1376436756,), (1376436757,), (1376436759,), (1376436762,), (1376436766,), (1376436769,), (1376436783,), (1376436784,), (1376436786,), (1376436788,), (1376436791,), (1376436793,), (1376436823,), (1376436826,), (1376436828,), (1376436830,), (1376436833,), (1376436935,), (1376436941,), (1376436946,), (1376436948,), (1376436951,), (1376436954,), (1376437062,), (1376437064,), (1376437065,), (1376437067,), (1376437101,), (1376437103,), (1376437104,), (1376437105,), (1376437110,), (1376437113,), (1376437146,), (1376437149,), (1376437150,), (1376437151,), (1376437166,), (1376437167,), (1376437168,), (1376437170,), (1376437172,), (1376437176,), (1376437195,), (1376437196,), (1376437197,), (1376437224,), (1376437234,), (1376437272,), (1376437273,), (1376437274,), (1376437276,), (1376437278,), (1376437281,), (1376437302,), (1376437304,), (1376437740,), (1376437783,), (1376437835,), (1376437881,), (1376437923,), (1376438467,), (1376438317,), (1376438345,), (1376438370,), (1376438412,), (1376438604,), (1376438606,), (1376438607,), (1376438636,), (1376438638,), (1376438639,), (1376438642,), (1376438645,), (1376438668,), (1376438670,), (1376438671,), (1376438673,), (1376438675,), (1376438678,), (1376438689,), (1376438691,), (1376438692,), (1376438694,), (1376438697,), (1376438700,), (1376438937,), (1376438963,), (1376438988,), (1376439014,), (1376439317,), (1376439346,), (1376439372,), (1376439397,), (1376439442,), (1376439700,), (1376439701,), (1376439703,), (1376439795,), (1376439819,), (1376439841,), (1376439867,), (1376439893,), (1376440072,), (1376440074,), (1376440075,), (1376440077,), (1376440081,), (1376440125,), (1376440128,), (1376440129,), (1376440138,), (1376440158,), (1376440339,), (1376440348,), (1376440349,), (1376440477,), (1376440485,), (1376440489,), (1376440490,), (1376440493,), (1376440497,), (1376440549,), (1376440551,), (1376440552,), (1376440557,), (1376441082,), (1376441124,), (1376441150,), (1376441176,), (1376441385,), (1376441374,), (1376441688,), (1376441690,), (1376441692,), (1376441693,), (1376441720,), (1376441722,), (1376441724,), (1376441727,), (1376441731,), (1376441733,), (1376441854,), (1376441862,), (1376441902,), (1376442061,), (1376442063,), (1376442064,), (1376442066,), (1376442189,), (1376442221,), (1376442246,), (1376442272,), (1376442295,), (1376442330,), (1376442457,), (1376442459,), (1376442460,), (1376442462,), (1376442489,), (1376442492,), (1376442496,), (1376442499,), (1376442502,), (1376442508,), (1376442534,), (1376442541,), (1376442543,), (1376442544,), (1376442567,), (1376442572,), (1376442594,), (1376442597,), (1376442599,), (1376442603,), (1376442607,), (1376442611,), (1376442617,), (1376442620,), (1376442624,), (1376442626,), (1376442631,), (1376442633,), (1376442635,), (1376442640,), (1376442643,), (1376442674,), (1376442680,), (1376442686,), (1376442690,), (1376442693,), (1376442718,), (1376442720,), (1376442722,), (1376442780,), (1376442774,), (1376442776,), (1376442778,), (1376442864,), (1376442889,), (1376442909,), (1376442913,), (1376442939,), (1376443017,), (1376443018,), (1376443020,), (1376443021,), (1376443023,), (1376443045,), (1376443047,), (1376443048,), (1376443065,), (1376443066,), (1376443067,), (1376443069,), (1376443072,), (1376443089,), (1376443090,), (1376443091,), (1376443093,), (1376443097,), (1376443128,), (1376443147,), (1376443175,), (1376443180,), (1376443183,), (1376443187,), (1376443191,), (1376443195,), (1376443211,), (1376443216,), (1376443222,), (1376443226,), (1376443229,), (1376443233,), (1376443250,), (1376443252,), (1376443253,), (1376443255,), (1376443264,), (1376443268,), (1376443272,), (1376443277,), (1376443297,), (1376443308,), (1376443318,), (1376443320,), (1376443322,), (1376443402,), (1376443425,), (1376443448,), (1376443745,), (1376443751,), (1376443754,), (1376443759,), (1376443807,), (1376443809,), (1376443934,), (1376443958,), (1376443981,), (1376444003,), (1376444226,), (1376444225,), (1376444307,), (1376444327,), (1376444352,), (1376444490,), (1376444493,), (1376444524,), (1376444526,), (1376444528,), (1376444559,), (1376444561,), (1376444563,), (1376444566,), (1376444570,), (1376444573,), (1376444652,), (1376444674,), (1376444691,), (1376444698,), (1376444700,), (1376444704,), (1376444718,), (1376444724,), (1376444726,), (1376444727,), (1376444728,), (1376444738,), (1376444743,), (1376444746,), (1376444760,), (1376444766,), (1376444788,), (1376444791,), (1376444793,), (1376444795,), (1376444800,), (1376444804,), (1376444831,), (1376444832,), (1376444834,), (1376444838,), (1376444840,), (1376444843,), (1376444856,), (1376444859,), (1376444861,), (1376444863,), (1376444867,), (1376444869,), (1376444876,), (1376444880,), (1376444912,), (1376444917,), (1376444920,), (1376444925,), (1376444930,), (1376444933,), (1376445062,), (1376445096,), (1376445120,), (1376445124,), (1376445126,), (1376445128,), (1376445133,), (1376445137,), (1376445138,), (1376445140,), (1376445597,), (1376445647,), (1376445699,), (1376445848,), (1376445882,), (1376445925,), (1376445966,), (1376446072,), (1376446069,), (1376446335,), (1376446372,), (1376446378,), (1376446380,), (1376446404,), (1376446884,), (1376446912,), (1376446934,), (1376446957,), (1376447337,), (1376447362,), (1376447386,), (1376447411,), (1376447452,), (1376447781,), (1376447858,), (1376447864,), (1376447871,), (1376447878,), (1376447882,), (1376447920,), (1376447943,), (1376447965,), (1376447992,), (1376448031,), (1376448059,), (1376448241,), (1376448248,), (1376448273,), (1376448283,), (1376448290,), (1376448294,), (1376448337,), (1376448342,), (1376448344,), (1376448346,), (1376448353,), (1376448357,), (1376448361,), (1376448366,), (1376448369,), (1376448373,), (1376448382,), (1376448384,), (1376448386,), (1376448388,), (1376448602,), (1376448951,), (1376448936,), (1376448939,), (1376448941,), (1376448946,), (1376448980,), (1376449055,), (1376449056,), (1376449057,), (1376449059,), (1376449083,), (1376449085,), (1376449088,), (1376449093,), (1376449114,), (1376449116,), (1376449125,), (1376449138,), (1376449147,), (1376449162,), (1376449167,), (1376449176,), (1376449178,), (1376449179,), (1376449204,), (1376449206,), (1376449208,), (1376449210,), (1376449212,), (1376449245,), (1376449247,), (1376449249,), (1376449252,), (1376449255,), (1376449295,), (1376449288,), (1376449290,), (1376449292,), (1376449319,), (1376449321,), (1376449323,), (1376449325,), (1376449329,), (1376449352,), (1376449357,), (1376449360,), (1376449365,), (1376449369,), (1376449375,), (1376449396,), (1376449398,), (1376449399,), (1376449401,), (1376449416,), (1376449417,), (1376449418,), (1376449420,), (1376449422,), (1376449427,), (1376449449,), (1376449451,), (1376449453,), (1376449455,), (1376449485,), (1376449487,), (1376449488,), (1376449494,), (1376449501,), (1376449529,), (1376449531,), (1376449532,), (1376449535,), (1376449539,), (1376449543,), (1376449560,), (1376449563,), (1376449567,), (1376449572,), (1376449597,), (1376449600,), (1376449602,), (1376449604,), (1376449609,), (1376449612,), (1376449641,), (1376449644,), (1376449645,), (1376449673,), (1376449675,), (1376449676,), (1376449679,), (1376449682,), (1376449685,), (1376449695,), (1376449696,), (1376449697,), (1376449700,), (1376449705,), (1376449708,), (1376449728,), (1376449729,), (1376449730,), (1376449732,), (1376449753,), (1376449755,), (1376449756,), (1376449758,), (1376449761,), (1376449765,), (1376449794,), (1376449792,), (1376449793,), (1376449819,), (1376449820,), (1376449821,), (1376449823,), (1376449826,), (1376449828,), (1376449850,), (1376449857,), (1376449859,), (1376449861,), (1376449865,), (1376449868,), (1376449885,), (1376449888,), (1376449889,), (1376449894,), (1376449917,), (1376449919,), (1376449920,), (1376449922,), (1376449953,), (1376449956,), (1376449959,), (1376449962,), (1376449966,), (1376449968,), (1376449991,), (1376449993,), (1376449994,), (1376450019,), (1376450021,), (1376450024,), (1376450027,), (1376450054,), (1376450055,), (1376450057,), (1376450059,), (1376450073,), (1376450074,), (1376450075,), (1376450077,), (1376450101,), (1376450102,), (1376450103,), (1376450104,), (1376450106,), (1376450152,), (1376450153,), (1376450155,), (1376450159,), (1376450161,), (1376450164,), (1376450170,), (1376450171,), (1376450172,), (1376450179,), (1376450186,), (1376450192,), (1376450194,), (1376450198,), (1376450202,), (1376450740,), (1376450793,), (1376450844,), (1376450964,), (1376450988,), (1376451042,), (1376451088,), (1376451135,), (1376451488,), (1376451373,), (1376451399,), (1376451442,), (1376451463,), (1376451834,), (1376451857,), (1376451879,), (1376451903,), (1376452293,), (1376452339,), (1376452384,), (1376452440,), (1376452489,), (1376452802,), (1376452847,), (1376452874,), (1376452898,), (1376452919,), (1376452934,), (1376453244,), (1376453255,), (1376453256,), (1376453273,), (1376453292,), (1376453337,), (1376453339,), (1376453341,), (1376453359,), (1376453382,), (1376453666,), (1376453672,), (1376453673,), (1376453813,), (1376453835,), (1376453886,), (1376453910,), (1376453937,), (1376453943,), (1376454063,), (1376454065,), (1376454067,), (1376454069,), (1376454097,), (1376454098,), (1376454099,), (1376454101,), (1376454106,), (1376454108,), (1376454136,), (1376454138,), (1376454140,), (1376454375,), (1376454400,), (1376454408,), (1376454418,), (1376454422,), (1376454428,), (1376454552,), (1376454553,), (1376454554,), (1376454556,), (1376454560,), (1376454563,), (1376454652,), (1376454676,), (1376454679,), (1376454741,), (1376454744,), (1376454746,), (1376454752,), (1376454754,), (1376454757,), (1376454791,), (1376454775,), (1376454783,), (1376454789,), (1376454811,), (1376454813,), (1376454815,), (1376454816,), (1376454818,), (1376454825,), (1376455055,), (1376455080,), (1376455103,), (1376455118,), (1376455120,), (1376455144,), (1376455272,), (1376455277,), (1376455282,), (1376455286,), (1376455289,), (1376455293,), (1376455298,), (1376455299,), (1376455306,), (1376455321,), (1376455349,), (1376455373,), (1376455457,), (1376455458,), (1376455473,), (1376455474,), (1376455491,), (1376455492,), (1376455502,), (1376455505,), (1376455522,), (1376455526,), (1376455528,), (1376455532,), (1376455563,), (1376455564,), (1376455566,), (1376455569,), (1376455573,), (1376455577,), (1376455592,), (1376455595,), (1376455596,), (1376455598,), (1376455618,), (1376455622,), (1376455625,), (1376455664,), (1376455666,), (1376455670,), (1376455673,), (1376455678,), (1376455683,), (1376455707,), (1376455727,), (1376455750,), (1376455779,), (1376455808,), (1376456038,), (1376456040,), (1376456042,), (1376456058,), (1376456257,), (1376456281,), (1376456307,), (1376456507,), (1376456509,), (1376456511,), (1376456512,), (1376456521,), (1376456570,), (1376456571,), (1376456573,), (1376456577,), (1376456580,), (1376456962,), (1376457406,), (1376457592,), (1376457597,), (1376457601,), (1376457604,), (1376457609,), (1376457618,), (1376457619,), (1376457621,), (1376457624,), (1376457626,), (1376457630,), (1376457639,), (1376457642,), (1376457654,), (1376457676,), (1376457700,), (1376457727,), (1376457846,), (1376457847,), (1376457848,), (1376457850,), (1376457853,), (1376457857,), (1376457891,), (1376457892,), (1376457893,), (1376457894,), (1376457915,), (1376457917,), (1376457918,), (1376457919,), (1376457921,), (1376457925,), (1376457956,), (1376457957,), (1376457958,), (1376457960,), (1376457962,), (1376458239,), (1376458262,), (1376458286,), (1376458310,), (1376458450,), (1376458481,), (1376458493,), (1376458494,), (1376458793,), (1376458796,), (1376458822,), (1376458839,), (1376458841,), (1376458846,), (1376458905,), (1376458906,), (1376458972,), (1376459247,), (1376458956,), (1376458960,), (1376458966,), (1376458970,), (1376459041,), (1376459067,), (1376459093,), (1376459116,), (1376459130,), (1376459133,), (1376459188,), (1376459206,), (1376459208,), (1376459223,), (1376459252,), (1376459255,), (1376459258,), (1376459261,), (1376459276,), (1376459279,), (1376459281,), (1376459302,), (1376459309,), (1376459345,), (1376459375,), (1376459413,), (1376459442,), (1376459550,), (1376459567,), (1376459597,), (1376459599,), (1376459630,), (1376459632,), (1376459633,), (1376459634,), (1376459667,), (1376459669,), (1376459671,), (1376459728,), (1376459731,), (1376459733,), (1376459761,), (1376459764,), (1376459765,), (1376459796,), (1376459822,), (1376459824,), (1376459827,), (1376460250,), (1376460540,), (1376460503,), (1376460523,), (1376460535,), (1376460677,), (1376460702,), (1376460732,), (1376461105,), (1376461128,), (1376461152,), (1376461179,), (1376461327,), (1376461329,), (1376461330,), (1376461334,), (1376461342,), (1376461352,), (1376461563,), (1376461606,), (1376461609,), (1376461862,), (1376461888,), (1376461916,), (1376462475,), (1376462515,), (1376462546,), (1376462574,), (1376462614,), (1376463078,), (1376463105,), (1376463131,), (1376463159,), (1376463187,), (1376463211,), (1376463367,), (1376463370,), (1376463374,), (1376463377,), (1376463387,), (1376463418,), (1376463547,), (1376463573,), (1376463580,), (1376463582,), (1376463584,), (1376463586,), (1376463652,), (1376463656,), (1376463664,), (1376463704,), (1376463759,), (1376463789,), (1376463859,), (1376463868,), (1376463871,), (1376463876,), (1376463880,), (1376463883,), (1376463914,), (1376463916,), (1376463917,), (1376463919,), (1376463940,), (1376463942,), (1376463943,), (1376463945,), (1376464036,), (1376464076,), (1376464082,), (1376464096,), (1376464110,), (1376464111,), (1376464123,), (1376464125,), (1376464129,), (1376464133,), (1376464164,), (1376464154,), (1376464155,), (1376464156,), (1376464282,), (1376464287,), (1376464304,), (1376464318,), (1376464359,), (1376464360,), (1376464362,), (1376464364,), (1376464366,), (1376464388,), (1376464391,), (1376464395,), (1376464398,), (1376464420,), (1376464422,), (1376464431,), (1376464650,), (1376464674,), (1376464685,), (1376464687,), (1376464749,), (1376465026,), (1376465043,), (1376465045,), (1376465048,), (1376465066,), (1376465079,), (1376465252,), (1376465282,), (1376465307,), (1376465325,), (1376465353,), (1376465354,), (1376465355,), (1376465356,), (1376465358,), (1376465363,), (1376465398,), (1376465400,), (1376465403,), (1376465408,), (1376465412,), (1376465425,), (1376465426,), (1376465427,), (1376465428,), (1376465430,), (1376465452,), (1376465453,), (1376465454,), (1376465456,), (1376465457,), (1376465506,), (1376465512,), (1376465514,), (1376465516,), (1376465545,), (1376465547,), (1376465552,), (1376465554,), (1376467639,), (1376468139,), (1376468151,), (1376468157,), (1376468168,), (1376468659,), (1376468693,), (1376468720,), (1376469088,), (1376469114,), (1376469139,), (1376469532,), (1376469580,), (1376469610,), (1376469781,), (1376469814,), (1376469859,), (1376469895,), (1376469922,), (1376470161,), (1376470164,), (1376470167,), (1376470181,), (1376470184,), (1376470195,), (1376470220,), (1376470243,), (1376470275,), (1376470374,), (1376470395,), (1376470421,), (1376470425,), (1376470428,), (1376470451,), (1376470494,), (1376470498,), (1376470500,), (1376470503,), (1376470504,), (1376470553,), (1376470556,), (1376470560,), (1376470562,), (1376470647,), (1376470680,), (1376470717,), (1376470743,), (1376470772,), (1376470961,), (1376470964,), (1376470976,), (1376471003,), (1376471031,), (1376471114,), (1376471117,), (1376471119,), (1376471120,), (1376471123,), (1376471318,), (1376471323,), (1376471525,), (1376471509,), (1376471517,), (1376471522,), (1376471640,), (1376471650,), (1376471656,), (1376471677,), (1376471709,), (1376471712,), (1376471715,), (1376471718,), (1376471739,), (1376471743,), (1376471744,), (1376471747,), (1376471842,), (1376471867,), (1376471869,), (1376471970,), (1376471972,), (1376471974,), (1376472002,), (1376472004,), (1376472007,), (1376472010,), (1376472011,), (1376472015,), (1376472034,), (1376472037,), (1376472039,), (1376472245,), (1376472253,), (1376472279,), (1376472296,), (1376472299,), (1376472318,), (1376472362,), (1376472365,), (1376472368,), (1376472370,), (1376472391,), (1376472392,), (1376472394,), (1376472396,), (1376472590,), (1376472616,), (1376472628,), (1376472629,), (1376472631,), (1376472741,), (1376472744,), (1376472746,), (1376472776,), (1376472780,), (1376472781,), (1376472809,), (1376472815,), (1376472817,), (1376472819,), (1376472860,), (1376472849,), (1376472854,), (1376472855,), (1376472858,), (1376472880,), (1376472884,), (1376472886,), (1376472888,), (1376472891,), (1376472895,), (1376473034,), (1376473079,), (1376473103,), (1376473270,), (1376473274,), (1376473276,), (1376473302,), (1376473326,), (1376473334,), (1376473352,), (1376473354,), (1376473356,), (1376473357,), (1376473386,), (1376473388,), (1376473391,), (1376473392,), (1376473419,), (1376473421,), (1376473424,), (1376473428,), (1376473431,), (1376473432,), (1376473442,), (1376473447,), (1376473449,), (1376473452,), (1376473455,), (1376473470,), (1376473474,), (1376473478,), (1376473581,), (1376473583,), (1376473598,), (1376474318,), (1376474398,), (1376474395,), (1376474455,), (1376474457,), (1376474460,), (1376474557,), (1376474587,), (1376474852,), (1376474857,), (1376474860,), (1376474862,), (1376474883,), (1376474886,), (1376474888,), (1376474889,), (1376475081,), (1376475107,), (1376475135,), (1376475224,), (1376475260,), (1376475264,), (1376475289,), (1376475290,), (1376475292,), (1376475295,), (1376475297,), (1376475302,), (1376475323,), (1376475324,), (1376475326,), (1376475329,), (1376475331,), (1376475333,), (1376475361,), (1376475363,), (1376475365,), (1376475367,), (1376475371,), (1376475373,), (1376475376,), (1376475962,), (1376475994,), (1376476021,), (1376476171,), (1376476218,), (1376476267,), (1376476311,), (1376476363,), (1376476801,), (1376476623,), (1376476652,), (1376476695,), (1376476740,), (1376477192,), (1376477218,), (1376477242,), (1376477329,), (1376477337,), (1376477341,), (1376477346,), (1376477371,), (1376477413,), (1376477609,), (1376477633,), (1376477654,), (1376477663,), (1376477664,), (1376477668,), (1376477836,), (1376477861,), (1376477865,), (1376477882,), (1376478112,), (1376478136,), (1376478158,), (1376478183,), (1376478207,), (1376478234,), (1376478525,), (1376478548,), (1376478575,), (1376478598,), (1376478623,), (1376478653,), (1376478986,), (1376479376,), (1376479385,), (1376479971,), (1376480052,), (1376480054,), (1376480057,), (1376480059,), (1376480080,), (1376480083,), (1376480084,), (1376480085,), (1376480088,), (1376480104,), (1376480107,), (1376480108,), (1376480110,), (1376480112,), (1376480116,), (1376480141,), (1376480134,), (1376480137,), (1376480139,), (1376480172,), (1376480174,), (1376480177,), (1376480181,), (1376480184,), (1376480186,), (1376480205,), (1376480207,), (1376480210,), (1376480214,), (1376480215,), (1376480229,), (1376480233,), (1376480234,), (1376480236,), (1376480238,), (1376480263,), (1376480267,), (1376480269,), (1376480270,), (1376480301,), (1376480303,), (1376480306,), (1376480309,), (1376480328,), (1376480330,), (1376480334,), (1376480339,), (1376480342,), (1376480362,), (1376480366,), (1376480369,), (1376480394,), (1376480397,), (1376480401,), (1376480405,), (1376480420,), (1376480461,), (1376480695,), (1376480721,), (1376480729,), (1376480732,), (1376480735,), (1376480884,), (1376480887,), (1376480897,), (1376481062,), (1376481076,), (1376481078,), (1376481079,), (1376481095,), (1376481099,), (1376481100,), (1376481103,), (1376481107,), (1376481111,), (1376481127,), (1376481131,), (1376481136,), (1376481139,), (1376481141,), (1376481169,), (1376481176,), (1376481178,), (1376481220,), (1376481201,), (1376481206,), (1376481209,), (1376481211,), (1376481215,), (1376481231,), (1376481235,), (1376481238,), (1376481241,), (1376481262,), (1376481264,), (1376481267,), (1376481270,), (1376481273,), (1376481277,), (1376481371,), (1376481397,), (1376481422,), (1376481448,), (1376481478,), (1376481506,), (1376481725,), (1376481729,), (1376481731,), (1376481734,), (1376481904,), (1376481924,), (1376481950,), (1376481977,), (1376481980,), (1376481982,), (1376482100,), (1376482103,), (1376482107,), (1376482113,), (1376482122,), (1376482124,), (1376482157,), (1376482159,), (1376482160,), (1376482169,), (1376482183,), (1376482186,), (1376482188,), (1376482191,), (1376482194,), (1376482304,), (1376482341,), (1376482380,), (1376482408,), (1376482434,), (1376482693,), (1376482730,), (1376482755,), (1376482782,), (1376482809,), (1376482839,), (1376483152,), (1376483157,), (1376483178,), (1376483253,), (1376483284,), (1376483310,), (1376483332,), (1376483377,), (1376483602,), (1376483605,), (1376483608,), (1376483626,), (1376483651,), (1376483774,), (1376483778,), (1376483780,), (1376483801,), (1376484160,), (1376484150,), (1376484154,), (1376484158,), (1376484174,), (1376484177,), (1376484179,), (1376484181,), (1376484185,), (1376484187,), (1376484232,), (1376484243,), (1376484256,), (1376484277,), (1376484281,), (1376484284,), (1376484287,), (1376484290,), (1376484300,), (1376484303,), (1376484307,), (1376484309,), (1376484314,), (1376484318,), (1376484337,), (1376484340,), (1376484341,), (1376484371,), (1376484375,), (1376484377,), (1376484379,), (1376484383,), (1376484387,), (1376484403,), (1376484406,), (1376484409,), (1376484411,), (1376484414,), (1376484440,), (1376484443,), (1376484447,), (1376484449,), (1376484458,), (1376484461,), (1376484463,), (1376484465,), (1376484469,), (1376484473,), (1376485319,), (1376485347,), (1376485376,), (1376485403,), (1376485431,), (1376485458,), (1376485557,), (1376485584,), (1376485615,), (1376485652,), (1376485676,), (1376485705,), (1376486088,), (1376486299,), (1376486357,), (1376486395,), (1376486420,), (1376485866,), (1376485891,), (1376485915,), (1376485955,), (1376486013,), (1376486562,), (1376486620,), (1376486669,), (1376486709,), (1376487043,), (1376487073,), (1376487097,), (1376487123,), (1376487155,), (1376487425,), (1376487449,), (1376487472,), (1376487613,), (1376487614,), (1376487617,), (1376487621,), (1376487642,), (1376487669,), (1376487844,), (1376487845,), (1376487867,), (1376487891,), (1376487973,), (1376487976,), (1376487979,), (1376487982,), (1376488022,), (1376488025,), (1376488026,), (1376488028,), (1376488032,), (1376488039,), (1376488058,), (1376488062,), (1376488065,), (1376488067,), (1376488096,), (1376488100,), (1376488102,), (1376488103,), (1376488105,), (1376488107,), (1376488156,), (1376488160,), (1376488162,), (1376488163,), (1376488165,), (1376488277,), (1376488289,), (1376488303,), (1376488308,), (1376488320,), (1376488391,), (1376488392,), (1376488395,), (1376488396,), (1376488399,), (1376488402,), (1376488418,), (1376488422,), (1376488423,), (1376488425,), (1376488445,), (1376488451,), (1376488452,), (1376488453,), (1376488455,), (1376488459,), (1376488490,), (1376488487,), (1376488489,), (1376489268,), (1376489296,), (1376489306,), (1376489308,), (1376489346,), (1376489348,), (1376489382,), (1376489389,), (1376489437,), (1376489440,), (1376489442,), (1376489444,), (1376489445,), (1376489447,), (1376489456,), (1376489462,), (1376489464,), (1376489483,), (1376489486,), (1376489488,), (1376489490,), (1376489512,), (1376489518,), (1376489522,), (1376489539,), (1376489552,), (1376489572,), (1376489578,), (1376489580,), (1376489583,), (1376489586,), (1376489606,), (1376489609,), (1376489610,), (1376489711,), (1376489715,), (1376489718,), (1376489720,), (1376489722,), (1376489726,), (1376489734,), (1376489766,), (1376489768,), (1376489772,), (1376489792,), (1376489800,), (1376489806,), (1376489692,), (1376489695,), (1376489699,), (1376489703,), (1376489707,), (1376489763,), (1376489764,), (1376489765,), (1376489779,), (1376489783,), (1376489785,), (1376489787,), (1376489790,), (1376489811,), (1376489815,), (1376489818,), (1376489822,), (1376489824,), (1376489835,), (1376489838,), (1376489842,), (1376489846,), (1376489851,), (1376489854,), (1376489883,), (1376489885,), (1376489888,), (1376489892,), (1376489909,), (1376489912,), (1376489914,), (1376489917,), (1376489918,), (1376489978,), (1376489985,), (1376489988,), (1376489990,), (1376490010,), (1376490014,), (1376490018,), (1376490022,), (1376490026,), (1376490027,), (1376490031,), (1376490046,), (1376494238,), (1376494274,), (1376494692,), (1376494719,), (1376495072,), (1376495075,), (1376495088,), (1376495224,), (1376495228,), (1376495301,), (1376495303,), (1376495336,), (1376495440,), (1376495466,), (1376495766,), (1376495768,), (1376495858,), (1376506116,), (1376506309,), (1376507410,), (1376507437,), (1376507828,), (1376508221,), (1376508222,), (1376508308,), (1376508312,), (1376508757,), (1376509772,), (1376511503,)) NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'11082025': {'nb_upload': 47, 'nb_taggue_class': 0, 'nb_taggue_densite': 0}} After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([25867258]) Inside saveOutput : final : True verbose : True saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1376400168, 1376400119, 1376400117, 1376400116, 1376400088, 1376400085, 1376400083, 1376400082, 1376400078, 1376400059, 1376400057, 1376400056, 1376400054, 1376400026, 1376400025, 1376400023, 1376400003, 1376400001, 1376399996, 1376399993, 1376399971, 1376399969, 1376399967, 1376399965, 1376399963, 1376399962, 1376399894, 1376399891, 1376399881, 1376399877, 1376399814, 1376399807, 1376399803, 1376399566, 1376399541, 1376399519, 1376399494, 1376399469, 1376399420, 1376399417, 1376399415, 1376399414, 1376399413, 1376399412, 1376399377, 1376399376, 1376399374] map_info['map_portfolio_photo'] : {25867258: [1376400168, 1376400119, 1376400117, 1376400116, 1376400088, 1376400085, 1376400083, 1376400082, 1376400078, 1376400059, 1376400057, 1376400056, 1376400054, 1376400026, 1376400025, 1376400023, 1376400003, 1376400001, 1376399996, 1376399993, 1376399971, 1376399969, 1376399967, 1376399965, 1376399963, 1376399962, 1376399894, 1376399891, 1376399881, 1376399877, 1376399814, 1376399807, 1376399803, 1376399566, 1376399541, 1376399519, 1376399494, 1376399469, 1376399420, 1376399417, 1376399415, 1376399414, 1376399413, 1376399412, 1376399377, 1376399376, 1376399374]} final : True mtd_id 4302 list_pids : [1376400168, 1376400119, 1376400117, 1376400116, 1376400088, 1376400085, 1376400083, 1376400082, 1376400078, 1376400059, 1376400057, 1376400056, 1376400054, 1376400026, 1376400025, 1376400023, 1376400003, 1376400001, 1376399996, 1376399993, 1376399971, 1376399969, 1376399967, 1376399965, 1376399963, 1376399962, 1376399894, 1376399891, 1376399881, 1376399877, 1376399814, 1376399807, 1376399803, 1376399566, 1376399541, 1376399519, 1376399494, 1376399469, 1376399420, 1376399417, 1376399415, 1376399414, 1376399413, 1376399412, 1376399377, 1376399376, 1376399374] Looping around the photos to save general results len do output : 1 /25867258Didn'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, '3507433') ('4302', '25867258', '1376400168', None, None, None, None, None, '3507433') ('4302', None, None, None, None, None, None, None, '3507433') ('4302', '25867258', '1376400119', None, None, None, None, None, '3507433') ('4302', None, None, None, None, None, None, None, '3507433') ('4302', '25867258', '1376400117', None, None, None, None, None, '3507433') ('4302', None, None, None, None, None, None, None, '3507433') ('4302', '25867258', '1376400116', None, None, None, None, None, '3507433') ('4302', None, None, None, None, None, None, None, '3507433') ('4302', '25867258', '1376400088', None, None, None, None, None, '3507433') ('4302', None, None, None, None, None, None, None, '3507433') ('4302', '25867258', '1376400085', None, None, None, None, None, '3507433') ('4302', None, None, None, None, None, None, None, '3507433') ('4302', '25867258', '1376400083', None, None, None, None, None, '3507433') ('4302', None, None, None, None, None, None, None, '3507433') ('4302', '25867258', '1376400082', None, None, None, None, None, '3507433') ('4302', None, None, None, None, None, None, None, '3507433') ('4302', '25867258', '1376400078', None, None, None, None, None, '3507433') ('4302', None, None, None, None, None, None, None, '3507433') ('4302', '25867258', '1376400059', None, None, None, None, None, '3507433') ('4302', None, None, None, None, None, None, None, '3507433') ('4302', '25867258', '1376400057', None, None, None, None, None, '3507433') ('4302', None, None, None, None, None, None, None, '3507433') ('4302', '25867258', '1376400056', None, None, None, None, None, '3507433') ('4302', None, None, None, None, None, None, None, '3507433') ('4302', '25867258', '1376400054', None, None, None, None, None, '3507433') ('4302', None, None, None, None, None, None, None, '3507433') ('4302', '25867258', '1376400026', None, None, None, None, None, '3507433') ('4302', None, None, None, None, None, None, None, '3507433') ('4302', '25867258', '1376400025', None, None, None, None, None, '3507433') ('4302', None, None, None, None, None, None, None, '3507433') ('4302', '25867258', '1376400023', None, None, None, None, None, '3507433') ('4302', None, None, None, None, None, None, None, '3507433') ('4302', '25867258', '1376400003', None, None, None, None, None, '3507433') ('4302', None, None, None, None, None, None, None, '3507433') ('4302', '25867258', '1376400001', None, None, None, None, None, '3507433') ('4302', None, None, None, None, None, None, None, '3507433') ('4302', '25867258', '1376399996', None, None, None, None, None, '3507433') ('4302', None, None, None, None, None, None, None, '3507433') ('4302', '25867258', '1376399993', None, None, None, None, None, '3507433') ('4302', None, None, None, None, None, None, None, '3507433') ('4302', '25867258', '1376399971', None, None, None, None, None, '3507433') ('4302', None, None, None, None, None, None, None, '3507433') ('4302', '25867258', '1376399969', None, None, None, None, None, '3507433') ('4302', None, None, None, None, None, None, None, '3507433') ('4302', '25867258', '1376399967', None, None, None, None, None, '3507433') ('4302', None, None, None, None, None, None, None, '3507433') ('4302', '25867258', '1376399965', None, None, None, None, None, '3507433') ('4302', None, None, None, None, None, None, None, '3507433') ('4302', '25867258', '1376399963', None, None, None, None, None, '3507433') ('4302', None, None, None, None, None, None, None, '3507433') ('4302', '25867258', '1376399962', None, None, None, None, None, '3507433') ('4302', None, None, None, None, None, None, None, '3507433') ('4302', '25867258', '1376399894', None, None, None, None, None, '3507433') ('4302', None, None, None, None, None, None, None, '3507433') ('4302', '25867258', '1376399891', None, None, None, None, None, '3507433') ('4302', None, None, None, None, None, None, None, '3507433') ('4302', '25867258', '1376399881', None, None, None, None, None, '3507433') ('4302', None, None, None, None, None, None, None, '3507433') ('4302', '25867258', '1376399877', None, None, None, None, None, '3507433') ('4302', None, None, None, None, None, None, None, '3507433') ('4302', '25867258', '1376399814', None, None, None, None, None, '3507433') ('4302', None, None, None, None, None, None, None, '3507433') ('4302', '25867258', '1376399807', None, None, None, None, None, '3507433') ('4302', None, None, None, None, None, None, None, '3507433') ('4302', '25867258', '1376399803', None, None, None, None, None, '3507433') ('4302', None, None, None, None, None, None, None, '3507433') ('4302', '25867258', '1376399566', None, None, None, None, None, '3507433') ('4302', None, None, None, None, None, None, None, '3507433') ('4302', '25867258', '1376399541', None, None, None, None, None, '3507433') ('4302', None, None, None, None, None, None, None, '3507433') ('4302', '25867258', '1376399519', None, None, None, None, None, '3507433') ('4302', None, None, None, None, None, None, None, '3507433') ('4302', '25867258', '1376399494', None, None, None, None, None, '3507433') ('4302', None, None, None, None, None, None, None, '3507433') ('4302', '25867258', '1376399469', None, None, None, None, None, '3507433') ('4302', None, None, None, None, None, None, None, '3507433') ('4302', '25867258', '1376399420', None, None, None, None, None, '3507433') ('4302', None, None, None, None, None, None, None, '3507433') ('4302', '25867258', '1376399417', None, None, None, None, None, '3507433') ('4302', None, None, None, None, None, None, None, '3507433') ('4302', '25867258', '1376399415', None, None, None, None, None, '3507433') ('4302', None, None, None, None, None, None, None, '3507433') ('4302', '25867258', '1376399414', None, None, None, None, None, '3507433') ('4302', None, None, None, None, None, None, None, '3507433') ('4302', '25867258', '1376399413', None, None, None, None, None, '3507433') ('4302', None, None, None, None, None, None, None, '3507433') ('4302', '25867258', '1376399412', None, None, None, None, None, '3507433') ('4302', None, None, None, None, None, None, None, '3507433') ('4302', '25867258', '1376399377', None, None, None, None, None, '3507433') ('4302', None, None, None, None, None, None, None, '3507433') ('4302', '25867258', '1376399376', None, None, None, None, None, '3507433') ('4302', None, None, None, None, None, None, None, '3507433') ('4302', '25867258', '1376399374', None, None, None, None, None, '3507433') 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', None, '25867258', 'None', None, None, None, None, '3507433'), ('4302', '25867258', '1376400168', None, None, None, None, None, '3507433'), ('4302', '25867258', '1376400119', None, None, None, None, None, '3507433'), ('4302', '25867258', '1376400117', None, None, None, None, None, '3507433'), ('4302', '25867258', '1376400116', None, None, None, None, None, '3507433'), ('4302', '25867258', '1376400088', None, None, None, None, None, '3507433'), ('4302', '25867258', '1376400085', None, None, None, None, None, '3507433'), ('4302', '25867258', '1376400083', None, None, None, None, None, '3507433'), ('4302', '25867258', '1376400082', None, None, None, None, None, '3507433'), ('4302', '25867258', '1376400078', None, None, None, None, None, '3507433'), ('4302', '25867258', '1376400059', None, None, None, None, None, '3507433'), ('4302', '25867258', '1376400057', None, None, None, None, None, '3507433'), ('4302', '25867258', '1376400056', None, None, None, None, None, '3507433'), ('4302', '25867258', '1376400054', None, None, None, None, None, '3507433'), ('4302', '25867258', '1376400026', None, None, None, None, None, '3507433'), ('4302', '25867258', '1376400025', None, None, None, None, None, '3507433'), ('4302', '25867258', '1376400023', None, None, None, None, None, '3507433'), ('4302', '25867258', '1376400003', None, None, None, None, None, '3507433'), ('4302', '25867258', '1376400001', None, None, None, None, None, '3507433'), ('4302', '25867258', '1376399996', None, None, None, None, None, '3507433'), ('4302', '25867258', '1376399993', None, None, None, None, None, '3507433'), ('4302', '25867258', '1376399971', None, None, None, None, None, '3507433'), ('4302', '25867258', '1376399969', None, None, None, None, None, '3507433'), ('4302', '25867258', '1376399967', None, None, None, None, None, '3507433'), ('4302', '25867258', '1376399965', None, None, None, None, None, '3507433'), ('4302', '25867258', '1376399963', None, None, None, None, None, '3507433'), ('4302', '25867258', '1376399962', None, None, None, None, None, '3507433'), ('4302', '25867258', '1376399894', None, None, None, None, None, '3507433'), ('4302', '25867258', '1376399891', None, None, None, None, None, '3507433'), ('4302', '25867258', '1376399881', None, None, None, None, None, '3507433'), ('4302', '25867258', '1376399877', None, None, None, None, None, '3507433'), ('4302', '25867258', '1376399814', None, None, None, None, None, '3507433'), ('4302', '25867258', '1376399807', None, None, None, None, None, '3507433'), ('4302', '25867258', '1376399803', None, None, None, None, None, '3507433'), ('4302', '25867258', '1376399566', None, None, None, None, None, '3507433'), ('4302', '25867258', '1376399541', None, None, None, None, None, '3507433'), ('4302', '25867258', '1376399519', None, None, None, None, None, '3507433'), ('4302', '25867258', '1376399494', None, None, None, None, None, '3507433'), ('4302', '25867258', '1376399469', None, None, None, None, None, '3507433'), ('4302', '25867258', '1376399420', None, None, None, None, None, '3507433'), ('4302', '25867258', '1376399417', None, None, None, None, None, '3507433'), ('4302', '25867258', '1376399415', None, None, None, None, None, '3507433'), ('4302', '25867258', '1376399414', None, None, None, None, None, '3507433'), ('4302', '25867258', '1376399413', None, None, None, None, None, '3507433'), ('4302', '25867258', '1376399412', None, None, None, None, None, '3507433'), ('4302', '25867258', '1376399377', None, None, None, None, None, '3507433'), ('4302', '25867258', '1376399376', None, None, None, None, None, '3507433'), ('4302', '25867258', '1376399374', None, None, None, None, None, '3507433')] time used for this insertion : 0.0288999080657959 save_final save missing photos in datou_result : time spend for datou_step_exec : 10.16543960571289 time spend to save output : 0.02931809425354004 total time spend for step 5 : 10.19475769996643 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 (3507433) 3.29user 2.22system 0:22.71elapsed 24%CPU (0avgtext+0avgdata 171124maxresident)k 152inputs+28760outputs (0major+89641minor)pagefaults 0swaps