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 : 2855919 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 (3426748) updating current state to 1 UPDATE MTRPhoto.mtr_datou_current SET state=1, hostname='marlene' WHERE id in (3426748) SELECT count(*) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 25586789 AND hide_status = 0 list_input_json: [] Current got : datou_id : 4302, datou_cur_ids : ['3426748'] with mtr_portfolio_ids : ['25586789'] and first list_photo_ids : [] new path : /proc/2855919/ Name: python3 Umask: 0002 State: R (running) Tgid: 2855919 Ngid: 0 Pid: 2855919 PPid: 2855918 TracerPid: 0 Uid: 1006 1006 1006 1006 Gid: 1009 1009 1009 1009 FDSize: 64 Groups: 27 1009 1026 NStgid: 2855919 NSpid: 2855919 NSpgid: 2855584 NSsid: 2855584 VmPeak: 1106860 kB VmSize: 1106860 kB VmLck: 0 kB VmPin: 0 kB VmHWM: 98008 kB VmRSS: 98008 kB RssAnon: 59820 kB RssFile: 38188 kB RssShmem: 0 kB VmData: 865612 kB VmStk: 132 kB VmExe: 2644 kB VmLib: 130468 kB VmPTE: 608 kB VmSwap: 0 kB HugetlbPages: 0 kB CoreDumping: 0 THP_enabled: 1 Threads: 1 SigQ: 0/63019 SigPnd: 0000000000000000 ShdPnd: 0000000000000000 SigBlk: 0000000000000000 SigIgn: 0000000001001000 SigCgt: 0000000180000002 CapInh: 0000000000000000 CapPrm: 0000000000000000 CapEff: 0000000000000000 CapBnd: 000001ffffffffff CapAmb: 0000000000000000 NoNewPrivs: 0 Seccomp: 0 Seccomp_filters: 0 Speculation_Store_Bypass: thread vulnerable SpeculationIndirectBranch: conditional enabled Cpus_allowed: ffffffff,ffffffff,ffffffff,ffffffff Cpus_allowed_list: 0-127 Mems_allowed: 00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000001 Mems_allowed_list: 0 voluntary_ctxt_switches: 44 nonvoluntary_ctxt_switches: 99 {'Name': 'python3', 'Umask': '0002', 'State': 'R (running)', 'Tgid': '2855919', 'Ngid': '0', 'Pid': '2855919', 'PPid': '2855918', 'TracerPid': '0', 'Uid': '1006,1006,1006,1006', 'Gid': '1009,1009,1009,1009', 'FDSize': '64', 'Groups': '27 1009 1026', 'NStgid': '2855919', 'NSpid': '2855919', 'NSpgid': '2855584', 'NSsid': '2855584', 'VmPeak': '1106860 kB', 'VmSize': '1106860 kB', 'VmLck': '0 kB', 'VmPin': '0 kB', 'VmHWM': '98008 kB', 'VmRSS': '98008 kB', 'RssAnon': '59820 kB', 'RssFile': '38188 kB', 'RssShmem': '0 kB', 'VmData': '865612 kB', 'VmStk': '132 kB', 'VmExe': '2644 kB', 'VmLib': '130468 kB', 'VmPTE': '608 kB', 'VmSwap': '0 kB', 'HugetlbPages': '0 kB', 'CoreDumping': '0', 'THP_enabled': '1', 'Threads': '1', 'SigQ': '0/63019', 'SigPnd': '0000000000000000', 'ShdPnd': '0000000000000000', 'SigBlk': '0000000000000000', 'SigIgn': '0000000001001000', 'SigCgt': '0000000180000002', 'CapInh': '0000000000000000', 'CapPrm': '0000000000000000', 'CapEff': '0000000000000000', 'CapBnd': '000001ffffffffff', 'CapAmb': '0000000000000000', 'NoNewPrivs': '0', 'Seccomp': '0', 'Seccomp_filters': '0', 'Speculation_Store_Bypass': 'thread vulnerable', 'SpeculationIndirectBranch': 'conditional enabled', 'Cpus_allowed': 'ffffffff,ffffffff,ffffffff,ffffffff', 'Cpus_allowed_list': '0-127', 'Mems_allowed': '00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000001', 'Mems_allowed_list': '0', 'voluntary_ctxt_switches': '44', 'nonvoluntary_ctxt_switches': '99'} ('datou_batch_current', '2855919', '1106860', '0', '1106860', '865612', '98008', b'', 'marlene', '3426748') 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 (25586789) 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 (3426748 ) ) 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 (25586789) AND hide_status = 0 ORDER by mtr_photo_id desc LIMIT 0, 200 list_result: [{'photo_id': 1374796871, 'portfolio_id': 25586789}, {'photo_id': 1374796844, 'portfolio_id': 25586789}, {'photo_id': 1374796840, 'portfolio_id': 25586789}, {'photo_id': 1374796838, 'portfolio_id': 25586789}, {'photo_id': 1374796837, 'portfolio_id': 25586789}, {'photo_id': 1374796835, 'portfolio_id': 25586789}, {'photo_id': 1374796817, 'portfolio_id': 25586789}, {'photo_id': 1374796815, 'portfolio_id': 25586789}, {'photo_id': 1374796813, 'portfolio_id': 25586789}, {'photo_id': 1374796812, 'portfolio_id': 25586789}, {'photo_id': 1374796811, 'portfolio_id': 25586789}, {'photo_id': 1374796789, 'portfolio_id': 25586789}, {'photo_id': 1374796785, 'portfolio_id': 25586789}, {'photo_id': 1374796784, 'portfolio_id': 25586789}, {'photo_id': 1374796783, 'portfolio_id': 25586789}, {'photo_id': 1374796781, 'portfolio_id': 25586789}, {'photo_id': 1374796775, 'portfolio_id': 25586789}, {'photo_id': 1374796773, 'portfolio_id': 25586789}, {'photo_id': 1374796770, 'portfolio_id': 25586789}, {'photo_id': 1374796620, 'portfolio_id': 25586789}, {'photo_id': 1374796618, 'portfolio_id': 25586789}, {'photo_id': 1374796572, 'portfolio_id': 25586789}, {'photo_id': 1374796570, 'portfolio_id': 25586789}, {'photo_id': 1374796523, 'portfolio_id': 25586789}, {'photo_id': 1374796463, 'portfolio_id': 25586789}, {'photo_id': 1374796459, 'portfolio_id': 25586789}, {'photo_id': 1374796456, 'portfolio_id': 25586789}, {'photo_id': 1374796453, 'portfolio_id': 25586789}, {'photo_id': 1374796399, 'portfolio_id': 25586789}, {'photo_id': 1374796358, 'portfolio_id': 25586789}, {'photo_id': 1374796356, 'portfolio_id': 25586789}, {'photo_id': 1374796350, 'portfolio_id': 25586789}, {'photo_id': 1374796286, 'portfolio_id': 25586789}, {'photo_id': 1374796224, 'portfolio_id': 25586789}, {'photo_id': 1374795746, 'portfolio_id': 25586789}, {'photo_id': 1374795744, 'portfolio_id': 25586789}, {'photo_id': 1374795551, 'portfolio_id': 25586789}] map_portfolio_id_photo_id: {25586789: [1374796871, 1374796844, 1374796840, 1374796838, 1374796837, 1374796835, 1374796817, 1374796815, 1374796813, 1374796812, 1374796811, 1374796789, 1374796785, 1374796784, 1374796783, 1374796781, 1374796775, 1374796773, 1374796770, 1374796620, 1374796618, 1374796572, 1374796570, 1374796523, 1374796463, 1374796459, 1374796456, 1374796453, 1374796399, 1374796358, 1374796356, 1374796350, 1374796286, 1374796224, 1374795746, 1374795744, 1374795551]} ##### 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.024712800979614258 #### 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 Sat Aug 2 05:38:26 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 (25586789) 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 : 25586789 get user id for portfolio 25586789 get sub ptf for main ptf 25586789, type 3726 and hashtags ['cartonnette', 'flou', 'Carton_gris', 'autre_refus', 'environnement', 'metal', 'plastique', 'Carton_brun', 'kraft', 'mal_croppe', 'Teint_Dans_La_Masse', 'papier'] 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`=25586789 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('cartonnette','flou','Carton_gris','autre_refus','environnement','metal','plastique','Carton_brun','kraft','mal_croppe','Teint_Dans_La_Masse','papier')) 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`=25586789 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('cartonnette','flou','Carton_gris','autre_refus','environnement','metal','plastique','Carton_brun','kraft','mal_croppe','Teint_Dans_La_Masse','papier')) AND mptpi.`min_score`=0.5 To do returned map {'environnement': {'main_port_id': 25586789, 'sub_port_id': 25586794, 'hashtag': 'environnement', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17251891, 'last_updated_at': datetime.datetime(2025, 8, 1, 18, 18, 58), 'last_updated_at_desc': datetime.datetime(2025, 8, 1, 18, 18, 58), 'last_updated_at_asc': datetime.datetime(2025, 8, 1, 18, 4, 56)}, 'plastique': {'main_port_id': 25586789, 'sub_port_id': 25586795, 'hashtag': 'plastique', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17251892, 'last_updated_at': datetime.datetime(2025, 8, 1, 18, 18, 58), 'last_updated_at_desc': datetime.datetime(2025, 8, 1, 18, 18, 58), 'last_updated_at_asc': datetime.datetime(2025, 8, 1, 18, 4, 56)}, 'Teint_Dans_La_Masse': {'main_port_id': 25586789, 'sub_port_id': 25586796, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17251893, 'last_updated_at': datetime.datetime(2025, 8, 1, 18, 18, 58), 'last_updated_at_desc': datetime.datetime(2025, 8, 1, 18, 18, 58), 'last_updated_at_asc': datetime.datetime(2025, 8, 1, 18, 4, 56)}, 'papier': {'main_port_id': 25586789, 'sub_port_id': 25586797, 'hashtag': 'papier', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17251894, 'last_updated_at': datetime.datetime(2025, 8, 1, 18, 18, 58), 'last_updated_at_desc': datetime.datetime(2025, 8, 1, 18, 18, 58), 'last_updated_at_asc': datetime.datetime(2025, 8, 1, 18, 4, 56)}, 'Carton_brun': {'main_port_id': 25586789, 'sub_port_id': 25586798, 'hashtag': 'Carton_brun', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17251895, 'last_updated_at': datetime.datetime(2025, 8, 1, 18, 18, 58), 'last_updated_at_desc': datetime.datetime(2025, 8, 1, 18, 18, 58), 'last_updated_at_asc': datetime.datetime(2025, 8, 1, 18, 4, 56)}, 'kraft': {'main_port_id': 25586789, 'sub_port_id': 25586799, 'hashtag': 'kraft', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17251896, 'last_updated_at': datetime.datetime(2025, 8, 1, 18, 18, 58), 'last_updated_at_desc': datetime.datetime(2025, 8, 1, 18, 18, 58), 'last_updated_at_asc': datetime.datetime(2025, 8, 1, 18, 4, 56)}, 'metal': {'main_port_id': 25586789, 'sub_port_id': 25586800, 'hashtag': 'metal', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17251897, 'last_updated_at': datetime.datetime(2025, 8, 1, 18, 18, 58), 'last_updated_at_desc': datetime.datetime(2025, 8, 1, 18, 18, 58), 'last_updated_at_asc': datetime.datetime(2025, 8, 1, 18, 4, 56)}, 'autre_refus': {'main_port_id': 25586789, 'sub_port_id': 25586801, 'hashtag': 'autre_refus', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17251898, 'last_updated_at': datetime.datetime(2025, 8, 1, 18, 18, 58), 'last_updated_at_desc': datetime.datetime(2025, 8, 1, 18, 18, 58), 'last_updated_at_asc': datetime.datetime(2025, 8, 1, 18, 4, 56)}, 'cartonnette': {'main_port_id': 25586789, 'sub_port_id': 25586802, 'hashtag': 'cartonnette', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17251899, 'last_updated_at': datetime.datetime(2025, 8, 1, 18, 18, 58), 'last_updated_at_desc': datetime.datetime(2025, 8, 1, 18, 18, 58), 'last_updated_at_asc': datetime.datetime(2025, 8, 1, 18, 4, 56)}, 'flou': {'main_port_id': 25586789, 'sub_port_id': 25586803, 'hashtag': 'flou', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17251900, 'last_updated_at': datetime.datetime(2025, 8, 1, 18, 18, 58), 'last_updated_at_desc': datetime.datetime(2025, 8, 1, 18, 18, 58), 'last_updated_at_asc': datetime.datetime(2025, 8, 1, 18, 4, 56)}, 'Carton_gris': {'main_port_id': 25586789, 'sub_port_id': 25586804, 'hashtag': 'Carton_gris', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17251901, 'last_updated_at': datetime.datetime(2025, 8, 1, 18, 18, 58), 'last_updated_at_desc': datetime.datetime(2025, 8, 1, 18, 18, 58), 'last_updated_at_asc': datetime.datetime(2025, 8, 1, 18, 4, 56)}, 'mal_croppe': {'main_port_id': 25586789, 'sub_port_id': 25586805, 'hashtag': 'mal_croppe', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17251902, 'last_updated_at': datetime.datetime(2025, 8, 1, 18, 18, 58), 'last_updated_at_desc': datetime.datetime(2025, 8, 1, 18, 18, 58), 'last_updated_at_asc': datetime.datetime(2025, 8, 1, 18, 4, 56)}} insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 25586794 , 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=25586789 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 (25586794) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (25586789) result : ((1374795551,), (1374795744,), (1374795746,), (1374796224,), (1374796286,), (1374796350,), (1374796356,), (1374796358,), (1374796399,), (1374796453,), (1374796456,), (1374796459,), (1374796463,), (1374796523,), (1374796570,), (1374796572,), (1374796618,), (1374796620,), (1374796770,), (1374796773,), (1374796775,), (1374796781,), (1374796783,), (1374796784,), (1374796785,), (1374796789,), (1374796811,), (1374796812,), (1374796813,), (1374796815,), (1374796817,), (1374796835,), (1374796837,), (1374796838,), (1374796840,), (1374796844,), (1374796871,)) 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 25586795 , 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=25586789 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 (25586795) result : ((1374796927,),) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (25586789) result : ((1374795551,), (1374795744,), (1374795746,), (1374796224,), (1374796286,), (1374796350,), (1374796356,), (1374796358,), (1374796399,), (1374796453,), (1374796456,), (1374796459,), (1374796463,), (1374796523,), (1374796570,), (1374796572,), (1374796618,), (1374796620,), (1374796770,), (1374796773,), (1374796775,), (1374796781,), (1374796783,), (1374796784,), (1374796785,), (1374796789,), (1374796811,), (1374796812,), (1374796813,), (1374796815,), (1374796817,), (1374796835,), (1374796837,), (1374796838,), (1374796840,), (1374796844,), (1374796871,)) 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 25586796 , 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=25586789 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 (25586796) result : ((1374796474,), (1374796858,), (1374796920,), (1374796921,), (1374796922,), (1374796923,), (1374796924,), (1374801051,), (1374801052,), (1374801053,), (1374801054,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (25586789) result : ((1374795551,), (1374795744,), (1374795746,), (1374796224,), (1374796286,), (1374796350,), (1374796356,), (1374796358,), (1374796399,), (1374796453,), (1374796456,), (1374796459,), (1374796463,), (1374796523,), (1374796570,), (1374796572,), (1374796618,), (1374796620,), (1374796770,), (1374796773,), (1374796775,), (1374796781,), (1374796783,), (1374796784,), (1374796785,), (1374796789,), (1374796811,), (1374796812,), (1374796813,), (1374796815,), (1374796817,), (1374796835,), (1374796837,), (1374796838,), (1374796840,), (1374796844,), (1374796871,)) 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 25586797 , 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=25586789 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 (25586797) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (25586789) result : ((1374795551,), (1374795744,), (1374795746,), (1374796224,), (1374796286,), (1374796350,), (1374796356,), (1374796358,), (1374796399,), (1374796453,), (1374796456,), (1374796459,), (1374796463,), (1374796523,), (1374796570,), (1374796572,), (1374796618,), (1374796620,), (1374796770,), (1374796773,), (1374796775,), (1374796781,), (1374796783,), (1374796784,), (1374796785,), (1374796789,), (1374796811,), (1374796812,), (1374796813,), (1374796815,), (1374796817,), (1374796835,), (1374796837,), (1374796838,), (1374796840,), (1374796844,), (1374796871,)) 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 25586798 , 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=25586789 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 (25586798) result : ((1374796859,), (1374796926,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (25586789) result : ((1374795551,), (1374795744,), (1374795746,), (1374796224,), (1374796286,), (1374796350,), (1374796356,), (1374796358,), (1374796399,), (1374796453,), (1374796456,), (1374796459,), (1374796463,), (1374796523,), (1374796570,), (1374796572,), (1374796618,), (1374796620,), (1374796770,), (1374796773,), (1374796775,), (1374796781,), (1374796783,), (1374796784,), (1374796785,), (1374796789,), (1374796811,), (1374796812,), (1374796813,), (1374796815,), (1374796817,), (1374796835,), (1374796837,), (1374796838,), (1374796840,), (1374796844,), (1374796871,)) 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 25586799 , 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=25586789 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 (25586799) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (25586789) result : ((1374795551,), (1374795744,), (1374795746,), (1374796224,), (1374796286,), (1374796350,), (1374796356,), (1374796358,), (1374796399,), (1374796453,), (1374796456,), (1374796459,), (1374796463,), (1374796523,), (1374796570,), (1374796572,), (1374796618,), (1374796620,), (1374796770,), (1374796773,), (1374796775,), (1374796781,), (1374796783,), (1374796784,), (1374796785,), (1374796789,), (1374796811,), (1374796812,), (1374796813,), (1374796815,), (1374796817,), (1374796835,), (1374796837,), (1374796838,), (1374796840,), (1374796844,), (1374796871,)) 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 25586800 , 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=25586789 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 (25586800) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (25586789) result : ((1374795551,), (1374795744,), (1374795746,), (1374796224,), (1374796286,), (1374796350,), (1374796356,), (1374796358,), (1374796399,), (1374796453,), (1374796456,), (1374796459,), (1374796463,), (1374796523,), (1374796570,), (1374796572,), (1374796618,), (1374796620,), (1374796770,), (1374796773,), (1374796775,), (1374796781,), (1374796783,), (1374796784,), (1374796785,), (1374796789,), (1374796811,), (1374796812,), (1374796813,), (1374796815,), (1374796817,), (1374796835,), (1374796837,), (1374796838,), (1374796840,), (1374796844,), (1374796871,)) 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 25586801 , 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=25586789 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 (25586801) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (25586789) result : ((1374795551,), (1374795744,), (1374795746,), (1374796224,), (1374796286,), (1374796350,), (1374796356,), (1374796358,), (1374796399,), (1374796453,), (1374796456,), (1374796459,), (1374796463,), (1374796523,), (1374796570,), (1374796572,), (1374796618,), (1374796620,), (1374796770,), (1374796773,), (1374796775,), (1374796781,), (1374796783,), (1374796784,), (1374796785,), (1374796789,), (1374796811,), (1374796812,), (1374796813,), (1374796815,), (1374796817,), (1374796835,), (1374796837,), (1374796838,), (1374796840,), (1374796844,), (1374796871,)) 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 25586802 , 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=25586789 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 (25586802) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (25586789) result : ((1374795551,), (1374795744,), (1374795746,), (1374796224,), (1374796286,), (1374796350,), (1374796356,), (1374796358,), (1374796399,), (1374796453,), (1374796456,), (1374796459,), (1374796463,), (1374796523,), (1374796570,), (1374796572,), (1374796618,), (1374796620,), (1374796770,), (1374796773,), (1374796775,), (1374796781,), (1374796783,), (1374796784,), (1374796785,), (1374796789,), (1374796811,), (1374796812,), (1374796813,), (1374796815,), (1374796817,), (1374796835,), (1374796837,), (1374796838,), (1374796840,), (1374796844,), (1374796871,)) 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 25586803 , 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=25586789 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 (25586803) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (25586789) result : ((1374795551,), (1374795744,), (1374795746,), (1374796224,), (1374796286,), (1374796350,), (1374796356,), (1374796358,), (1374796399,), (1374796453,), (1374796456,), (1374796459,), (1374796463,), (1374796523,), (1374796570,), (1374796572,), (1374796618,), (1374796620,), (1374796770,), (1374796773,), (1374796775,), (1374796781,), (1374796783,), (1374796784,), (1374796785,), (1374796789,), (1374796811,), (1374796812,), (1374796813,), (1374796815,), (1374796817,), (1374796835,), (1374796837,), (1374796838,), (1374796840,), (1374796844,), (1374796871,)) 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 25586804 , 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=25586789 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 (25586804) result : ((1374796925,),) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (25586789) result : ((1374795551,), (1374795744,), (1374795746,), (1374796224,), (1374796286,), (1374796350,), (1374796356,), (1374796358,), (1374796399,), (1374796453,), (1374796456,), (1374796459,), (1374796463,), (1374796523,), (1374796570,), (1374796572,), (1374796618,), (1374796620,), (1374796770,), (1374796773,), (1374796775,), (1374796781,), (1374796783,), (1374796784,), (1374796785,), (1374796789,), (1374796811,), (1374796812,), (1374796813,), (1374796815,), (1374796817,), (1374796835,), (1374796837,), (1374796838,), (1374796840,), (1374796844,), (1374796871,)) 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 25586805 , 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=25586789 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 (25586805) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (25586789) result : ((1374795551,), (1374795744,), (1374795746,), (1374796224,), (1374796286,), (1374796350,), (1374796356,), (1374796358,), (1374796399,), (1374796453,), (1374796456,), (1374796459,), (1374796463,), (1374796523,), (1374796570,), (1374796572,), (1374796618,), (1374796620,), (1374796770,), (1374796773,), (1374796775,), (1374796781,), (1374796783,), (1374796784,), (1374796785,), (1374796789,), (1374796811,), (1374796812,), (1374796813,), (1374796815,), (1374796817,), (1374796835,), (1374796837,), (1374796838,), (1374796840,), (1374796844,), (1374796871,)) 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`=25586789 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('cartonnette','flou','Carton_gris','autre_refus','environnement','metal','plastique','Carton_brun','kraft','mal_croppe','Teint_Dans_La_Masse','papier')) 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`=25586789 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('cartonnette','flou','Carton_gris','autre_refus','environnement','metal','plastique','Carton_brun','kraft','mal_croppe','Teint_Dans_La_Masse','papier')) AND mptpi.`min_score`=0.5 To do returned map {'environnement': {'main_port_id': 25586789, 'sub_port_id': 25586806, 'hashtag': 'environnement', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17251903, 'last_updated_at': datetime.datetime(2025, 8, 1, 18, 4, 58), 'last_updated_at_desc': datetime.datetime(2025, 8, 1, 18, 4, 58), 'last_updated_at_asc': datetime.datetime(2025, 8, 1, 18, 4, 58)}, 'plastique': {'main_port_id': 25586789, 'sub_port_id': 25586807, 'hashtag': 'plastique', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17251904, 'last_updated_at': datetime.datetime(2025, 8, 1, 18, 4, 58), 'last_updated_at_desc': datetime.datetime(2025, 8, 1, 18, 4, 58), 'last_updated_at_asc': datetime.datetime(2025, 8, 1, 18, 4, 58)}, 'Teint_Dans_La_Masse': {'main_port_id': 25586789, 'sub_port_id': 25586808, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17251905, 'last_updated_at': datetime.datetime(2025, 8, 1, 18, 4, 58), 'last_updated_at_desc': datetime.datetime(2025, 8, 1, 18, 4, 58), 'last_updated_at_asc': datetime.datetime(2025, 8, 1, 18, 4, 58)}, 'papier': {'main_port_id': 25586789, 'sub_port_id': 25586809, 'hashtag': 'papier', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17251906, 'last_updated_at': datetime.datetime(2025, 8, 1, 18, 4, 58), 'last_updated_at_desc': datetime.datetime(2025, 8, 1, 18, 4, 58), 'last_updated_at_asc': datetime.datetime(2025, 8, 1, 18, 4, 58)}, 'Carton_brun': {'main_port_id': 25586789, 'sub_port_id': 25586810, 'hashtag': 'Carton_brun', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17251907, 'last_updated_at': datetime.datetime(2025, 8, 1, 18, 4, 58), 'last_updated_at_desc': datetime.datetime(2025, 8, 1, 18, 4, 58), 'last_updated_at_asc': datetime.datetime(2025, 8, 1, 18, 4, 58)}, 'kraft': {'main_port_id': 25586789, 'sub_port_id': 25586811, 'hashtag': 'kraft', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17251908, 'last_updated_at': datetime.datetime(2025, 8, 1, 18, 4, 58), 'last_updated_at_desc': datetime.datetime(2025, 8, 1, 18, 4, 58), 'last_updated_at_asc': datetime.datetime(2025, 8, 1, 18, 4, 58)}, 'metal': {'main_port_id': 25586789, 'sub_port_id': 25586812, 'hashtag': 'metal', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17251909, 'last_updated_at': datetime.datetime(2025, 8, 1, 18, 4, 58), 'last_updated_at_desc': datetime.datetime(2025, 8, 1, 18, 4, 58), 'last_updated_at_asc': datetime.datetime(2025, 8, 1, 18, 4, 58)}, 'autre_refus': {'main_port_id': 25586789, 'sub_port_id': 25586813, 'hashtag': 'autre_refus', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17251910, 'last_updated_at': datetime.datetime(2025, 8, 1, 18, 4, 58), 'last_updated_at_desc': datetime.datetime(2025, 8, 1, 18, 4, 58), 'last_updated_at_asc': datetime.datetime(2025, 8, 1, 18, 4, 58)}, 'cartonnette': {'main_port_id': 25586789, 'sub_port_id': 25586814, 'hashtag': 'cartonnette', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17251911, 'last_updated_at': datetime.datetime(2025, 8, 1, 18, 4, 58), 'last_updated_at_desc': datetime.datetime(2025, 8, 1, 18, 4, 58), 'last_updated_at_asc': datetime.datetime(2025, 8, 1, 18, 4, 58)}, 'flou': {'main_port_id': 25586789, 'sub_port_id': 25586815, 'hashtag': 'flou', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17251912, 'last_updated_at': datetime.datetime(2025, 8, 1, 18, 4, 58), 'last_updated_at_desc': datetime.datetime(2025, 8, 1, 18, 4, 58), 'last_updated_at_asc': datetime.datetime(2025, 8, 1, 18, 4, 58)}, 'Carton_gris': {'main_port_id': 25586789, 'sub_port_id': 25586816, 'hashtag': 'Carton_gris', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17251913, 'last_updated_at': datetime.datetime(2025, 8, 1, 18, 4, 58), 'last_updated_at_desc': datetime.datetime(2025, 8, 1, 18, 4, 58), 'last_updated_at_asc': datetime.datetime(2025, 8, 1, 18, 4, 58)}, 'mal_croppe': {'main_port_id': 25586789, 'sub_port_id': 25586817, 'hashtag': 'mal_croppe', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17251914, 'last_updated_at': datetime.datetime(2025, 8, 1, 18, 18, 59), 'last_updated_at_desc': datetime.datetime(2025, 8, 1, 18, 18, 59), 'last_updated_at_asc': datetime.datetime(2025, 8, 1, 18, 4, 58)}} insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 25586806,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 25586794 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 25586807,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 25586795 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 25586808,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 25586796 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 25586809,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 25586797 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 25586810,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 25586798 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 25586811,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 25586799 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 25586812,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 25586800 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 25586813,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 25586801 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 25586814,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 25586802 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 25586815,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 25586803 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 25586816,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 25586804 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 25586817,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 25586805 lien utilise dans velours : https://www.fotonower.com/velours/25586806,25586807,25586808,25586809,25586810,25586811,25586812,25586813,25586814,25586815,25586816,25586817?tags=environnement,plastique,Teint_Dans_La_Masse,papier,Carton_brun,kraft,metal,autre_refus,cartonnette,flou,Carton_gris,mal_croppe After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([25586789]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1374796871, 1374796844, 1374796840, 1374796838, 1374796837, 1374796835, 1374796817, 1374796815, 1374796813, 1374796812, 1374796811, 1374796789, 1374796785, 1374796784, 1374796783, 1374796781, 1374796775, 1374796773, 1374796770, 1374796620, 1374796618, 1374796572, 1374796570, 1374796523, 1374796463, 1374796459, 1374796456, 1374796453, 1374796399, 1374796358, 1374796356, 1374796350, 1374796286, 1374796224, 1374795746, 1374795744, 1374795551] map_info['map_portfolio_photo'] : {25586789: [1374796871, 1374796844, 1374796840, 1374796838, 1374796837, 1374796835, 1374796817, 1374796815, 1374796813, 1374796812, 1374796811, 1374796789, 1374796785, 1374796784, 1374796783, 1374796781, 1374796775, 1374796773, 1374796770, 1374796620, 1374796618, 1374796572, 1374796570, 1374796523, 1374796463, 1374796459, 1374796456, 1374796453, 1374796399, 1374796358, 1374796356, 1374796350, 1374796286, 1374796224, 1374795746, 1374795744, 1374795551]} final : False mtd_id 4302 list_pids : [1374796871, 1374796844, 1374796840, 1374796838, 1374796837, 1374796835, 1374796817, 1374796815, 1374796813, 1374796812, 1374796811, 1374796789, 1374796785, 1374796784, 1374796783, 1374796781, 1374796775, 1374796773, 1374796770, 1374796620, 1374796618, 1374796572, 1374796570, 1374796523, 1374796463, 1374796459, 1374796456, 1374796453, 1374796399, 1374796358, 1374796356, 1374796350, 1374796286, 1374796224, 1374795746, 1374795744, 1374795551] Looping around the photos to save general results len do output : 1 /25586789. 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, '3426748') ('4302', '25586789', '1374796871', None, None, None, None, None, '3426748') ('4302', None, None, None, None, None, None, None, '3426748') ('4302', '25586789', '1374796844', None, None, None, None, None, '3426748') ('4302', None, None, None, None, None, None, None, '3426748') ('4302', '25586789', '1374796840', None, None, None, None, None, '3426748') ('4302', None, None, None, None, None, None, None, '3426748') ('4302', '25586789', '1374796838', None, None, None, None, None, '3426748') ('4302', None, None, None, None, None, None, None, '3426748') ('4302', '25586789', '1374796837', None, None, None, None, None, '3426748') ('4302', None, None, None, None, None, None, None, '3426748') ('4302', '25586789', '1374796835', None, None, None, None, None, '3426748') ('4302', None, None, None, None, None, None, None, '3426748') ('4302', '25586789', '1374796817', None, None, None, None, None, '3426748') ('4302', None, None, None, None, None, None, None, '3426748') ('4302', '25586789', '1374796815', None, None, None, None, None, '3426748') ('4302', None, None, None, None, None, None, None, '3426748') ('4302', '25586789', '1374796813', None, None, None, None, None, '3426748') ('4302', None, None, None, None, None, None, None, '3426748') ('4302', '25586789', '1374796812', None, None, None, None, None, '3426748') ('4302', None, None, None, None, None, None, None, '3426748') ('4302', '25586789', '1374796811', None, None, None, None, None, '3426748') ('4302', None, None, None, None, None, None, None, '3426748') ('4302', '25586789', '1374796789', None, None, None, None, None, '3426748') ('4302', None, None, None, None, None, None, None, '3426748') ('4302', '25586789', '1374796785', None, None, None, None, None, '3426748') ('4302', None, None, None, None, None, None, None, '3426748') ('4302', '25586789', '1374796784', None, None, None, None, None, '3426748') ('4302', None, None, None, None, None, None, None, '3426748') ('4302', '25586789', '1374796783', None, None, None, None, None, '3426748') ('4302', None, None, None, None, None, None, None, '3426748') ('4302', '25586789', '1374796781', None, None, None, None, None, '3426748') ('4302', None, None, None, None, None, None, None, '3426748') ('4302', '25586789', '1374796775', None, None, None, None, None, '3426748') ('4302', None, None, None, None, None, None, None, '3426748') ('4302', '25586789', '1374796773', None, None, None, None, None, '3426748') ('4302', None, None, None, None, None, None, None, '3426748') ('4302', '25586789', '1374796770', None, None, None, None, None, '3426748') ('4302', None, None, None, None, None, None, None, '3426748') ('4302', '25586789', '1374796620', None, None, None, None, None, '3426748') ('4302', None, None, None, None, None, None, None, '3426748') ('4302', '25586789', '1374796618', None, None, None, None, None, '3426748') ('4302', None, None, None, None, None, None, None, '3426748') ('4302', '25586789', '1374796572', None, None, None, None, None, '3426748') ('4302', None, None, None, None, None, None, None, '3426748') ('4302', '25586789', '1374796570', None, None, None, None, None, '3426748') ('4302', None, None, None, None, None, None, None, '3426748') ('4302', '25586789', '1374796523', None, None, None, None, None, '3426748') ('4302', None, None, None, None, None, None, None, '3426748') ('4302', '25586789', '1374796463', None, None, None, None, None, '3426748') ('4302', None, None, None, None, None, None, None, '3426748') ('4302', '25586789', '1374796459', None, None, None, None, None, '3426748') ('4302', None, None, None, None, None, None, None, '3426748') ('4302', '25586789', '1374796456', None, None, None, None, None, '3426748') ('4302', None, None, None, None, None, None, None, '3426748') ('4302', '25586789', '1374796453', None, None, None, None, None, '3426748') ('4302', None, None, None, None, None, None, None, '3426748') ('4302', '25586789', '1374796399', None, None, None, None, None, '3426748') ('4302', None, None, None, None, None, None, None, '3426748') ('4302', '25586789', '1374796358', None, None, None, None, None, '3426748') ('4302', None, None, None, None, None, None, None, '3426748') ('4302', '25586789', '1374796356', None, None, None, None, None, '3426748') ('4302', None, None, None, None, None, None, None, '3426748') ('4302', '25586789', '1374796350', None, None, None, None, None, '3426748') ('4302', None, None, None, None, None, None, None, '3426748') ('4302', '25586789', '1374796286', None, None, None, None, None, '3426748') ('4302', None, None, None, None, None, None, None, '3426748') ('4302', '25586789', '1374796224', None, None, None, None, None, '3426748') ('4302', None, None, None, None, None, None, None, '3426748') ('4302', '25586789', '1374795746', None, None, None, None, None, '3426748') ('4302', None, None, None, None, None, None, None, '3426748') ('4302', '25586789', '1374795744', None, None, None, None, None, '3426748') ('4302', None, None, None, None, None, None, None, '3426748') ('4302', '25586789', '1374795551', None, None, None, None, None, '3426748') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 38 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, '25586789', "{'environnement': 25586794, 'plastique': 25586795, 'Teint_Dans_La_Masse': 25586796, 'papier': 25586797, 'Carton_brun': 25586798, 'kraft': 25586799, 'metal': 25586800, 'autre_refus': 25586801, 'cartonnette': 25586802, 'flou': 25586803, 'Carton_gris': 25586804, 'mal_croppe': 25586805}", None, None, None, None, '3426748'), ('4302', '25586789', '1374796871', None, None, None, None, None, '3426748'), ('4302', '25586789', '1374796844', None, None, None, None, None, '3426748'), ('4302', '25586789', '1374796840', None, None, None, None, None, '3426748'), ('4302', '25586789', '1374796838', None, None, None, None, None, '3426748'), ('4302', '25586789', '1374796837', None, None, None, None, None, '3426748'), ('4302', '25586789', '1374796835', None, None, None, None, None, '3426748'), ('4302', '25586789', '1374796817', None, None, None, None, None, '3426748'), ('4302', '25586789', '1374796815', None, None, None, None, None, '3426748'), ('4302', '25586789', '1374796813', None, None, None, None, None, '3426748'), ('4302', '25586789', '1374796812', None, None, None, None, None, '3426748'), ('4302', '25586789', '1374796811', None, None, None, None, None, '3426748'), ('4302', '25586789', '1374796789', None, None, None, None, None, '3426748'), ('4302', '25586789', '1374796785', None, None, None, None, None, '3426748'), ('4302', '25586789', '1374796784', None, None, None, None, None, '3426748'), ('4302', '25586789', '1374796783', None, None, None, None, None, '3426748'), ('4302', '25586789', '1374796781', None, None, None, None, None, '3426748'), ('4302', '25586789', '1374796775', None, None, None, None, None, '3426748'), ('4302', '25586789', '1374796773', None, None, None, None, None, '3426748'), ('4302', '25586789', '1374796770', None, None, None, None, None, '3426748'), ('4302', '25586789', '1374796620', None, None, None, None, None, '3426748'), ('4302', '25586789', '1374796618', None, None, None, None, None, '3426748'), ('4302', '25586789', '1374796572', None, None, None, None, None, '3426748'), ('4302', '25586789', '1374796570', None, None, None, None, None, '3426748'), ('4302', '25586789', '1374796523', None, None, None, None, None, '3426748'), ('4302', '25586789', '1374796463', None, None, None, None, None, '3426748'), ('4302', '25586789', '1374796459', None, None, None, None, None, '3426748'), ('4302', '25586789', '1374796456', None, None, None, None, None, '3426748'), ('4302', '25586789', '1374796453', None, None, None, None, None, '3426748'), ('4302', '25586789', '1374796399', None, None, None, None, None, '3426748'), ('4302', '25586789', '1374796358', None, None, None, None, None, '3426748'), ('4302', '25586789', '1374796356', None, None, None, None, None, '3426748'), ('4302', '25586789', '1374796350', None, None, None, None, None, '3426748'), ('4302', '25586789', '1374796286', None, None, None, None, None, '3426748'), ('4302', '25586789', '1374796224', None, None, None, None, None, '3426748'), ('4302', '25586789', '1374795746', None, None, None, None, None, '3426748'), ('4302', '25586789', '1374795744', None, None, None, None, None, '3426748'), ('4302', '25586789', '1374795551', None, None, None, None, None, '3426748')] time used for this insertion : 0.026928186416625977 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.609018087387085 time spend to save output : 0.027421236038208008 total time spend for step 1 : 1.636439323425293 step2:final Sat Aug 2 05:38: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 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 (25586789) 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 25586789 : SELECT photo_id, hashtag_id, ratio from MTRPhoto.photo_carac_ratio where hashtag_type = 3726 and photo_id in (1374795551,1374795746,1374795744,1374796399,1374796358,1374796356,1374796350,1374796286,1374796224,1374796463,1374796459,1374796456,1374796453,1374796523,1374796572,1374796570,1374796620,1374796618,1374796775,1374796773,1374796770,1374796789,1374796785,1374796784,1374796783,1374796781,1374796817,1374796815,1374796813,1374796812,1374796811,1374796844,1374796840,1374796838,1374796837,1374796835,1374796871); 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([25586789]) Inside saveOutput : final : False verbose : True original output for save of step final : {1374796871: ('0.04127535966314586',), 1374796844: ('0.04127535966314586',), 1374796840: ('0.04127535966314586',), 1374796838: ('0.04127535966314586',), 1374796837: ('0.04127535966314586',), 1374796835: ('0.04127535966314586',), 1374796817: ('0.04127535966314586',), 1374796815: ('0.04127535966314586',), 1374796813: ('0.04127535966314586',), 1374796812: ('0.04127535966314586',), 1374796811: ('0.04127535966314586',), 1374796789: ('0.04127535966314586',), 1374796785: ('0.04127535966314586',), 1374796784: ('0.04127535966314586',), 1374796783: ('0.04127535966314586',), 1374796781: ('0.04127535966314586',), 1374796775: ('0.04127535966314586',), 1374796773: ('0.04127535966314586',), 1374796770: ('0.04127535966314586',), 1374796620: ('0.04127535966314586',), 1374796618: ('0.04127535966314586',), 1374796572: ('0.04127535966314586',), 1374796570: ('0.04127535966314586',), 1374796523: ('0.04127535966314586',), 1374796463: ('0.04127535966314586',), 1374796459: ('0.04127535966314586',), 1374796456: ('0.04127535966314586',), 1374796453: ('0.04127535966314586',), 1374796399: ('0.04127535966314586',), 1374796358: ('0.04127535966314586',), 1374796356: ('0.04127535966314586',), 1374796350: ('0.04127535966314586',), 1374796286: ('0.04127535966314586',), 1374796224: ('0.04127535966314586',), 1374795746: ('0.04127535966314586',), 1374795744: ('0.04127535966314586',), 1374795551: ('0.04127535966314586',)} new output for save of step final : {1374796871: ('0.04127535966314586',), 1374796844: ('0.04127535966314586',), 1374796840: ('0.04127535966314586',), 1374796838: ('0.04127535966314586',), 1374796837: ('0.04127535966314586',), 1374796835: ('0.04127535966314586',), 1374796817: ('0.04127535966314586',), 1374796815: ('0.04127535966314586',), 1374796813: ('0.04127535966314586',), 1374796812: ('0.04127535966314586',), 1374796811: ('0.04127535966314586',), 1374796789: ('0.04127535966314586',), 1374796785: ('0.04127535966314586',), 1374796784: ('0.04127535966314586',), 1374796783: ('0.04127535966314586',), 1374796781: ('0.04127535966314586',), 1374796775: ('0.04127535966314586',), 1374796773: ('0.04127535966314586',), 1374796770: ('0.04127535966314586',), 1374796620: ('0.04127535966314586',), 1374796618: ('0.04127535966314586',), 1374796572: ('0.04127535966314586',), 1374796570: ('0.04127535966314586',), 1374796523: ('0.04127535966314586',), 1374796463: ('0.04127535966314586',), 1374796459: ('0.04127535966314586',), 1374796456: ('0.04127535966314586',), 1374796453: ('0.04127535966314586',), 1374796399: ('0.04127535966314586',), 1374796358: ('0.04127535966314586',), 1374796356: ('0.04127535966314586',), 1374796350: ('0.04127535966314586',), 1374796286: ('0.04127535966314586',), 1374796224: ('0.04127535966314586',), 1374795746: ('0.04127535966314586',), 1374795744: ('0.04127535966314586',), 1374795551: ('0.04127535966314586',)} [1374796871, 1374796844, 1374796840, 1374796838, 1374796837, 1374796835, 1374796817, 1374796815, 1374796813, 1374796812, 1374796811, 1374796789, 1374796785, 1374796784, 1374796783, 1374796781, 1374796775, 1374796773, 1374796770, 1374796620, 1374796618, 1374796572, 1374796570, 1374796523, 1374796463, 1374796459, 1374796456, 1374796453, 1374796399, 1374796358, 1374796356, 1374796350, 1374796286, 1374796224, 1374795746, 1374795744, 1374795551] map_info['map_portfolio_photo'] : {25586789: [1374796871, 1374796844, 1374796840, 1374796838, 1374796837, 1374796835, 1374796817, 1374796815, 1374796813, 1374796812, 1374796811, 1374796789, 1374796785, 1374796784, 1374796783, 1374796781, 1374796775, 1374796773, 1374796770, 1374796620, 1374796618, 1374796572, 1374796570, 1374796523, 1374796463, 1374796459, 1374796456, 1374796453, 1374796399, 1374796358, 1374796356, 1374796350, 1374796286, 1374796224, 1374795746, 1374795744, 1374795551]} final : False mtd_id 4302 list_pids : [1374796871, 1374796844, 1374796840, 1374796838, 1374796837, 1374796835, 1374796817, 1374796815, 1374796813, 1374796812, 1374796811, 1374796789, 1374796785, 1374796784, 1374796783, 1374796781, 1374796775, 1374796773, 1374796770, 1374796620, 1374796618, 1374796572, 1374796570, 1374796523, 1374796463, 1374796459, 1374796456, 1374796453, 1374796399, 1374796358, 1374796356, 1374796350, 1374796286, 1374796224, 1374795746, 1374795744, 1374795551] Looping around the photos to save general results len do output : 37 /1374796871.Didn't retrieve data . /1374796844.Didn't retrieve data . /1374796840.Didn't retrieve data . /1374796838.Didn't retrieve data . /1374796837.Didn't retrieve data . /1374796835.Didn't retrieve data . /1374796817.Didn't retrieve data . /1374796815.Didn't retrieve data . /1374796813.Didn't retrieve data . /1374796812.Didn't retrieve data . /1374796811.Didn't retrieve data . /1374796789.Didn't retrieve data . /1374796785.Didn't retrieve data . /1374796784.Didn't retrieve data . /1374796783.Didn't retrieve data . /1374796781.Didn't retrieve data . /1374796775.Didn't retrieve data . /1374796773.Didn't retrieve data . /1374796770.Didn't retrieve data . /1374796620.Didn't retrieve data . /1374796618.Didn't retrieve data . /1374796572.Didn't retrieve data . /1374796570.Didn't retrieve data . /1374796523.Didn't retrieve data . /1374796463.Didn't retrieve data . /1374796459.Didn't retrieve data . /1374796456.Didn't retrieve data . /1374796453.Didn't retrieve data . /1374796399.Didn't retrieve data . /1374796358.Didn't retrieve data . /1374796356.Didn't retrieve data . /1374796350.Didn't retrieve data . /1374796286.Didn't retrieve data . /1374796224.Didn't retrieve data . /1374795746.Didn't retrieve data . /1374795744.Didn't retrieve data . /1374795551.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, '3426748') ('4302', '25586789', '1374796871', None, None, None, None, None, '3426748') ('4302', None, None, None, None, None, None, None, '3426748') ('4302', '25586789', '1374796844', None, None, None, None, None, '3426748') ('4302', None, None, None, None, None, None, None, '3426748') ('4302', '25586789', '1374796840', None, None, None, None, None, '3426748') ('4302', None, None, None, None, None, None, None, '3426748') ('4302', '25586789', '1374796838', None, None, None, None, None, '3426748') ('4302', None, None, None, None, None, None, None, '3426748') ('4302', '25586789', '1374796837', None, None, None, None, None, '3426748') ('4302', None, None, None, None, None, None, None, '3426748') ('4302', '25586789', '1374796835', None, None, None, None, None, '3426748') ('4302', None, None, None, None, None, None, None, '3426748') ('4302', '25586789', '1374796817', None, None, None, None, None, '3426748') ('4302', None, None, None, None, None, None, None, '3426748') ('4302', '25586789', '1374796815', None, None, None, None, None, '3426748') ('4302', None, None, None, None, None, None, None, '3426748') ('4302', '25586789', '1374796813', None, None, None, None, None, '3426748') ('4302', None, None, None, None, None, None, None, '3426748') ('4302', '25586789', '1374796812', None, None, None, None, None, '3426748') ('4302', None, None, None, None, None, None, None, '3426748') ('4302', '25586789', '1374796811', None, None, None, None, None, '3426748') ('4302', None, None, None, None, None, None, None, '3426748') ('4302', '25586789', '1374796789', None, None, None, None, None, '3426748') ('4302', None, None, None, None, None, None, None, '3426748') ('4302', '25586789', '1374796785', None, None, None, None, None, '3426748') ('4302', None, None, None, None, None, None, None, '3426748') ('4302', '25586789', '1374796784', None, None, None, None, None, '3426748') ('4302', None, None, None, None, None, None, None, '3426748') ('4302', '25586789', '1374796783', None, None, None, None, None, '3426748') ('4302', None, None, None, None, None, None, None, '3426748') ('4302', '25586789', '1374796781', None, None, None, None, None, '3426748') ('4302', None, None, None, None, None, None, None, '3426748') ('4302', '25586789', '1374796775', None, None, None, None, None, '3426748') ('4302', None, None, None, None, None, None, None, '3426748') ('4302', '25586789', '1374796773', None, None, None, None, None, '3426748') ('4302', None, None, None, None, None, None, None, '3426748') ('4302', '25586789', '1374796770', None, None, None, None, None, '3426748') ('4302', None, None, None, None, None, None, None, '3426748') ('4302', '25586789', '1374796620', None, None, None, None, None, '3426748') ('4302', None, None, None, None, None, None, None, '3426748') ('4302', '25586789', '1374796618', None, None, None, None, None, '3426748') ('4302', None, None, None, None, None, None, None, '3426748') ('4302', '25586789', '1374796572', None, None, None, None, None, '3426748') ('4302', None, None, None, None, None, None, None, '3426748') ('4302', '25586789', '1374796570', None, None, None, None, None, '3426748') ('4302', None, None, None, None, None, None, None, '3426748') ('4302', '25586789', '1374796523', None, None, None, None, None, '3426748') ('4302', None, None, None, None, None, None, None, '3426748') ('4302', '25586789', '1374796463', None, None, None, None, None, '3426748') ('4302', None, None, None, None, None, None, None, '3426748') ('4302', '25586789', '1374796459', None, None, None, None, None, '3426748') ('4302', None, None, None, None, None, None, None, '3426748') ('4302', '25586789', '1374796456', None, None, None, None, None, '3426748') ('4302', None, None, None, None, None, None, None, '3426748') ('4302', '25586789', '1374796453', None, None, None, None, None, '3426748') ('4302', None, None, None, None, None, None, None, '3426748') ('4302', '25586789', '1374796399', None, None, None, None, None, '3426748') ('4302', None, None, None, None, None, None, None, '3426748') ('4302', '25586789', '1374796358', None, None, None, None, None, '3426748') ('4302', None, None, None, None, None, None, None, '3426748') ('4302', '25586789', '1374796356', None, None, None, None, None, '3426748') ('4302', None, None, None, None, None, None, None, '3426748') ('4302', '25586789', '1374796350', None, None, None, None, None, '3426748') ('4302', None, None, None, None, None, None, None, '3426748') ('4302', '25586789', '1374796286', None, None, None, None, None, '3426748') ('4302', None, None, None, None, None, None, None, '3426748') ('4302', '25586789', '1374796224', None, None, None, None, None, '3426748') ('4302', None, None, None, None, None, None, None, '3426748') ('4302', '25586789', '1374795746', None, None, None, None, None, '3426748') ('4302', None, None, None, None, None, None, None, '3426748') ('4302', '25586789', '1374795744', None, None, None, None, None, '3426748') ('4302', None, None, None, None, None, None, None, '3426748') ('4302', '25586789', '1374795551', None, None, None, None, None, '3426748') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 111 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', '25586789', '1374796871', '0.04127535966314586', None, None, None, None, '3426748'), ('4302', '25586789', '1374796844', '0.04127535966314586', None, None, None, None, '3426748'), ('4302', '25586789', '1374796840', '0.04127535966314586', None, None, None, None, '3426748'), ('4302', '25586789', '1374796838', '0.04127535966314586', None, None, None, None, '3426748'), ('4302', '25586789', '1374796837', '0.04127535966314586', None, None, None, None, '3426748'), ('4302', '25586789', '1374796835', '0.04127535966314586', None, None, None, None, '3426748'), ('4302', '25586789', '1374796817', '0.04127535966314586', None, None, None, None, '3426748'), ('4302', '25586789', '1374796815', '0.04127535966314586', None, None, None, None, '3426748'), ('4302', '25586789', '1374796813', '0.04127535966314586', None, None, None, None, '3426748'), ('4302', '25586789', '1374796812', '0.04127535966314586', None, None, None, None, '3426748'), ('4302', '25586789', '1374796811', '0.04127535966314586', None, None, None, None, '3426748'), ('4302', '25586789', '1374796789', '0.04127535966314586', None, None, None, None, '3426748'), ('4302', '25586789', '1374796785', '0.04127535966314586', None, None, None, None, '3426748'), ('4302', '25586789', '1374796784', '0.04127535966314586', None, None, None, None, '3426748'), ('4302', '25586789', '1374796783', '0.04127535966314586', None, None, None, None, '3426748'), ('4302', '25586789', '1374796781', '0.04127535966314586', None, None, None, None, '3426748'), ('4302', '25586789', '1374796775', '0.04127535966314586', None, None, None, None, '3426748'), ('4302', '25586789', '1374796773', '0.04127535966314586', None, None, None, None, '3426748'), ('4302', '25586789', '1374796770', '0.04127535966314586', None, None, None, None, '3426748'), ('4302', '25586789', '1374796620', '0.04127535966314586', None, None, None, None, '3426748'), ('4302', '25586789', '1374796618', '0.04127535966314586', None, None, None, None, '3426748'), ('4302', '25586789', '1374796572', '0.04127535966314586', None, None, None, None, '3426748'), ('4302', '25586789', '1374796570', '0.04127535966314586', None, None, None, None, '3426748'), ('4302', '25586789', '1374796523', '0.04127535966314586', None, None, None, None, '3426748'), ('4302', '25586789', '1374796463', '0.04127535966314586', None, None, None, None, '3426748'), ('4302', '25586789', '1374796459', '0.04127535966314586', None, None, None, None, '3426748'), ('4302', '25586789', '1374796456', '0.04127535966314586', None, None, None, None, '3426748'), ('4302', '25586789', '1374796453', '0.04127535966314586', None, None, None, None, '3426748'), ('4302', '25586789', '1374796399', '0.04127535966314586', None, None, None, None, '3426748'), ('4302', '25586789', '1374796358', '0.04127535966314586', None, None, None, None, '3426748'), ('4302', '25586789', '1374796356', '0.04127535966314586', None, None, None, None, '3426748'), ('4302', '25586789', '1374796350', '0.04127535966314586', None, None, None, None, '3426748'), ('4302', '25586789', '1374796286', '0.04127535966314586', None, None, None, None, '3426748'), ('4302', '25586789', '1374796224', '0.04127535966314586', None, None, None, None, '3426748'), ('4302', '25586789', '1374795746', '0.04127535966314586', None, None, None, None, '3426748'), ('4302', '25586789', '1374795744', '0.04127535966314586', None, None, None, None, '3426748'), ('4302', '25586789', '1374795551', '0.04127535966314586', None, None, None, None, '3426748')] time used for this insertion : 0.02559208869934082 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.06791925430297852 time spend to save output : 0.027045488357543945 total time spend for step 2 : 0.09496474266052246 step3:velours_tree Sat Aug 2 05:38: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 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 : {25586789: [{'environnement': 25586794, 'plastique': 25586795, 'Teint_Dans_La_Masse': 25586796, 'papier': 25586797, 'Carton_brun': 25586798, 'kraft': 25586799, 'metal': 25586800, 'autre_refus': 25586801, 'cartonnette': 25586802, 'flou': 25586803, 'Carton_gris': 25586804, 'mal_croppe': 25586805}]} input_args_next_step : {25586789: ()} output_args : {25586789: [{'environnement': 25586794, 'plastique': 25586795, 'Teint_Dans_La_Masse': 25586796, 'papier': 25586797, 'Carton_brun': 25586798, 'kraft': 25586799, 'metal': 25586800, 'autre_refus': 25586801, 'cartonnette': 25586802, 'flou': 25586803, 'Carton_gris': 25586804, 'mal_croppe': 25586805}]} args : 25586789 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 : ({'environnement': 25586794, 'plastique': 25586795, 'Teint_Dans_La_Masse': 25586796, 'papier': 25586797, 'Carton_brun': 25586798, 'kraft': 25586799, 'metal': 25586800, 'autre_refus': 25586801, 'cartonnette': 25586802, 'flou': 25586803, 'Carton_gris': 25586804, 'mal_croppe': 25586805},) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (25586789) 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([25586789]) 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.28186583518981934 time spend to save output : 5.3882598876953125e-05 total time spend for step 3 : 0.2819197177886963 step4:send_mail_cod Sat Aug 2 05:38: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 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 : {1374796871: ('0.04127535966314586',), 1374796844: ('0.04127535966314586',), 1374796840: ('0.04127535966314586',), 1374796838: ('0.04127535966314586',), 1374796837: ('0.04127535966314586',), 1374796835: ('0.04127535966314586',), 1374796817: ('0.04127535966314586',), 1374796815: ('0.04127535966314586',), 1374796813: ('0.04127535966314586',), 1374796812: ('0.04127535966314586',), 1374796811: ('0.04127535966314586',), 1374796789: ('0.04127535966314586',), 1374796785: ('0.04127535966314586',), 1374796784: ('0.04127535966314586',), 1374796783: ('0.04127535966314586',), 1374796781: ('0.04127535966314586',), 1374796775: ('0.04127535966314586',), 1374796773: ('0.04127535966314586',), 1374796770: ('0.04127535966314586',), 1374796620: ('0.04127535966314586',), 1374796618: ('0.04127535966314586',), 1374796572: ('0.04127535966314586',), 1374796570: ('0.04127535966314586',), 1374796523: ('0.04127535966314586',), 1374796463: ('0.04127535966314586',), 1374796459: ('0.04127535966314586',), 1374796456: ('0.04127535966314586',), 1374796453: ('0.04127535966314586',), 1374796399: ('0.04127535966314586',), 1374796358: ('0.04127535966314586',), 1374796356: ('0.04127535966314586',), 1374796350: ('0.04127535966314586',), 1374796286: ('0.04127535966314586',), 1374796224: ('0.04127535966314586',), 1374795746: ('0.04127535966314586',), 1374795744: ('0.04127535966314586',), 1374795551: ('0.04127535966314586',)} input_args_next_step : {1374796871: ()} output_args : {1374796871: ('0.04127535966314586',), 1374796844: ('0.04127535966314586',), 1374796840: ('0.04127535966314586',), 1374796838: ('0.04127535966314586',), 1374796837: ('0.04127535966314586',), 1374796835: ('0.04127535966314586',), 1374796817: ('0.04127535966314586',), 1374796815: ('0.04127535966314586',), 1374796813: ('0.04127535966314586',), 1374796812: ('0.04127535966314586',), 1374796811: ('0.04127535966314586',), 1374796789: ('0.04127535966314586',), 1374796785: ('0.04127535966314586',), 1374796784: ('0.04127535966314586',), 1374796783: ('0.04127535966314586',), 1374796781: ('0.04127535966314586',), 1374796775: ('0.04127535966314586',), 1374796773: ('0.04127535966314586',), 1374796770: ('0.04127535966314586',), 1374796620: ('0.04127535966314586',), 1374796618: ('0.04127535966314586',), 1374796572: ('0.04127535966314586',), 1374796570: ('0.04127535966314586',), 1374796523: ('0.04127535966314586',), 1374796463: ('0.04127535966314586',), 1374796459: ('0.04127535966314586',), 1374796456: ('0.04127535966314586',), 1374796453: ('0.04127535966314586',), 1374796399: ('0.04127535966314586',), 1374796358: ('0.04127535966314586',), 1374796356: ('0.04127535966314586',), 1374796350: ('0.04127535966314586',), 1374796286: ('0.04127535966314586',), 1374796224: ('0.04127535966314586',), 1374795746: ('0.04127535966314586',), 1374795744: ('0.04127535966314586',), 1374795551: ('0.04127535966314586',)} args : 1374796871 depend.output_id : 0 input_args_next_step : {1374796871: ('0.04127535966314586',), 1374796844: ()} output_args : {1374796871: ('0.04127535966314586',), 1374796844: ('0.04127535966314586',), 1374796840: ('0.04127535966314586',), 1374796838: ('0.04127535966314586',), 1374796837: ('0.04127535966314586',), 1374796835: ('0.04127535966314586',), 1374796817: ('0.04127535966314586',), 1374796815: ('0.04127535966314586',), 1374796813: ('0.04127535966314586',), 1374796812: ('0.04127535966314586',), 1374796811: ('0.04127535966314586',), 1374796789: ('0.04127535966314586',), 1374796785: ('0.04127535966314586',), 1374796784: ('0.04127535966314586',), 1374796783: ('0.04127535966314586',), 1374796781: ('0.04127535966314586',), 1374796775: ('0.04127535966314586',), 1374796773: ('0.04127535966314586',), 1374796770: ('0.04127535966314586',), 1374796620: ('0.04127535966314586',), 1374796618: ('0.04127535966314586',), 1374796572: ('0.04127535966314586',), 1374796570: ('0.04127535966314586',), 1374796523: ('0.04127535966314586',), 1374796463: ('0.04127535966314586',), 1374796459: ('0.04127535966314586',), 1374796456: ('0.04127535966314586',), 1374796453: ('0.04127535966314586',), 1374796399: ('0.04127535966314586',), 1374796358: ('0.04127535966314586',), 1374796356: ('0.04127535966314586',), 1374796350: ('0.04127535966314586',), 1374796286: ('0.04127535966314586',), 1374796224: ('0.04127535966314586',), 1374795746: ('0.04127535966314586',), 1374795744: ('0.04127535966314586',), 1374795551: ('0.04127535966314586',)} args : 1374796844 depend.output_id : 0 input_args_next_step : {1374796871: ('0.04127535966314586',), 1374796844: ('0.04127535966314586',), 1374796840: ()} output_args : {1374796871: ('0.04127535966314586',), 1374796844: ('0.04127535966314586',), 1374796840: ('0.04127535966314586',), 1374796838: ('0.04127535966314586',), 1374796837: ('0.04127535966314586',), 1374796835: ('0.04127535966314586',), 1374796817: ('0.04127535966314586',), 1374796815: ('0.04127535966314586',), 1374796813: ('0.04127535966314586',), 1374796812: ('0.04127535966314586',), 1374796811: ('0.04127535966314586',), 1374796789: ('0.04127535966314586',), 1374796785: ('0.04127535966314586',), 1374796784: ('0.04127535966314586',), 1374796783: ('0.04127535966314586',), 1374796781: ('0.04127535966314586',), 1374796775: ('0.04127535966314586',), 1374796773: ('0.04127535966314586',), 1374796770: ('0.04127535966314586',), 1374796620: ('0.04127535966314586',), 1374796618: ('0.04127535966314586',), 1374796572: ('0.04127535966314586',), 1374796570: ('0.04127535966314586',), 1374796523: ('0.04127535966314586',), 1374796463: ('0.04127535966314586',), 1374796459: ('0.04127535966314586',), 1374796456: ('0.04127535966314586',), 1374796453: ('0.04127535966314586',), 1374796399: ('0.04127535966314586',), 1374796358: ('0.04127535966314586',), 1374796356: ('0.04127535966314586',), 1374796350: ('0.04127535966314586',), 1374796286: ('0.04127535966314586',), 1374796224: ('0.04127535966314586',), 1374795746: ('0.04127535966314586',), 1374795744: ('0.04127535966314586',), 1374795551: ('0.04127535966314586',)} args : 1374796840 depend.output_id : 0 input_args_next_step : {1374796871: ('0.04127535966314586',), 1374796844: ('0.04127535966314586',), 1374796840: ('0.04127535966314586',), 1374796838: ()} output_args : {1374796871: ('0.04127535966314586',), 1374796844: ('0.04127535966314586',), 1374796840: ('0.04127535966314586',), 1374796838: ('0.04127535966314586',), 1374796837: ('0.04127535966314586',), 1374796835: ('0.04127535966314586',), 1374796817: ('0.04127535966314586',), 1374796815: ('0.04127535966314586',), 1374796813: ('0.04127535966314586',), 1374796812: ('0.04127535966314586',), 1374796811: ('0.04127535966314586',), 1374796789: ('0.04127535966314586',), 1374796785: ('0.04127535966314586',), 1374796784: ('0.04127535966314586',), 1374796783: ('0.04127535966314586',), 1374796781: ('0.04127535966314586',), 1374796775: ('0.04127535966314586',), 1374796773: ('0.04127535966314586',), 1374796770: ('0.04127535966314586',), 1374796620: ('0.04127535966314586',), 1374796618: ('0.04127535966314586',), 1374796572: ('0.04127535966314586',), 1374796570: ('0.04127535966314586',), 1374796523: ('0.04127535966314586',), 1374796463: ('0.04127535966314586',), 1374796459: ('0.04127535966314586',), 1374796456: ('0.04127535966314586',), 1374796453: ('0.04127535966314586',), 1374796399: ('0.04127535966314586',), 1374796358: ('0.04127535966314586',), 1374796356: ('0.04127535966314586',), 1374796350: ('0.04127535966314586',), 1374796286: ('0.04127535966314586',), 1374796224: ('0.04127535966314586',), 1374795746: ('0.04127535966314586',), 1374795744: ('0.04127535966314586',), 1374795551: ('0.04127535966314586',)} args : 1374796838 depend.output_id : 0 input_args_next_step : {1374796871: ('0.04127535966314586',), 1374796844: ('0.04127535966314586',), 1374796840: ('0.04127535966314586',), 1374796838: ('0.04127535966314586',), 1374796837: ()} output_args : {1374796871: ('0.04127535966314586',), 1374796844: ('0.04127535966314586',), 1374796840: ('0.04127535966314586',), 1374796838: ('0.04127535966314586',), 1374796837: ('0.04127535966314586',), 1374796835: ('0.04127535966314586',), 1374796817: ('0.04127535966314586',), 1374796815: ('0.04127535966314586',), 1374796813: ('0.04127535966314586',), 1374796812: ('0.04127535966314586',), 1374796811: ('0.04127535966314586',), 1374796789: ('0.04127535966314586',), 1374796785: ('0.04127535966314586',), 1374796784: ('0.04127535966314586',), 1374796783: ('0.04127535966314586',), 1374796781: ('0.04127535966314586',), 1374796775: ('0.04127535966314586',), 1374796773: ('0.04127535966314586',), 1374796770: ('0.04127535966314586',), 1374796620: ('0.04127535966314586',), 1374796618: ('0.04127535966314586',), 1374796572: ('0.04127535966314586',), 1374796570: ('0.04127535966314586',), 1374796523: ('0.04127535966314586',), 1374796463: ('0.04127535966314586',), 1374796459: ('0.04127535966314586',), 1374796456: ('0.04127535966314586',), 1374796453: ('0.04127535966314586',), 1374796399: ('0.04127535966314586',), 1374796358: ('0.04127535966314586',), 1374796356: ('0.04127535966314586',), 1374796350: ('0.04127535966314586',), 1374796286: ('0.04127535966314586',), 1374796224: ('0.04127535966314586',), 1374795746: ('0.04127535966314586',), 1374795744: ('0.04127535966314586',), 1374795551: ('0.04127535966314586',)} args : 1374796837 depend.output_id : 0 input_args_next_step : {1374796871: ('0.04127535966314586',), 1374796844: ('0.04127535966314586',), 1374796840: ('0.04127535966314586',), 1374796838: ('0.04127535966314586',), 1374796837: ('0.04127535966314586',), 1374796835: ()} output_args : {1374796871: ('0.04127535966314586',), 1374796844: ('0.04127535966314586',), 1374796840: ('0.04127535966314586',), 1374796838: ('0.04127535966314586',), 1374796837: ('0.04127535966314586',), 1374796835: ('0.04127535966314586',), 1374796817: ('0.04127535966314586',), 1374796815: ('0.04127535966314586',), 1374796813: ('0.04127535966314586',), 1374796812: ('0.04127535966314586',), 1374796811: ('0.04127535966314586',), 1374796789: ('0.04127535966314586',), 1374796785: ('0.04127535966314586',), 1374796784: ('0.04127535966314586',), 1374796783: ('0.04127535966314586',), 1374796781: ('0.04127535966314586',), 1374796775: ('0.04127535966314586',), 1374796773: ('0.04127535966314586',), 1374796770: ('0.04127535966314586',), 1374796620: ('0.04127535966314586',), 1374796618: ('0.04127535966314586',), 1374796572: ('0.04127535966314586',), 1374796570: ('0.04127535966314586',), 1374796523: ('0.04127535966314586',), 1374796463: ('0.04127535966314586',), 1374796459: ('0.04127535966314586',), 1374796456: ('0.04127535966314586',), 1374796453: ('0.04127535966314586',), 1374796399: ('0.04127535966314586',), 1374796358: ('0.04127535966314586',), 1374796356: ('0.04127535966314586',), 1374796350: ('0.04127535966314586',), 1374796286: ('0.04127535966314586',), 1374796224: ('0.04127535966314586',), 1374795746: ('0.04127535966314586',), 1374795744: ('0.04127535966314586',), 1374795551: ('0.04127535966314586',)} args : 1374796835 depend.output_id : 0 input_args_next_step : {1374796871: ('0.04127535966314586',), 1374796844: ('0.04127535966314586',), 1374796840: ('0.04127535966314586',), 1374796838: ('0.04127535966314586',), 1374796837: ('0.04127535966314586',), 1374796835: ('0.04127535966314586',), 1374796817: ()} output_args : {1374796871: ('0.04127535966314586',), 1374796844: ('0.04127535966314586',), 1374796840: ('0.04127535966314586',), 1374796838: ('0.04127535966314586',), 1374796837: ('0.04127535966314586',), 1374796835: ('0.04127535966314586',), 1374796817: ('0.04127535966314586',), 1374796815: ('0.04127535966314586',), 1374796813: ('0.04127535966314586',), 1374796812: ('0.04127535966314586',), 1374796811: ('0.04127535966314586',), 1374796789: ('0.04127535966314586',), 1374796785: ('0.04127535966314586',), 1374796784: ('0.04127535966314586',), 1374796783: ('0.04127535966314586',), 1374796781: ('0.04127535966314586',), 1374796775: ('0.04127535966314586',), 1374796773: ('0.04127535966314586',), 1374796770: ('0.04127535966314586',), 1374796620: ('0.04127535966314586',), 1374796618: ('0.04127535966314586',), 1374796572: ('0.04127535966314586',), 1374796570: ('0.04127535966314586',), 1374796523: ('0.04127535966314586',), 1374796463: ('0.04127535966314586',), 1374796459: ('0.04127535966314586',), 1374796456: ('0.04127535966314586',), 1374796453: ('0.04127535966314586',), 1374796399: ('0.04127535966314586',), 1374796358: ('0.04127535966314586',), 1374796356: ('0.04127535966314586',), 1374796350: ('0.04127535966314586',), 1374796286: ('0.04127535966314586',), 1374796224: ('0.04127535966314586',), 1374795746: ('0.04127535966314586',), 1374795744: ('0.04127535966314586',), 1374795551: ('0.04127535966314586',)} args : 1374796817 depend.output_id : 0 input_args_next_step : {1374796871: ('0.04127535966314586',), 1374796844: ('0.04127535966314586',), 1374796840: ('0.04127535966314586',), 1374796838: ('0.04127535966314586',), 1374796837: ('0.04127535966314586',), 1374796835: ('0.04127535966314586',), 1374796817: ('0.04127535966314586',), 1374796815: ()} output_args : {1374796871: ('0.04127535966314586',), 1374796844: ('0.04127535966314586',), 1374796840: ('0.04127535966314586',), 1374796838: ('0.04127535966314586',), 1374796837: ('0.04127535966314586',), 1374796835: ('0.04127535966314586',), 1374796817: ('0.04127535966314586',), 1374796815: ('0.04127535966314586',), 1374796813: ('0.04127535966314586',), 1374796812: ('0.04127535966314586',), 1374796811: ('0.04127535966314586',), 1374796789: ('0.04127535966314586',), 1374796785: ('0.04127535966314586',), 1374796784: ('0.04127535966314586',), 1374796783: ('0.04127535966314586',), 1374796781: ('0.04127535966314586',), 1374796775: ('0.04127535966314586',), 1374796773: ('0.04127535966314586',), 1374796770: ('0.04127535966314586',), 1374796620: ('0.04127535966314586',), 1374796618: ('0.04127535966314586',), 1374796572: ('0.04127535966314586',), 1374796570: ('0.04127535966314586',), 1374796523: ('0.04127535966314586',), 1374796463: ('0.04127535966314586',), 1374796459: ('0.04127535966314586',), 1374796456: ('0.04127535966314586',), 1374796453: ('0.04127535966314586',), 1374796399: ('0.04127535966314586',), 1374796358: ('0.04127535966314586',), 1374796356: ('0.04127535966314586',), 1374796350: ('0.04127535966314586',), 1374796286: ('0.04127535966314586',), 1374796224: ('0.04127535966314586',), 1374795746: ('0.04127535966314586',), 1374795744: ('0.04127535966314586',), 1374795551: ('0.04127535966314586',)} args : 1374796815 depend.output_id : 0 input_args_next_step : {1374796871: ('0.04127535966314586',), 1374796844: ('0.04127535966314586',), 1374796840: ('0.04127535966314586',), 1374796838: ('0.04127535966314586',), 1374796837: ('0.04127535966314586',), 1374796835: ('0.04127535966314586',), 1374796817: ('0.04127535966314586',), 1374796815: ('0.04127535966314586',), 1374796813: ()} output_args : {1374796871: ('0.04127535966314586',), 1374796844: ('0.04127535966314586',), 1374796840: ('0.04127535966314586',), 1374796838: ('0.04127535966314586',), 1374796837: ('0.04127535966314586',), 1374796835: ('0.04127535966314586',), 1374796817: ('0.04127535966314586',), 1374796815: ('0.04127535966314586',), 1374796813: ('0.04127535966314586',), 1374796812: ('0.04127535966314586',), 1374796811: ('0.04127535966314586',), 1374796789: ('0.04127535966314586',), 1374796785: ('0.04127535966314586',), 1374796784: ('0.04127535966314586',), 1374796783: ('0.04127535966314586',), 1374796781: ('0.04127535966314586',), 1374796775: ('0.04127535966314586',), 1374796773: ('0.04127535966314586',), 1374796770: ('0.04127535966314586',), 1374796620: ('0.04127535966314586',), 1374796618: ('0.04127535966314586',), 1374796572: ('0.04127535966314586',), 1374796570: ('0.04127535966314586',), 1374796523: ('0.04127535966314586',), 1374796463: ('0.04127535966314586',), 1374796459: ('0.04127535966314586',), 1374796456: ('0.04127535966314586',), 1374796453: ('0.04127535966314586',), 1374796399: ('0.04127535966314586',), 1374796358: ('0.04127535966314586',), 1374796356: ('0.04127535966314586',), 1374796350: ('0.04127535966314586',), 1374796286: ('0.04127535966314586',), 1374796224: ('0.04127535966314586',), 1374795746: ('0.04127535966314586',), 1374795744: ('0.04127535966314586',), 1374795551: ('0.04127535966314586',)} args : 1374796813 depend.output_id : 0 input_args_next_step : {1374796871: ('0.04127535966314586',), 1374796844: ('0.04127535966314586',), 1374796840: ('0.04127535966314586',), 1374796838: ('0.04127535966314586',), 1374796837: ('0.04127535966314586',), 1374796835: ('0.04127535966314586',), 1374796817: ('0.04127535966314586',), 1374796815: ('0.04127535966314586',), 1374796813: ('0.04127535966314586',), 1374796812: ()} output_args : {1374796871: ('0.04127535966314586',), 1374796844: ('0.04127535966314586',), 1374796840: ('0.04127535966314586',), 1374796838: ('0.04127535966314586',), 1374796837: ('0.04127535966314586',), 1374796835: ('0.04127535966314586',), 1374796817: ('0.04127535966314586',), 1374796815: ('0.04127535966314586',), 1374796813: ('0.04127535966314586',), 1374796812: ('0.04127535966314586',), 1374796811: ('0.04127535966314586',), 1374796789: ('0.04127535966314586',), 1374796785: ('0.04127535966314586',), 1374796784: ('0.04127535966314586',), 1374796783: ('0.04127535966314586',), 1374796781: ('0.04127535966314586',), 1374796775: ('0.04127535966314586',), 1374796773: ('0.04127535966314586',), 1374796770: ('0.04127535966314586',), 1374796620: ('0.04127535966314586',), 1374796618: ('0.04127535966314586',), 1374796572: ('0.04127535966314586',), 1374796570: ('0.04127535966314586',), 1374796523: ('0.04127535966314586',), 1374796463: ('0.04127535966314586',), 1374796459: ('0.04127535966314586',), 1374796456: ('0.04127535966314586',), 1374796453: ('0.04127535966314586',), 1374796399: ('0.04127535966314586',), 1374796358: ('0.04127535966314586',), 1374796356: ('0.04127535966314586',), 1374796350: ('0.04127535966314586',), 1374796286: ('0.04127535966314586',), 1374796224: ('0.04127535966314586',), 1374795746: ('0.04127535966314586',), 1374795744: ('0.04127535966314586',), 1374795551: ('0.04127535966314586',)} args : 1374796812 depend.output_id : 0 input_args_next_step : {1374796871: ('0.04127535966314586',), 1374796844: ('0.04127535966314586',), 1374796840: ('0.04127535966314586',), 1374796838: ('0.04127535966314586',), 1374796837: ('0.04127535966314586',), 1374796835: ('0.04127535966314586',), 1374796817: ('0.04127535966314586',), 1374796815: ('0.04127535966314586',), 1374796813: ('0.04127535966314586',), 1374796812: ('0.04127535966314586',), 1374796811: ()} output_args : {1374796871: ('0.04127535966314586',), 1374796844: ('0.04127535966314586',), 1374796840: ('0.04127535966314586',), 1374796838: ('0.04127535966314586',), 1374796837: ('0.04127535966314586',), 1374796835: ('0.04127535966314586',), 1374796817: ('0.04127535966314586',), 1374796815: ('0.04127535966314586',), 1374796813: ('0.04127535966314586',), 1374796812: ('0.04127535966314586',), 1374796811: ('0.04127535966314586',), 1374796789: ('0.04127535966314586',), 1374796785: ('0.04127535966314586',), 1374796784: ('0.04127535966314586',), 1374796783: ('0.04127535966314586',), 1374796781: ('0.04127535966314586',), 1374796775: ('0.04127535966314586',), 1374796773: ('0.04127535966314586',), 1374796770: ('0.04127535966314586',), 1374796620: ('0.04127535966314586',), 1374796618: ('0.04127535966314586',), 1374796572: ('0.04127535966314586',), 1374796570: ('0.04127535966314586',), 1374796523: ('0.04127535966314586',), 1374796463: ('0.04127535966314586',), 1374796459: ('0.04127535966314586',), 1374796456: ('0.04127535966314586',), 1374796453: ('0.04127535966314586',), 1374796399: ('0.04127535966314586',), 1374796358: ('0.04127535966314586',), 1374796356: ('0.04127535966314586',), 1374796350: ('0.04127535966314586',), 1374796286: ('0.04127535966314586',), 1374796224: ('0.04127535966314586',), 1374795746: ('0.04127535966314586',), 1374795744: ('0.04127535966314586',), 1374795551: ('0.04127535966314586',)} args : 1374796811 depend.output_id : 0 input_args_next_step : {1374796871: ('0.04127535966314586',), 1374796844: ('0.04127535966314586',), 1374796840: ('0.04127535966314586',), 1374796838: ('0.04127535966314586',), 1374796837: ('0.04127535966314586',), 1374796835: ('0.04127535966314586',), 1374796817: ('0.04127535966314586',), 1374796815: ('0.04127535966314586',), 1374796813: ('0.04127535966314586',), 1374796812: ('0.04127535966314586',), 1374796811: ('0.04127535966314586',), 1374796789: ()} output_args : {1374796871: ('0.04127535966314586',), 1374796844: ('0.04127535966314586',), 1374796840: ('0.04127535966314586',), 1374796838: ('0.04127535966314586',), 1374796837: ('0.04127535966314586',), 1374796835: ('0.04127535966314586',), 1374796817: ('0.04127535966314586',), 1374796815: ('0.04127535966314586',), 1374796813: ('0.04127535966314586',), 1374796812: ('0.04127535966314586',), 1374796811: ('0.04127535966314586',), 1374796789: ('0.04127535966314586',), 1374796785: ('0.04127535966314586',), 1374796784: ('0.04127535966314586',), 1374796783: ('0.04127535966314586',), 1374796781: ('0.04127535966314586',), 1374796775: ('0.04127535966314586',), 1374796773: ('0.04127535966314586',), 1374796770: ('0.04127535966314586',), 1374796620: ('0.04127535966314586',), 1374796618: ('0.04127535966314586',), 1374796572: ('0.04127535966314586',), 1374796570: ('0.04127535966314586',), 1374796523: ('0.04127535966314586',), 1374796463: ('0.04127535966314586',), 1374796459: ('0.04127535966314586',), 1374796456: ('0.04127535966314586',), 1374796453: ('0.04127535966314586',), 1374796399: ('0.04127535966314586',), 1374796358: ('0.04127535966314586',), 1374796356: ('0.04127535966314586',), 1374796350: ('0.04127535966314586',), 1374796286: ('0.04127535966314586',), 1374796224: ('0.04127535966314586',), 1374795746: ('0.04127535966314586',), 1374795744: ('0.04127535966314586',), 1374795551: ('0.04127535966314586',)} args : 1374796789 depend.output_id : 0 input_args_next_step : {1374796871: ('0.04127535966314586',), 1374796844: ('0.04127535966314586',), 1374796840: ('0.04127535966314586',), 1374796838: ('0.04127535966314586',), 1374796837: ('0.04127535966314586',), 1374796835: ('0.04127535966314586',), 1374796817: ('0.04127535966314586',), 1374796815: ('0.04127535966314586',), 1374796813: ('0.04127535966314586',), 1374796812: ('0.04127535966314586',), 1374796811: ('0.04127535966314586',), 1374796789: ('0.04127535966314586',), 1374796785: ()} output_args : {1374796871: ('0.04127535966314586',), 1374796844: ('0.04127535966314586',), 1374796840: ('0.04127535966314586',), 1374796838: ('0.04127535966314586',), 1374796837: ('0.04127535966314586',), 1374796835: ('0.04127535966314586',), 1374796817: ('0.04127535966314586',), 1374796815: ('0.04127535966314586',), 1374796813: ('0.04127535966314586',), 1374796812: ('0.04127535966314586',), 1374796811: ('0.04127535966314586',), 1374796789: ('0.04127535966314586',), 1374796785: ('0.04127535966314586',), 1374796784: ('0.04127535966314586',), 1374796783: ('0.04127535966314586',), 1374796781: ('0.04127535966314586',), 1374796775: ('0.04127535966314586',), 1374796773: ('0.04127535966314586',), 1374796770: ('0.04127535966314586',), 1374796620: ('0.04127535966314586',), 1374796618: ('0.04127535966314586',), 1374796572: ('0.04127535966314586',), 1374796570: ('0.04127535966314586',), 1374796523: ('0.04127535966314586',), 1374796463: ('0.04127535966314586',), 1374796459: ('0.04127535966314586',), 1374796456: ('0.04127535966314586',), 1374796453: ('0.04127535966314586',), 1374796399: ('0.04127535966314586',), 1374796358: ('0.04127535966314586',), 1374796356: ('0.04127535966314586',), 1374796350: ('0.04127535966314586',), 1374796286: ('0.04127535966314586',), 1374796224: ('0.04127535966314586',), 1374795746: ('0.04127535966314586',), 1374795744: ('0.04127535966314586',), 1374795551: ('0.04127535966314586',)} args : 1374796785 depend.output_id : 0 input_args_next_step : {1374796871: ('0.04127535966314586',), 1374796844: ('0.04127535966314586',), 1374796840: ('0.04127535966314586',), 1374796838: ('0.04127535966314586',), 1374796837: ('0.04127535966314586',), 1374796835: ('0.04127535966314586',), 1374796817: ('0.04127535966314586',), 1374796815: ('0.04127535966314586',), 1374796813: ('0.04127535966314586',), 1374796812: ('0.04127535966314586',), 1374796811: ('0.04127535966314586',), 1374796789: ('0.04127535966314586',), 1374796785: ('0.04127535966314586',), 1374796784: ()} output_args : {1374796871: ('0.04127535966314586',), 1374796844: ('0.04127535966314586',), 1374796840: ('0.04127535966314586',), 1374796838: ('0.04127535966314586',), 1374796837: ('0.04127535966314586',), 1374796835: ('0.04127535966314586',), 1374796817: ('0.04127535966314586',), 1374796815: ('0.04127535966314586',), 1374796813: ('0.04127535966314586',), 1374796812: ('0.04127535966314586',), 1374796811: ('0.04127535966314586',), 1374796789: ('0.04127535966314586',), 1374796785: ('0.04127535966314586',), 1374796784: ('0.04127535966314586',), 1374796783: ('0.04127535966314586',), 1374796781: ('0.04127535966314586',), 1374796775: ('0.04127535966314586',), 1374796773: ('0.04127535966314586',), 1374796770: ('0.04127535966314586',), 1374796620: ('0.04127535966314586',), 1374796618: ('0.04127535966314586',), 1374796572: ('0.04127535966314586',), 1374796570: ('0.04127535966314586',), 1374796523: ('0.04127535966314586',), 1374796463: ('0.04127535966314586',), 1374796459: ('0.04127535966314586',), 1374796456: ('0.04127535966314586',), 1374796453: ('0.04127535966314586',), 1374796399: ('0.04127535966314586',), 1374796358: ('0.04127535966314586',), 1374796356: ('0.04127535966314586',), 1374796350: ('0.04127535966314586',), 1374796286: ('0.04127535966314586',), 1374796224: ('0.04127535966314586',), 1374795746: ('0.04127535966314586',), 1374795744: ('0.04127535966314586',), 1374795551: ('0.04127535966314586',)} args : 1374796784 depend.output_id : 0 input_args_next_step : {1374796871: ('0.04127535966314586',), 1374796844: ('0.04127535966314586',), 1374796840: ('0.04127535966314586',), 1374796838: ('0.04127535966314586',), 1374796837: ('0.04127535966314586',), 1374796835: ('0.04127535966314586',), 1374796817: ('0.04127535966314586',), 1374796815: ('0.04127535966314586',), 1374796813: ('0.04127535966314586',), 1374796812: ('0.04127535966314586',), 1374796811: ('0.04127535966314586',), 1374796789: ('0.04127535966314586',), 1374796785: ('0.04127535966314586',), 1374796784: ('0.04127535966314586',), 1374796783: ()} output_args : {1374796871: ('0.04127535966314586',), 1374796844: ('0.04127535966314586',), 1374796840: ('0.04127535966314586',), 1374796838: ('0.04127535966314586',), 1374796837: ('0.04127535966314586',), 1374796835: ('0.04127535966314586',), 1374796817: ('0.04127535966314586',), 1374796815: ('0.04127535966314586',), 1374796813: ('0.04127535966314586',), 1374796812: ('0.04127535966314586',), 1374796811: ('0.04127535966314586',), 1374796789: ('0.04127535966314586',), 1374796785: ('0.04127535966314586',), 1374796784: ('0.04127535966314586',), 1374796783: ('0.04127535966314586',), 1374796781: ('0.04127535966314586',), 1374796775: ('0.04127535966314586',), 1374796773: ('0.04127535966314586',), 1374796770: ('0.04127535966314586',), 1374796620: ('0.04127535966314586',), 1374796618: ('0.04127535966314586',), 1374796572: ('0.04127535966314586',), 1374796570: ('0.04127535966314586',), 1374796523: ('0.04127535966314586',), 1374796463: ('0.04127535966314586',), 1374796459: ('0.04127535966314586',), 1374796456: ('0.04127535966314586',), 1374796453: ('0.04127535966314586',), 1374796399: ('0.04127535966314586',), 1374796358: ('0.04127535966314586',), 1374796356: ('0.04127535966314586',), 1374796350: ('0.04127535966314586',), 1374796286: ('0.04127535966314586',), 1374796224: ('0.04127535966314586',), 1374795746: ('0.04127535966314586',), 1374795744: ('0.04127535966314586',), 1374795551: ('0.04127535966314586',)} args : 1374796783 depend.output_id : 0 input_args_next_step : {1374796871: ('0.04127535966314586',), 1374796844: ('0.04127535966314586',), 1374796840: ('0.04127535966314586',), 1374796838: ('0.04127535966314586',), 1374796837: ('0.04127535966314586',), 1374796835: ('0.04127535966314586',), 1374796817: ('0.04127535966314586',), 1374796815: ('0.04127535966314586',), 1374796813: ('0.04127535966314586',), 1374796812: ('0.04127535966314586',), 1374796811: ('0.04127535966314586',), 1374796789: ('0.04127535966314586',), 1374796785: ('0.04127535966314586',), 1374796784: ('0.04127535966314586',), 1374796783: ('0.04127535966314586',), 1374796781: ()} output_args : {1374796871: ('0.04127535966314586',), 1374796844: ('0.04127535966314586',), 1374796840: ('0.04127535966314586',), 1374796838: ('0.04127535966314586',), 1374796837: ('0.04127535966314586',), 1374796835: ('0.04127535966314586',), 1374796817: ('0.04127535966314586',), 1374796815: ('0.04127535966314586',), 1374796813: ('0.04127535966314586',), 1374796812: ('0.04127535966314586',), 1374796811: ('0.04127535966314586',), 1374796789: ('0.04127535966314586',), 1374796785: ('0.04127535966314586',), 1374796784: ('0.04127535966314586',), 1374796783: ('0.04127535966314586',), 1374796781: ('0.04127535966314586',), 1374796775: ('0.04127535966314586',), 1374796773: ('0.04127535966314586',), 1374796770: ('0.04127535966314586',), 1374796620: ('0.04127535966314586',), 1374796618: ('0.04127535966314586',), 1374796572: ('0.04127535966314586',), 1374796570: ('0.04127535966314586',), 1374796523: ('0.04127535966314586',), 1374796463: ('0.04127535966314586',), 1374796459: ('0.04127535966314586',), 1374796456: ('0.04127535966314586',), 1374796453: ('0.04127535966314586',), 1374796399: ('0.04127535966314586',), 1374796358: ('0.04127535966314586',), 1374796356: ('0.04127535966314586',), 1374796350: ('0.04127535966314586',), 1374796286: ('0.04127535966314586',), 1374796224: ('0.04127535966314586',), 1374795746: ('0.04127535966314586',), 1374795744: ('0.04127535966314586',), 1374795551: ('0.04127535966314586',)} args : 1374796781 depend.output_id : 0 input_args_next_step : {1374796871: ('0.04127535966314586',), 1374796844: ('0.04127535966314586',), 1374796840: ('0.04127535966314586',), 1374796838: ('0.04127535966314586',), 1374796837: ('0.04127535966314586',), 1374796835: ('0.04127535966314586',), 1374796817: ('0.04127535966314586',), 1374796815: ('0.04127535966314586',), 1374796813: ('0.04127535966314586',), 1374796812: ('0.04127535966314586',), 1374796811: ('0.04127535966314586',), 1374796789: ('0.04127535966314586',), 1374796785: ('0.04127535966314586',), 1374796784: ('0.04127535966314586',), 1374796783: ('0.04127535966314586',), 1374796781: ('0.04127535966314586',), 1374796775: ()} output_args : {1374796871: ('0.04127535966314586',), 1374796844: ('0.04127535966314586',), 1374796840: ('0.04127535966314586',), 1374796838: ('0.04127535966314586',), 1374796837: ('0.04127535966314586',), 1374796835: ('0.04127535966314586',), 1374796817: ('0.04127535966314586',), 1374796815: ('0.04127535966314586',), 1374796813: ('0.04127535966314586',), 1374796812: ('0.04127535966314586',), 1374796811: ('0.04127535966314586',), 1374796789: ('0.04127535966314586',), 1374796785: ('0.04127535966314586',), 1374796784: ('0.04127535966314586',), 1374796783: ('0.04127535966314586',), 1374796781: ('0.04127535966314586',), 1374796775: ('0.04127535966314586',), 1374796773: ('0.04127535966314586',), 1374796770: ('0.04127535966314586',), 1374796620: ('0.04127535966314586',), 1374796618: ('0.04127535966314586',), 1374796572: ('0.04127535966314586',), 1374796570: ('0.04127535966314586',), 1374796523: ('0.04127535966314586',), 1374796463: ('0.04127535966314586',), 1374796459: ('0.04127535966314586',), 1374796456: ('0.04127535966314586',), 1374796453: ('0.04127535966314586',), 1374796399: ('0.04127535966314586',), 1374796358: ('0.04127535966314586',), 1374796356: ('0.04127535966314586',), 1374796350: ('0.04127535966314586',), 1374796286: ('0.04127535966314586',), 1374796224: ('0.04127535966314586',), 1374795746: ('0.04127535966314586',), 1374795744: ('0.04127535966314586',), 1374795551: ('0.04127535966314586',)} args : 1374796775 depend.output_id : 0 input_args_next_step : {1374796871: ('0.04127535966314586',), 1374796844: ('0.04127535966314586',), 1374796840: ('0.04127535966314586',), 1374796838: ('0.04127535966314586',), 1374796837: ('0.04127535966314586',), 1374796835: ('0.04127535966314586',), 1374796817: ('0.04127535966314586',), 1374796815: ('0.04127535966314586',), 1374796813: ('0.04127535966314586',), 1374796812: ('0.04127535966314586',), 1374796811: ('0.04127535966314586',), 1374796789: ('0.04127535966314586',), 1374796785: ('0.04127535966314586',), 1374796784: ('0.04127535966314586',), 1374796783: ('0.04127535966314586',), 1374796781: ('0.04127535966314586',), 1374796775: ('0.04127535966314586',), 1374796773: ()} output_args : {1374796871: ('0.04127535966314586',), 1374796844: ('0.04127535966314586',), 1374796840: ('0.04127535966314586',), 1374796838: ('0.04127535966314586',), 1374796837: ('0.04127535966314586',), 1374796835: ('0.04127535966314586',), 1374796817: ('0.04127535966314586',), 1374796815: ('0.04127535966314586',), 1374796813: ('0.04127535966314586',), 1374796812: ('0.04127535966314586',), 1374796811: ('0.04127535966314586',), 1374796789: ('0.04127535966314586',), 1374796785: ('0.04127535966314586',), 1374796784: ('0.04127535966314586',), 1374796783: ('0.04127535966314586',), 1374796781: ('0.04127535966314586',), 1374796775: ('0.04127535966314586',), 1374796773: ('0.04127535966314586',), 1374796770: ('0.04127535966314586',), 1374796620: ('0.04127535966314586',), 1374796618: ('0.04127535966314586',), 1374796572: ('0.04127535966314586',), 1374796570: ('0.04127535966314586',), 1374796523: ('0.04127535966314586',), 1374796463: ('0.04127535966314586',), 1374796459: ('0.04127535966314586',), 1374796456: ('0.04127535966314586',), 1374796453: ('0.04127535966314586',), 1374796399: ('0.04127535966314586',), 1374796358: ('0.04127535966314586',), 1374796356: ('0.04127535966314586',), 1374796350: ('0.04127535966314586',), 1374796286: ('0.04127535966314586',), 1374796224: ('0.04127535966314586',), 1374795746: ('0.04127535966314586',), 1374795744: ('0.04127535966314586',), 1374795551: ('0.04127535966314586',)} args : 1374796773 depend.output_id : 0 input_args_next_step : {1374796871: ('0.04127535966314586',), 1374796844: ('0.04127535966314586',), 1374796840: ('0.04127535966314586',), 1374796838: ('0.04127535966314586',), 1374796837: ('0.04127535966314586',), 1374796835: ('0.04127535966314586',), 1374796817: ('0.04127535966314586',), 1374796815: ('0.04127535966314586',), 1374796813: ('0.04127535966314586',), 1374796812: ('0.04127535966314586',), 1374796811: ('0.04127535966314586',), 1374796789: ('0.04127535966314586',), 1374796785: ('0.04127535966314586',), 1374796784: ('0.04127535966314586',), 1374796783: ('0.04127535966314586',), 1374796781: ('0.04127535966314586',), 1374796775: ('0.04127535966314586',), 1374796773: ('0.04127535966314586',), 1374796770: ()} output_args : {1374796871: ('0.04127535966314586',), 1374796844: ('0.04127535966314586',), 1374796840: ('0.04127535966314586',), 1374796838: ('0.04127535966314586',), 1374796837: ('0.04127535966314586',), 1374796835: ('0.04127535966314586',), 1374796817: ('0.04127535966314586',), 1374796815: ('0.04127535966314586',), 1374796813: ('0.04127535966314586',), 1374796812: ('0.04127535966314586',), 1374796811: ('0.04127535966314586',), 1374796789: ('0.04127535966314586',), 1374796785: ('0.04127535966314586',), 1374796784: ('0.04127535966314586',), 1374796783: ('0.04127535966314586',), 1374796781: ('0.04127535966314586',), 1374796775: ('0.04127535966314586',), 1374796773: ('0.04127535966314586',), 1374796770: ('0.04127535966314586',), 1374796620: ('0.04127535966314586',), 1374796618: ('0.04127535966314586',), 1374796572: ('0.04127535966314586',), 1374796570: ('0.04127535966314586',), 1374796523: ('0.04127535966314586',), 1374796463: ('0.04127535966314586',), 1374796459: ('0.04127535966314586',), 1374796456: ('0.04127535966314586',), 1374796453: ('0.04127535966314586',), 1374796399: ('0.04127535966314586',), 1374796358: ('0.04127535966314586',), 1374796356: ('0.04127535966314586',), 1374796350: ('0.04127535966314586',), 1374796286: ('0.04127535966314586',), 1374796224: ('0.04127535966314586',), 1374795746: ('0.04127535966314586',), 1374795744: ('0.04127535966314586',), 1374795551: ('0.04127535966314586',)} args : 1374796770 depend.output_id : 0 input_args_next_step : {1374796871: ('0.04127535966314586',), 1374796844: ('0.04127535966314586',), 1374796840: ('0.04127535966314586',), 1374796838: ('0.04127535966314586',), 1374796837: ('0.04127535966314586',), 1374796835: ('0.04127535966314586',), 1374796817: ('0.04127535966314586',), 1374796815: ('0.04127535966314586',), 1374796813: ('0.04127535966314586',), 1374796812: ('0.04127535966314586',), 1374796811: ('0.04127535966314586',), 1374796789: ('0.04127535966314586',), 1374796785: ('0.04127535966314586',), 1374796784: ('0.04127535966314586',), 1374796783: ('0.04127535966314586',), 1374796781: ('0.04127535966314586',), 1374796775: ('0.04127535966314586',), 1374796773: ('0.04127535966314586',), 1374796770: ('0.04127535966314586',), 1374796620: ()} output_args : {1374796871: ('0.04127535966314586',), 1374796844: ('0.04127535966314586',), 1374796840: ('0.04127535966314586',), 1374796838: ('0.04127535966314586',), 1374796837: ('0.04127535966314586',), 1374796835: ('0.04127535966314586',), 1374796817: ('0.04127535966314586',), 1374796815: ('0.04127535966314586',), 1374796813: ('0.04127535966314586',), 1374796812: ('0.04127535966314586',), 1374796811: ('0.04127535966314586',), 1374796789: ('0.04127535966314586',), 1374796785: ('0.04127535966314586',), 1374796784: ('0.04127535966314586',), 1374796783: ('0.04127535966314586',), 1374796781: ('0.04127535966314586',), 1374796775: ('0.04127535966314586',), 1374796773: ('0.04127535966314586',), 1374796770: ('0.04127535966314586',), 1374796620: ('0.04127535966314586',), 1374796618: ('0.04127535966314586',), 1374796572: ('0.04127535966314586',), 1374796570: ('0.04127535966314586',), 1374796523: ('0.04127535966314586',), 1374796463: ('0.04127535966314586',), 1374796459: ('0.04127535966314586',), 1374796456: ('0.04127535966314586',), 1374796453: ('0.04127535966314586',), 1374796399: ('0.04127535966314586',), 1374796358: ('0.04127535966314586',), 1374796356: ('0.04127535966314586',), 1374796350: ('0.04127535966314586',), 1374796286: ('0.04127535966314586',), 1374796224: ('0.04127535966314586',), 1374795746: ('0.04127535966314586',), 1374795744: ('0.04127535966314586',), 1374795551: ('0.04127535966314586',)} args : 1374796620 depend.output_id : 0 input_args_next_step : {1374796871: ('0.04127535966314586',), 1374796844: ('0.04127535966314586',), 1374796840: ('0.04127535966314586',), 1374796838: ('0.04127535966314586',), 1374796837: ('0.04127535966314586',), 1374796835: ('0.04127535966314586',), 1374796817: ('0.04127535966314586',), 1374796815: ('0.04127535966314586',), 1374796813: ('0.04127535966314586',), 1374796812: ('0.04127535966314586',), 1374796811: ('0.04127535966314586',), 1374796789: ('0.04127535966314586',), 1374796785: ('0.04127535966314586',), 1374796784: ('0.04127535966314586',), 1374796783: ('0.04127535966314586',), 1374796781: ('0.04127535966314586',), 1374796775: ('0.04127535966314586',), 1374796773: ('0.04127535966314586',), 1374796770: ('0.04127535966314586',), 1374796620: ('0.04127535966314586',), 1374796618: ()} output_args : {1374796871: ('0.04127535966314586',), 1374796844: ('0.04127535966314586',), 1374796840: ('0.04127535966314586',), 1374796838: ('0.04127535966314586',), 1374796837: ('0.04127535966314586',), 1374796835: ('0.04127535966314586',), 1374796817: ('0.04127535966314586',), 1374796815: ('0.04127535966314586',), 1374796813: ('0.04127535966314586',), 1374796812: ('0.04127535966314586',), 1374796811: ('0.04127535966314586',), 1374796789: ('0.04127535966314586',), 1374796785: ('0.04127535966314586',), 1374796784: ('0.04127535966314586',), 1374796783: ('0.04127535966314586',), 1374796781: ('0.04127535966314586',), 1374796775: ('0.04127535966314586',), 1374796773: ('0.04127535966314586',), 1374796770: ('0.04127535966314586',), 1374796620: ('0.04127535966314586',), 1374796618: ('0.04127535966314586',), 1374796572: ('0.04127535966314586',), 1374796570: ('0.04127535966314586',), 1374796523: ('0.04127535966314586',), 1374796463: ('0.04127535966314586',), 1374796459: ('0.04127535966314586',), 1374796456: ('0.04127535966314586',), 1374796453: ('0.04127535966314586',), 1374796399: ('0.04127535966314586',), 1374796358: ('0.04127535966314586',), 1374796356: ('0.04127535966314586',), 1374796350: ('0.04127535966314586',), 1374796286: ('0.04127535966314586',), 1374796224: ('0.04127535966314586',), 1374795746: ('0.04127535966314586',), 1374795744: ('0.04127535966314586',), 1374795551: ('0.04127535966314586',)} args : 1374796618 depend.output_id : 0 input_args_next_step : {1374796871: ('0.04127535966314586',), 1374796844: ('0.04127535966314586',), 1374796840: ('0.04127535966314586',), 1374796838: ('0.04127535966314586',), 1374796837: ('0.04127535966314586',), 1374796835: ('0.04127535966314586',), 1374796817: ('0.04127535966314586',), 1374796815: ('0.04127535966314586',), 1374796813: ('0.04127535966314586',), 1374796812: ('0.04127535966314586',), 1374796811: ('0.04127535966314586',), 1374796789: ('0.04127535966314586',), 1374796785: ('0.04127535966314586',), 1374796784: ('0.04127535966314586',), 1374796783: ('0.04127535966314586',), 1374796781: ('0.04127535966314586',), 1374796775: ('0.04127535966314586',), 1374796773: ('0.04127535966314586',), 1374796770: ('0.04127535966314586',), 1374796620: ('0.04127535966314586',), 1374796618: ('0.04127535966314586',), 1374796572: ()} output_args : {1374796871: ('0.04127535966314586',), 1374796844: ('0.04127535966314586',), 1374796840: ('0.04127535966314586',), 1374796838: ('0.04127535966314586',), 1374796837: ('0.04127535966314586',), 1374796835: ('0.04127535966314586',), 1374796817: ('0.04127535966314586',), 1374796815: ('0.04127535966314586',), 1374796813: ('0.04127535966314586',), 1374796812: ('0.04127535966314586',), 1374796811: ('0.04127535966314586',), 1374796789: ('0.04127535966314586',), 1374796785: ('0.04127535966314586',), 1374796784: ('0.04127535966314586',), 1374796783: ('0.04127535966314586',), 1374796781: ('0.04127535966314586',), 1374796775: ('0.04127535966314586',), 1374796773: ('0.04127535966314586',), 1374796770: ('0.04127535966314586',), 1374796620: ('0.04127535966314586',), 1374796618: ('0.04127535966314586',), 1374796572: ('0.04127535966314586',), 1374796570: ('0.04127535966314586',), 1374796523: ('0.04127535966314586',), 1374796463: ('0.04127535966314586',), 1374796459: ('0.04127535966314586',), 1374796456: ('0.04127535966314586',), 1374796453: ('0.04127535966314586',), 1374796399: ('0.04127535966314586',), 1374796358: ('0.04127535966314586',), 1374796356: ('0.04127535966314586',), 1374796350: ('0.04127535966314586',), 1374796286: ('0.04127535966314586',), 1374796224: ('0.04127535966314586',), 1374795746: ('0.04127535966314586',), 1374795744: ('0.04127535966314586',), 1374795551: ('0.04127535966314586',)} args : 1374796572 depend.output_id : 0 input_args_next_step : {1374796871: ('0.04127535966314586',), 1374796844: ('0.04127535966314586',), 1374796840: ('0.04127535966314586',), 1374796838: ('0.04127535966314586',), 1374796837: ('0.04127535966314586',), 1374796835: ('0.04127535966314586',), 1374796817: ('0.04127535966314586',), 1374796815: ('0.04127535966314586',), 1374796813: ('0.04127535966314586',), 1374796812: ('0.04127535966314586',), 1374796811: ('0.04127535966314586',), 1374796789: ('0.04127535966314586',), 1374796785: ('0.04127535966314586',), 1374796784: ('0.04127535966314586',), 1374796783: ('0.04127535966314586',), 1374796781: ('0.04127535966314586',), 1374796775: ('0.04127535966314586',), 1374796773: ('0.04127535966314586',), 1374796770: ('0.04127535966314586',), 1374796620: ('0.04127535966314586',), 1374796618: ('0.04127535966314586',), 1374796572: ('0.04127535966314586',), 1374796570: ()} output_args : {1374796871: ('0.04127535966314586',), 1374796844: ('0.04127535966314586',), 1374796840: ('0.04127535966314586',), 1374796838: ('0.04127535966314586',), 1374796837: ('0.04127535966314586',), 1374796835: ('0.04127535966314586',), 1374796817: ('0.04127535966314586',), 1374796815: ('0.04127535966314586',), 1374796813: ('0.04127535966314586',), 1374796812: ('0.04127535966314586',), 1374796811: ('0.04127535966314586',), 1374796789: ('0.04127535966314586',), 1374796785: ('0.04127535966314586',), 1374796784: ('0.04127535966314586',), 1374796783: ('0.04127535966314586',), 1374796781: ('0.04127535966314586',), 1374796775: ('0.04127535966314586',), 1374796773: ('0.04127535966314586',), 1374796770: ('0.04127535966314586',), 1374796620: ('0.04127535966314586',), 1374796618: ('0.04127535966314586',), 1374796572: ('0.04127535966314586',), 1374796570: ('0.04127535966314586',), 1374796523: ('0.04127535966314586',), 1374796463: ('0.04127535966314586',), 1374796459: ('0.04127535966314586',), 1374796456: ('0.04127535966314586',), 1374796453: ('0.04127535966314586',), 1374796399: ('0.04127535966314586',), 1374796358: ('0.04127535966314586',), 1374796356: ('0.04127535966314586',), 1374796350: ('0.04127535966314586',), 1374796286: ('0.04127535966314586',), 1374796224: ('0.04127535966314586',), 1374795746: ('0.04127535966314586',), 1374795744: ('0.04127535966314586',), 1374795551: ('0.04127535966314586',)} args : 1374796570 depend.output_id : 0 input_args_next_step : {1374796871: ('0.04127535966314586',), 1374796844: ('0.04127535966314586',), 1374796840: ('0.04127535966314586',), 1374796838: ('0.04127535966314586',), 1374796837: ('0.04127535966314586',), 1374796835: ('0.04127535966314586',), 1374796817: ('0.04127535966314586',), 1374796815: ('0.04127535966314586',), 1374796813: ('0.04127535966314586',), 1374796812: ('0.04127535966314586',), 1374796811: ('0.04127535966314586',), 1374796789: ('0.04127535966314586',), 1374796785: ('0.04127535966314586',), 1374796784: ('0.04127535966314586',), 1374796783: ('0.04127535966314586',), 1374796781: ('0.04127535966314586',), 1374796775: ('0.04127535966314586',), 1374796773: ('0.04127535966314586',), 1374796770: ('0.04127535966314586',), 1374796620: ('0.04127535966314586',), 1374796618: ('0.04127535966314586',), 1374796572: ('0.04127535966314586',), 1374796570: ('0.04127535966314586',), 1374796523: ()} output_args : {1374796871: ('0.04127535966314586',), 1374796844: ('0.04127535966314586',), 1374796840: ('0.04127535966314586',), 1374796838: ('0.04127535966314586',), 1374796837: ('0.04127535966314586',), 1374796835: ('0.04127535966314586',), 1374796817: ('0.04127535966314586',), 1374796815: ('0.04127535966314586',), 1374796813: ('0.04127535966314586',), 1374796812: ('0.04127535966314586',), 1374796811: ('0.04127535966314586',), 1374796789: ('0.04127535966314586',), 1374796785: ('0.04127535966314586',), 1374796784: ('0.04127535966314586',), 1374796783: ('0.04127535966314586',), 1374796781: ('0.04127535966314586',), 1374796775: ('0.04127535966314586',), 1374796773: ('0.04127535966314586',), 1374796770: ('0.04127535966314586',), 1374796620: ('0.04127535966314586',), 1374796618: ('0.04127535966314586',), 1374796572: ('0.04127535966314586',), 1374796570: ('0.04127535966314586',), 1374796523: ('0.04127535966314586',), 1374796463: ('0.04127535966314586',), 1374796459: ('0.04127535966314586',), 1374796456: ('0.04127535966314586',), 1374796453: ('0.04127535966314586',), 1374796399: ('0.04127535966314586',), 1374796358: ('0.04127535966314586',), 1374796356: ('0.04127535966314586',), 1374796350: ('0.04127535966314586',), 1374796286: ('0.04127535966314586',), 1374796224: ('0.04127535966314586',), 1374795746: ('0.04127535966314586',), 1374795744: ('0.04127535966314586',), 1374795551: ('0.04127535966314586',)} args : 1374796523 depend.output_id : 0 input_args_next_step : {1374796871: ('0.04127535966314586',), 1374796844: ('0.04127535966314586',), 1374796840: ('0.04127535966314586',), 1374796838: ('0.04127535966314586',), 1374796837: ('0.04127535966314586',), 1374796835: ('0.04127535966314586',), 1374796817: ('0.04127535966314586',), 1374796815: ('0.04127535966314586',), 1374796813: ('0.04127535966314586',), 1374796812: ('0.04127535966314586',), 1374796811: ('0.04127535966314586',), 1374796789: ('0.04127535966314586',), 1374796785: ('0.04127535966314586',), 1374796784: ('0.04127535966314586',), 1374796783: ('0.04127535966314586',), 1374796781: ('0.04127535966314586',), 1374796775: ('0.04127535966314586',), 1374796773: ('0.04127535966314586',), 1374796770: ('0.04127535966314586',), 1374796620: ('0.04127535966314586',), 1374796618: ('0.04127535966314586',), 1374796572: ('0.04127535966314586',), 1374796570: ('0.04127535966314586',), 1374796523: ('0.04127535966314586',), 1374796463: ()} output_args : {1374796871: ('0.04127535966314586',), 1374796844: ('0.04127535966314586',), 1374796840: ('0.04127535966314586',), 1374796838: ('0.04127535966314586',), 1374796837: ('0.04127535966314586',), 1374796835: ('0.04127535966314586',), 1374796817: ('0.04127535966314586',), 1374796815: ('0.04127535966314586',), 1374796813: ('0.04127535966314586',), 1374796812: ('0.04127535966314586',), 1374796811: ('0.04127535966314586',), 1374796789: ('0.04127535966314586',), 1374796785: ('0.04127535966314586',), 1374796784: ('0.04127535966314586',), 1374796783: ('0.04127535966314586',), 1374796781: ('0.04127535966314586',), 1374796775: ('0.04127535966314586',), 1374796773: ('0.04127535966314586',), 1374796770: ('0.04127535966314586',), 1374796620: ('0.04127535966314586',), 1374796618: ('0.04127535966314586',), 1374796572: ('0.04127535966314586',), 1374796570: ('0.04127535966314586',), 1374796523: ('0.04127535966314586',), 1374796463: ('0.04127535966314586',), 1374796459: ('0.04127535966314586',), 1374796456: ('0.04127535966314586',), 1374796453: ('0.04127535966314586',), 1374796399: ('0.04127535966314586',), 1374796358: ('0.04127535966314586',), 1374796356: ('0.04127535966314586',), 1374796350: ('0.04127535966314586',), 1374796286: ('0.04127535966314586',), 1374796224: ('0.04127535966314586',), 1374795746: ('0.04127535966314586',), 1374795744: ('0.04127535966314586',), 1374795551: ('0.04127535966314586',)} args : 1374796463 depend.output_id : 0 input_args_next_step : {1374796871: ('0.04127535966314586',), 1374796844: ('0.04127535966314586',), 1374796840: ('0.04127535966314586',), 1374796838: ('0.04127535966314586',), 1374796837: ('0.04127535966314586',), 1374796835: ('0.04127535966314586',), 1374796817: ('0.04127535966314586',), 1374796815: ('0.04127535966314586',), 1374796813: ('0.04127535966314586',), 1374796812: ('0.04127535966314586',), 1374796811: ('0.04127535966314586',), 1374796789: ('0.04127535966314586',), 1374796785: ('0.04127535966314586',), 1374796784: ('0.04127535966314586',), 1374796783: ('0.04127535966314586',), 1374796781: ('0.04127535966314586',), 1374796775: ('0.04127535966314586',), 1374796773: ('0.04127535966314586',), 1374796770: ('0.04127535966314586',), 1374796620: ('0.04127535966314586',), 1374796618: ('0.04127535966314586',), 1374796572: ('0.04127535966314586',), 1374796570: ('0.04127535966314586',), 1374796523: ('0.04127535966314586',), 1374796463: ('0.04127535966314586',), 1374796459: ()} output_args : {1374796871: ('0.04127535966314586',), 1374796844: ('0.04127535966314586',), 1374796840: ('0.04127535966314586',), 1374796838: ('0.04127535966314586',), 1374796837: ('0.04127535966314586',), 1374796835: ('0.04127535966314586',), 1374796817: ('0.04127535966314586',), 1374796815: ('0.04127535966314586',), 1374796813: ('0.04127535966314586',), 1374796812: ('0.04127535966314586',), 1374796811: ('0.04127535966314586',), 1374796789: ('0.04127535966314586',), 1374796785: ('0.04127535966314586',), 1374796784: ('0.04127535966314586',), 1374796783: ('0.04127535966314586',), 1374796781: ('0.04127535966314586',), 1374796775: ('0.04127535966314586',), 1374796773: ('0.04127535966314586',), 1374796770: ('0.04127535966314586',), 1374796620: ('0.04127535966314586',), 1374796618: ('0.04127535966314586',), 1374796572: ('0.04127535966314586',), 1374796570: ('0.04127535966314586',), 1374796523: ('0.04127535966314586',), 1374796463: ('0.04127535966314586',), 1374796459: ('0.04127535966314586',), 1374796456: ('0.04127535966314586',), 1374796453: ('0.04127535966314586',), 1374796399: ('0.04127535966314586',), 1374796358: ('0.04127535966314586',), 1374796356: ('0.04127535966314586',), 1374796350: ('0.04127535966314586',), 1374796286: ('0.04127535966314586',), 1374796224: ('0.04127535966314586',), 1374795746: ('0.04127535966314586',), 1374795744: ('0.04127535966314586',), 1374795551: ('0.04127535966314586',)} args : 1374796459 depend.output_id : 0 input_args_next_step : {1374796871: ('0.04127535966314586',), 1374796844: ('0.04127535966314586',), 1374796840: ('0.04127535966314586',), 1374796838: ('0.04127535966314586',), 1374796837: ('0.04127535966314586',), 1374796835: ('0.04127535966314586',), 1374796817: ('0.04127535966314586',), 1374796815: ('0.04127535966314586',), 1374796813: ('0.04127535966314586',), 1374796812: ('0.04127535966314586',), 1374796811: ('0.04127535966314586',), 1374796789: ('0.04127535966314586',), 1374796785: ('0.04127535966314586',), 1374796784: ('0.04127535966314586',), 1374796783: ('0.04127535966314586',), 1374796781: ('0.04127535966314586',), 1374796775: ('0.04127535966314586',), 1374796773: ('0.04127535966314586',), 1374796770: ('0.04127535966314586',), 1374796620: ('0.04127535966314586',), 1374796618: ('0.04127535966314586',), 1374796572: ('0.04127535966314586',), 1374796570: ('0.04127535966314586',), 1374796523: ('0.04127535966314586',), 1374796463: ('0.04127535966314586',), 1374796459: ('0.04127535966314586',), 1374796456: ()} output_args : {1374796871: ('0.04127535966314586',), 1374796844: ('0.04127535966314586',), 1374796840: ('0.04127535966314586',), 1374796838: ('0.04127535966314586',), 1374796837: ('0.04127535966314586',), 1374796835: ('0.04127535966314586',), 1374796817: ('0.04127535966314586',), 1374796815: ('0.04127535966314586',), 1374796813: ('0.04127535966314586',), 1374796812: ('0.04127535966314586',), 1374796811: ('0.04127535966314586',), 1374796789: ('0.04127535966314586',), 1374796785: ('0.04127535966314586',), 1374796784: ('0.04127535966314586',), 1374796783: ('0.04127535966314586',), 1374796781: ('0.04127535966314586',), 1374796775: ('0.04127535966314586',), 1374796773: ('0.04127535966314586',), 1374796770: ('0.04127535966314586',), 1374796620: ('0.04127535966314586',), 1374796618: ('0.04127535966314586',), 1374796572: ('0.04127535966314586',), 1374796570: ('0.04127535966314586',), 1374796523: ('0.04127535966314586',), 1374796463: ('0.04127535966314586',), 1374796459: ('0.04127535966314586',), 1374796456: ('0.04127535966314586',), 1374796453: ('0.04127535966314586',), 1374796399: ('0.04127535966314586',), 1374796358: ('0.04127535966314586',), 1374796356: ('0.04127535966314586',), 1374796350: ('0.04127535966314586',), 1374796286: ('0.04127535966314586',), 1374796224: ('0.04127535966314586',), 1374795746: ('0.04127535966314586',), 1374795744: ('0.04127535966314586',), 1374795551: ('0.04127535966314586',)} args : 1374796456 depend.output_id : 0 input_args_next_step : {1374796871: ('0.04127535966314586',), 1374796844: ('0.04127535966314586',), 1374796840: ('0.04127535966314586',), 1374796838: ('0.04127535966314586',), 1374796837: ('0.04127535966314586',), 1374796835: ('0.04127535966314586',), 1374796817: ('0.04127535966314586',), 1374796815: ('0.04127535966314586',), 1374796813: ('0.04127535966314586',), 1374796812: ('0.04127535966314586',), 1374796811: ('0.04127535966314586',), 1374796789: ('0.04127535966314586',), 1374796785: ('0.04127535966314586',), 1374796784: ('0.04127535966314586',), 1374796783: ('0.04127535966314586',), 1374796781: ('0.04127535966314586',), 1374796775: ('0.04127535966314586',), 1374796773: ('0.04127535966314586',), 1374796770: ('0.04127535966314586',), 1374796620: ('0.04127535966314586',), 1374796618: ('0.04127535966314586',), 1374796572: ('0.04127535966314586',), 1374796570: ('0.04127535966314586',), 1374796523: ('0.04127535966314586',), 1374796463: ('0.04127535966314586',), 1374796459: ('0.04127535966314586',), 1374796456: ('0.04127535966314586',), 1374796453: ()} output_args : {1374796871: ('0.04127535966314586',), 1374796844: ('0.04127535966314586',), 1374796840: ('0.04127535966314586',), 1374796838: ('0.04127535966314586',), 1374796837: ('0.04127535966314586',), 1374796835: ('0.04127535966314586',), 1374796817: ('0.04127535966314586',), 1374796815: ('0.04127535966314586',), 1374796813: ('0.04127535966314586',), 1374796812: ('0.04127535966314586',), 1374796811: ('0.04127535966314586',), 1374796789: ('0.04127535966314586',), 1374796785: ('0.04127535966314586',), 1374796784: ('0.04127535966314586',), 1374796783: ('0.04127535966314586',), 1374796781: ('0.04127535966314586',), 1374796775: ('0.04127535966314586',), 1374796773: ('0.04127535966314586',), 1374796770: ('0.04127535966314586',), 1374796620: ('0.04127535966314586',), 1374796618: ('0.04127535966314586',), 1374796572: ('0.04127535966314586',), 1374796570: ('0.04127535966314586',), 1374796523: ('0.04127535966314586',), 1374796463: ('0.04127535966314586',), 1374796459: ('0.04127535966314586',), 1374796456: ('0.04127535966314586',), 1374796453: ('0.04127535966314586',), 1374796399: ('0.04127535966314586',), 1374796358: ('0.04127535966314586',), 1374796356: ('0.04127535966314586',), 1374796350: ('0.04127535966314586',), 1374796286: ('0.04127535966314586',), 1374796224: ('0.04127535966314586',), 1374795746: ('0.04127535966314586',), 1374795744: ('0.04127535966314586',), 1374795551: ('0.04127535966314586',)} args : 1374796453 depend.output_id : 0 input_args_next_step : {1374796871: ('0.04127535966314586',), 1374796844: ('0.04127535966314586',), 1374796840: ('0.04127535966314586',), 1374796838: ('0.04127535966314586',), 1374796837: ('0.04127535966314586',), 1374796835: ('0.04127535966314586',), 1374796817: ('0.04127535966314586',), 1374796815: ('0.04127535966314586',), 1374796813: ('0.04127535966314586',), 1374796812: ('0.04127535966314586',), 1374796811: ('0.04127535966314586',), 1374796789: ('0.04127535966314586',), 1374796785: ('0.04127535966314586',), 1374796784: ('0.04127535966314586',), 1374796783: ('0.04127535966314586',), 1374796781: ('0.04127535966314586',), 1374796775: ('0.04127535966314586',), 1374796773: ('0.04127535966314586',), 1374796770: ('0.04127535966314586',), 1374796620: ('0.04127535966314586',), 1374796618: ('0.04127535966314586',), 1374796572: ('0.04127535966314586',), 1374796570: ('0.04127535966314586',), 1374796523: ('0.04127535966314586',), 1374796463: ('0.04127535966314586',), 1374796459: ('0.04127535966314586',), 1374796456: ('0.04127535966314586',), 1374796453: ('0.04127535966314586',), 1374796399: ()} output_args : {1374796871: ('0.04127535966314586',), 1374796844: ('0.04127535966314586',), 1374796840: ('0.04127535966314586',), 1374796838: ('0.04127535966314586',), 1374796837: ('0.04127535966314586',), 1374796835: ('0.04127535966314586',), 1374796817: ('0.04127535966314586',), 1374796815: ('0.04127535966314586',), 1374796813: ('0.04127535966314586',), 1374796812: ('0.04127535966314586',), 1374796811: ('0.04127535966314586',), 1374796789: ('0.04127535966314586',), 1374796785: ('0.04127535966314586',), 1374796784: ('0.04127535966314586',), 1374796783: ('0.04127535966314586',), 1374796781: ('0.04127535966314586',), 1374796775: ('0.04127535966314586',), 1374796773: ('0.04127535966314586',), 1374796770: ('0.04127535966314586',), 1374796620: ('0.04127535966314586',), 1374796618: ('0.04127535966314586',), 1374796572: ('0.04127535966314586',), 1374796570: ('0.04127535966314586',), 1374796523: ('0.04127535966314586',), 1374796463: ('0.04127535966314586',), 1374796459: ('0.04127535966314586',), 1374796456: ('0.04127535966314586',), 1374796453: ('0.04127535966314586',), 1374796399: ('0.04127535966314586',), 1374796358: ('0.04127535966314586',), 1374796356: ('0.04127535966314586',), 1374796350: ('0.04127535966314586',), 1374796286: ('0.04127535966314586',), 1374796224: ('0.04127535966314586',), 1374795746: ('0.04127535966314586',), 1374795744: ('0.04127535966314586',), 1374795551: ('0.04127535966314586',)} args : 1374796399 depend.output_id : 0 input_args_next_step : {1374796871: ('0.04127535966314586',), 1374796844: ('0.04127535966314586',), 1374796840: ('0.04127535966314586',), 1374796838: ('0.04127535966314586',), 1374796837: ('0.04127535966314586',), 1374796835: ('0.04127535966314586',), 1374796817: ('0.04127535966314586',), 1374796815: ('0.04127535966314586',), 1374796813: ('0.04127535966314586',), 1374796812: ('0.04127535966314586',), 1374796811: ('0.04127535966314586',), 1374796789: ('0.04127535966314586',), 1374796785: ('0.04127535966314586',), 1374796784: ('0.04127535966314586',), 1374796783: ('0.04127535966314586',), 1374796781: ('0.04127535966314586',), 1374796775: ('0.04127535966314586',), 1374796773: ('0.04127535966314586',), 1374796770: ('0.04127535966314586',), 1374796620: ('0.04127535966314586',), 1374796618: ('0.04127535966314586',), 1374796572: ('0.04127535966314586',), 1374796570: ('0.04127535966314586',), 1374796523: ('0.04127535966314586',), 1374796463: ('0.04127535966314586',), 1374796459: ('0.04127535966314586',), 1374796456: ('0.04127535966314586',), 1374796453: ('0.04127535966314586',), 1374796399: ('0.04127535966314586',), 1374796358: ()} output_args : {1374796871: ('0.04127535966314586',), 1374796844: ('0.04127535966314586',), 1374796840: ('0.04127535966314586',), 1374796838: ('0.04127535966314586',), 1374796837: ('0.04127535966314586',), 1374796835: ('0.04127535966314586',), 1374796817: ('0.04127535966314586',), 1374796815: ('0.04127535966314586',), 1374796813: ('0.04127535966314586',), 1374796812: ('0.04127535966314586',), 1374796811: ('0.04127535966314586',), 1374796789: ('0.04127535966314586',), 1374796785: ('0.04127535966314586',), 1374796784: ('0.04127535966314586',), 1374796783: ('0.04127535966314586',), 1374796781: ('0.04127535966314586',), 1374796775: ('0.04127535966314586',), 1374796773: ('0.04127535966314586',), 1374796770: ('0.04127535966314586',), 1374796620: ('0.04127535966314586',), 1374796618: ('0.04127535966314586',), 1374796572: ('0.04127535966314586',), 1374796570: ('0.04127535966314586',), 1374796523: ('0.04127535966314586',), 1374796463: ('0.04127535966314586',), 1374796459: ('0.04127535966314586',), 1374796456: ('0.04127535966314586',), 1374796453: ('0.04127535966314586',), 1374796399: ('0.04127535966314586',), 1374796358: ('0.04127535966314586',), 1374796356: ('0.04127535966314586',), 1374796350: ('0.04127535966314586',), 1374796286: ('0.04127535966314586',), 1374796224: ('0.04127535966314586',), 1374795746: ('0.04127535966314586',), 1374795744: ('0.04127535966314586',), 1374795551: ('0.04127535966314586',)} args : 1374796358 depend.output_id : 0 input_args_next_step : {1374796871: ('0.04127535966314586',), 1374796844: ('0.04127535966314586',), 1374796840: ('0.04127535966314586',), 1374796838: ('0.04127535966314586',), 1374796837: ('0.04127535966314586',), 1374796835: ('0.04127535966314586',), 1374796817: ('0.04127535966314586',), 1374796815: ('0.04127535966314586',), 1374796813: ('0.04127535966314586',), 1374796812: ('0.04127535966314586',), 1374796811: ('0.04127535966314586',), 1374796789: ('0.04127535966314586',), 1374796785: ('0.04127535966314586',), 1374796784: ('0.04127535966314586',), 1374796783: ('0.04127535966314586',), 1374796781: ('0.04127535966314586',), 1374796775: ('0.04127535966314586',), 1374796773: ('0.04127535966314586',), 1374796770: ('0.04127535966314586',), 1374796620: ('0.04127535966314586',), 1374796618: ('0.04127535966314586',), 1374796572: ('0.04127535966314586',), 1374796570: ('0.04127535966314586',), 1374796523: ('0.04127535966314586',), 1374796463: ('0.04127535966314586',), 1374796459: ('0.04127535966314586',), 1374796456: ('0.04127535966314586',), 1374796453: ('0.04127535966314586',), 1374796399: ('0.04127535966314586',), 1374796358: ('0.04127535966314586',), 1374796356: ()} output_args : {1374796871: ('0.04127535966314586',), 1374796844: ('0.04127535966314586',), 1374796840: ('0.04127535966314586',), 1374796838: ('0.04127535966314586',), 1374796837: ('0.04127535966314586',), 1374796835: ('0.04127535966314586',), 1374796817: ('0.04127535966314586',), 1374796815: ('0.04127535966314586',), 1374796813: ('0.04127535966314586',), 1374796812: ('0.04127535966314586',), 1374796811: ('0.04127535966314586',), 1374796789: ('0.04127535966314586',), 1374796785: ('0.04127535966314586',), 1374796784: ('0.04127535966314586',), 1374796783: ('0.04127535966314586',), 1374796781: ('0.04127535966314586',), 1374796775: ('0.04127535966314586',), 1374796773: ('0.04127535966314586',), 1374796770: ('0.04127535966314586',), 1374796620: ('0.04127535966314586',), 1374796618: ('0.04127535966314586',), 1374796572: ('0.04127535966314586',), 1374796570: ('0.04127535966314586',), 1374796523: ('0.04127535966314586',), 1374796463: ('0.04127535966314586',), 1374796459: ('0.04127535966314586',), 1374796456: ('0.04127535966314586',), 1374796453: ('0.04127535966314586',), 1374796399: ('0.04127535966314586',), 1374796358: ('0.04127535966314586',), 1374796356: ('0.04127535966314586',), 1374796350: ('0.04127535966314586',), 1374796286: ('0.04127535966314586',), 1374796224: ('0.04127535966314586',), 1374795746: ('0.04127535966314586',), 1374795744: ('0.04127535966314586',), 1374795551: ('0.04127535966314586',)} args : 1374796356 depend.output_id : 0 input_args_next_step : {1374796871: ('0.04127535966314586',), 1374796844: ('0.04127535966314586',), 1374796840: ('0.04127535966314586',), 1374796838: ('0.04127535966314586',), 1374796837: ('0.04127535966314586',), 1374796835: ('0.04127535966314586',), 1374796817: ('0.04127535966314586',), 1374796815: ('0.04127535966314586',), 1374796813: ('0.04127535966314586',), 1374796812: ('0.04127535966314586',), 1374796811: ('0.04127535966314586',), 1374796789: ('0.04127535966314586',), 1374796785: ('0.04127535966314586',), 1374796784: ('0.04127535966314586',), 1374796783: ('0.04127535966314586',), 1374796781: ('0.04127535966314586',), 1374796775: ('0.04127535966314586',), 1374796773: ('0.04127535966314586',), 1374796770: ('0.04127535966314586',), 1374796620: ('0.04127535966314586',), 1374796618: ('0.04127535966314586',), 1374796572: ('0.04127535966314586',), 1374796570: ('0.04127535966314586',), 1374796523: ('0.04127535966314586',), 1374796463: ('0.04127535966314586',), 1374796459: ('0.04127535966314586',), 1374796456: ('0.04127535966314586',), 1374796453: ('0.04127535966314586',), 1374796399: ('0.04127535966314586',), 1374796358: ('0.04127535966314586',), 1374796356: ('0.04127535966314586',), 1374796350: ()} output_args : {1374796871: ('0.04127535966314586',), 1374796844: ('0.04127535966314586',), 1374796840: ('0.04127535966314586',), 1374796838: ('0.04127535966314586',), 1374796837: ('0.04127535966314586',), 1374796835: ('0.04127535966314586',), 1374796817: ('0.04127535966314586',), 1374796815: ('0.04127535966314586',), 1374796813: ('0.04127535966314586',), 1374796812: ('0.04127535966314586',), 1374796811: ('0.04127535966314586',), 1374796789: ('0.04127535966314586',), 1374796785: ('0.04127535966314586',), 1374796784: ('0.04127535966314586',), 1374796783: ('0.04127535966314586',), 1374796781: ('0.04127535966314586',), 1374796775: ('0.04127535966314586',), 1374796773: ('0.04127535966314586',), 1374796770: ('0.04127535966314586',), 1374796620: ('0.04127535966314586',), 1374796618: ('0.04127535966314586',), 1374796572: ('0.04127535966314586',), 1374796570: ('0.04127535966314586',), 1374796523: ('0.04127535966314586',), 1374796463: ('0.04127535966314586',), 1374796459: ('0.04127535966314586',), 1374796456: ('0.04127535966314586',), 1374796453: ('0.04127535966314586',), 1374796399: ('0.04127535966314586',), 1374796358: ('0.04127535966314586',), 1374796356: ('0.04127535966314586',), 1374796350: ('0.04127535966314586',), 1374796286: ('0.04127535966314586',), 1374796224: ('0.04127535966314586',), 1374795746: ('0.04127535966314586',), 1374795744: ('0.04127535966314586',), 1374795551: ('0.04127535966314586',)} args : 1374796350 depend.output_id : 0 input_args_next_step : {1374796871: ('0.04127535966314586',), 1374796844: ('0.04127535966314586',), 1374796840: ('0.04127535966314586',), 1374796838: ('0.04127535966314586',), 1374796837: ('0.04127535966314586',), 1374796835: ('0.04127535966314586',), 1374796817: ('0.04127535966314586',), 1374796815: ('0.04127535966314586',), 1374796813: ('0.04127535966314586',), 1374796812: ('0.04127535966314586',), 1374796811: ('0.04127535966314586',), 1374796789: ('0.04127535966314586',), 1374796785: ('0.04127535966314586',), 1374796784: ('0.04127535966314586',), 1374796783: ('0.04127535966314586',), 1374796781: ('0.04127535966314586',), 1374796775: ('0.04127535966314586',), 1374796773: ('0.04127535966314586',), 1374796770: ('0.04127535966314586',), 1374796620: ('0.04127535966314586',), 1374796618: ('0.04127535966314586',), 1374796572: ('0.04127535966314586',), 1374796570: ('0.04127535966314586',), 1374796523: ('0.04127535966314586',), 1374796463: ('0.04127535966314586',), 1374796459: ('0.04127535966314586',), 1374796456: ('0.04127535966314586',), 1374796453: ('0.04127535966314586',), 1374796399: ('0.04127535966314586',), 1374796358: ('0.04127535966314586',), 1374796356: ('0.04127535966314586',), 1374796350: ('0.04127535966314586',), 1374796286: ()} output_args : {1374796871: ('0.04127535966314586',), 1374796844: ('0.04127535966314586',), 1374796840: ('0.04127535966314586',), 1374796838: ('0.04127535966314586',), 1374796837: ('0.04127535966314586',), 1374796835: ('0.04127535966314586',), 1374796817: ('0.04127535966314586',), 1374796815: ('0.04127535966314586',), 1374796813: ('0.04127535966314586',), 1374796812: ('0.04127535966314586',), 1374796811: ('0.04127535966314586',), 1374796789: ('0.04127535966314586',), 1374796785: ('0.04127535966314586',), 1374796784: ('0.04127535966314586',), 1374796783: ('0.04127535966314586',), 1374796781: ('0.04127535966314586',), 1374796775: ('0.04127535966314586',), 1374796773: ('0.04127535966314586',), 1374796770: ('0.04127535966314586',), 1374796620: ('0.04127535966314586',), 1374796618: ('0.04127535966314586',), 1374796572: ('0.04127535966314586',), 1374796570: ('0.04127535966314586',), 1374796523: ('0.04127535966314586',), 1374796463: ('0.04127535966314586',), 1374796459: ('0.04127535966314586',), 1374796456: ('0.04127535966314586',), 1374796453: ('0.04127535966314586',), 1374796399: ('0.04127535966314586',), 1374796358: ('0.04127535966314586',), 1374796356: ('0.04127535966314586',), 1374796350: ('0.04127535966314586',), 1374796286: ('0.04127535966314586',), 1374796224: ('0.04127535966314586',), 1374795746: ('0.04127535966314586',), 1374795744: ('0.04127535966314586',), 1374795551: ('0.04127535966314586',)} args : 1374796286 depend.output_id : 0 input_args_next_step : {1374796871: ('0.04127535966314586',), 1374796844: ('0.04127535966314586',), 1374796840: ('0.04127535966314586',), 1374796838: ('0.04127535966314586',), 1374796837: ('0.04127535966314586',), 1374796835: ('0.04127535966314586',), 1374796817: ('0.04127535966314586',), 1374796815: ('0.04127535966314586',), 1374796813: ('0.04127535966314586',), 1374796812: ('0.04127535966314586',), 1374796811: ('0.04127535966314586',), 1374796789: ('0.04127535966314586',), 1374796785: ('0.04127535966314586',), 1374796784: ('0.04127535966314586',), 1374796783: ('0.04127535966314586',), 1374796781: ('0.04127535966314586',), 1374796775: ('0.04127535966314586',), 1374796773: ('0.04127535966314586',), 1374796770: ('0.04127535966314586',), 1374796620: ('0.04127535966314586',), 1374796618: ('0.04127535966314586',), 1374796572: ('0.04127535966314586',), 1374796570: ('0.04127535966314586',), 1374796523: ('0.04127535966314586',), 1374796463: ('0.04127535966314586',), 1374796459: ('0.04127535966314586',), 1374796456: ('0.04127535966314586',), 1374796453: ('0.04127535966314586',), 1374796399: ('0.04127535966314586',), 1374796358: ('0.04127535966314586',), 1374796356: ('0.04127535966314586',), 1374796350: ('0.04127535966314586',), 1374796286: ('0.04127535966314586',), 1374796224: ()} output_args : {1374796871: ('0.04127535966314586',), 1374796844: ('0.04127535966314586',), 1374796840: ('0.04127535966314586',), 1374796838: ('0.04127535966314586',), 1374796837: ('0.04127535966314586',), 1374796835: ('0.04127535966314586',), 1374796817: ('0.04127535966314586',), 1374796815: ('0.04127535966314586',), 1374796813: ('0.04127535966314586',), 1374796812: ('0.04127535966314586',), 1374796811: ('0.04127535966314586',), 1374796789: ('0.04127535966314586',), 1374796785: ('0.04127535966314586',), 1374796784: ('0.04127535966314586',), 1374796783: ('0.04127535966314586',), 1374796781: ('0.04127535966314586',), 1374796775: ('0.04127535966314586',), 1374796773: ('0.04127535966314586',), 1374796770: ('0.04127535966314586',), 1374796620: ('0.04127535966314586',), 1374796618: ('0.04127535966314586',), 1374796572: ('0.04127535966314586',), 1374796570: ('0.04127535966314586',), 1374796523: ('0.04127535966314586',), 1374796463: ('0.04127535966314586',), 1374796459: ('0.04127535966314586',), 1374796456: ('0.04127535966314586',), 1374796453: ('0.04127535966314586',), 1374796399: ('0.04127535966314586',), 1374796358: ('0.04127535966314586',), 1374796356: ('0.04127535966314586',), 1374796350: ('0.04127535966314586',), 1374796286: ('0.04127535966314586',), 1374796224: ('0.04127535966314586',), 1374795746: ('0.04127535966314586',), 1374795744: ('0.04127535966314586',), 1374795551: ('0.04127535966314586',)} args : 1374796224 depend.output_id : 0 input_args_next_step : {1374796871: ('0.04127535966314586',), 1374796844: ('0.04127535966314586',), 1374796840: ('0.04127535966314586',), 1374796838: ('0.04127535966314586',), 1374796837: ('0.04127535966314586',), 1374796835: ('0.04127535966314586',), 1374796817: ('0.04127535966314586',), 1374796815: ('0.04127535966314586',), 1374796813: ('0.04127535966314586',), 1374796812: ('0.04127535966314586',), 1374796811: ('0.04127535966314586',), 1374796789: ('0.04127535966314586',), 1374796785: ('0.04127535966314586',), 1374796784: ('0.04127535966314586',), 1374796783: ('0.04127535966314586',), 1374796781: ('0.04127535966314586',), 1374796775: ('0.04127535966314586',), 1374796773: ('0.04127535966314586',), 1374796770: ('0.04127535966314586',), 1374796620: ('0.04127535966314586',), 1374796618: ('0.04127535966314586',), 1374796572: ('0.04127535966314586',), 1374796570: ('0.04127535966314586',), 1374796523: ('0.04127535966314586',), 1374796463: ('0.04127535966314586',), 1374796459: ('0.04127535966314586',), 1374796456: ('0.04127535966314586',), 1374796453: ('0.04127535966314586',), 1374796399: ('0.04127535966314586',), 1374796358: ('0.04127535966314586',), 1374796356: ('0.04127535966314586',), 1374796350: ('0.04127535966314586',), 1374796286: ('0.04127535966314586',), 1374796224: ('0.04127535966314586',), 1374795746: ()} output_args : {1374796871: ('0.04127535966314586',), 1374796844: ('0.04127535966314586',), 1374796840: ('0.04127535966314586',), 1374796838: ('0.04127535966314586',), 1374796837: ('0.04127535966314586',), 1374796835: ('0.04127535966314586',), 1374796817: ('0.04127535966314586',), 1374796815: ('0.04127535966314586',), 1374796813: ('0.04127535966314586',), 1374796812: ('0.04127535966314586',), 1374796811: ('0.04127535966314586',), 1374796789: ('0.04127535966314586',), 1374796785: ('0.04127535966314586',), 1374796784: ('0.04127535966314586',), 1374796783: ('0.04127535966314586',), 1374796781: ('0.04127535966314586',), 1374796775: ('0.04127535966314586',), 1374796773: ('0.04127535966314586',), 1374796770: ('0.04127535966314586',), 1374796620: ('0.04127535966314586',), 1374796618: ('0.04127535966314586',), 1374796572: ('0.04127535966314586',), 1374796570: ('0.04127535966314586',), 1374796523: ('0.04127535966314586',), 1374796463: ('0.04127535966314586',), 1374796459: ('0.04127535966314586',), 1374796456: ('0.04127535966314586',), 1374796453: ('0.04127535966314586',), 1374796399: ('0.04127535966314586',), 1374796358: ('0.04127535966314586',), 1374796356: ('0.04127535966314586',), 1374796350: ('0.04127535966314586',), 1374796286: ('0.04127535966314586',), 1374796224: ('0.04127535966314586',), 1374795746: ('0.04127535966314586',), 1374795744: ('0.04127535966314586',), 1374795551: ('0.04127535966314586',)} args : 1374795746 depend.output_id : 0 input_args_next_step : {1374796871: ('0.04127535966314586',), 1374796844: ('0.04127535966314586',), 1374796840: ('0.04127535966314586',), 1374796838: ('0.04127535966314586',), 1374796837: ('0.04127535966314586',), 1374796835: ('0.04127535966314586',), 1374796817: ('0.04127535966314586',), 1374796815: ('0.04127535966314586',), 1374796813: ('0.04127535966314586',), 1374796812: ('0.04127535966314586',), 1374796811: ('0.04127535966314586',), 1374796789: ('0.04127535966314586',), 1374796785: ('0.04127535966314586',), 1374796784: ('0.04127535966314586',), 1374796783: ('0.04127535966314586',), 1374796781: ('0.04127535966314586',), 1374796775: ('0.04127535966314586',), 1374796773: ('0.04127535966314586',), 1374796770: ('0.04127535966314586',), 1374796620: ('0.04127535966314586',), 1374796618: ('0.04127535966314586',), 1374796572: ('0.04127535966314586',), 1374796570: ('0.04127535966314586',), 1374796523: ('0.04127535966314586',), 1374796463: ('0.04127535966314586',), 1374796459: ('0.04127535966314586',), 1374796456: ('0.04127535966314586',), 1374796453: ('0.04127535966314586',), 1374796399: ('0.04127535966314586',), 1374796358: ('0.04127535966314586',), 1374796356: ('0.04127535966314586',), 1374796350: ('0.04127535966314586',), 1374796286: ('0.04127535966314586',), 1374796224: ('0.04127535966314586',), 1374795746: ('0.04127535966314586',), 1374795744: ()} output_args : {1374796871: ('0.04127535966314586',), 1374796844: ('0.04127535966314586',), 1374796840: ('0.04127535966314586',), 1374796838: ('0.04127535966314586',), 1374796837: ('0.04127535966314586',), 1374796835: ('0.04127535966314586',), 1374796817: ('0.04127535966314586',), 1374796815: ('0.04127535966314586',), 1374796813: ('0.04127535966314586',), 1374796812: ('0.04127535966314586',), 1374796811: ('0.04127535966314586',), 1374796789: ('0.04127535966314586',), 1374796785: ('0.04127535966314586',), 1374796784: ('0.04127535966314586',), 1374796783: ('0.04127535966314586',), 1374796781: ('0.04127535966314586',), 1374796775: ('0.04127535966314586',), 1374796773: ('0.04127535966314586',), 1374796770: ('0.04127535966314586',), 1374796620: ('0.04127535966314586',), 1374796618: ('0.04127535966314586',), 1374796572: ('0.04127535966314586',), 1374796570: ('0.04127535966314586',), 1374796523: ('0.04127535966314586',), 1374796463: ('0.04127535966314586',), 1374796459: ('0.04127535966314586',), 1374796456: ('0.04127535966314586',), 1374796453: ('0.04127535966314586',), 1374796399: ('0.04127535966314586',), 1374796358: ('0.04127535966314586',), 1374796356: ('0.04127535966314586',), 1374796350: ('0.04127535966314586',), 1374796286: ('0.04127535966314586',), 1374796224: ('0.04127535966314586',), 1374795746: ('0.04127535966314586',), 1374795744: ('0.04127535966314586',), 1374795551: ('0.04127535966314586',)} args : 1374795744 depend.output_id : 0 input_args_next_step : {1374796871: ('0.04127535966314586',), 1374796844: ('0.04127535966314586',), 1374796840: ('0.04127535966314586',), 1374796838: ('0.04127535966314586',), 1374796837: ('0.04127535966314586',), 1374796835: ('0.04127535966314586',), 1374796817: ('0.04127535966314586',), 1374796815: ('0.04127535966314586',), 1374796813: ('0.04127535966314586',), 1374796812: ('0.04127535966314586',), 1374796811: ('0.04127535966314586',), 1374796789: ('0.04127535966314586',), 1374796785: ('0.04127535966314586',), 1374796784: ('0.04127535966314586',), 1374796783: ('0.04127535966314586',), 1374796781: ('0.04127535966314586',), 1374796775: ('0.04127535966314586',), 1374796773: ('0.04127535966314586',), 1374796770: ('0.04127535966314586',), 1374796620: ('0.04127535966314586',), 1374796618: ('0.04127535966314586',), 1374796572: ('0.04127535966314586',), 1374796570: ('0.04127535966314586',), 1374796523: ('0.04127535966314586',), 1374796463: ('0.04127535966314586',), 1374796459: ('0.04127535966314586',), 1374796456: ('0.04127535966314586',), 1374796453: ('0.04127535966314586',), 1374796399: ('0.04127535966314586',), 1374796358: ('0.04127535966314586',), 1374796356: ('0.04127535966314586',), 1374796350: ('0.04127535966314586',), 1374796286: ('0.04127535966314586',), 1374796224: ('0.04127535966314586',), 1374795746: ('0.04127535966314586',), 1374795744: ('0.04127535966314586',), 1374795551: ()} output_args : {1374796871: ('0.04127535966314586',), 1374796844: ('0.04127535966314586',), 1374796840: ('0.04127535966314586',), 1374796838: ('0.04127535966314586',), 1374796837: ('0.04127535966314586',), 1374796835: ('0.04127535966314586',), 1374796817: ('0.04127535966314586',), 1374796815: ('0.04127535966314586',), 1374796813: ('0.04127535966314586',), 1374796812: ('0.04127535966314586',), 1374796811: ('0.04127535966314586',), 1374796789: ('0.04127535966314586',), 1374796785: ('0.04127535966314586',), 1374796784: ('0.04127535966314586',), 1374796783: ('0.04127535966314586',), 1374796781: ('0.04127535966314586',), 1374796775: ('0.04127535966314586',), 1374796773: ('0.04127535966314586',), 1374796770: ('0.04127535966314586',), 1374796620: ('0.04127535966314586',), 1374796618: ('0.04127535966314586',), 1374796572: ('0.04127535966314586',), 1374796570: ('0.04127535966314586',), 1374796523: ('0.04127535966314586',), 1374796463: ('0.04127535966314586',), 1374796459: ('0.04127535966314586',), 1374796456: ('0.04127535966314586',), 1374796453: ('0.04127535966314586',), 1374796399: ('0.04127535966314586',), 1374796358: ('0.04127535966314586',), 1374796356: ('0.04127535966314586',), 1374796350: ('0.04127535966314586',), 1374796286: ('0.04127535966314586',), 1374796224: ('0.04127535966314586',), 1374795746: ('0.04127535966314586',), 1374795744: ('0.04127535966314586',), 1374795551: ('0.04127535966314586',)} args : 1374795551 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 : {25586789: [{'environnement': 25586794, 'plastique': 25586795, 'Teint_Dans_La_Masse': 25586796, 'papier': 25586797, 'Carton_brun': 25586798, 'kraft': 25586799, 'metal': 25586800, 'autre_refus': 25586801, 'cartonnette': 25586802, 'flou': 25586803, 'Carton_gris': 25586804, 'mal_croppe': 25586805}]} input_args_next_step : {1374796871: ('0.04127535966314586',), 1374796844: ('0.04127535966314586',), 1374796840: ('0.04127535966314586',), 1374796838: ('0.04127535966314586',), 1374796837: ('0.04127535966314586',), 1374796835: ('0.04127535966314586',), 1374796817: ('0.04127535966314586',), 1374796815: ('0.04127535966314586',), 1374796813: ('0.04127535966314586',), 1374796812: ('0.04127535966314586',), 1374796811: ('0.04127535966314586',), 1374796789: ('0.04127535966314586',), 1374796785: ('0.04127535966314586',), 1374796784: ('0.04127535966314586',), 1374796783: ('0.04127535966314586',), 1374796781: ('0.04127535966314586',), 1374796775: ('0.04127535966314586',), 1374796773: ('0.04127535966314586',), 1374796770: ('0.04127535966314586',), 1374796620: ('0.04127535966314586',), 1374796618: ('0.04127535966314586',), 1374796572: ('0.04127535966314586',), 1374796570: ('0.04127535966314586',), 1374796523: ('0.04127535966314586',), 1374796463: ('0.04127535966314586',), 1374796459: ('0.04127535966314586',), 1374796456: ('0.04127535966314586',), 1374796453: ('0.04127535966314586',), 1374796399: ('0.04127535966314586',), 1374796358: ('0.04127535966314586',), 1374796356: ('0.04127535966314586',), 1374796350: ('0.04127535966314586',), 1374796286: ('0.04127535966314586',), 1374796224: ('0.04127535966314586',), 1374795746: ('0.04127535966314586',), 1374795744: ('0.04127535966314586',), 1374795551: ('0.04127535966314586',), 25586789: ()} output_args : {25586789: [{'environnement': 25586794, 'plastique': 25586795, 'Teint_Dans_La_Masse': 25586796, 'papier': 25586797, 'Carton_brun': 25586798, 'kraft': 25586799, 'metal': 25586800, 'autre_refus': 25586801, 'cartonnette': 25586802, 'flou': 25586803, 'Carton_gris': 25586804, 'mal_croppe': 25586805}]} args : 25586789 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 :38, first value : ('0.04127535966314586',) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (25586789) 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 (1374796871,1374796844,1374796840,1374796838,1374796837,1374796835,1374796817,1374796815,1374796813,1374796812,1374796811,1374796789,1374796785,1374796784,1374796783,1374796781,1374796775,1374796773,1374796770,1374796620,1374796618,1374796572,1374796570,1374796523,1374796463,1374796459,1374796456,1374796453,1374796399,1374796358,1374796356,1374796350,1374796286,1374796224,1374795746,1374795744,1374795551) Found this number of photos: 37 ##### Call download_photos : nb_thread : 5 begin to download photo : 1374795551 begin to download photo : 1374796399 begin to download photo : 1374796618 begin to download photo : 1374796785 begin to download photo : 1374796837 download finish for photo 1374796837 begin to download photo : 1374796838 download finish for photo 1374795551 begin to download photo : 1374795744 download finish for photo 1374796785 begin to download photo : 1374796789 download finish for photo 1374796399 begin to download photo : 1374796453 download finish for photo 1374796618 begin to download photo : 1374796620 download finish for photo 1374796453 begin to download photo : 1374796456 download finish for photo 1374796620 begin to download photo : 1374796770 download finish for photo 1374796838 begin to download photo : 1374796840 download finish for photo 1374796789 begin to download photo : 1374796811 download finish for photo 1374795744 begin to download photo : 1374795746 download finish for photo 1374796456 begin to download photo : 1374796459 download finish for photo 1374796811 begin to download photo : 1374796812 download finish for photo 1374796840 begin to download photo : 1374796844 download finish for photo 1374795746 begin to download photo : 1374796224 download finish for photo 1374796770 begin to download photo : 1374796773 download finish for photo 1374796459 begin to download photo : 1374796463 download finish for photo 1374796773 begin to download photo : 1374796775 download finish for photo 1374796812 begin to download photo : 1374796813 download finish for photo 1374796844 begin to download photo : 1374796871 download finish for photo 1374796224 begin to download photo : 1374796286 download finish for photo 1374796463 begin to download photo : 1374796523 download finish for photo 1374796775 begin to download photo : 1374796781 download finish for photo 1374796286 begin to download photo : 1374796350 download finish for photo 1374796813 begin to download photo : 1374796815 download finish for photo 1374796871 download finish for photo 1374796523 begin to download photo : 1374796570 download finish for photo 1374796781 begin to download photo : 1374796783 download finish for photo 1374796350 begin to download photo : 1374796356 download finish for photo 1374796570 begin to download photo : 1374796572 download finish for photo 1374796815 begin to download photo : 1374796817 download finish for photo 1374796783 begin to download photo : 1374796784 download finish for photo 1374796356 begin to download photo : 1374796358 download finish for photo 1374796572 download finish for photo 1374796817 begin to download photo : 1374796835 download finish for photo 1374796784 download finish for photo 1374796358 download finish for photo 1374796835 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 : 37 ; length of list_pids : 37 ; length of list_args : 37 results_Auto_P25586789_02-08-2025_05_38_30.pdf 25586795 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=25586795 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1374796927: '1754065045_4170084_1374796837_13c6b9c76cccd141101cd51f41ee00ce_rle_crop_3900542137_0.png'} change filename to text .imagette255867951754105910/ imagette255867951754105910/1754065045_4170084_1374796837_13c6b9c76cccd141101cd51f41ee00ce_rle_crop_3900542137_0.png.png imagette255867991754105910/ imagette255868001754105910/ imagette255868011754105910/ imagette255868021754105910/ imagette255868031754105910/ imagette255868051754105910/ wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/1/dae36a96a873430bdbb32c3353ead570_91312840.png imagette255867951754105910 25586799 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=25586799 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette255867991754105910 25586800 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=25586800 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette255868001754105910 25586801 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=25586801 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette255868011754105910 25586802 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=25586802 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette255868021754105910 25586803 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=25586803 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette255868031754105910 25586805 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=25586805 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette255868051754105910 25586796 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=25586796 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1374796474: '1754064327_4157115_1374795744_bf619df8ce7c8fa8b7842f9a0bdff87a_rle_crop_3900538871_0.png', 1374796858: '1754064927_4165604_1374796784_53db361ffe7df811fde05f2295879a6a_rle_crop_3900540508_0.png', 1374796920: '1754065045_4170084_1374796837_13c6b9c76cccd141101cd51f41ee00ce_rle_crop_3900542141_0.png', 1374796921: '1754065045_4170084_1374796837_13c6b9c76cccd141101cd51f41ee00ce_rle_crop_3900542138_0.png', 1374796922: '1754065045_4170084_1374796835_7d04a5f490b13d0e2c65a0c2c9209934_rle_crop_3900542155_0.png', 1374796923: '1754065045_4170084_1374796835_7d04a5f490b13d0e2c65a0c2c9209934_rle_crop_3900542157_0.png', 1374796924: '1754065045_4170084_1374796835_7d04a5f490b13d0e2c65a0c2c9209934_rle_crop_3900542154_0.png', 1374801051: '1754068237_1683152_1374796871_45036b67df6c7141b9f3a0b398db32bc_rle_crop_3900570705_0.png', 1374801052: '1754068237_1683152_1374796871_45036b67df6c7141b9f3a0b398db32bc_rle_crop_3900570703_0.png', 1374801053: '1754068237_1683152_1374796871_45036b67df6c7141b9f3a0b398db32bc_rle_crop_3900570700_0.png', 1374801054: '1754068237_1683152_1374796871_45036b67df6c7141b9f3a0b398db32bc_rle_crop_3900570707_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/1/4aa91705de7ad9c1c478a73e28ebd407_59252258.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/1/e79cddc0233b379304e9c295b7c5dd37_73975313.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/1/ef5b2643b734aa5f7474bfee4bf52550_98507346.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/1/cb4edb738ce790a7039531975fdcbafb_85510191.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/1/27373c72dedd84a21457132eeac8da60_31394785.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/1/63e85c135e2c1c8607c1feb7b144feb5_11381839.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/1/50819fa55f294efb85231067981ae886_45763039.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/1/2d748583218aaead313b24aff69601d8_76916219.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/1/bd1c8ad97277dca8950bab8f8e240000_24680742.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/1/bf0efb7b74b4c254f84017876ddcc8fa_69241451.png change filename to text .imagette255867961754105910/ imagette255867961754105910/1754068237_1683152_1374796871_45036b67df6c7141b9f3a0b398db32bc_rle_crop_3900570705_0.png.png imagette255867961754105910/1754068237_1683152_1374796871_45036b67df6c7141b9f3a0b398db32bc_rle_crop_3900570703_0.png.png imagette255867961754105910/1754065045_4170084_1374796837_13c6b9c76cccd141101cd51f41ee00ce_rle_crop_3900542141_0.png.png imagette255867961754105910/1754065045_4170084_1374796837_13c6b9c76cccd141101cd51f41ee00ce_rle_crop_3900542138_0.png.png imagette255867961754105910/1754064327_4157115_1374795744_bf619df8ce7c8fa8b7842f9a0bdff87a_rle_crop_3900538871_0.png.png imagette255867961754105910/1754065045_4170084_1374796835_7d04a5f490b13d0e2c65a0c2c9209934_rle_crop_3900542155_0.png.png imagette255867961754105910/1754065045_4170084_1374796835_7d04a5f490b13d0e2c65a0c2c9209934_rle_crop_3900542157_0.png.png imagette255867961754105910/1754064927_4165604_1374796784_53db361ffe7df811fde05f2295879a6a_rle_crop_3900540508_0.png.png imagette255867961754105910/1754068237_1683152_1374796871_45036b67df6c7141b9f3a0b398db32bc_rle_crop_3900570700_0.png.png imagette255867961754105910/1754068237_1683152_1374796871_45036b67df6c7141b9f3a0b398db32bc_rle_crop_3900570707_0.png.png imagette255867961754105910/1754065045_4170084_1374796835_7d04a5f490b13d0e2c65a0c2c9209934_rle_crop_3900542154_0.png.png wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/1/acc31e33af16086391772482fd047f4b_7387710.png imagette255867961754105910 25586798 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=25586798 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1374796859: '1754064927_4165604_1374796783_4c1f5aa8b55ce452d3d53b7bcfc7796f_rle_crop_3900540518_0.png', 1374796926: '1754065045_4170084_1374796837_13c6b9c76cccd141101cd51f41ee00ce_rle_crop_3900542136_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/1/6b594f18243ee98a6db1aa17a97ea1a7_89589953.png change filename to text .imagette255867981754105911/ imagette255867981754105911/1754064927_4165604_1374796783_4c1f5aa8b55ce452d3d53b7bcfc7796f_rle_crop_3900540518_0.png.png imagette255867981754105911/1754065045_4170084_1374796837_13c6b9c76cccd141101cd51f41ee00ce_rle_crop_3900542136_0.png.png wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/1/d8b14c3a76a0297fa59a3d3bc0c0e9cc_15254175.png imagette255867981754105911 25586804 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=25586804 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1374796925: '1754065045_4170084_1374796835_7d04a5f490b13d0e2c65a0c2c9209934_rle_crop_3900542153_0.png'} change filename to text .imagette255868041754105911/ imagette255868041754105911/1754065045_4170084_1374796835_7d04a5f490b13d0e2c65a0c2c9209934_rle_crop_3900542153_0.png.png wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/1/accdbc7df0742809fdfe339b209db153_55101365.png imagette255868041754105911 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=25586789 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://www.fotonower.com/velours/25586806,25586807,25586808,25586809,25586810,25586811,25586812,25586813,25586814,25586815,25586816,25586817?tags=environnement,plastique,Teint_Dans_La_Masse,papier,Carton_brun,kraft,metal,autre_refus,cartonnette,flou,Carton_gris,mal_croppe your option no_mail is active, we will not send the real mail to your client args[1374796871] : ('0.04127535966314586',) no score found for photo 1374796871 We are sending mail with results at report@fotonower.com args[1374796844] : ('0.04127535966314586',) no score found for photo 1374796844 We are sending mail with results at report@fotonower.com args[1374796840] : ('0.04127535966314586',) no score found for photo 1374796840 We are sending mail with results at report@fotonower.com args[1374796838] : ('0.04127535966314586',) no score found for photo 1374796838 We are sending mail with results at report@fotonower.com args[1374796837] : ('0.04127535966314586',) no score found for photo 1374796837 We are sending mail with results at report@fotonower.com args[1374796835] : ('0.04127535966314586',) no score found for photo 1374796835 We are sending mail with results at report@fotonower.com args[1374796817] : ('0.04127535966314586',) no score found for photo 1374796817 We are sending mail with results at report@fotonower.com args[1374796815] : ('0.04127535966314586',) no score found for photo 1374796815 We are sending mail with results at report@fotonower.com args[1374796813] : ('0.04127535966314586',) no score found for photo 1374796813 We are sending mail with results at report@fotonower.com args[1374796812] : ('0.04127535966314586',) no score found for photo 1374796812 We are sending mail with results at report@fotonower.com args[1374796811] : ('0.04127535966314586',) no score found for photo 1374796811 We are sending mail with results at report@fotonower.com args[1374796789] : ('0.04127535966314586',) no score found for photo 1374796789 We are sending mail with results at report@fotonower.com args[1374796785] : ('0.04127535966314586',) no score found for photo 1374796785 We are sending mail with results at report@fotonower.com args[1374796784] : ('0.04127535966314586',) no score found for photo 1374796784 We are sending mail with results at report@fotonower.com args[1374796783] : ('0.04127535966314586',) no score found for photo 1374796783 We are sending mail with results at report@fotonower.com args[1374796781] : ('0.04127535966314586',) no score found for photo 1374796781 We are sending mail with results at report@fotonower.com args[1374796775] : ('0.04127535966314586',) no score found for photo 1374796775 We are sending mail with results at report@fotonower.com args[1374796773] : ('0.04127535966314586',) no score found for photo 1374796773 We are sending mail with results at report@fotonower.com args[1374796770] : ('0.04127535966314586',) no score found for photo 1374796770 We are sending mail with results at report@fotonower.com args[1374796620] : ('0.04127535966314586',) no score found for photo 1374796620 We are sending mail with results at report@fotonower.com args[1374796618] : ('0.04127535966314586',) no score found for photo 1374796618 We are sending mail with results at report@fotonower.com args[1374796572] : ('0.04127535966314586',) no score found for photo 1374796572 We are sending mail with results at report@fotonower.com args[1374796570] : ('0.04127535966314586',) no score found for photo 1374796570 We are sending mail with results at report@fotonower.com args[1374796523] : ('0.04127535966314586',) no score found for photo 1374796523 We are sending mail with results at report@fotonower.com args[1374796463] : ('0.04127535966314586',) no score found for photo 1374796463 We are sending mail with results at report@fotonower.com args[1374796459] : ('0.04127535966314586',) no score found for photo 1374796459 We are sending mail with results at report@fotonower.com args[1374796456] : ('0.04127535966314586',) no score found for photo 1374796456 We are sending mail with results at report@fotonower.com args[1374796453] : ('0.04127535966314586',) no score found for photo 1374796453 We are sending mail with results at report@fotonower.com args[1374796399] : ('0.04127535966314586',) no score found for photo 1374796399 We are sending mail with results at report@fotonower.com args[1374796358] : ('0.04127535966314586',) no score found for photo 1374796358 We are sending mail with results at report@fotonower.com args[1374796356] : ('0.04127535966314586',) no score found for photo 1374796356 We are sending mail with results at report@fotonower.com args[1374796350] : ('0.04127535966314586',) no score found for photo 1374796350 We are sending mail with results at report@fotonower.com args[1374796286] : ('0.04127535966314586',) no score found for photo 1374796286 We are sending mail with results at report@fotonower.com args[1374796224] : ('0.04127535966314586',) no score found for photo 1374796224 We are sending mail with results at report@fotonower.com args[1374795746] : ('0.04127535966314586',) no score found for photo 1374795746 We are sending mail with results at report@fotonower.com args[1374795744] : ('0.04127535966314586',) no score found for photo 1374795744 We are sending mail with results at report@fotonower.com args[1374795551] : ('0.04127535966314586',) no score found for photo 1374795551 We are sending mail with results at report@fotonower.com refus_total : 0.04127535966314586 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=25586789 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_P25586789_02-08-2025_05_38_30.pdf results_Auto_P25586789_02-08-2025_05_38_30.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25586789_02-08-2025_05_38_30.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','25586789','results_Auto_P25586789_02-08-2025_05_38_30.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25586789_02-08-2025_05_38_30.pdf','pdf','','0.29','0.04127535966314586') After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([25586789]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1374796871, 1374796844, 1374796840, 1374796838, 1374796837, 1374796835, 1374796817, 1374796815, 1374796813, 1374796812, 1374796811, 1374796789, 1374796785, 1374796784, 1374796783, 1374796781, 1374796775, 1374796773, 1374796770, 1374796620, 1374796618, 1374796572, 1374796570, 1374796523, 1374796463, 1374796459, 1374796456, 1374796453, 1374796399, 1374796358, 1374796356, 1374796350, 1374796286, 1374796224, 1374795746, 1374795744, 1374795551] map_info['map_portfolio_photo'] : {25586789: [1374796871, 1374796844, 1374796840, 1374796838, 1374796837, 1374796835, 1374796817, 1374796815, 1374796813, 1374796812, 1374796811, 1374796789, 1374796785, 1374796784, 1374796783, 1374796781, 1374796775, 1374796773, 1374796770, 1374796620, 1374796618, 1374796572, 1374796570, 1374796523, 1374796463, 1374796459, 1374796456, 1374796453, 1374796399, 1374796358, 1374796356, 1374796350, 1374796286, 1374796224, 1374795746, 1374795744, 1374795551]} final : False mtd_id 4302 list_pids : [1374796871, 1374796844, 1374796840, 1374796838, 1374796837, 1374796835, 1374796817, 1374796815, 1374796813, 1374796812, 1374796811, 1374796789, 1374796785, 1374796784, 1374796783, 1374796781, 1374796775, 1374796773, 1374796770, 1374796620, 1374796618, 1374796572, 1374796570, 1374796523, 1374796463, 1374796459, 1374796456, 1374796453, 1374796399, 1374796358, 1374796356, 1374796350, 1374796286, 1374796224, 1374795746, 1374795744, 1374795551] 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, '3426748') ('4302', '25586789', '1374796871', None, None, None, None, None, '3426748') ('4302', None, None, None, None, None, None, None, '3426748') ('4302', '25586789', '1374796844', None, None, None, None, None, '3426748') ('4302', None, None, None, None, None, None, None, '3426748') ('4302', '25586789', '1374796840', None, None, None, None, None, '3426748') ('4302', None, None, None, None, None, None, None, '3426748') ('4302', '25586789', '1374796838', None, None, None, None, None, '3426748') ('4302', None, None, None, None, None, None, None, '3426748') ('4302', '25586789', '1374796837', None, None, None, None, None, '3426748') ('4302', None, None, None, None, None, None, None, '3426748') ('4302', '25586789', '1374796835', None, None, None, None, None, '3426748') ('4302', None, None, None, None, None, None, None, '3426748') ('4302', '25586789', '1374796817', None, None, None, None, None, '3426748') ('4302', None, None, None, None, None, None, None, '3426748') ('4302', '25586789', '1374796815', None, None, None, None, None, '3426748') ('4302', None, None, None, None, None, None, None, '3426748') ('4302', '25586789', '1374796813', None, None, None, None, None, '3426748') ('4302', None, None, None, None, None, None, None, '3426748') ('4302', '25586789', '1374796812', None, None, None, None, None, '3426748') ('4302', None, None, None, None, None, None, None, '3426748') ('4302', '25586789', '1374796811', None, None, None, None, None, '3426748') ('4302', None, None, None, None, None, None, None, '3426748') ('4302', '25586789', '1374796789', None, None, None, None, None, '3426748') ('4302', None, None, None, None, None, None, None, '3426748') ('4302', '25586789', '1374796785', None, None, None, None, None, '3426748') ('4302', None, None, None, None, None, None, None, '3426748') ('4302', '25586789', '1374796784', None, None, None, None, None, '3426748') ('4302', None, None, None, None, None, None, None, '3426748') ('4302', '25586789', '1374796783', None, None, None, None, None, '3426748') ('4302', None, None, None, None, None, None, None, '3426748') ('4302', '25586789', '1374796781', None, None, None, None, None, '3426748') ('4302', None, None, None, None, None, None, None, '3426748') ('4302', '25586789', '1374796775', None, None, None, None, None, '3426748') ('4302', None, None, None, None, None, None, None, '3426748') ('4302', '25586789', '1374796773', None, None, None, None, None, '3426748') ('4302', None, None, None, None, None, None, None, '3426748') ('4302', '25586789', '1374796770', None, None, None, None, None, '3426748') ('4302', None, None, None, None, None, None, None, '3426748') ('4302', '25586789', '1374796620', None, None, None, None, None, '3426748') ('4302', None, None, None, None, None, None, None, '3426748') ('4302', '25586789', '1374796618', None, None, None, None, None, '3426748') ('4302', None, None, None, None, None, None, None, '3426748') ('4302', '25586789', '1374796572', None, None, None, None, None, '3426748') ('4302', None, None, None, None, None, None, None, '3426748') ('4302', '25586789', '1374796570', None, None, None, None, None, '3426748') ('4302', None, None, None, None, None, None, None, '3426748') ('4302', '25586789', '1374796523', None, None, None, None, None, '3426748') ('4302', None, None, None, None, None, None, None, '3426748') ('4302', '25586789', '1374796463', None, None, None, None, None, '3426748') ('4302', None, None, None, None, None, None, None, '3426748') ('4302', '25586789', '1374796459', None, None, None, None, None, '3426748') ('4302', None, None, None, None, None, None, None, '3426748') ('4302', '25586789', '1374796456', None, None, None, None, None, '3426748') ('4302', None, None, None, None, None, None, None, '3426748') ('4302', '25586789', '1374796453', None, None, None, None, None, '3426748') ('4302', None, None, None, None, None, None, None, '3426748') ('4302', '25586789', '1374796399', None, None, None, None, None, '3426748') ('4302', None, None, None, None, None, None, None, '3426748') ('4302', '25586789', '1374796358', None, None, None, None, None, '3426748') ('4302', None, None, None, None, None, None, None, '3426748') ('4302', '25586789', '1374796356', None, None, None, None, None, '3426748') ('4302', None, None, None, None, None, None, None, '3426748') ('4302', '25586789', '1374796350', None, None, None, None, None, '3426748') ('4302', None, None, None, None, None, None, None, '3426748') ('4302', '25586789', '1374796286', None, None, None, None, None, '3426748') ('4302', None, None, None, None, None, None, None, '3426748') ('4302', '25586789', '1374796224', None, None, None, None, None, '3426748') ('4302', None, None, None, None, None, None, None, '3426748') ('4302', '25586789', '1374795746', None, None, None, None, None, '3426748') ('4302', None, None, None, None, None, None, None, '3426748') ('4302', '25586789', '1374795744', None, None, None, None, None, '3426748') ('4302', None, None, None, None, None, None, None, '3426748') ('4302', '25586789', '1374795551', None, None, None, None, None, '3426748') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 37 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', '25586789', '1374796871', None, None, None, None, None, '3426748'), ('4302', '25586789', '1374796844', None, None, None, None, None, '3426748'), ('4302', '25586789', '1374796840', None, None, None, None, None, '3426748'), ('4302', '25586789', '1374796838', None, None, None, None, None, '3426748'), ('4302', '25586789', '1374796837', None, None, None, None, None, '3426748'), ('4302', '25586789', '1374796835', None, None, None, None, None, '3426748'), ('4302', '25586789', '1374796817', None, None, None, None, None, '3426748'), ('4302', '25586789', '1374796815', None, None, None, None, None, '3426748'), ('4302', '25586789', '1374796813', None, None, None, None, None, '3426748'), ('4302', '25586789', '1374796812', None, None, None, None, None, '3426748'), ('4302', '25586789', '1374796811', None, None, None, None, None, '3426748'), ('4302', '25586789', '1374796789', None, None, None, None, None, '3426748'), ('4302', '25586789', '1374796785', None, None, None, None, None, '3426748'), ('4302', '25586789', '1374796784', None, None, None, None, None, '3426748'), ('4302', '25586789', '1374796783', None, None, None, None, None, '3426748'), ('4302', '25586789', '1374796781', None, None, None, None, None, '3426748'), ('4302', '25586789', '1374796775', None, None, None, None, None, '3426748'), ('4302', '25586789', '1374796773', None, None, None, None, None, '3426748'), ('4302', '25586789', '1374796770', None, None, None, None, None, '3426748'), ('4302', '25586789', '1374796620', None, None, None, None, None, '3426748'), ('4302', '25586789', '1374796618', None, None, None, None, None, '3426748'), ('4302', '25586789', '1374796572', None, None, None, None, None, '3426748'), ('4302', '25586789', '1374796570', None, None, None, None, None, '3426748'), ('4302', '25586789', '1374796523', None, None, None, None, None, '3426748'), ('4302', '25586789', '1374796463', None, None, None, None, None, '3426748'), ('4302', '25586789', '1374796459', None, None, None, None, None, '3426748'), ('4302', '25586789', '1374796456', None, None, None, None, None, '3426748'), ('4302', '25586789', '1374796453', None, None, None, None, None, '3426748'), ('4302', '25586789', '1374796399', None, None, None, None, None, '3426748'), ('4302', '25586789', '1374796358', None, None, None, None, None, '3426748'), ('4302', '25586789', '1374796356', None, None, None, None, None, '3426748'), ('4302', '25586789', '1374796350', None, None, None, None, None, '3426748'), ('4302', '25586789', '1374796286', None, None, None, None, None, '3426748'), ('4302', '25586789', '1374796224', None, None, None, None, None, '3426748'), ('4302', '25586789', '1374795746', None, None, None, None, None, '3426748'), ('4302', '25586789', '1374795744', None, None, None, None, None, '3426748'), ('4302', '25586789', '1374795551', None, None, None, None, None, '3426748')] time used for this insertion : 0.24393653869628906 save_final save missing photos in datou_result : time spend for datou_step_exec : 4.5339133739471436 time spend to save output : 0.2443251609802246 total time spend for step 4 : 4.778238534927368 step5:split_time_score Sat Aug 2 05:38:33 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 : ['25586789'] 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 : [('25586789',)] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (25586789) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {1374796837: {'path': 'temp/1754105909_2855919_1374796837_13c6b9c76cccd141101cd51f41ee00ce.jpg', 'extension': 'jpg'}, 1374796838: {'path': 'temp/1754105909_2855919_1374796838_c48a06ea46911f17626e57bbcd47265b.jpg', 'extension': 'jpg'}, 1374796840: {'path': 'temp/1754105909_2855919_1374796840_7a2df933659bb815b46eabb2e7e7e88f.jpg', 'extension': 'jpg'}, 1374796844: {'path': 'temp/1754105909_2855919_1374796844_50a669a09062a9fbee966cc14ae20d48.jpg', 'extension': 'jpg'}, 1374796871: {'path': 'temp/1754105909_2855919_1374796871_45036b67df6c7141b9f3a0b398db32bc.jpg', 'extension': 'jpg'}, 1374796399: {'path': 'temp/1754105909_2855919_1374796399_8698ca3ea291b57ab2ed02b7352011a0.jpg', 'extension': 'jpg'}, 1374796453: {'path': 'temp/1754105909_2855919_1374796453_36b71f02f80615f6cf902fa4b1a636fd.jpg', 'extension': 'jpg'}, 1374796456: {'path': 'temp/1754105909_2855919_1374796456_dd0cdf9e82541a2fc6425e7e9c3a4f50.jpg', 'extension': 'jpg'}, 1374796459: {'path': 'temp/1754105909_2855919_1374796459_87075733ce995daa94c21bbf46515f17.jpg', 'extension': 'jpg'}, 1374796463: {'path': 'temp/1754105909_2855919_1374796463_4b4612171ee8b9a83a5ce9fab6146a28.jpg', 'extension': 'jpg'}, 1374796523: {'path': 'temp/1754105909_2855919_1374796523_50d56787c80d86dde3ec441bc0587ad6.jpg', 'extension': 'jpg'}, 1374796570: {'path': 'temp/1754105909_2855919_1374796570_a2ddc948fc1d0c0cd1bd7852b772cd1e.jpg', 'extension': 'jpg'}, 1374796572: {'path': 'temp/1754105909_2855919_1374796572_73a72de2266352af54aa78846e5151d8.jpg', 'extension': 'jpg'}, 1374796618: {'path': 'temp/1754105909_2855919_1374796618_b85ba92bfd6cad410dbe2ac1bdf6d6e4.jpg', 'extension': 'jpg'}, 1374796620: {'path': 'temp/1754105909_2855919_1374796620_59612a9e03a0c6d7c00deecdd0116819.jpg', 'extension': 'jpg'}, 1374796770: {'path': 'temp/1754105909_2855919_1374796770_fbffe11773dab1cde62e9158fe6a7921.jpg', 'extension': 'jpg'}, 1374796773: {'path': 'temp/1754105909_2855919_1374796773_046b277f0c7e981dc2090e226c30aa98.jpg', 'extension': 'jpg'}, 1374796775: {'path': 'temp/1754105909_2855919_1374796775_5333459e03a18b4776898fa18b63a73a.jpg', 'extension': 'jpg'}, 1374796781: {'path': 'temp/1754105909_2855919_1374796781_1a983f251e90e35eb72d8fdf44fb1224.jpg', 'extension': 'jpg'}, 1374796783: {'path': 'temp/1754105909_2855919_1374796783_4c1f5aa8b55ce452d3d53b7bcfc7796f.jpg', 'extension': 'jpg'}, 1374796784: {'path': 'temp/1754105909_2855919_1374796784_53db361ffe7df811fde05f2295879a6a.jpg', 'extension': 'jpg'}, 1374795551: {'path': 'temp/1754105909_2855919_1374795551_173caf918598154c3b4eca1403277338.jpg', 'extension': 'jpg'}, 1374795744: {'path': 'temp/1754105909_2855919_1374795744_bf619df8ce7c8fa8b7842f9a0bdff87a.jpg', 'extension': 'jpg'}, 1374795746: {'path': 'temp/1754105909_2855919_1374795746_b3105c64f0ed345f0231e402c19957cf.jpg', 'extension': 'jpg'}, 1374796224: {'path': 'temp/1754105909_2855919_1374796224_ca3e50540ad303bcc4552532ee824dfe.jpg', 'extension': 'jpg'}, 1374796286: {'path': 'temp/1754105909_2855919_1374796286_2ca5cc53d9951cbceea38524cca275c6.jpg', 'extension': 'jpg'}, 1374796350: {'path': 'temp/1754105909_2855919_1374796350_58ea0b008fc3894f7f5dd602c8c0ac38.jpg', 'extension': 'jpg'}, 1374796356: {'path': 'temp/1754105909_2855919_1374796356_7a8f93ee3e029c144d54a75b65c8d402.jpg', 'extension': 'jpg'}, 1374796358: {'path': 'temp/1754105909_2855919_1374796358_e267ec6a55259ee1e82e4afbb33dc7be.jpg', 'extension': 'jpg'}, 1374796785: {'path': 'temp/1754105909_2855919_1374796785_45833480ec700f6ebad83bc13a388a1f.jpg', 'extension': 'jpg'}, 1374796789: {'path': 'temp/1754105909_2855919_1374796789_3a27adda7955739ab9c07b36f3072fad.jpg', 'extension': 'jpg'}, 1374796811: {'path': 'temp/1754105909_2855919_1374796811_e0a899888d82bac7a4da9e58e829ffc1.jpg', 'extension': 'jpg'}, 1374796812: {'path': 'temp/1754105909_2855919_1374796812_7e681e474bc63f75a832bbb75042b125.jpg', 'extension': 'jpg'}, 1374796813: {'path': 'temp/1754105909_2855919_1374796813_765000902651363ecfa1646be4f12af4.jpg', 'extension': 'jpg'}, 1374796815: {'path': 'temp/1754105909_2855919_1374796815_3e2e5d33737bc35a81b9db705e531c0c.jpg', 'extension': 'jpg'}, 1374796817: {'path': 'temp/1754105909_2855919_1374796817_91c6eea4657e968bd89cb7ad66d16032.jpg', 'extension': 'jpg'}, 1374796835: {'path': 'temp/1754105909_2855919_1374796835_7d04a5f490b13d0e2c65a0c2c9209934.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 = 25586789; (('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 = 25586789 group by h (('18', 37),) 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=25586789 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 (25586789) 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 (25586789) AND cps.thcl in (758) order by cps.score desc LIMIT 0, 100000 ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 01082025 25586789 Nombre de photos uploadées : 37 / 23040 (0%) 01082025 25586789 Nombre de photos taguées (types de déchets): 0 / 37 (0%) 01082025 25586789 Nombre de photos taguées (volume) : 0 / 37 (0%) [{'photo_id': 1374795551, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/1/173caf918598154c3b4eca1403277338.jpg', 'username': None, 'uploaded_at': 1754064068, 'text': 'image_01082025_18_00_24_10137.jpg'}, {'photo_id': 1374795746, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/1/b3105c64f0ed345f0231e402c19957cf.jpg', 'username': None, 'uploaded_at': 1754064187, 'text': 'image_01082025_18_02_04_010142m0.jpg 1e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1374795744, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/1/bf619df8ce7c8fa8b7842f9a0bdff87a.jpg', 'username': None, 'uploaded_at': 1754064187, 'text': 'image_01082025_18_02_43_009124m0.jpg 2e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1374796399, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/1/8698ca3ea291b57ab2ed02b7352011a0.jpg', 'username': None, 'uploaded_at': 1754064247, 'text': 'image_01082025_18_02_54_010135m0.jpg 3.0000000000000004e-05 for time 1, id_amount 3 this amount prod time diff : 1e-05'}] 0 [] elapsed_time : load_data_split_time_score 1.6689300537109375e-06 elapsed_time : order_list_meta_photo_and_scores 4.76837158203125e-06 ????????????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.0016527175903320312 INSERT INTO `MTRPhoto`.`dashboard_entry_day` (`dashboard_place_id`, `mtr_portfolio_id`, `date`) VALUES ( 10, 25586789, '2025-08-01' ) 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-01' ; INSERT INTO `MTRPhoto`.`dashboard_run_ids` (`dashboard_entry_day`, `mtr_user_id`, `misc_info`) VALUES (2042351,979,"{}"); Catched exception ! Connect or reconnect ! elapsed_time : insert_dashboard_record_day_entry 0.20482206344604492 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= 2042351 AND ded.last_run_id=dri.id AND dri.dashboard_entry_day=ded.id AND dri.id=dr.dashboard_run_id [{'dashboat_entry_day': 2042351, 'dashboard_run_id': 2058305, 'mtr_portfolio_id': 25567995, 'dashboard_result_id': 13500696, '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_P25567995_02-08-2025_05_34_37.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25568034, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25568035, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25568036, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25568037, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25568038, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25568039, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25568040, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25568041, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25568042, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25568043, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25568044, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25568045, 'pht': 3726}}"}, {'dashboat_entry_day': 2042351, 'dashboard_run_id': 2058305, 'mtr_portfolio_id': 25568659, 'dashboard_result_id': 13500697, '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_P25568659_02-08-2025_05_34_33.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25568669, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25568670, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25568671, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25568672, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25568673, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25568674, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25568675, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25568676, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25568677, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25568678, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25568679, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25568680, 'pht': 3726}}"}, {'dashboat_entry_day': 2042351, 'dashboard_run_id': 2058305, 'mtr_portfolio_id': 25569147, 'dashboard_result_id': 13500698, '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_P25569147_02-08-2025_05_35_01.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25569174, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25569175, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25569176, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25569177, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25569178, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25569179, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25569180, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25569181, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25569182, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25569183, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25569184, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25569185, 'pht': 3726}}"}, {'dashboat_entry_day': 2042351, 'dashboard_run_id': 2058305, 'mtr_portfolio_id': 25569639, 'dashboard_result_id': 13500699, '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_P25569639_02-08-2025_05_35_33.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25569685, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25569686, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25569687, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25569688, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25569689, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25569690, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25569691, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25569692, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25569693, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25569694, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25569695, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25569696, 'pht': 3726}}"}, {'dashboat_entry_day': 2042351, 'dashboard_run_id': 2058305, 'mtr_portfolio_id': 25571011, 'dashboard_result_id': 13500700, '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_P25571011_02-08-2025_05_35_32.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25571015, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25571016, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25571017, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25571018, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25571019, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25571020, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25571021, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25571022, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25571023, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25571024, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25571025, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25571026, 'pht': 3726}}"}, {'dashboat_entry_day': 2042351, 'dashboard_run_id': 2058305, 'mtr_portfolio_id': 25571213, 'dashboard_result_id': 13500701, '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_P25571213_02-08-2025_05_36_03.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25571224, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25571225, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25571226, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25571227, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25571228, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25571229, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25571230, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25571231, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25571232, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25571233, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25571234, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25571235, 'pht': 3726}}"}, {'dashboat_entry_day': 2042351, 'dashboard_run_id': 2058305, 'mtr_portfolio_id': 25571522, 'dashboard_result_id': 13500702, '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_P25571522_02-08-2025_05_36_34.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 25571552, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25571553, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25571554, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25571555, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25571556, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25571557, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25571558, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25571559, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25571560, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25571561, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25571562, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25571563, 'pht': 3726}}"}, {'dashboat_entry_day': 2042351, 'dashboard_run_id': 2058305, 'mtr_portfolio_id': 25572121, 'dashboard_result_id': 13500703, '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_P25572121_02-08-2025_05_37_03.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25572156, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25572157, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25572158, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25572159, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25572160, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25572161, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25572162, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25572163, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25572164, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25572165, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25572166, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25572167, 'pht': 3726}}"}, {'dashboat_entry_day': 2042351, 'dashboard_run_id': 2058305, 'mtr_portfolio_id': 25572601, 'dashboard_result_id': 13500704, '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_P25572601_02-08-2025_05_37_32.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25572609, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25572610, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25572611, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25572612, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25572613, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25572614, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25572615, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25572616, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25572617, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25572618, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25572619, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25572620, 'pht': 3726}}"}, {'dashboat_entry_day': 2042351, 'dashboard_run_id': 2058305, 'mtr_portfolio_id': 25573095, 'dashboard_result_id': 13500705, '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_P25573095_02-08-2025_05_37_32.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 25573114, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25573115, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25573116, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25573117, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25573118, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25573119, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25573120, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25573121, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25573122, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25573123, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25573124, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25573125, 'pht': 3726}}"}, {'dashboat_entry_day': 2042351, 'dashboard_run_id': 2058305, 'mtr_portfolio_id': 25573629, 'dashboard_result_id': 13500706, '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_P25573629_02-08-2025_05_38_03.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25573674, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25573675, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25573676, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25573677, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25573678, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25573679, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25573680, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25573681, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25573682, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25573683, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25573684, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25573685, 'pht': 3726}}"}, {'dashboat_entry_day': 2042351, 'dashboard_run_id': 2058305, 'mtr_portfolio_id': 25586789, 'dashboard_result_id': 13500707, '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_P25586789_01-08-2025_18_18_59.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25586794, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25586795, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25586796, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25586797, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25586798, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25586799, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25586800, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25586801, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25586802, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25586803, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25586804, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25586805, 'pht': 3726}}"}, {'dashboat_entry_day': 2042351, 'dashboard_run_id': 2058305, 'mtr_portfolio_id': 25587115, 'dashboard_result_id': 13500708, '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_P25587115_01-08-2025_18_33_27.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25587126, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25587127, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25587128, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25587129, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25587130, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25587131, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25587132, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25587133, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25587134, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25587135, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25587136, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25587137, 'pht': 3726}}"}, {'dashboat_entry_day': 2042351, 'dashboard_run_id': 2058305, 'mtr_portfolio_id': 25587406, 'dashboard_result_id': 13500709, '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_P25587406_01-08-2025_18_47_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25587414, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25587415, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25587416, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25587417, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25587418, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25587419, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25587420, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25587421, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25587422, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25587423, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25587424, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25587425, 'pht': 3726}}"}, {'dashboat_entry_day': 2042351, 'dashboard_run_id': 2058305, 'mtr_portfolio_id': 25587787, 'dashboard_result_id': 13500710, '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_P25587787_01-08-2025_19_01_58.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 25587831, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25587832, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25587833, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25587834, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25587835, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25587836, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25587837, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25587838, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25587839, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25587840, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25587841, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25587842, 'pht': 3726}}"}, {'dashboat_entry_day': 2042351, 'dashboard_run_id': 2058305, 'mtr_portfolio_id': 25588113, 'dashboard_result_id': 13500711, '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_P25588113_01-08-2025_19_18_59.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25588150, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25588151, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25588152, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25588153, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25588154, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25588155, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25588156, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25588157, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25588158, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25588159, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25588160, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25588161, 'pht': 3726}}"}, {'dashboat_entry_day': 2042351, 'dashboard_run_id': 2058305, 'mtr_portfolio_id': 25588582, 'dashboard_result_id': 13500712, '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_P25588582_01-08-2025_19_32_57.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 25588609, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25588610, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25588611, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25588612, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25588613, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25588614, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25588615, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25588616, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25588618, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25588619, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25588620, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25588621, 'pht': 3726}}"}, {'dashboat_entry_day': 2042351, 'dashboard_run_id': 2058305, 'mtr_portfolio_id': 25588931, 'dashboard_result_id': 13500713, '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_P25588931_01-08-2025_19_46_58.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25588972, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25588973, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25588974, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25588975, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25588976, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25588977, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25588978, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25588980, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25588981, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25588982, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25588983, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25588984, 'pht': 3726}}"}, {'dashboat_entry_day': 2042351, 'dashboard_run_id': 2058305, 'mtr_portfolio_id': 25589378, 'dashboard_result_id': 13500714, '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_P25589378_01-08-2025_20_05_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25589415, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25589416, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25589417, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25589418, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25589419, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25589420, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25589421, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25589422, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25589423, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25589424, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25589425, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25589426, 'pht': 3726}}"}, {'dashboat_entry_day': 2042351, 'dashboard_run_id': 2058305, 'mtr_portfolio_id': 25589972, 'dashboard_result_id': 13500715, '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_P25589972_01-08-2025_20_17_01.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25589977, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25589978, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25589979, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25589980, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25589981, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25589982, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25589983, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25589984, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25589985, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25589986, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25589987, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25589988, 'pht': 3726}}"}, {'dashboat_entry_day': 2042351, 'dashboard_run_id': 2058305, 'mtr_portfolio_id': 25590235, 'dashboard_result_id': 13500716, '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_P25590235_01-08-2025_20_32_58.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25590263, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25590264, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25590265, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25590266, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25590267, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25590268, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25590270, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25590271, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25590272, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25590273, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25590274, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25590275, 'pht': 3726}}"}, {'dashboat_entry_day': 2042351, 'dashboard_run_id': 2058305, 'mtr_portfolio_id': 25590682, 'dashboard_result_id': 13500717, '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_P25590682_01-08-2025_20_46_57.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25590709, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25590710, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25590712, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25590713, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25590714, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25590715, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25590716, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25590717, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25590718, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25590719, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25590720, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25590721, 'pht': 3726}}"}, {'dashboat_entry_day': 2042351, 'dashboard_run_id': 2058305, 'mtr_portfolio_id': 25591099, 'dashboard_result_id': 13500718, '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_P25591099_01-08-2025_21_04_58.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25591117, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25591118, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25591119, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25591120, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25591121, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25591122, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25591123, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25591124, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25591125, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25591126, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25591127, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25591128, 'pht': 3726}}"}, {'dashboat_entry_day': 2042351, 'dashboard_run_id': 2058305, 'mtr_portfolio_id': 25591596, 'dashboard_result_id': 13500719, '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_P25591596_01-08-2025_21_17_01.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25591640, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25591641, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25591642, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25591643, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25591644, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25591645, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25591646, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25591648, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25591649, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25591650, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25591651, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25591652, 'pht': 3726}}"}, {'dashboat_entry_day': 2042351, 'dashboard_run_id': 2058305, 'mtr_portfolio_id': 25591932, 'dashboard_result_id': 13500720, '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_P25591932_01-08-2025_21_33_01.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 25591979, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25591980, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25591981, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25591982, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25591983, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25591984, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25591985, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25591986, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25591987, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25591988, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25591989, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25591990, 'pht': 3726}}"}, {'dashboat_entry_day': 2042351, 'dashboard_run_id': 2058305, 'mtr_portfolio_id': 25592301, 'dashboard_result_id': 13500721, '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_P25592301_01-08-2025_21_47_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25592311, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25592312, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25592313, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25592314, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25592315, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25592316, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25592317, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25592318, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25592319, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25592320, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25592321, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25592322, 'pht': 3726}}"}, {'dashboat_entry_day': 2042351, 'dashboard_run_id': 2058305, 'mtr_portfolio_id': 25592591, 'dashboard_result_id': 13500722, '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_P25592591_02-08-2025_00_01_29.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25592608, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25592609, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25592610, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25592611, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25592612, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25592613, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25592614, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25592615, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25592616, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25592617, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25592618, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25592619, 'pht': 3726}}"}, {'dashboat_entry_day': 2042351, 'dashboard_run_id': 2058305, 'mtr_portfolio_id': 25594611, 'dashboard_result_id': 13500723, '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_P25594611_01-08-2025_23_18_58.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25594612, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25594613, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25594614, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25594615, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25594616, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25594617, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25594618, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25594619, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25594620, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25594621, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25594622, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25594623, 'pht': 3726}}"}, {'dashboat_entry_day': 2042351, 'dashboard_run_id': 2058305, 'mtr_portfolio_id': 25594738, 'dashboard_result_id': 13500724, '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_P25594738_01-08-2025_23_33_26.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 25594746, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25594747, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25594748, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25594749, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25594750, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25594751, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25594752, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25594753, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25594754, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25594755, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25594756, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25594757, 'pht': 3726}}"}, {'dashboat_entry_day': 2042351, 'dashboard_run_id': 2058305, 'mtr_portfolio_id': 25594961, 'dashboard_result_id': 13500725, '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_P25594961_01-08-2025_23_49_30.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25594963, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25594964, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25594965, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25594966, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25594967, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25594968, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25594969, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25594970, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25594971, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25594972, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25594973, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25594974, 'pht': 3726}}"}, {'dashboat_entry_day': 2042351, 'dashboard_run_id': 2058305, 'mtr_portfolio_id': 25595132, 'dashboard_result_id': 13500726, '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_P25595132_02-08-2025_00_06_01.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 25595136, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25595137, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25595138, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25595139, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25595140, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25595141, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25595142, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25595143, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25595144, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25595145, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25595146, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25595147, '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 = 25567995 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': 3426737, 'mtr_portfolio_id': 25567995, 'created_at': datetime.datetime(2025, 8, 2, 5, 34, 33), 'result': '0.026055689320145483', 'result_long': None, 'result_double': None}] Qualite : 0.026055689320145483 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25567995 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25567995_02-08-2025_05_34_37.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25567995 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_P25567995_02-08-2025_05_34_37.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25568034, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25568035, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25568036, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25568037, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25568038, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25568039, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25568040, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25568041, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25568042, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25568043, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25568044, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25568045, 'pht': 3726}}" where mtr_portfolio_id = 25567995 and dashboard_run_id = 2058305 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`=25567995 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13500696, 0.026055689320145483, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25567995_02-08-2025_05_34_37.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25568034, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25568035, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25568036, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25568037, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25568038, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25568039, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25568040, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25568041, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25568042, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25568043, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25568044, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25568045, '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 = 25568659 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': 3426738, 'mtr_portfolio_id': 25568659, 'created_at': datetime.datetime(2025, 8, 2, 5, 34, 29), 'result': '0.06754607107006089', 'result_long': None, 'result_double': None}] Qualite : 0.06754607107006089 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25568659 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25568659_02-08-2025_05_34_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25568659 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_P25568659_02-08-2025_05_34_33.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25568669, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25568670, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25568671, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25568672, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25568673, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25568674, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25568675, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25568676, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25568677, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25568678, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25568679, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25568680, 'pht': 3726}}" where mtr_portfolio_id = 25568659 and dashboard_run_id = 2058305 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`=25568659 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13500697, 0.06754607107006089, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25568659_02-08-2025_05_34_33.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25568669, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25568670, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25568671, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25568672, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25568673, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25568674, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25568675, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25568676, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25568677, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25568678, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25568679, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25568680, '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 = 25569147 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': 3426739, 'mtr_portfolio_id': 25569147, 'created_at': datetime.datetime(2025, 8, 2, 5, 34, 58), 'result': '0.042794339210927464', 'result_long': None, 'result_double': None}] Qualite : 0.042794339210927464 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25569147 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25569147_02-08-2025_05_35_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25569147 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_P25569147_02-08-2025_05_35_01.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25569174, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25569175, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25569176, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25569177, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25569178, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25569179, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25569180, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25569181, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25569182, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25569183, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25569184, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25569185, 'pht': 3726}}" where mtr_portfolio_id = 25569147 and dashboard_run_id = 2058305 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`=25569147 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13500698, 0.042794339210927464, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25569147_02-08-2025_05_35_01.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25569174, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25569175, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25569176, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25569177, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25569178, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25569179, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25569180, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25569181, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25569182, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25569183, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25569184, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25569185, '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 = 25569639 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': 3426740, 'mtr_portfolio_id': 25569639, 'created_at': datetime.datetime(2025, 8, 2, 5, 35, 28), 'result': '0.03938805140318908', 'result_long': None, 'result_double': None}] Qualite : 0.03938805140318908 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25569639 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25569639_02-08-2025_05_35_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25569639 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_P25569639_02-08-2025_05_35_33.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25569685, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25569686, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25569687, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25569688, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25569689, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25569690, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25569691, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25569692, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25569693, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25569694, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25569695, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25569696, 'pht': 3726}}" where mtr_portfolio_id = 25569639 and dashboard_run_id = 2058305 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`=25569639 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13500699, 0.03938805140318908, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25569639_02-08-2025_05_35_33.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25569685, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25569686, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25569687, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25569688, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25569689, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25569690, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25569691, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25569692, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25569693, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25569694, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25569695, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25569696, '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 = 25571011 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': 3426741, 'mtr_portfolio_id': 25571011, 'created_at': datetime.datetime(2025, 8, 2, 5, 35, 29), 'result': '0.03884968021254208', 'result_long': None, 'result_double': None}] Qualite : 0.03884968021254208 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25571011 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25571011_02-08-2025_05_35_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25571011 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_P25571011_02-08-2025_05_35_32.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25571015, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25571016, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25571017, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25571018, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25571019, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25571020, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25571021, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25571022, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25571023, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25571024, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25571025, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25571026, 'pht': 3726}}" where mtr_portfolio_id = 25571011 and dashboard_run_id = 2058305 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`=25571011 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13500700, 0.03884968021254208, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25571011_02-08-2025_05_35_32.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25571015, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25571016, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25571017, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25571018, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25571019, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25571020, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25571021, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25571022, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25571023, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25571024, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25571025, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25571026, '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 = 25571213 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': 3426742, 'mtr_portfolio_id': 25571213, 'created_at': datetime.datetime(2025, 8, 2, 5, 36), 'result': '0.027498910684846993', 'result_long': None, 'result_double': None}] Qualite : 0.027498910684846993 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25571213 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25571213_02-08-2025_05_36_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25571213 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_P25571213_02-08-2025_05_36_03.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25571224, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25571225, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25571226, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25571227, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25571228, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25571229, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25571230, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25571231, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25571232, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25571233, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25571234, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25571235, 'pht': 3726}}" where mtr_portfolio_id = 25571213 and dashboard_run_id = 2058305 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`=25571213 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13500701, 0.027498910684846993, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25571213_02-08-2025_05_36_03.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25571224, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25571225, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25571226, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25571227, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25571228, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25571229, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25571230, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25571231, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25571232, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25571233, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25571234, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25571235, '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 = 25571522 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': 3426743, 'mtr_portfolio_id': 25571522, 'created_at': datetime.datetime(2025, 8, 2, 5, 36, 31), 'result': '0.04647094268519134', 'result_long': None, 'result_double': None}] Qualite : 0.04647094268519134 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25571522 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25571522_02-08-2025_05_36_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25571522 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_P25571522_02-08-2025_05_36_34.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 25571552, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25571553, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25571554, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25571555, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25571556, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25571557, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25571558, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25571559, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25571560, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25571561, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25571562, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25571563, 'pht': 3726}}" where mtr_portfolio_id = 25571522 and dashboard_run_id = 2058305 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`=25571522 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13500702, 0.04647094268519134, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25571522_02-08-2025_05_36_34.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 25571552, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25571553, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25571554, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25571555, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25571556, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25571557, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25571558, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25571559, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25571560, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25571561, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25571562, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25571563, '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 = 25572121 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': 3426744, 'mtr_portfolio_id': 25572121, 'created_at': datetime.datetime(2025, 8, 2, 5, 37), 'result': '0.04459719776564108', 'result_long': None, 'result_double': None}] Qualite : 0.04459719776564108 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25572121 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25572121_02-08-2025_05_37_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25572121 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_P25572121_02-08-2025_05_37_03.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25572156, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25572157, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25572158, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25572159, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25572160, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25572161, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25572162, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25572163, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25572164, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25572165, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25572166, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25572167, 'pht': 3726}}" where mtr_portfolio_id = 25572121 and dashboard_run_id = 2058305 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`=25572121 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13500703, 0.04459719776564108, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25572121_02-08-2025_05_37_03.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25572156, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25572157, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25572158, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25572159, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25572160, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25572161, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25572162, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25572163, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25572164, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25572165, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25572166, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25572167, '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 = 25572601 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': 3426745, 'mtr_portfolio_id': 25572601, 'created_at': datetime.datetime(2025, 8, 2, 5, 37, 27), 'result': '0.019730636646101644', 'result_long': None, 'result_double': None}] Qualite : 0.019730636646101644 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25572601 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25572601_02-08-2025_05_37_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25572601 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_P25572601_02-08-2025_05_37_32.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25572609, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25572610, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25572611, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25572612, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25572613, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25572614, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25572615, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25572616, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25572617, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25572618, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25572619, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25572620, 'pht': 3726}}" where mtr_portfolio_id = 25572601 and dashboard_run_id = 2058305 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`=25572601 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13500704, 0.019730636646101644, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25572601_02-08-2025_05_37_32.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25572609, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25572610, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25572611, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25572612, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25572613, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25572614, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25572615, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25572616, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25572617, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25572618, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25572619, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25572620, '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 = 25573095 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': 3426746, 'mtr_portfolio_id': 25573095, 'created_at': datetime.datetime(2025, 8, 2, 5, 37, 29), 'result': '0.027539489891980663', 'result_long': None, 'result_double': None}] Qualite : 0.027539489891980663 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25573095 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25573095_02-08-2025_05_37_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25573095 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_P25573095_02-08-2025_05_37_32.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 25573114, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25573115, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25573116, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25573117, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25573118, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25573119, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25573120, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25573121, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25573122, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25573123, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25573124, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25573125, 'pht': 3726}}" where mtr_portfolio_id = 25573095 and dashboard_run_id = 2058305 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`=25573095 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13500705, 0.027539489891980663, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25573095_02-08-2025_05_37_32.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 25573114, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25573115, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25573116, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25573117, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25573118, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25573119, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25573120, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25573121, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25573122, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25573123, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25573124, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25573125, '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 = 25573629 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': 3426747, 'mtr_portfolio_id': 25573629, 'created_at': datetime.datetime(2025, 8, 2, 5, 37, 58), 'result': '0.0515281187981757', 'result_long': None, 'result_double': None}] Qualite : 0.0515281187981757 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25573629 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25573629_02-08-2025_05_38_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25573629 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_P25573629_02-08-2025_05_38_03.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25573674, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25573675, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25573676, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25573677, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25573678, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25573679, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25573680, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25573681, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25573682, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25573683, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25573684, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25573685, 'pht': 3726}}" where mtr_portfolio_id = 25573629 and dashboard_run_id = 2058305 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`=25573629 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13500706, 0.0515281187981757, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25573629_02-08-2025_05_38_03.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25573674, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25573675, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25573676, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25573677, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25573678, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25573679, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25573680, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25573681, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25573682, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25573683, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25573684, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25573685, '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 = 25586789 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': 3426748, 'mtr_portfolio_id': 25586789, 'created_at': datetime.datetime(2025, 8, 2, 5, 38, 28), 'result': '0.04127535966314586', 'result_long': None, 'result_double': None}] Qualite : 0.04127535966314586 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25586789 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25586789_02-08-2025_05_38_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25586789 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_P25586789_02-08-2025_05_38_30.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25586794, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25586795, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25586796, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25586797, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25586798, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25586799, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25586800, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25586801, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25586802, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25586803, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25586804, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25586805, 'pht': 3726}}" where mtr_portfolio_id = 25586789 and dashboard_run_id = 2058305 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`=25586789 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13500707, 0.04127535966314586, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25586789_02-08-2025_05_38_30.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25586794, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25586795, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25586796, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25586797, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25586798, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25586799, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25586800, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25586801, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25586802, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25586803, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25586804, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25586805, '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 = 25587115 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': 3422977, 'mtr_portfolio_id': 25587115, 'created_at': datetime.datetime(2025, 8, 1, 18, 33, 26), 'result': '0.04757446553888004', 'result_long': None, 'result_double': None}] Qualite : 0.04757446553888004 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25587115 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25587115_01-08-2025_18_33_27.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25587115 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_P25587115_01-08-2025_18_33_27.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25587126, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25587127, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25587128, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25587129, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25587130, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25587131, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25587132, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25587133, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25587134, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25587135, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25587136, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25587137, 'pht': 3726}}" where mtr_portfolio_id = 25587115 and dashboard_run_id = 2058305 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`=25587115 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13500708, 0.04757446553888004, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25587115_01-08-2025_18_33_27.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25587126, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25587127, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25587128, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25587129, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25587130, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25587131, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25587132, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25587133, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25587134, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25587135, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25587136, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25587137, '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 = 25587406 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': 3423033, 'mtr_portfolio_id': 25587406, 'created_at': datetime.datetime(2025, 8, 1, 18, 46, 59), 'result': '0.09371772296094055', 'result_long': None, 'result_double': None}] Qualite : 0.09371772296094055 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25587406 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25587406_01-08-2025_18_47_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25587406 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_P25587406_01-08-2025_18_47_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25587414, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25587415, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25587416, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25587417, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25587418, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25587419, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25587420, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25587421, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25587422, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25587423, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25587424, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25587425, 'pht': 3726}}" where mtr_portfolio_id = 25587406 and dashboard_run_id = 2058305 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`=25587406 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13500709, 0.09371772296094055, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25587406_01-08-2025_18_47_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25587414, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25587415, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25587416, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25587417, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25587418, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25587419, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25587420, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25587421, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25587422, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25587423, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25587424, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25587425, '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 = 25587787 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': 3423097, 'mtr_portfolio_id': 25587787, 'created_at': datetime.datetime(2025, 8, 1, 19, 1, 57), 'result': '0.048142285179785235', 'result_long': None, 'result_double': None}] Qualite : 0.048142285179785235 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25587787 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25587787_01-08-2025_19_01_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25587787 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_P25587787_01-08-2025_19_01_58.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 25587831, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25587832, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25587833, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25587834, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25587835, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25587836, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25587837, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25587838, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25587839, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25587840, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25587841, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25587842, 'pht': 3726}}" where mtr_portfolio_id = 25587787 and dashboard_run_id = 2058305 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`=25587787 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13500710, 0.048142285179785235, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25587787_01-08-2025_19_01_58.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 25587831, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25587832, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25587833, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25587834, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25587835, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25587836, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25587837, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25587838, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25587839, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25587840, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25587841, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25587842, '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 = 25588113 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': 3423191, 'mtr_portfolio_id': 25588113, 'created_at': datetime.datetime(2025, 8, 1, 19, 18, 58), 'result': '0.07834456963608182', 'result_long': None, 'result_double': None}] Qualite : 0.07834456963608182 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25588113 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25588113_01-08-2025_19_18_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25588113 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_P25588113_01-08-2025_19_18_59.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25588150, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25588151, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25588152, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25588153, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25588154, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25588155, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25588156, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25588157, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25588158, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25588159, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25588160, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25588161, 'pht': 3726}}" where mtr_portfolio_id = 25588113 and dashboard_run_id = 2058305 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`=25588113 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13500711, 0.07834456963608182, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25588113_01-08-2025_19_18_59.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25588150, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25588151, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25588152, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25588153, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25588154, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25588155, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25588156, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25588157, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25588158, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25588159, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25588160, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25588161, '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 = 25588582 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': 3423273, 'mtr_portfolio_id': 25588582, 'created_at': datetime.datetime(2025, 8, 1, 19, 32, 57), 'result': '0.11384866428558152', 'result_long': None, 'result_double': None}] Qualite : 0.11384866428558152 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25588582 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25588582_01-08-2025_19_32_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25588582 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_P25588582_01-08-2025_19_32_57.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 25588609, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25588610, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25588611, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25588612, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25588613, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25588614, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25588615, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25588616, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25588618, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25588619, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25588620, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25588621, 'pht': 3726}}" where mtr_portfolio_id = 25588582 and dashboard_run_id = 2058305 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`=25588582 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13500712, 0.11384866428558152, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25588582_01-08-2025_19_32_57.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 25588609, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25588610, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25588611, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25588612, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25588613, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25588614, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25588615, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25588616, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25588618, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25588619, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25588620, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25588621, '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 = 25588931 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': 3423360, 'mtr_portfolio_id': 25588931, 'created_at': datetime.datetime(2025, 8, 1, 19, 46, 58), 'result': '0.03976308031180541', 'result_long': None, 'result_double': None}] Qualite : 0.03976308031180541 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25588931 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25588931_01-08-2025_19_46_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25588931 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_P25588931_01-08-2025_19_46_58.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25588972, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25588973, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25588974, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25588975, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25588976, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25588977, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25588978, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25588980, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25588981, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25588982, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25588983, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25588984, 'pht': 3726}}" where mtr_portfolio_id = 25588931 and dashboard_run_id = 2058305 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`=25588931 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13500713, 0.03976308031180541, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25588931_01-08-2025_19_46_58.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25588972, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25588973, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25588974, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25588975, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25588976, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25588977, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25588978, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25588980, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25588981, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25588982, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25588983, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25588984, '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 = 25589378 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': 3423463, 'mtr_portfolio_id': 25589378, 'created_at': datetime.datetime(2025, 8, 1, 20, 4, 59), 'result': '0.044305285595513444', 'result_long': None, 'result_double': None}] Qualite : 0.044305285595513444 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25589378 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25589378_01-08-2025_20_05_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25589378 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_P25589378_01-08-2025_20_05_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25589415, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25589416, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25589417, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25589418, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25589419, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25589420, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25589421, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25589422, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25589423, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25589424, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25589425, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25589426, 'pht': 3726}}" where mtr_portfolio_id = 25589378 and dashboard_run_id = 2058305 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`=25589378 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13500714, 0.044305285595513444, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25589378_01-08-2025_20_05_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25589415, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25589416, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25589417, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25589418, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25589419, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25589420, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25589421, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25589422, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25589423, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25589424, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25589425, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25589426, '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 = 25589972 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': 3423597, 'mtr_portfolio_id': 25589972, 'created_at': datetime.datetime(2025, 8, 1, 20, 17), 'result': '0.0849695735418292', 'result_long': None, 'result_double': None}] Qualite : 0.0849695735418292 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25589972 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25589972_01-08-2025_20_17_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25589972 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_P25589972_01-08-2025_20_17_01.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25589977, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25589978, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25589979, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25589980, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25589981, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25589982, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25589983, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25589984, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25589985, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25589986, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25589987, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25589988, 'pht': 3726}}" where mtr_portfolio_id = 25589972 and dashboard_run_id = 2058305 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`=25589972 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13500715, 0.0849695735418292, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25589972_01-08-2025_20_17_01.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25589977, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25589978, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25589979, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25589980, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25589981, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25589982, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25589983, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25589984, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25589985, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25589986, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25589987, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25589988, '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 = 25590235 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': 3423673, 'mtr_portfolio_id': 25590235, 'created_at': datetime.datetime(2025, 8, 1, 20, 32, 58), 'result': '0.05174276552297275', 'result_long': None, 'result_double': None}] Qualite : 0.05174276552297275 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25590235 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25590235_01-08-2025_20_32_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25590235 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_P25590235_01-08-2025_20_32_58.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25590263, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25590264, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25590265, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25590266, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25590267, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25590268, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25590270, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25590271, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25590272, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25590273, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25590274, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25590275, 'pht': 3726}}" where mtr_portfolio_id = 25590235 and dashboard_run_id = 2058305 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`=25590235 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13500716, 0.05174276552297275, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25590235_01-08-2025_20_32_58.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25590263, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25590264, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25590265, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25590266, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25590267, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25590268, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25590270, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25590271, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25590272, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25590273, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25590274, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25590275, '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 = 25590682 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': 3423772, 'mtr_portfolio_id': 25590682, 'created_at': datetime.datetime(2025, 8, 1, 20, 46, 56), 'result': '0.0524874768104178', 'result_long': None, 'result_double': None}] Qualite : 0.0524874768104178 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25590682 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25590682_01-08-2025_20_46_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25590682 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_P25590682_01-08-2025_20_46_57.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25590709, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25590710, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25590712, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25590713, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25590714, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25590715, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25590716, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25590717, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25590718, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25590719, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25590720, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25590721, 'pht': 3726}}" where mtr_portfolio_id = 25590682 and dashboard_run_id = 2058305 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`=25590682 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13500717, 0.0524874768104178, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25590682_01-08-2025_20_46_57.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25590709, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25590710, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25590712, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25590713, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25590714, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25590715, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25590716, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25590717, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25590718, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25590719, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25590720, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25590721, '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 = 25591099 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': 3423856, 'mtr_portfolio_id': 25591099, 'created_at': datetime.datetime(2025, 8, 1, 21, 4, 58), 'result': '0.06730942981331008', 'result_long': None, 'result_double': None}] Qualite : 0.06730942981331008 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25591099 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25591099_01-08-2025_21_04_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25591099 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_P25591099_01-08-2025_21_04_58.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25591117, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25591118, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25591119, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25591120, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25591121, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25591122, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25591123, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25591124, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25591125, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25591126, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25591127, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25591128, 'pht': 3726}}" where mtr_portfolio_id = 25591099 and dashboard_run_id = 2058305 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`=25591099 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13500718, 0.06730942981331008, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25591099_01-08-2025_21_04_58.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25591117, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25591118, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25591119, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25591120, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25591121, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25591122, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25591123, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25591124, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25591125, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25591126, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25591127, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25591128, '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 = 25591596 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25591596 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 25591596 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25591596 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25591596 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3423982, 'mtr_portfolio_id': 25591596, 'created_at': datetime.datetime(2025, 8, 1, 21, 17), 'result': 0.0, 'result_long': None, 'result_double': None}] Qualite : 0.0 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25591596 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25591596_01-08-2025_21_17_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25591596 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_P25591596_01-08-2025_21_17_01.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25591640, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25591641, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25591642, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25591643, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25591644, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25591645, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25591646, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25591648, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25591649, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25591650, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25591651, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25591652, 'pht': 3726}}" where mtr_portfolio_id = 25591596 and dashboard_run_id = 2058305 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`=25591596 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13500719, 0.0, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25591596_01-08-2025_21_17_01.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25591640, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25591641, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25591642, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25591643, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25591644, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25591645, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25591646, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25591648, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25591649, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25591650, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25591651, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25591652, '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 = 25591932 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': 3424065, 'mtr_portfolio_id': 25591932, 'created_at': datetime.datetime(2025, 8, 1, 21, 33, 1), 'result': '0.07966755406401733', 'result_long': None, 'result_double': None}] Qualite : 0.07966755406401733 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25591932 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25591932_01-08-2025_21_33_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25591932 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_P25591932_01-08-2025_21_33_01.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 25591979, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25591980, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25591981, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25591982, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25591983, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25591984, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25591985, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25591986, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25591987, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25591988, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25591989, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25591990, 'pht': 3726}}" where mtr_portfolio_id = 25591932 and dashboard_run_id = 2058305 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`=25591932 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13500720, 0.07966755406401733, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25591932_01-08-2025_21_33_01.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 25591979, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25591980, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25591981, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25591982, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25591983, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25591984, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25591985, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25591986, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25591987, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25591988, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25591989, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25591990, '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 = 25592301 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': 3424135, 'mtr_portfolio_id': 25592301, 'created_at': datetime.datetime(2025, 8, 1, 21, 46, 59), 'result': '0.05541200259462892', 'result_long': None, 'result_double': None}] Qualite : 0.05541200259462892 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25592301 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25592301_01-08-2025_21_47_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25592301 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_P25592301_01-08-2025_21_47_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25592311, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25592312, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25592313, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25592314, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25592315, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25592316, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25592317, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25592318, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25592319, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25592320, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25592321, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25592322, 'pht': 3726}}" where mtr_portfolio_id = 25592301 and dashboard_run_id = 2058305 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`=25592301 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13500721, 0.05541200259462892, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25592301_01-08-2025_21_47_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25592311, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25592312, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25592313, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25592314, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25592315, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25592316, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25592317, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25592318, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25592319, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25592320, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25592321, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25592322, '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 = 25592591 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': 3424180, 'mtr_portfolio_id': 25592591, 'created_at': datetime.datetime(2025, 8, 2, 0, 1, 28), 'result': '0.0364066049636514', 'result_long': None, 'result_double': None}] Qualite : 0.0364066049636514 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25592591 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25592591_02-08-2025_00_01_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25592591 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_P25592591_02-08-2025_00_01_29.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25592608, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25592609, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25592610, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25592611, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25592612, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25592613, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25592614, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25592615, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25592616, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25592617, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25592618, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25592619, 'pht': 3726}}" where mtr_portfolio_id = 25592591 and dashboard_run_id = 2058305 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`=25592591 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13500722, 0.0364066049636514, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25592591_02-08-2025_00_01_29.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25592608, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25592609, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25592610, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25592611, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25592612, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25592613, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25592614, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25592615, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25592616, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25592617, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25592618, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25592619, '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 = 25594611 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': 3424462, 'mtr_portfolio_id': 25594611, 'created_at': datetime.datetime(2025, 8, 1, 23, 18, 58), 'result': '0.02177977013812781', 'result_long': None, 'result_double': None}] Qualite : 0.02177977013812781 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25594611 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25594611_01-08-2025_23_18_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25594611 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_P25594611_01-08-2025_23_18_58.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25594612, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25594613, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25594614, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25594615, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25594616, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25594617, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25594618, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25594619, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25594620, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25594621, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25594622, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25594623, 'pht': 3726}}" where mtr_portfolio_id = 25594611 and dashboard_run_id = 2058305 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`=25594611 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13500723, 0.02177977013812781, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25594611_01-08-2025_23_18_58.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25594612, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25594613, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25594614, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25594615, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25594616, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25594617, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25594618, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25594619, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25594620, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25594621, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25594622, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25594623, '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 = 25594738 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': 3424485, 'mtr_portfolio_id': 25594738, 'created_at': datetime.datetime(2025, 8, 1, 23, 33, 26), 'result': '0.06022223624175427', 'result_long': None, 'result_double': None}] Qualite : 0.06022223624175427 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25594738 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25594738_01-08-2025_23_33_26.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25594738 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_P25594738_01-08-2025_23_33_26.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 25594746, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25594747, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25594748, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25594749, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25594750, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25594751, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25594752, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25594753, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25594754, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25594755, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25594756, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25594757, 'pht': 3726}}" where mtr_portfolio_id = 25594738 and dashboard_run_id = 2058305 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`=25594738 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13500724, 0.06022223624175427, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25594738_01-08-2025_23_33_26.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 25594746, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25594747, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25594748, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25594749, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25594750, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25594751, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25594752, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25594753, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25594754, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25594755, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25594756, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25594757, '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 = 25594961 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': 3424527, 'mtr_portfolio_id': 25594961, 'created_at': datetime.datetime(2025, 8, 1, 23, 49, 29), 'result': '0.03819244264401217', 'result_long': None, 'result_double': None}] Qualite : 0.03819244264401217 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25594961 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25594961_01-08-2025_23_49_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25594961 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_P25594961_01-08-2025_23_49_30.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25594963, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25594964, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25594965, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25594966, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25594967, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25594968, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25594969, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25594970, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25594971, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25594972, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25594973, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25594974, 'pht': 3726}}" where mtr_portfolio_id = 25594961 and dashboard_run_id = 2058305 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`=25594961 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13500725, 0.03819244264401217, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25594961_01-08-2025_23_49_30.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25594963, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25594964, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25594965, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25594966, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25594967, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25594968, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25594969, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25594970, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25594971, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25594972, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25594973, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25594974, '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 = 25595132 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': 3424566, 'mtr_portfolio_id': 25595132, 'created_at': datetime.datetime(2025, 8, 2, 0, 6, 1), 'result': '0.06763041047925247', 'result_long': None, 'result_double': None}] Qualite : 0.06763041047925247 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25595132 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25595132_02-08-2025_00_06_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25595132 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_P25595132_02-08-2025_00_06_01.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 25595136, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25595137, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25595138, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25595139, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25595140, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25595141, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25595142, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25595143, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25595144, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25595145, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25595146, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25595147, 'pht': 3726}}" where mtr_portfolio_id = 25595132 and dashboard_run_id = 2058305 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`=25595132 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13500726, 0.06763041047925247, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25595132_02-08-2025_00_06_01.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 25595136, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25595137, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25595138, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25595139, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25595140, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25595141, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25595142, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25595143, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25595144, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25595145, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25595146, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25595147, '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 (25567995,25568659,25569147,25569639,25571011,25571213,25571522,25572121,25572601,25573095,25573629,25586789,25587115,25587406,25587787,25588113,25588582,25588931,25589378,25589972,25590235,25590682,25591099,25591596,25591932,25592301,25592591,25594611,25594738,25594961,25595132) result : ((1374683642,), (1374683684,), (1374683871,), (1374683873,), (1374684117,), (1374684120,), (1374684141,), (1374684171,), (1374684172,), (1374684220,), (1374684302,), (1374684926,), (1374684980,), (1374685070,), (1374685112,), (1374685156,), (1374685168,), (1374685311,), (1374685312,), (1374685313,), (1374685315,), (1374685318,), (1374685478,), (1374685566,), (1374685655,), (1374685749,), (1374685767,), (1374685955,), (1374685957,), (1374685959,), (1374685960,), (1374685973,), (1374685975,), (1374685977,), (1374685978,), (1374685982,), (1374685983,), (1374685991,), (1374685994,), (1374685995,), (1374685996,), (1374685998,), (1374685999,), (1374686012,), (1374686013,), (1374686014,), (1374686015,), (1374686016,), (1374686017,), (1374686098,), (1374686213,), (1374686361,), (1374686454,), (1374686492,), (1374686494,), (1374686963,), (1374686964,), (1374686990,), (1374686992,), (1374687328,), (1374687353,), (1374687358,), (1374687361,), (1374687688,), (1374687617,), (1374687640,), (1374687665,), (1374687746,), (1374687747,), (1374687749,), (1374687767,), (1374687769,), (1374687771,), (1374687775,), (1374687858,), (1374687950,), (1374688660,), (1374688721,), (1374688832,), (1374688869,), (1374688896,), (1374688919,), (1374689313,), (1374689339,), (1374689362,), (1374689384,), (1374689415,), (1374689416,), (1374689440,), (1374689442,), (1374689465,), (1374689466,), (1374689492,), (1374689493,), (1374689518,), (1374689520,), (1374689544,), (1374689548,), (1374689712,), (1374689713,), (1374689716,), (1374689718,), (1374689722,), (1374689747,), (1374689822,), (1374689827,), (1374689851,), (1374689856,), (1374689859,), (1374689861,), (1374689875,), (1374689878,), (1374689880,), (1374689884,), (1374689888,), (1374689891,), (1374689896,), (1374689901,), (1374689902,), (1374689904,), (1374689908,), (1374689911,), (1374689918,), (1374689921,), (1374689923,), (1374689924,), (1374689945,), (1374689948,), (1374689950,), (1374689961,), (1374689962,), (1374690524,), (1374690602,), (1374690789,), (1374690790,), (1374690837,), (1374690838,), (1374690912,), (1374690915,), (1374690939,), (1374691643,), (1374691671,), (1374691688,), (1374690909,), (1374690911,), (1374691250,), (1374691278,), (1374691302,), (1374691325,), (1374691348,), (1374691372,), (1374691471,), (1374691499,), (1374691525,), (1374691551,), (1374691618,), (1374692023,), (1374692097,), (1374692175,), (1374692724,), (1374692730,), (1374692733,), (1374692739,), (1374692761,), (1374692901,), (1374692902,), (1374692905,), (1374692906,), (1374692909,), (1374692910,), (1374692912,), (1374692913,), (1374692960,), (1374692961,), (1374692963,), (1374692964,), (1374692967,), (1374692968,), (1374692989,), (1374692990,), (1374692993,), (1374692994,), (1374692995,), (1374692996,), (1374692997,), (1374692998,), (1374692999,), (1374693000,), (1374693019,), (1374693021,), (1374693023,), (1374693057,), (1374693059,), (1374693061,), (1374693063,), (1374693065,), (1374693110,), (1374693111,), (1374693113,), (1374693115,), (1374693116,), (1374693118,), (1374693137,), (1374693138,), (1374693139,), (1374693140,), (1374693141,), (1374693142,), (1374693146,), (1374693149,), (1374693152,), (1374693153,), (1374693156,), (1374693158,), (1374693161,), (1374693162,), (1374693168,), (1374693170,), (1374693172,), (1374693173,), (1374693178,), (1374693180,), (1374693182,), (1374693184,), (1374693206,), (1374693209,), (1374693211,), (1374693214,), (1374693215,), (1374693217,), (1374693243,), (1374693234,), (1374693236,), (1374693238,), (1374693240,), (1374693241,), (1374693247,), (1374693252,), (1374693255,), (1374693259,), (1374693261,), (1374693280,), (1374693284,), (1374693288,), (1374693291,), (1374693294,), (1374693295,), (1374693313,), (1374693316,), (1374693319,), (1374693320,), (1374693338,), (1374693343,), (1374693365,), (1374693366,), (1374693379,), (1374693380,), (1374693381,), (1374693386,), (1374693388,), (1374693389,), (1374693395,), (1374693398,), (1374693455,), (1374693457,), (1374693459,), (1374693461,), (1374693463,), (1374693465,), (1374693469,), (1374693473,), (1374693479,), (1374693482,), (1374693484,), (1374693486,), (1374693500,), (1374693501,), (1374693503,), (1374693506,), (1374693508,), (1374693542,), (1374693545,), (1374693598,), (1374693623,), (1374693649,), (1374693673,), (1374693698,), (1374693726,), (1374693986,), (1374693992,), (1374693995,), (1374694051,), (1374694057,), (1374694060,), (1374694062,), (1374694065,), (1374694069,), (1374694339,), (1374697551,), (1374697552,), (1374697553,), (1374697555,), (1374697558,), (1374697560,), (1374697579,), (1374697582,), (1374697600,), (1374697603,), (1374697605,), (1374697607,), (1374697629,), (1374697632,), (1374697635,), (1374697637,), (1374697664,), (1374697666,), (1374697669,), (1374697682,), (1374697684,), (1374697686,), (1374697688,), (1374697690,), (1374697719,), (1374697724,), (1374697727,), (1374697730,), (1374697745,), (1374697748,), (1374697750,), (1374697754,), (1374697813,), (1374697815,), (1374697816,), (1374697820,), (1374697824,), (1374697826,), (1374697829,), (1374697845,), (1374697849,), (1374697852,), (1374697854,), (1374697856,), (1374697857,), (1374697860,), (1374697863,), (1374697865,), (1374697868,), (1374697870,), (1374697873,), (1374697878,), (1374697904,), (1374697905,), (1374697908,), (1374697909,), (1374697912,), (1374697913,), (1374697914,), (1374697916,), (1374697917,), (1374697918,), (1374697937,), (1374697939,), (1374697940,), (1374697941,), (1374697942,), (1374697943,), (1374697958,), (1374697946,), (1374697955,), (1374698193,), (1374698220,), (1374698245,), (1374698270,), (1374698298,), (1374698414,), (1374698416,), (1374698418,), (1374698420,), (1374698422,), (1374698441,), (1374698442,), (1374698446,), (1374698447,), (1374698451,), (1374698452,), (1374698453,), (1374698455,), (1374698478,), (1374698480,), (1374698483,), (1374698555,), (1374698556,), (1374698557,), (1374698562,), (1374698565,), (1374698568,), (1374698570,), (1374698572,), (1374698583,), (1374698584,), (1374698586,), (1374698587,), (1374698589,), (1374698590,), (1374698591,), (1374698592,), (1374698593,), (1374698594,), (1374698595,), (1374698596,), (1374698601,), (1374698604,), (1374698607,), (1374698608,), (1374698612,), (1374698614,), (1374698621,), (1374698622,), (1374698639,), (1374698641,), (1374698642,), (1374698644,), (1374698646,), (1374698650,), (1374698652,), (1374698654,), (1374698656,), (1374698659,), (1374698662,), (1374698679,), (1374698683,), (1374698686,), (1374698747,), (1374699497,), (1374699965,), (1374699993,), (1374699856,), (1374699881,), (1374699922,), (1374700367,), (1374700390,), (1374700415,), (1374700440,), (1374700564,), (1374700587,), (1374700611,), (1374700640,), (1374700666,), (1374700782,), (1374700783,), (1374700786,), (1374700790,), (1374700794,), (1374700811,), (1374700815,), (1374700818,), (1374701081,), (1374701098,), (1374701114,), (1374701120,), (1374701123,), (1374701125,), (1374701153,), (1374701156,), (1374701159,), (1374701161,), (1374701163,), (1374701168,), (1374701170,), (1374701172,), (1374701174,), (1374701200,), (1374701202,), (1374701203,), (1374701206,), (1374701208,), (1374701243,), (1374701244,), (1374701246,), (1374701247,), (1374701250,), (1374701251,), (1374701253,), (1374701254,), (1374701277,), (1374701279,), (1374701281,), (1374701284,), (1374701286,), (1374701289,), (1374701294,), (1374701295,), (1374701320,), (1374701322,), (1374701324,), (1374701327,), (1374701329,), (1374701334,), (1374701336,), (1374701338,), (1374701340,), (1374701343,), (1374701366,), (1374701369,), (1374701372,), (1374701407,), (1374701400,), (1374701402,), (1374701405,), (1374701423,), (1374701427,), (1374701431,), (1374701434,), (1374701436,), (1374701462,), (1374701463,), (1374701466,), (1374701469,), (1374701489,), (1374701493,), (1374701497,), (1374701501,), (1374701504,), (1374701506,), (1374701523,), (1374701526,), (1374701527,), (1374701546,), (1374701553,), (1374701556,), (1374701563,), (1374701565,), (1374701568,), (1374701570,), (1374701573,), (1374701582,), (1374701585,), (1374701588,), (1374701590,), (1374701593,), (1374701595,), (1374701597,), (1374701598,), (1374701606,), (1374701611,), (1374701613,), (1374701618,), (1374701621,), (1374701623,), (1374701624,), (1374701626,), (1374701652,), (1374701655,), (1374701672,), (1374701676,), (1374701693,), (1374701695,), (1374701697,), (1374701701,), (1374701703,), (1374701705,), (1374701722,), (1374701725,), (1374701728,), (1374701750,), (1374701753,), (1374701755,), (1374701757,), (1374701758,), (1374701759,), (1374701776,), (1374701778,), (1374701779,), (1374701781,), (1374701784,), (1374701787,), (1374701789,), (1374701791,), (1374701793,), (1374701796,), (1374701799,), (1374701841,), (1374701875,), (1374701819,), (1374701822,), (1374701828,), (1374701834,), (1374701838,), (1374701853,), (1374701856,), (1374701860,), (1374701862,), (1374701865,), (1374701866,), (1374701867,), (1374701869,), (1374701871,), (1374701873,), (1374701880,), (1374701882,), (1374701884,), (1374701886,), (1374701887,), (1374701889,), (1374701900,), (1374701901,), (1374701903,), (1374701905,), (1374701922,), (1374701923,), (1374701925,), (1374701927,), (1374701929,), (1374701931,), (1374701962,), (1374701965,), (1374701967,), (1374701969,), (1374701972,), (1374701987,), (1374701988,), (1374701992,), (1374701993,), (1374701997,), (1374701998,), (1374702000,), (1374702001,), (1374702003,), (1374702004,), (1374702006,), (1374702007,), (1374702016,), (1374702018,), (1374702020,), (1374702021,), (1374702044,), (1374702046,), (1374702048,), (1374702050,), (1374702054,), (1374702079,), (1374702081,), (1374702083,), (1374702084,), (1374702086,), (1374702088,), (1374702113,), (1374702118,), (1374702133,), (1374702140,), (1374702146,), (1374702149,), (1374702150,), (1374702152,), (1374702154,), (1374702155,), (1374702170,), (1374702171,), (1374702173,), (1374702175,), (1374702191,), (1374702193,), (1374702196,), (1374702200,), (1374702203,), (1374702205,), (1374702222,), (1374702225,), (1374702228,), (1374702231,), (1374702233,), (1374702284,), (1374702285,), (1374702263,), (1374702264,), (1374702272,), (1374702273,), (1374702280,), (1374702281,), (1374702301,), (1374702322,), (1374702336,), (1374702361,), (1374702362,), (1374702363,), (1374702365,), (1374702381,), (1374702383,), (1374702385,), (1374702387,), (1374702391,), (1374702394,), (1374702438,), (1374702440,), (1374702444,), (1374702447,), (1374702449,), (1374702452,), (1374702459,), (1374702460,), (1374702462,), (1374702464,), (1374702467,), (1374702469,), (1374702472,), (1374702474,), (1374702477,), (1374702480,), (1374702510,), (1374702514,), (1374702516,), (1374702519,), (1374702532,), (1374702534,), (1374702537,), (1374702540,), (1374702542,), (1374702544,), (1374702566,), (1374702567,), (1374702572,), (1374702573,), (1374702583,), (1374702584,), (1374702587,), (1374702588,), (1374702589,), (1374702590,), (1374702851,), (1374702877,), (1374702901,), (1374702927,), (1374702954,), (1374702977,), (1374703026,), (1374703036,), (1374703039,), (1374703051,), (1374703312,), (1374703318,), (1374703327,), (1374703354,), (1374703385,), (1374703412,), (1374703505,), (1374703531,), (1374703558,), (1374703878,), (1374704349,), (1374703769,), (1374703793,), (1374703821,), (1374703848,), (1374704149,), (1374704151,), (1374704153,), (1374704155,), (1374704157,), (1374704159,), (1374704236,), (1374704270,), (1374704296,), (1374704323,), (1374704376,), (1374704406,), (1374704418,), (1374704421,), (1374704482,), (1374704486,), (1374704490,), (1374704492,), (1374704495,), (1374704497,), (1374704514,), (1374704517,), (1374704520,), (1374704522,), (1374704524,), (1374704527,), (1374704529,), (1374704531,), (1374704535,), (1374704541,), (1374704547,), (1374704576,), (1374704579,), (1374704582,), (1374704584,), (1374704586,), (1374704587,), (1374704593,), (1374704594,), (1374704596,), (1374704602,), (1374704604,), (1374704605,), (1374704607,), (1374704609,), (1374704625,), (1374704628,), (1374704631,), (1374704634,), (1374704657,), (1374704661,), (1374704667,), (1374704669,), (1374704670,), (1374704671,), (1374704676,), (1374704677,), (1374704679,), (1374704680,), (1374704686,), (1374704688,), (1374704700,), (1374704701,), (1374704705,), (1374704707,), (1374704708,), (1374704709,), (1374704726,), (1374704729,), (1374704731,), (1374704732,), (1374704733,), (1374704736,), (1374704740,), (1374704742,), (1374704744,), (1374704747,), (1374704749,), (1374704752,), (1374704756,), (1374704769,), (1374704770,), (1374704771,), (1374704772,), (1374704773,), (1374704774,), (1374704776,), (1374704777,), (1374704779,), (1374704780,), (1374704786,), (1374704787,), (1374704789,), (1374704858,), (1374795551,), (1374795744,), (1374795746,), (1374796224,), (1374796286,), (1374796350,), (1374796356,), (1374796358,), (1374796399,), (1374796453,), (1374796456,), (1374796459,), (1374796463,), (1374796523,), (1374796570,), (1374796572,), (1374796618,), (1374796620,), (1374796770,), (1374796773,), (1374796775,), (1374796781,), (1374796783,), (1374796784,), (1374796785,), (1374796789,), (1374796811,), (1374796812,), (1374796813,), (1374796815,), (1374796817,), (1374796835,), (1374796837,), (1374796838,), (1374796840,), (1374796844,), (1374796871,), (1374796861,), (1374796863,), (1374796865,), (1374796867,), (1374796897,), (1374796898,), (1374796899,), (1374796901,), (1374796903,), (1374796906,), (1374796928,), (1374796929,), (1374796930,), (1374796955,), (1374796957,), (1374796960,), (1374796964,), (1374796967,), (1374796970,), (1374796979,), (1374796980,), (1374796981,), (1374796983,), (1374796999,), (1374797000,), (1374797001,), (1374797039,), (1374797043,), (1374797047,), (1374797049,), (1374797051,), (1374797052,), (1374797053,), (1374797054,), (1374797056,), (1374797059,), (1374797061,), (1374797064,), (1374797073,), (1374797074,), (1374797075,), (1374797076,), (1374797079,), (1374797094,), (1374797095,), (1374797096,), (1374797120,), (1374797121,), (1374797122,), (1374797124,), (1374797127,), (1374797140,), (1374797141,), (1374797142,), (1374797144,), (1374797161,), (1374797162,), (1374797163,), (1374797164,), (1374797166,), (1374797180,), (1374797181,), (1374797206,), (1374797209,), (1374797211,), (1374797250,), (1374797238,), (1374797240,), (1374797242,), (1374797245,), (1374797247,), (1374797260,), (1374797262,), (1374797264,), (1374797266,), (1374797269,), (1374797272,), (1374797281,), (1374797283,), (1374797286,), (1374797289,), (1374797292,), (1374797295,), (1374797301,), (1374797302,), (1374797303,), (1374797304,), (1374797317,), (1374797324,), (1374797327,), (1374797330,), (1374797335,), (1374797338,), (1374797347,), (1374797350,), (1374797351,), (1374797354,), (1374797376,), (1374797378,), (1374797419,), (1374797421,), (1374797457,), (1374797459,), (1374797461,), (1374797463,), (1374797483,), (1374797486,), (1374797487,), (1374797517,), (1374797519,), (1374797569,), (1374797571,), (1374797573,), (1374797595,), (1374797597,), (1374797614,), (1374797616,), (1374797830,), (1374797836,), (1374797839,), (1374797899,), (1374797990,), (1374797991,), (1374797992,), (1374798012,), (1374798049,), (1374798372,), (1374798368,), (1374798370,), (1374798503,), (1374798505,), (1374798507,), (1374798509,), (1374798511,), (1374798513,), (1374798537,), (1374798539,), (1374798540,), (1374798542,), (1374798544,), (1374798546,), (1374798560,), (1374798562,), (1374798563,), (1374798565,), (1374798593,), (1374798595,), (1374798596,), (1374798598,), (1374798614,), (1374798616,), (1374798617,), (1374798619,), (1374798641,), (1374798643,), (1374798644,), (1374798646,), (1374798648,), (1374798665,), (1374798667,), (1374798669,), (1374798693,), (1374798694,), (1374798696,), (1374798698,), (1374798700,), (1374798702,), (1374798713,), (1374798715,), (1374798743,), (1374798746,), (1374798747,), (1374798766,), (1374798768,), (1374798797,), (1374798800,), (1374798811,), (1374799312,), (1374799350,), (1374799376,), (1374799420,), (1374799523,), (1374799562,), (1374799587,), (1374799610,), (1374799642,), (1374799815,), (1374799719,), (1374799721,), (1374799737,), (1374799768,), (1374800162,), (1374800189,), (1374800214,), (1374800496,), (1374800531,), (1374800559,), (1374800565,), (1374800566,), (1374800616,), (1374800620,), (1374800622,), (1374800625,), (1374800627,), (1374800629,), (1374800635,), (1374800638,), (1374800640,), (1374800659,), (1374800663,), (1374800664,), (1374800665,), (1374800667,), (1374800682,), (1374800683,), (1374800685,), (1374800708,), (1374800710,), (1374800711,), (1374800713,), (1374800715,), (1374800778,), (1374800781,), (1374800784,), (1374800786,), (1374800949,), (1374800956,), (1374800971,), (1374800993,), (1374801050,), (1374801056,), (1374801057,), (1374801078,), (1374801112,), (1374801179,), (1374801182,), (1374801213,), (1374801215,), (1374801219,), (1374801222,), (1374801226,), (1374801228,), (1374801229,), (1374801231,), (1374801234,), (1374801236,), (1374801250,), (1374801253,), (1374801254,), (1374801255,), (1374801290,), (1374801282,), (1374801283,), (1374801285,), (1374801287,), (1374801289,), (1374801299,), (1374801301,), (1374801302,), (1374801303,), (1374801327,), (1374801329,), (1374801331,), (1374801333,), (1374801337,), (1374801350,), (1374801352,), (1374801354,), (1374801356,), (1374801360,), (1374801363,), (1374801379,), (1374801384,), (1374801385,), (1374801388,), (1374801391,), (1374801419,), (1374801421,), (1374801423,), (1374801427,), (1374801430,), (1374801434,), (1374801438,), (1374801439,), (1374801448,), (1374801450,), (1374801451,), (1374801454,), (1374801456,), (1374801480,), (1374801482,), (1374801483,), (1374801485,), (1374801488,), (1374801511,), (1374801513,), (1374801515,), (1374801517,), (1374801521,), (1374801532,), (1374801534,), (1374801566,), (1374801575,), (1374801576,), (1374801579,), (1374801582,), (1374801593,), (1374801595,), (1374801597,), (1374801599,), (1374801602,), (1374801621,), (1374801623,), (1374801625,), (1374801627,), (1374801647,), (1374801650,), (1374801653,), (1374801657,), (1374801661,), (1374801663,), (1374801680,), (1374801682,), (1374801683,), (1374801685,), (1374801688,), (1374801691,), (1374801721,), (1374801714,), (1374801716,), (1374801717,), (1374801719,), (1374801735,), (1374801737,), (1374801738,), (1374801740,), (1374801742,), (1374801761,), (1374801763,), (1374801764,), (1374801765,), (1374801768,), (1374801786,), (1374801788,), (1374801789,), (1374801791,), (1374801792,), (1374801795,), (1374801814,), (1374801816,), (1374801823,), (1374801825,), (1374801892,), (1374801894,), (1374801895,), (1374801915,), (1374801921,), (1374801965,), (1374801967,), (1374801970,), (1374801973,), (1374801975,), (1374801976,), (1374801990,), (1374801992,), (1374801993,), (1374802013,), (1374802015,), (1374802016,), (1374802018,), (1374802043,), (1374802045,), (1374802046,), (1374802048,), (1374802050,), (1374802068,), (1374802070,), (1374802071,), (1374802073,), (1374802075,), (1374802088,), (1374802090,), (1374802091,), (1374802109,), (1374802111,), (1374802112,), (1374802114,), (1374802116,), (1374802117,), (1374802128,), (1374802130,), (1374802131,), (1374802132,), (1374802134,), (1374802152,), (1374802154,), (1374802155,), (1374802188,), (1374802184,), (1374802185,), (1374802186,), (1374802202,), (1374802203,), (1374802204,), (1374802206,), (1374802209,), (1374802399,), (1374802424,), (1374802452,), (1374802475,), (1374802549,), (1374802551,), (1374802552,), (1374802576,), (1374802577,), (1374802579,), (1374802581,), (1374802608,), (1374802611,), (1374802612,), (1374802632,), (1374802634,), (1374802636,), (1374802661,), (1374802664,), (1374802665,), (1374802667,), (1374802672,), (1374802675,), (1374802683,), (1374802685,), (1374802687,), (1374802690,), (1374802693,), (1374802695,), (1374802701,), (1374802702,), (1374802703,), (1374802704,), (1374802706,), (1374802707,), (1374802709,), (1374802711,), (1374802714,), (1374802730,), (1374802733,), (1374802737,), (1374802739,), (1374802749,), (1374802751,), (1374802753,), (1374802755,), (1374802774,), (1374802776,), (1374802778,), (1374802780,), (1374802783,), (1374802795,), (1374802803,), (1374802828,), (1374803832,), (1374804709,), (1374804707,), (1374804732,), (1374804734,), (1374804737,), (1374804739,), (1374804742,), (1374804755,), (1374804757,), (1374804781,), (1374804784,), (1374804788,), (1374804792,), (1374804795,), (1374804798,), (1374804808,), (1374804809,), (1374804811,), (1374804814,), (1374804818,), (1374804835,), (1374804836,), (1374804837,), (1374804871,), (1374804872,), (1374804873,), (1374804874,), (1374804877,), (1374804886,), (1374804908,), (1374804910,), (1374804911,), (1374804949,), (1374804952,), (1374804958,), (1374804964,), (1374804969,), (1374804974,), (1374804975,), (1374804976,), (1374804978,), (1374804981,), (1374805011,), (1374805023,), (1374805024,), (1374805026,), (1374805047,), (1374805049,), (1374805069,), (1374805262,), (1374805249,), (1374805257,), (1374805258,), (1374805260,), (1374805291,), (1374805297,), (1374805320,), (1374805321,), (1374805332,), (1374805336,), (1374805443,), (1374805468,), (1374805485,), (1374805576,), (1374805579,), (1374805581,), (1374805582,), (1374805585,), (1374805695,), (1374805700,), (1374805702,), (1374805704,), (1374805747,), (1374805749,), (1374805751,), (1374805754,), (1374805757,), (1374805772,), (1374805774,), (1374805776,), (1374805778,), (1374805885,), (1374805888,), (1374805890,), (1374805891,), (1374805893,), (1374805895,), (1374805898,), (1374805904,), (1374805908,), (1374805930,), (1374805931,), (1374805933,), (1374805936,), (1374805940,), (1374805942,), (1374805957,), (1374805958,), (1374805959,), (1374805961,), (1374805983,), (1374805985,), (1374805988,), (1374805991,), (1374806009,), (1374806011,), (1374806036,), (1374806037,), (1374806071,), (1374806072,), (1374806073,), (1374806075,), (1374806101,), (1374806100,), (1374806125,), (1374806126,), (1374806127,), (1374806129,), (1374806164,), (1374806168,), (1374806169,), (1374806174,), (1374806175,), (1374806176,), (1374806178,), (1374806201,), (1374806203,), (1374806205,), (1374806209,), (1374806231,), (1374806233,), (1374806234,), (1374806236,), (1374806240,), (1374806340,), (1374806343,), (1374806346,), (1374806347,), (1374806355,), (1374806390,), (1374806392,), (1374806393,), (1374806415,), (1374806417,), (1374806418,), (1374806420,), (1374806422,), (1374806424,), (1374806445,), (1374806448,), (1374806450,), (1374806452,), (1374806454,), (1374806456,), (1374806545,), (1374806547,), (1374806571,), (1374806598,), (1374806703,), (1374806705,), (1374806706,), (1374806731,), (1374806740,), (1374806746,), (1374806834,), (1374806845,), (1374806856,), (1374806864,), (1374806872,), (1374806881,), (1374806917,), (1374806927,), (1374806929,), (1374806936,), (1374806938,), (1374806940,), (1374806947,), (1374806948,), (1374806977,), (1374806981,), (1374807005,), (1374807009,), (1374807032,), (1374807038,), (1374807089,), (1374807115,), (1374807128,), (1374807133,), (1374807136,), (1374807262,), (1374807258,), (1374807261,), (1374807285,), (1374807287,), (1374807288,), (1374807290,), (1374807306,), (1374807309,), (1374807311,), (1374807313,), (1374807316,), (1374807335,), (1374807338,), (1374807342,), (1374807346,), (1374807366,), (1374807367,), (1374807396,), (1374807397,), (1374807398,), (1374807429,), (1374807430,), (1374807431,), (1374807473,), (1374807475,), (1374807476,), (1374807477,), (1374807480,), (1374807499,), (1374807500,), (1374807502,), (1374807505,), (1374807508,), (1374807510,), (1374807523,), (1374807524,), (1374807539,), (1374807540,), (1374807541,), (1374807543,), (1374807586,), (1374807610,), (1374807611,), (1374807643,), (1374807645,), (1374807646,), (1374807648,), (1374807650,), (1374809925,), (1374809922,), (1374809934,), (1374810038,), (1374810064,), (1374810066,), (1374810089,), (1374810092,), (1374810094,), (1374810241,), (1374810248,), (1374810279,), (1374810283,), (1374810287,), (1374810289,), (1374810298,), (1374810324,), (1374810325,), (1374810433,), (1374810455,), (1374810480,), (1374811163,), (1374811238,), (1374811239,), (1374811261,), (1374811262,), (1374811264,), (1374811267,), (1374811277,), (1374811278,), (1374811279,), (1374811296,), (1374811297,), (1374811298,), (1374811321,), (1374811322,), (1374811349,), (1374811348,), (1374811456,), (1374811457,), (1374811458,), (1374811460,), (1374811470,), (1374811472,), (1374811475,), (1374811481,), (1374811531,), (1374811532,), (1374811533,), (1374811535,), (1374811536,), (1374811549,), (1374811550,), (1374811551,), (1374811553,), (1374811579,), (1374811580,), (1374811581,), (1374811585,), (1374811651,), (1374811652,), (1374811653,), (1374811655,), (1374811658,), (1374811752,), (1374811767,), (1374811776,), (1374811777,), (1374811804,), (1374811807,), (1374811811,), (1374811813,), (1374811821,), (1374811822,), (1374811823,), (1374811861,), (1374811862,), (1374812056,), (1374812052,), (1374812053,), (1374812054,), (1374812072,), (1374812073,), (1374812074,), (1374812076,), (1374812079,), (1374812082,), (1374812100,), (1374812101,), (1374812102,), (1374812104,), (1374812106,), (1374812109,), (1374812119,), (1374812120,), (1374812121,), (1374812123,), (1374833381,), (1374833378,), (1374833379,), (1374833403,), (1374833405,), (1374833406,), (1374833408,), (1374833411,), (1374833413,), (1374833423,), (1374833424,), (1374833446,), (1374833447,), (1374833448,), (1374833450,), (1374833461,), (1374833462,), (1374833488,), (1374833489,), (1374833514,), (1374833516,), (1374833518,), (1374833589,), (1374833541,), (1374833543,), (1374833566,), (1374833892,), (1374833894,), (1374833898,), (1374833902,), (1374833905,), (1374833907,), (1374833921,), (1374833922,), (1374833923,), (1374833925,), (1374833935,), (1374833936,), (1374833937,), (1374833938,), (1374833966,), (1374833967,), (1374833968,), (1374833970,), (1374834000,), (1374834001,), (1374834003,), (1374834006,), (1374834010,), (1374834013,), (1374834017,), (1374834018,), (1374834021,), (1374834022,), (1374834023,), (1374834025,), (1374834027,), (1374834029,), (1374834037,), (1374834038,), (1374834040,), (1374834043,), (1374834045,), (1374834048,), (1374834062,), (1374834063,), (1374834066,), (1374834069,), (1374834096,), (1374834117,), (1374834126,), (1374834129,), (1374834131,), (1374834135,), (1374834137,), (1374834139,), (1374834143,), (1374834148,), (1374834153,), (1374834165,), (1374834167,), (1374834169,), (1374834177,), (1374834178,), (1374834180,), (1374834181,), (1374834183,), (1374834184,), (1374834186,), (1374834188,), (1374834190,), (1374834191,), (1374834193,), (1374834194,), (1374834196,), (1374834197,), (1374834198,), (1374834199,), (1374834201,), (1374834204,), (1374834214,), (1374834218,), (1374834220,), (1374834222,), (1374834224,), (1374834267,), (1374834270,), (1374834271,), (1374834273,), (1374834294,), (1374834292,), (1374834293,), (1374834327,), (1374834330,), (1374834333,), (1374834336,), (1374834337,), (1374834338,), (1374834339,), (1374834590,), (1374834612,), (1374834869,), (1374834894,), (1374835092,), (1374835117,), (1374835118,), (1374835193,), (1374835195,), (1374835207,), (1374835231,), (1374835232,), (1374835234,), (1374835237,), (1374835239,), (1374835250,), (1374835252,), (1374835255,), (1374835259,), (1374835260,), (1374835264,), (1374835271,), (1374835272,), (1374835273,), (1374835274,), (1374835275,), (1374835277,), (1374835280,), (1374835282,), (1374835297,), (1374835299,), (1374835302,), (1374835305,), (1374835331,), (1374835324,), (1374835325,), (1374835326,), (1374835328,), (1374835340,), (1374835341,), (1374835342,), (1374835343,), (1374835367,), (1374835368,), (1374835369,), (1374835371,), (1374835386,), (1374835387,), (1374835388,), (1374835390,), (1374835392,), (1374835410,), (1374835411,), (1374835412,), (1374835465,), (1374835466,), (1374835494,), (1374835495,), (1374835506,), (1374835507,), (1374835530,), (1374835531,), (1374835532,), (1374835548,), (1374835568,), (1374835570,), (1374835571,), (1374835572,), (1374835655,), (1374835707,), (1374835753,), (1374835797,), (1374835841,), (1374835867,), (1374836148,), (1374836203,), (1374836238,), (1374836263,), (1374836696,), (1374836699,), (1374836761,)) NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'01082025': {'nb_upload': 37, 'nb_taggue_class': 0, 'nb_taggue_densite': 0}} After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([25586789]) Inside saveOutput : final : True verbose : True saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1374796871, 1374796844, 1374796840, 1374796838, 1374796837, 1374796835, 1374796817, 1374796815, 1374796813, 1374796812, 1374796811, 1374796789, 1374796785, 1374796784, 1374796783, 1374796781, 1374796775, 1374796773, 1374796770, 1374796620, 1374796618, 1374796572, 1374796570, 1374796523, 1374796463, 1374796459, 1374796456, 1374796453, 1374796399, 1374796358, 1374796356, 1374796350, 1374796286, 1374796224, 1374795746, 1374795744, 1374795551] map_info['map_portfolio_photo'] : {25586789: [1374796871, 1374796844, 1374796840, 1374796838, 1374796837, 1374796835, 1374796817, 1374796815, 1374796813, 1374796812, 1374796811, 1374796789, 1374796785, 1374796784, 1374796783, 1374796781, 1374796775, 1374796773, 1374796770, 1374796620, 1374796618, 1374796572, 1374796570, 1374796523, 1374796463, 1374796459, 1374796456, 1374796453, 1374796399, 1374796358, 1374796356, 1374796350, 1374796286, 1374796224, 1374795746, 1374795744, 1374795551]} final : True mtd_id 4302 list_pids : [1374796871, 1374796844, 1374796840, 1374796838, 1374796837, 1374796835, 1374796817, 1374796815, 1374796813, 1374796812, 1374796811, 1374796789, 1374796785, 1374796784, 1374796783, 1374796781, 1374796775, 1374796773, 1374796770, 1374796620, 1374796618, 1374796572, 1374796570, 1374796523, 1374796463, 1374796459, 1374796456, 1374796453, 1374796399, 1374796358, 1374796356, 1374796350, 1374796286, 1374796224, 1374795746, 1374795744, 1374795551] Looping around the photos to save general results len do output : 1 /25586789Didn'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, '3426748') ('4302', '25586789', '1374796871', None, None, None, None, None, '3426748') ('4302', None, None, None, None, None, None, None, '3426748') ('4302', '25586789', '1374796844', None, None, None, None, None, '3426748') ('4302', None, None, None, None, None, None, None, '3426748') ('4302', '25586789', '1374796840', None, None, None, None, None, '3426748') ('4302', None, None, None, None, None, None, None, '3426748') ('4302', '25586789', '1374796838', None, None, None, None, None, '3426748') ('4302', None, None, None, None, None, None, None, '3426748') ('4302', '25586789', '1374796837', None, None, None, None, None, '3426748') ('4302', None, None, None, None, None, None, None, '3426748') ('4302', '25586789', '1374796835', None, None, None, None, None, '3426748') ('4302', None, None, None, None, None, None, None, '3426748') ('4302', '25586789', '1374796817', None, None, None, None, None, '3426748') ('4302', None, None, None, None, None, None, None, '3426748') ('4302', '25586789', '1374796815', None, None, None, None, None, '3426748') ('4302', None, None, None, None, None, None, None, '3426748') ('4302', '25586789', '1374796813', None, None, None, None, None, '3426748') ('4302', None, None, None, None, None, None, None, '3426748') ('4302', '25586789', '1374796812', None, None, None, None, None, '3426748') ('4302', None, None, None, None, None, None, None, '3426748') ('4302', '25586789', '1374796811', None, None, None, None, None, '3426748') ('4302', None, None, None, None, None, None, None, '3426748') ('4302', '25586789', '1374796789', None, None, None, None, None, '3426748') ('4302', None, None, None, None, None, None, None, '3426748') ('4302', '25586789', '1374796785', None, None, None, None, None, '3426748') ('4302', None, None, None, None, None, None, None, '3426748') ('4302', '25586789', '1374796784', None, None, None, None, None, '3426748') ('4302', None, None, None, None, None, None, None, '3426748') ('4302', '25586789', '1374796783', None, None, None, None, None, '3426748') ('4302', None, None, None, None, None, None, None, '3426748') ('4302', '25586789', '1374796781', None, None, None, None, None, '3426748') ('4302', None, None, None, None, None, None, None, '3426748') ('4302', '25586789', '1374796775', None, None, None, None, None, '3426748') ('4302', None, None, None, None, None, None, None, '3426748') ('4302', '25586789', '1374796773', None, None, None, None, None, '3426748') ('4302', None, None, None, None, None, None, None, '3426748') ('4302', '25586789', '1374796770', None, None, None, None, None, '3426748') ('4302', None, None, None, None, None, None, None, '3426748') ('4302', '25586789', '1374796620', None, None, None, None, None, '3426748') ('4302', None, None, None, None, None, None, None, '3426748') ('4302', '25586789', '1374796618', None, None, None, None, None, '3426748') ('4302', None, None, None, None, None, None, None, '3426748') ('4302', '25586789', '1374796572', None, None, None, None, None, '3426748') ('4302', None, None, None, None, None, None, None, '3426748') ('4302', '25586789', '1374796570', None, None, None, None, None, '3426748') ('4302', None, None, None, None, None, None, None, '3426748') ('4302', '25586789', '1374796523', None, None, None, None, None, '3426748') ('4302', None, None, None, None, None, None, None, '3426748') ('4302', '25586789', '1374796463', None, None, None, None, None, '3426748') ('4302', None, None, None, None, None, None, None, '3426748') ('4302', '25586789', '1374796459', None, None, None, None, None, '3426748') ('4302', None, None, None, None, None, None, None, '3426748') ('4302', '25586789', '1374796456', None, None, None, None, None, '3426748') ('4302', None, None, None, None, None, None, None, '3426748') ('4302', '25586789', '1374796453', None, None, None, None, None, '3426748') ('4302', None, None, None, None, None, None, None, '3426748') ('4302', '25586789', '1374796399', None, None, None, None, None, '3426748') ('4302', None, None, None, None, None, None, None, '3426748') ('4302', '25586789', '1374796358', None, None, None, None, None, '3426748') ('4302', None, None, None, None, None, None, None, '3426748') ('4302', '25586789', '1374796356', None, None, None, None, None, '3426748') ('4302', None, None, None, None, None, None, None, '3426748') ('4302', '25586789', '1374796350', None, None, None, None, None, '3426748') ('4302', None, None, None, None, None, None, None, '3426748') ('4302', '25586789', '1374796286', None, None, None, None, None, '3426748') ('4302', None, None, None, None, None, None, None, '3426748') ('4302', '25586789', '1374796224', None, None, None, None, None, '3426748') ('4302', None, None, None, None, None, None, None, '3426748') ('4302', '25586789', '1374795746', None, None, None, None, None, '3426748') ('4302', None, None, None, None, None, None, None, '3426748') ('4302', '25586789', '1374795744', None, None, None, None, None, '3426748') ('4302', None, None, None, None, None, None, None, '3426748') ('4302', '25586789', '1374795551', None, None, None, None, None, '3426748') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 38 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, '25586789', 'None', None, None, None, None, '3426748'), ('4302', '25586789', '1374796871', None, None, None, None, None, '3426748'), ('4302', '25586789', '1374796844', None, None, None, None, None, '3426748'), ('4302', '25586789', '1374796840', None, None, None, None, None, '3426748'), ('4302', '25586789', '1374796838', None, None, None, None, None, '3426748'), ('4302', '25586789', '1374796837', None, None, None, None, None, '3426748'), ('4302', '25586789', '1374796835', None, None, None, None, None, '3426748'), ('4302', '25586789', '1374796817', None, None, None, None, None, '3426748'), ('4302', '25586789', '1374796815', None, None, None, None, None, '3426748'), ('4302', '25586789', '1374796813', None, None, None, None, None, '3426748'), ('4302', '25586789', '1374796812', None, None, None, None, None, '3426748'), ('4302', '25586789', '1374796811', None, None, None, None, None, '3426748'), ('4302', '25586789', '1374796789', None, None, None, None, None, '3426748'), ('4302', '25586789', '1374796785', None, None, None, None, None, '3426748'), ('4302', '25586789', '1374796784', None, None, None, None, None, '3426748'), ('4302', '25586789', '1374796783', None, None, None, None, None, '3426748'), ('4302', '25586789', '1374796781', None, None, None, None, None, '3426748'), ('4302', '25586789', '1374796775', None, None, None, None, None, '3426748'), ('4302', '25586789', '1374796773', None, None, None, None, None, '3426748'), ('4302', '25586789', '1374796770', None, None, None, None, None, '3426748'), ('4302', '25586789', '1374796620', None, None, None, None, None, '3426748'), ('4302', '25586789', '1374796618', None, None, None, None, None, '3426748'), ('4302', '25586789', '1374796572', None, None, None, None, None, '3426748'), ('4302', '25586789', '1374796570', None, None, None, None, None, '3426748'), ('4302', '25586789', '1374796523', None, None, None, None, None, '3426748'), ('4302', '25586789', '1374796463', None, None, None, None, None, '3426748'), ('4302', '25586789', '1374796459', None, None, None, None, None, '3426748'), ('4302', '25586789', '1374796456', None, None, None, None, None, '3426748'), ('4302', '25586789', '1374796453', None, None, None, None, None, '3426748'), ('4302', '25586789', '1374796399', None, None, None, None, None, '3426748'), ('4302', '25586789', '1374796358', None, None, None, None, None, '3426748'), ('4302', '25586789', '1374796356', None, None, None, None, None, '3426748'), ('4302', '25586789', '1374796350', None, None, None, None, None, '3426748'), ('4302', '25586789', '1374796286', None, None, None, None, None, '3426748'), ('4302', '25586789', '1374796224', None, None, None, None, None, '3426748'), ('4302', '25586789', '1374795746', None, None, None, None, None, '3426748'), ('4302', '25586789', '1374795744', None, None, None, None, None, '3426748'), ('4302', '25586789', '1374795551', None, None, None, None, None, '3426748')] time used for this insertion : 0.025220155715942383 save_final save missing photos in datou_result : time spend for datou_step_exec : 5.146375894546509 time spend to save output : 0.02563619613647461 total time spend for step 5 : 5.172012090682983 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 (3426748) 2.92user 2.25system 0:14.47elapsed 35%CPU (0avgtext+0avgdata 166388maxresident)k 1392inputs+18968outputs (14major+80295minor)pagefaults 0swaps