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 : 1926660 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 (2631301) updating current state to 1 UPDATE MTRPhoto.mtr_datou_current SET state=1, hostname='marlene' WHERE id in (2631301) SELECT count(*) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20967368 AND hide_status = 0 list_input_json: [] Current got : datou_id : 4302, datou_cur_ids : ['2631301'] with mtr_portfolio_ids : ['20967368'] and first list_photo_ids : [] new path : /proc/1926660/ Name: python3 Umask: 0002 State: R (running) Tgid: 1926660 Ngid: 0 Pid: 1926660 PPid: 1926659 TracerPid: 0 Uid: 1006 1006 1006 1006 Gid: 1009 1009 1009 1009 FDSize: 64 Groups: 27 1009 1026 NStgid: 1926660 NSpid: 1926660 NSpgid: 1925602 NSsid: 1925602 VmPeak: 1106844 kB VmSize: 1106844 kB VmLck: 0 kB VmPin: 0 kB VmHWM: 98216 kB VmRSS: 98216 kB RssAnon: 59760 kB RssFile: 38456 kB RssShmem: 0 kB VmData: 865592 kB VmStk: 132 kB VmExe: 2644 kB VmLib: 130468 kB VmPTE: 612 kB VmSwap: 0 kB HugetlbPages: 0 kB CoreDumping: 0 THP_enabled: 1 Threads: 1 SigQ: 3/63054 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: 65 nonvoluntary_ctxt_switches: 156 {'Name': 'python3', 'Umask': '0002', 'State': 'R (running)', 'Tgid': '1926660', 'Ngid': '0', 'Pid': '1926660', 'PPid': '1926659', 'TracerPid': '0', 'Uid': '1006,1006,1006,1006', 'Gid': '1009,1009,1009,1009', 'FDSize': '64', 'Groups': '27 1009 1026', 'NStgid': '1926660', 'NSpid': '1926660', 'NSpgid': '1925602', 'NSsid': '1925602', 'VmPeak': '1106844 kB', 'VmSize': '1106844 kB', 'VmLck': '0 kB', 'VmPin': '0 kB', 'VmHWM': '98216 kB', 'VmRSS': '98216 kB', 'RssAnon': '59760 kB', 'RssFile': '38456 kB', 'RssShmem': '0 kB', 'VmData': '865592 kB', 'VmStk': '132 kB', 'VmExe': '2644 kB', 'VmLib': '130468 kB', 'VmPTE': '612 kB', 'VmSwap': '0 kB', 'HugetlbPages': '0 kB', 'CoreDumping': '0', 'THP_enabled': '1', 'Threads': '1', 'SigQ': '3/63054', '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': '65', 'nonvoluntary_ctxt_switches': '156'} ('datou_batch_current', '1926660', '1106844', '0', '1106844', '865592', '98216', b'', 'marlene', '2631301') 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 (20967368) 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 (2631301 ) ) 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 (20967368) AND hide_status = 0 ORDER by mtr_photo_id desc LIMIT 0, 200 list_result: [{'photo_id': 1340600154, 'portfolio_id': 20967368}, {'photo_id': 1340600084, 'portfolio_id': 20967368}, {'photo_id': 1340600081, 'portfolio_id': 20967368}, {'photo_id': 1340599709, 'portfolio_id': 20967368}, {'photo_id': 1340599548, 'portfolio_id': 20967368}, {'photo_id': 1340599510, 'portfolio_id': 20967368}, {'photo_id': 1340599503, 'portfolio_id': 20967368}, {'photo_id': 1340599497, 'portfolio_id': 20967368}, {'photo_id': 1340599492, 'portfolio_id': 20967368}, {'photo_id': 1340599456, 'portfolio_id': 20967368}, {'photo_id': 1340599451, 'portfolio_id': 20967368}, {'photo_id': 1340599446, 'portfolio_id': 20967368}, {'photo_id': 1340599440, 'portfolio_id': 20967368}, {'photo_id': 1340599431, 'portfolio_id': 20967368}, {'photo_id': 1340599428, 'portfolio_id': 20967368}, {'photo_id': 1340599380, 'portfolio_id': 20967368}, {'photo_id': 1340599372, 'portfolio_id': 20967368}, {'photo_id': 1340599366, 'portfolio_id': 20967368}, {'photo_id': 1340599166, 'portfolio_id': 20967368}, {'photo_id': 1340599158, 'portfolio_id': 20967368}, {'photo_id': 1340599142, 'portfolio_id': 20967368}, {'photo_id': 1340599132, 'portfolio_id': 20967368}, {'photo_id': 1340599124, 'portfolio_id': 20967368}, {'photo_id': 1340599121, 'portfolio_id': 20967368}, {'photo_id': 1340599080, 'portfolio_id': 20967368}, {'photo_id': 1340599070, 'portfolio_id': 20967368}, {'photo_id': 1340599063, 'portfolio_id': 20967368}, {'photo_id': 1340599059, 'portfolio_id': 20967368}, {'photo_id': 1340599020, 'portfolio_id': 20967368}, {'photo_id': 1340599014, 'portfolio_id': 20967368}, {'photo_id': 1340599012, 'portfolio_id': 20967368}, {'photo_id': 1340599005, 'portfolio_id': 20967368}, {'photo_id': 1340599001, 'portfolio_id': 20967368}, {'photo_id': 1340598881, 'portfolio_id': 20967368}, {'photo_id': 1340598874, 'portfolio_id': 20967368}, {'photo_id': 1340598871, 'portfolio_id': 20967368}, {'photo_id': 1340598865, 'portfolio_id': 20967368}, {'photo_id': 1340598861, 'portfolio_id': 20967368}] map_portfolio_id_photo_id: {20967368: [1340600154, 1340600084, 1340600081, 1340599709, 1340599548, 1340599510, 1340599503, 1340599497, 1340599492, 1340599456, 1340599451, 1340599446, 1340599440, 1340599431, 1340599428, 1340599380, 1340599372, 1340599366, 1340599166, 1340599158, 1340599142, 1340599132, 1340599124, 1340599121, 1340599080, 1340599070, 1340599063, 1340599059, 1340599020, 1340599014, 1340599012, 1340599005, 1340599001, 1340598881, 1340598874, 1340598871, 1340598865, 1340598861]} ##### 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.028184890747070312 #### fin chargement data Blocking on flush ? No conitnuing About to test input to load Calling datou_exec Inside datou_exec : verbose : True number of steps : 5 step1:ventilate_hashtags_in_portfolio Tue Mar 4 05:41:27 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 (20967368) 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 : 20967368 get user id for portfolio 20967368 get sub ptf for main ptf 20967368, type 3726 and hashtags ['kraft', 'environnement', 'cartonnette', 'Carton_gris', 'plastique', 'Carton_brun', 'mal_croppe', 'metal', 'papier', 'Teint_Dans_La_Masse', 'flou', 'autre_refus'] 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`=20967368 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('kraft','environnement','cartonnette','Carton_gris','plastique','Carton_brun','mal_croppe','metal','papier','Teint_Dans_La_Masse','flou','autre_refus')) 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`=20967368 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('kraft','environnement','cartonnette','Carton_gris','plastique','Carton_brun','mal_croppe','metal','papier','Teint_Dans_La_Masse','flou','autre_refus')) AND mptpi.`min_score`=0.5 To do returned map {'Teint_Dans_La_Masse': {'main_port_id': 20967368, 'sub_port_id': 20967396, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13588816, 'last_updated_at': datetime.datetime(2025, 3, 3, 9, 49), 'last_updated_at_desc': datetime.datetime(2025, 3, 3, 9, 49), 'last_updated_at_asc': datetime.datetime(2025, 3, 3, 9, 34, 59)}, 'plastique': {'main_port_id': 20967368, 'sub_port_id': 20967397, 'hashtag': 'plastique', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13588817, 'last_updated_at': datetime.datetime(2025, 3, 3, 9, 49), 'last_updated_at_desc': datetime.datetime(2025, 3, 3, 9, 49), 'last_updated_at_asc': datetime.datetime(2025, 3, 3, 9, 34, 59)}, 'autre_refus': {'main_port_id': 20967368, 'sub_port_id': 20967398, 'hashtag': 'autre_refus', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13588818, 'last_updated_at': datetime.datetime(2025, 3, 3, 9, 49), 'last_updated_at_desc': datetime.datetime(2025, 3, 3, 9, 49), 'last_updated_at_asc': datetime.datetime(2025, 3, 3, 9, 34, 59)}, 'metal': {'main_port_id': 20967368, 'sub_port_id': 20967399, 'hashtag': 'metal', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13588819, 'last_updated_at': datetime.datetime(2025, 3, 3, 9, 49), 'last_updated_at_desc': datetime.datetime(2025, 3, 3, 9, 49), 'last_updated_at_asc': datetime.datetime(2025, 3, 3, 9, 34, 59)}, 'mal_croppe': {'main_port_id': 20967368, 'sub_port_id': 20967400, 'hashtag': 'mal_croppe', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13588820, 'last_updated_at': datetime.datetime(2025, 3, 3, 9, 49), 'last_updated_at_desc': datetime.datetime(2025, 3, 3, 9, 49), 'last_updated_at_asc': datetime.datetime(2025, 3, 3, 9, 34, 59)}, 'kraft': {'main_port_id': 20967368, 'sub_port_id': 20967401, 'hashtag': 'kraft', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13588821, 'last_updated_at': datetime.datetime(2025, 3, 3, 9, 49), 'last_updated_at_desc': datetime.datetime(2025, 3, 3, 9, 49), 'last_updated_at_asc': datetime.datetime(2025, 3, 3, 9, 34, 59)}, 'Carton_gris': {'main_port_id': 20967368, 'sub_port_id': 20967402, 'hashtag': 'Carton_gris', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13588822, 'last_updated_at': datetime.datetime(2025, 3, 3, 9, 49), 'last_updated_at_desc': datetime.datetime(2025, 3, 3, 9, 49), 'last_updated_at_asc': datetime.datetime(2025, 3, 3, 9, 34, 59)}, 'flou': {'main_port_id': 20967368, 'sub_port_id': 20967403, 'hashtag': 'flou', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13588823, 'last_updated_at': datetime.datetime(2025, 3, 3, 9, 49), 'last_updated_at_desc': datetime.datetime(2025, 3, 3, 9, 49), 'last_updated_at_asc': datetime.datetime(2025, 3, 3, 9, 34, 59)}, 'Carton_brun': {'main_port_id': 20967368, 'sub_port_id': 20967404, 'hashtag': 'Carton_brun', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13588824, 'last_updated_at': datetime.datetime(2025, 3, 3, 9, 49), 'last_updated_at_desc': datetime.datetime(2025, 3, 3, 9, 49), 'last_updated_at_asc': datetime.datetime(2025, 3, 3, 9, 34, 59)}, 'papier': {'main_port_id': 20967368, 'sub_port_id': 20967405, 'hashtag': 'papier', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13588825, 'last_updated_at': datetime.datetime(2025, 3, 3, 9, 49), 'last_updated_at_desc': datetime.datetime(2025, 3, 3, 9, 49), 'last_updated_at_asc': datetime.datetime(2025, 3, 3, 9, 34, 59)}, 'cartonnette': {'main_port_id': 20967368, 'sub_port_id': 20967406, 'hashtag': 'cartonnette', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13588826, 'last_updated_at': datetime.datetime(2025, 3, 3, 9, 49), 'last_updated_at_desc': datetime.datetime(2025, 3, 3, 9, 49), 'last_updated_at_asc': datetime.datetime(2025, 3, 3, 9, 34, 59)}, 'environnement': {'main_port_id': 20967368, 'sub_port_id': 20967407, 'hashtag': 'environnement', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13588827, 'last_updated_at': datetime.datetime(2025, 3, 3, 9, 49), 'last_updated_at_desc': datetime.datetime(2025, 3, 3, 9, 49), 'last_updated_at_asc': datetime.datetime(2025, 3, 3, 9, 34, 59)}} insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 20967396 , 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=20967368 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 (20967396) result : ((1340599129,), (1340599130,), (1340599408,), (1340599409,), (1340599580,), (1340599581,), (1340599770,), (1340599771,), (1340599772,), (1340599773,), (1340603967,), (1340603968,), (1340605446,), (1340605447,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20967368) result : ((1340598861,), (1340598865,), (1340598871,), (1340598874,), (1340598881,), (1340599001,), (1340599005,), (1340599012,), (1340599014,), (1340599020,), (1340599059,), (1340599063,), (1340599070,), (1340599080,), (1340599121,), (1340599124,), (1340599132,), (1340599142,), (1340599158,), (1340599166,), (1340599366,), (1340599372,), (1340599380,), (1340599428,), (1340599431,), (1340599440,), (1340599446,), (1340599451,), (1340599456,), (1340599492,), (1340599497,), (1340599503,), (1340599510,), (1340599548,), (1340599709,), (1340600081,), (1340600084,), (1340600154,)) 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 20967397 , 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=20967368 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 (20967397) result : ((1340599596,), (1340599794,), (1340600574,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20967368) result : ((1340598861,), (1340598865,), (1340598871,), (1340598874,), (1340598881,), (1340599001,), (1340599005,), (1340599012,), (1340599014,), (1340599020,), (1340599059,), (1340599063,), (1340599070,), (1340599080,), (1340599121,), (1340599124,), (1340599132,), (1340599142,), (1340599158,), (1340599166,), (1340599366,), (1340599372,), (1340599380,), (1340599428,), (1340599431,), (1340599440,), (1340599446,), (1340599451,), (1340599456,), (1340599492,), (1340599497,), (1340599503,), (1340599510,), (1340599548,), (1340599709,), (1340600081,), (1340600084,), (1340600154,)) 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 20967398 , 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=20967368 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 (20967398) result : ((1340599135,), (1340599136,), (1340599137,), (1340599138,), (1340599139,), (1340599140,), (1340599411,), (1340599412,), (1340599462,), (1340599463,), (1340599464,), (1340599465,), (1340599466,), (1340599586,), (1340599587,), (1340599588,), (1340599589,), (1340599590,), (1340599591,), (1340599592,), (1340599702,), (1340599703,), (1340599704,), (1340599705,), (1340599746,), (1340599748,), (1340599749,), (1340599775,), (1340599776,), (1340599777,), (1340599778,), (1340599779,), (1340599780,), (1340599781,), (1340600572,), (1340604020,), (1340604021,), (1340604022,), (1340604023,), (1340604024,), (1340604025,), (1340604026,), (1340604027,), (1340605450,), (1340605454,), (1340605458,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20967368) result : ((1340598861,), (1340598865,), (1340598871,), (1340598874,), (1340598881,), (1340599001,), (1340599005,), (1340599012,), (1340599014,), (1340599020,), (1340599059,), (1340599063,), (1340599070,), (1340599080,), (1340599121,), (1340599124,), (1340599132,), (1340599142,), (1340599158,), (1340599166,), (1340599366,), (1340599372,), (1340599380,), (1340599428,), (1340599431,), (1340599440,), (1340599446,), (1340599451,), (1340599456,), (1340599492,), (1340599497,), (1340599503,), (1340599510,), (1340599548,), (1340599709,), (1340600081,), (1340600084,), (1340600154,)) 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 20967399 , 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=20967368 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 (20967399) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20967368) result : ((1340598861,), (1340598865,), (1340598871,), (1340598874,), (1340598881,), (1340599001,), (1340599005,), (1340599012,), (1340599014,), (1340599020,), (1340599059,), (1340599063,), (1340599070,), (1340599080,), (1340599121,), (1340599124,), (1340599132,), (1340599142,), (1340599158,), (1340599166,), (1340599366,), (1340599372,), (1340599380,), (1340599428,), (1340599431,), (1340599440,), (1340599446,), (1340599451,), (1340599456,), (1340599492,), (1340599497,), (1340599503,), (1340599510,), (1340599548,), (1340599709,), (1340600081,), (1340600084,), (1340600154,)) 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 20967400 , 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=20967368 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 (20967400) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20967368) result : ((1340598861,), (1340598865,), (1340598871,), (1340598874,), (1340598881,), (1340599001,), (1340599005,), (1340599012,), (1340599014,), (1340599020,), (1340599059,), (1340599063,), (1340599070,), (1340599080,), (1340599121,), (1340599124,), (1340599132,), (1340599142,), (1340599158,), (1340599166,), (1340599366,), (1340599372,), (1340599380,), (1340599428,), (1340599431,), (1340599440,), (1340599446,), (1340599451,), (1340599456,), (1340599492,), (1340599497,), (1340599503,), (1340599510,), (1340599548,), (1340599709,), (1340600081,), (1340600084,), (1340600154,)) 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 20967401 , 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=20967368 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 (20967401) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20967368) result : ((1340598861,), (1340598865,), (1340598871,), (1340598874,), (1340598881,), (1340599001,), (1340599005,), (1340599012,), (1340599014,), (1340599020,), (1340599059,), (1340599063,), (1340599070,), (1340599080,), (1340599121,), (1340599124,), (1340599132,), (1340599142,), (1340599158,), (1340599166,), (1340599366,), (1340599372,), (1340599380,), (1340599428,), (1340599431,), (1340599440,), (1340599446,), (1340599451,), (1340599456,), (1340599492,), (1340599497,), (1340599503,), (1340599510,), (1340599548,), (1340599709,), (1340600081,), (1340600084,), (1340600154,)) 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 20967402 , 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=20967368 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 (20967402) result : ((1340599143,), (1340599144,), (1340599145,), (1340599146,), (1340599147,), (1340599467,), (1340599707,), (1340599708,), (1340599786,), (1340599787,), (1340599788,), (1340604029,), (1340604030,), (1340604031,), (1340604032,), (1340604033,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20967368) result : ((1340598861,), (1340598865,), (1340598871,), (1340598874,), (1340598881,), (1340599001,), (1340599005,), (1340599012,), (1340599014,), (1340599020,), (1340599059,), (1340599063,), (1340599070,), (1340599080,), (1340599121,), (1340599124,), (1340599132,), (1340599142,), (1340599158,), (1340599166,), (1340599366,), (1340599372,), (1340599380,), (1340599428,), (1340599431,), (1340599440,), (1340599446,), (1340599451,), (1340599456,), (1340599492,), (1340599497,), (1340599503,), (1340599510,), (1340599548,), (1340599709,), (1340600081,), (1340600084,), (1340600154,)) 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 20967403 , 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=20967368 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 (20967403) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20967368) result : ((1340598861,), (1340598865,), (1340598871,), (1340598874,), (1340598881,), (1340599001,), (1340599005,), (1340599012,), (1340599014,), (1340599020,), (1340599059,), (1340599063,), (1340599070,), (1340599080,), (1340599121,), (1340599124,), (1340599132,), (1340599142,), (1340599158,), (1340599166,), (1340599366,), (1340599372,), (1340599380,), (1340599428,), (1340599431,), (1340599440,), (1340599446,), (1340599451,), (1340599456,), (1340599492,), (1340599497,), (1340599503,), (1340599510,), (1340599548,), (1340599709,), (1340600081,), (1340600084,), (1340600154,)) 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 20967404 , 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=20967368 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 (20967404) result : ((1340599151,), (1340599152,), (1340599153,), (1340599712,), (1340599790,), (1340599791,), (1340599792,), (1340599793,), (1340604035,), (1340604036,), (1340604037,), (1340605479,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20967368) result : ((1340598861,), (1340598865,), (1340598871,), (1340598874,), (1340598881,), (1340599001,), (1340599005,), (1340599012,), (1340599014,), (1340599020,), (1340599059,), (1340599063,), (1340599070,), (1340599080,), (1340599121,), (1340599124,), (1340599132,), (1340599142,), (1340599158,), (1340599166,), (1340599366,), (1340599372,), (1340599380,), (1340599428,), (1340599431,), (1340599440,), (1340599446,), (1340599451,), (1340599456,), (1340599492,), (1340599497,), (1340599503,), (1340599510,), (1340599548,), (1340599709,), (1340600081,), (1340600084,), (1340600154,)) 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 20967405 , 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=20967368 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 (20967405) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20967368) result : ((1340598861,), (1340598865,), (1340598871,), (1340598874,), (1340598881,), (1340599001,), (1340599005,), (1340599012,), (1340599014,), (1340599020,), (1340599059,), (1340599063,), (1340599070,), (1340599080,), (1340599121,), (1340599124,), (1340599132,), (1340599142,), (1340599158,), (1340599166,), (1340599366,), (1340599372,), (1340599380,), (1340599428,), (1340599431,), (1340599440,), (1340599446,), (1340599451,), (1340599456,), (1340599492,), (1340599497,), (1340599503,), (1340599510,), (1340599548,), (1340599709,), (1340600081,), (1340600084,), (1340600154,)) 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 20967406 , 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=20967368 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 (20967406) result : ((1340599413,), (1340599469,), (1340599594,), (1340599711,), (1340605478,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20967368) result : ((1340598861,), (1340598865,), (1340598871,), (1340598874,), (1340598881,), (1340599001,), (1340599005,), (1340599012,), (1340599014,), (1340599020,), (1340599059,), (1340599063,), (1340599070,), (1340599080,), (1340599121,), (1340599124,), (1340599132,), (1340599142,), (1340599158,), (1340599166,), (1340599366,), (1340599372,), (1340599380,), (1340599428,), (1340599431,), (1340599440,), (1340599446,), (1340599451,), (1340599456,), (1340599492,), (1340599497,), (1340599503,), (1340599510,), (1340599548,), (1340599709,), (1340600081,), (1340600084,), (1340600154,)) 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 20967407 , 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=20967368 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 (20967407) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20967368) result : ((1340598861,), (1340598865,), (1340598871,), (1340598874,), (1340598881,), (1340599001,), (1340599005,), (1340599012,), (1340599014,), (1340599020,), (1340599059,), (1340599063,), (1340599070,), (1340599080,), (1340599121,), (1340599124,), (1340599132,), (1340599142,), (1340599158,), (1340599166,), (1340599366,), (1340599372,), (1340599380,), (1340599428,), (1340599431,), (1340599440,), (1340599446,), (1340599451,), (1340599456,), (1340599492,), (1340599497,), (1340599503,), (1340599510,), (1340599548,), (1340599709,), (1340600081,), (1340600084,), (1340600154,)) 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`=20967368 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('kraft','environnement','cartonnette','Carton_gris','plastique','Carton_brun','mal_croppe','metal','papier','Teint_Dans_La_Masse','flou','autre_refus')) 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`=20967368 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('kraft','environnement','cartonnette','Carton_gris','plastique','Carton_brun','mal_croppe','metal','papier','Teint_Dans_La_Masse','flou','autre_refus')) AND mptpi.`min_score`=0.5 To do returned map {'Teint_Dans_La_Masse': {'main_port_id': 20967368, 'sub_port_id': 20967408, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13588828, 'last_updated_at': datetime.datetime(2025, 3, 3, 9, 35, 1), 'last_updated_at_desc': datetime.datetime(2025, 3, 3, 9, 35, 1), 'last_updated_at_asc': datetime.datetime(2025, 3, 3, 9, 35, 1)}, 'plastique': {'main_port_id': 20967368, 'sub_port_id': 20967409, 'hashtag': 'plastique', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13588829, 'last_updated_at': datetime.datetime(2025, 3, 3, 9, 35, 1), 'last_updated_at_desc': datetime.datetime(2025, 3, 3, 9, 35, 1), 'last_updated_at_asc': datetime.datetime(2025, 3, 3, 9, 35, 1)}, 'autre_refus': {'main_port_id': 20967368, 'sub_port_id': 20967410, 'hashtag': 'autre_refus', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13588830, 'last_updated_at': datetime.datetime(2025, 3, 3, 9, 35, 1), 'last_updated_at_desc': datetime.datetime(2025, 3, 3, 9, 35, 1), 'last_updated_at_asc': datetime.datetime(2025, 3, 3, 9, 35, 1)}, 'metal': {'main_port_id': 20967368, 'sub_port_id': 20967411, 'hashtag': 'metal', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13588831, 'last_updated_at': datetime.datetime(2025, 3, 3, 9, 35, 1), 'last_updated_at_desc': datetime.datetime(2025, 3, 3, 9, 35, 1), 'last_updated_at_asc': datetime.datetime(2025, 3, 3, 9, 35, 1)}, 'mal_croppe': {'main_port_id': 20967368, 'sub_port_id': 20967412, 'hashtag': 'mal_croppe', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13588832, 'last_updated_at': datetime.datetime(2025, 3, 3, 9, 35, 1), 'last_updated_at_desc': datetime.datetime(2025, 3, 3, 9, 35, 1), 'last_updated_at_asc': datetime.datetime(2025, 3, 3, 9, 35, 1)}, 'kraft': {'main_port_id': 20967368, 'sub_port_id': 20967413, 'hashtag': 'kraft', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13588833, 'last_updated_at': datetime.datetime(2025, 3, 3, 9, 35, 1), 'last_updated_at_desc': datetime.datetime(2025, 3, 3, 9, 35, 1), 'last_updated_at_asc': datetime.datetime(2025, 3, 3, 9, 35, 1)}, 'Carton_gris': {'main_port_id': 20967368, 'sub_port_id': 20967414, 'hashtag': 'Carton_gris', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13588834, 'last_updated_at': datetime.datetime(2025, 3, 3, 9, 35, 1), 'last_updated_at_desc': datetime.datetime(2025, 3, 3, 9, 35, 1), 'last_updated_at_asc': datetime.datetime(2025, 3, 3, 9, 35, 1)}, 'flou': {'main_port_id': 20967368, 'sub_port_id': 20967415, 'hashtag': 'flou', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13588835, 'last_updated_at': datetime.datetime(2025, 3, 3, 9, 35, 1), 'last_updated_at_desc': datetime.datetime(2025, 3, 3, 9, 35, 1), 'last_updated_at_asc': datetime.datetime(2025, 3, 3, 9, 35, 1)}, 'Carton_brun': {'main_port_id': 20967368, 'sub_port_id': 20967416, 'hashtag': 'Carton_brun', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13588836, 'last_updated_at': datetime.datetime(2025, 3, 3, 9, 35, 1), 'last_updated_at_desc': datetime.datetime(2025, 3, 3, 9, 35, 1), 'last_updated_at_asc': datetime.datetime(2025, 3, 3, 9, 35, 1)}, 'papier': {'main_port_id': 20967368, 'sub_port_id': 20967417, 'hashtag': 'papier', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13588837, 'last_updated_at': datetime.datetime(2025, 3, 3, 9, 35, 1), 'last_updated_at_desc': datetime.datetime(2025, 3, 3, 9, 35, 1), 'last_updated_at_asc': datetime.datetime(2025, 3, 3, 9, 35, 1)}, 'cartonnette': {'main_port_id': 20967368, 'sub_port_id': 20967418, 'hashtag': 'cartonnette', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13588838, 'last_updated_at': datetime.datetime(2025, 3, 3, 9, 35, 1), 'last_updated_at_desc': datetime.datetime(2025, 3, 3, 9, 35, 1), 'last_updated_at_asc': datetime.datetime(2025, 3, 3, 9, 35, 1)}, 'environnement': {'main_port_id': 20967368, 'sub_port_id': 20967419, 'hashtag': 'environnement', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13588839, 'last_updated_at': datetime.datetime(2025, 3, 3, 9, 49), 'last_updated_at_desc': datetime.datetime(2025, 3, 3, 9, 49), 'last_updated_at_asc': datetime.datetime(2025, 3, 3, 9, 35, 1)}} insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20967408,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20967396 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20967409,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20967397 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20967410,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20967398 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20967411,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20967399 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20967412,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20967400 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20967413,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20967401 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20967414,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20967402 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20967415,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20967403 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20967416,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20967404 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20967417,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20967405 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20967418,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20967406 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20967419,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20967407 lien utilise dans velours : https://www.fotonower.com/velours/20967408,20967409,20967410,20967411,20967412,20967413,20967414,20967415,20967416,20967417,20967418,20967419?tags=Teint_Dans_La_Masse,plastique,autre_refus,metal,mal_croppe,kraft,Carton_gris,flou,Carton_brun,papier,cartonnette,environnement After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([20967368]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1340600154, 1340600084, 1340600081, 1340599709, 1340599548, 1340599510, 1340599503, 1340599497, 1340599492, 1340599456, 1340599451, 1340599446, 1340599440, 1340599431, 1340599428, 1340599380, 1340599372, 1340599366, 1340599166, 1340599158, 1340599142, 1340599132, 1340599124, 1340599121, 1340599080, 1340599070, 1340599063, 1340599059, 1340599020, 1340599014, 1340599012, 1340599005, 1340599001, 1340598881, 1340598874, 1340598871, 1340598865, 1340598861] map_info['map_portfolio_photo'] : {20967368: [1340600154, 1340600084, 1340600081, 1340599709, 1340599548, 1340599510, 1340599503, 1340599497, 1340599492, 1340599456, 1340599451, 1340599446, 1340599440, 1340599431, 1340599428, 1340599380, 1340599372, 1340599366, 1340599166, 1340599158, 1340599142, 1340599132, 1340599124, 1340599121, 1340599080, 1340599070, 1340599063, 1340599059, 1340599020, 1340599014, 1340599012, 1340599005, 1340599001, 1340598881, 1340598874, 1340598871, 1340598865, 1340598861]} final : False mtd_id 4302 list_pids : [1340600154, 1340600084, 1340600081, 1340599709, 1340599548, 1340599510, 1340599503, 1340599497, 1340599492, 1340599456, 1340599451, 1340599446, 1340599440, 1340599431, 1340599428, 1340599380, 1340599372, 1340599366, 1340599166, 1340599158, 1340599142, 1340599132, 1340599124, 1340599121, 1340599080, 1340599070, 1340599063, 1340599059, 1340599020, 1340599014, 1340599012, 1340599005, 1340599001, 1340598881, 1340598874, 1340598871, 1340598865, 1340598861] Looping around the photos to save general results len do output : 1 /20967368. 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, '2631301') ('4302', '20967368', '1340600154', None, None, None, None, None, '2631301') ('4302', None, None, None, None, None, None, None, '2631301') ('4302', '20967368', '1340600084', None, None, None, None, None, '2631301') ('4302', None, None, None, None, None, None, None, '2631301') ('4302', '20967368', '1340600081', None, None, None, None, None, '2631301') ('4302', None, None, None, None, None, None, None, '2631301') ('4302', '20967368', '1340599709', None, None, None, None, None, '2631301') ('4302', None, None, None, None, None, None, None, '2631301') ('4302', '20967368', '1340599548', None, None, None, None, None, '2631301') ('4302', None, None, None, None, None, None, None, '2631301') ('4302', '20967368', '1340599510', None, None, None, None, None, '2631301') ('4302', None, None, None, None, None, None, None, '2631301') ('4302', '20967368', '1340599503', None, None, None, None, None, '2631301') ('4302', None, None, None, None, None, None, None, '2631301') ('4302', '20967368', '1340599497', None, None, None, None, None, '2631301') ('4302', None, None, None, None, None, None, None, '2631301') ('4302', '20967368', '1340599492', None, None, None, None, None, '2631301') ('4302', None, None, None, None, None, None, None, '2631301') ('4302', '20967368', '1340599456', None, None, None, None, None, '2631301') ('4302', None, None, None, None, None, None, None, '2631301') ('4302', '20967368', '1340599451', None, None, None, None, None, '2631301') ('4302', None, None, None, None, None, None, None, '2631301') ('4302', '20967368', '1340599446', None, None, None, None, None, '2631301') ('4302', None, None, None, None, None, None, None, '2631301') ('4302', '20967368', '1340599440', None, None, None, None, None, '2631301') ('4302', None, None, None, None, None, None, None, '2631301') ('4302', '20967368', '1340599431', None, None, None, None, None, '2631301') ('4302', None, None, None, None, None, None, None, '2631301') ('4302', '20967368', '1340599428', None, None, None, None, None, '2631301') ('4302', None, None, None, None, None, None, None, '2631301') ('4302', '20967368', '1340599380', None, None, None, None, None, '2631301') ('4302', None, None, None, None, None, None, None, '2631301') ('4302', '20967368', '1340599372', None, None, None, None, None, '2631301') ('4302', None, None, None, None, None, None, None, '2631301') ('4302', '20967368', '1340599366', None, None, None, None, None, '2631301') ('4302', None, None, None, None, None, None, None, '2631301') ('4302', '20967368', '1340599166', None, None, None, None, None, '2631301') ('4302', None, None, None, None, None, None, None, '2631301') ('4302', '20967368', '1340599158', None, None, None, None, None, '2631301') ('4302', None, None, None, None, None, None, None, '2631301') ('4302', '20967368', '1340599142', None, None, None, None, None, '2631301') ('4302', None, None, None, None, None, None, None, '2631301') ('4302', '20967368', '1340599132', None, None, None, None, None, '2631301') ('4302', None, None, None, None, None, None, None, '2631301') ('4302', '20967368', '1340599124', None, None, None, None, None, '2631301') ('4302', None, None, None, None, None, None, None, '2631301') ('4302', '20967368', '1340599121', None, None, None, None, None, '2631301') ('4302', None, None, None, None, None, None, None, '2631301') ('4302', '20967368', '1340599080', None, None, None, None, None, '2631301') ('4302', None, None, None, None, None, None, None, '2631301') ('4302', '20967368', '1340599070', None, None, None, None, None, '2631301') ('4302', None, None, None, None, None, None, None, '2631301') ('4302', '20967368', '1340599063', None, None, None, None, None, '2631301') ('4302', None, None, None, None, None, None, None, '2631301') ('4302', '20967368', '1340599059', None, None, None, None, None, '2631301') ('4302', None, None, None, None, None, None, None, '2631301') ('4302', '20967368', '1340599020', None, None, None, None, None, '2631301') ('4302', None, None, None, None, None, None, None, '2631301') ('4302', '20967368', '1340599014', None, None, None, None, None, '2631301') ('4302', None, None, None, None, None, None, None, '2631301') ('4302', '20967368', '1340599012', None, None, None, None, None, '2631301') ('4302', None, None, None, None, None, None, None, '2631301') ('4302', '20967368', '1340599005', None, None, None, None, None, '2631301') ('4302', None, None, None, None, None, None, None, '2631301') ('4302', '20967368', '1340599001', None, None, None, None, None, '2631301') ('4302', None, None, None, None, None, None, None, '2631301') ('4302', '20967368', '1340598881', None, None, None, None, None, '2631301') ('4302', None, None, None, None, None, None, None, '2631301') ('4302', '20967368', '1340598874', None, None, None, None, None, '2631301') ('4302', None, None, None, None, None, None, None, '2631301') ('4302', '20967368', '1340598871', None, None, None, None, None, '2631301') ('4302', None, None, None, None, None, None, None, '2631301') ('4302', '20967368', '1340598865', None, None, None, None, None, '2631301') ('4302', None, None, None, None, None, None, None, '2631301') ('4302', '20967368', '1340598861', None, None, None, None, None, '2631301') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 39 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, '20967368', "{'Teint_Dans_La_Masse': 20967396, 'plastique': 20967397, 'autre_refus': 20967398, 'metal': 20967399, 'mal_croppe': 20967400, 'kraft': 20967401, 'Carton_gris': 20967402, 'flou': 20967403, 'Carton_brun': 20967404, 'papier': 20967405, 'cartonnette': 20967406, 'environnement': 20967407}", None, None, None, None, '2631301'), ('4302', '20967368', '1340600154', None, None, None, None, None, '2631301'), ('4302', '20967368', '1340600084', None, None, None, None, None, '2631301'), ('4302', '20967368', '1340600081', None, None, None, None, None, '2631301'), ('4302', '20967368', '1340599709', None, None, None, None, None, '2631301'), ('4302', '20967368', '1340599548', None, None, None, None, None, '2631301'), ('4302', '20967368', '1340599510', None, None, None, None, None, '2631301'), ('4302', '20967368', '1340599503', None, None, None, None, None, '2631301'), ('4302', '20967368', '1340599497', None, None, None, None, None, '2631301'), ('4302', '20967368', '1340599492', None, None, None, None, None, '2631301'), ('4302', '20967368', '1340599456', None, None, None, None, None, '2631301'), ('4302', '20967368', '1340599451', None, None, None, None, None, '2631301'), ('4302', '20967368', '1340599446', None, None, None, None, None, '2631301'), ('4302', '20967368', '1340599440', None, None, None, None, None, '2631301'), ('4302', '20967368', '1340599431', None, None, None, None, None, '2631301'), ('4302', '20967368', '1340599428', None, None, None, None, None, '2631301'), ('4302', '20967368', '1340599380', None, None, None, None, None, '2631301'), ('4302', '20967368', '1340599372', None, None, None, None, None, '2631301'), ('4302', '20967368', '1340599366', None, None, None, None, None, '2631301'), ('4302', '20967368', '1340599166', None, None, None, None, None, '2631301'), ('4302', '20967368', '1340599158', None, None, None, None, None, '2631301'), ('4302', '20967368', '1340599142', None, None, None, None, None, '2631301'), ('4302', '20967368', '1340599132', None, None, None, None, None, '2631301'), ('4302', '20967368', '1340599124', None, None, None, None, None, '2631301'), ('4302', '20967368', '1340599121', None, None, None, None, None, '2631301'), ('4302', '20967368', '1340599080', None, None, None, None, None, '2631301'), ('4302', '20967368', '1340599070', None, None, None, None, None, '2631301'), ('4302', '20967368', '1340599063', None, None, None, None, None, '2631301'), ('4302', '20967368', '1340599059', None, None, None, None, None, '2631301'), ('4302', '20967368', '1340599020', None, None, None, None, None, '2631301'), ('4302', '20967368', '1340599014', None, None, None, None, None, '2631301'), ('4302', '20967368', '1340599012', None, None, None, None, None, '2631301'), ('4302', '20967368', '1340599005', None, None, None, None, None, '2631301'), ('4302', '20967368', '1340599001', None, None, None, None, None, '2631301'), ('4302', '20967368', '1340598881', None, None, None, None, None, '2631301'), ('4302', '20967368', '1340598874', None, None, None, None, None, '2631301'), ('4302', '20967368', '1340598871', None, None, None, None, None, '2631301'), ('4302', '20967368', '1340598865', None, None, None, None, None, '2631301'), ('4302', '20967368', '1340598861', None, None, None, None, None, '2631301')] time used for this insertion : 0.055556535720825195 save_final save missing photos in datou_result : time spend for datou_step_exec : 2.0045242309570312 time spend to save output : 0.05597639083862305 total time spend for step 1 : 2.0605006217956543 step2:final Tue Mar 4 05:41:29 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec 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 (20967368) 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 20967368 : SELECT photo_id, hashtag_id, ratio from MTRPhoto.photo_carac_ratio where hashtag_type = 3726 and photo_id in (1340598881,1340598874,1340598871,1340598865,1340598861,1340599020,1340599014,1340599012,1340599005,1340599001,1340599080,1340599070,1340599063,1340599059,1340599166,1340599158,1340599142,1340599132,1340599124,1340599121,1340599380,1340599372,1340599366,1340599456,1340599451,1340599446,1340599440,1340599431,1340599428,1340599510,1340599503,1340599497,1340599492,1340599548,1340600084,1340599709,1340600081,1340600154); 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([20967368]) Inside saveOutput : final : False verbose : True original output for save of step final : {1340600154: ('0.0660201896614592',), 1340600084: ('0.0660201896614592',), 1340600081: ('0.0660201896614592',), 1340599709: ('0.0660201896614592',), 1340599548: ('0.0660201896614592',), 1340599510: ('0.0660201896614592',), 1340599503: ('0.0660201896614592',), 1340599497: ('0.0660201896614592',), 1340599492: ('0.0660201896614592',), 1340599456: ('0.0660201896614592',), 1340599451: ('0.0660201896614592',), 1340599446: ('0.0660201896614592',), 1340599440: ('0.0660201896614592',), 1340599431: ('0.0660201896614592',), 1340599428: ('0.0660201896614592',), 1340599380: ('0.0660201896614592',), 1340599372: ('0.0660201896614592',), 1340599366: ('0.0660201896614592',), 1340599166: ('0.0660201896614592',), 1340599158: ('0.0660201896614592',), 1340599142: ('0.0660201896614592',), 1340599132: ('0.0660201896614592',), 1340599124: ('0.0660201896614592',), 1340599121: ('0.0660201896614592',), 1340599080: ('0.0660201896614592',), 1340599070: ('0.0660201896614592',), 1340599063: ('0.0660201896614592',), 1340599059: ('0.0660201896614592',), 1340599020: ('0.0660201896614592',), 1340599014: ('0.0660201896614592',), 1340599012: ('0.0660201896614592',), 1340599005: ('0.0660201896614592',), 1340599001: ('0.0660201896614592',), 1340598881: ('0.0660201896614592',), 1340598874: ('0.0660201896614592',), 1340598871: ('0.0660201896614592',), 1340598865: ('0.0660201896614592',), 1340598861: ('0.0660201896614592',)} new output for save of step final : {1340600154: ('0.0660201896614592',), 1340600084: ('0.0660201896614592',), 1340600081: ('0.0660201896614592',), 1340599709: ('0.0660201896614592',), 1340599548: ('0.0660201896614592',), 1340599510: ('0.0660201896614592',), 1340599503: ('0.0660201896614592',), 1340599497: ('0.0660201896614592',), 1340599492: ('0.0660201896614592',), 1340599456: ('0.0660201896614592',), 1340599451: ('0.0660201896614592',), 1340599446: ('0.0660201896614592',), 1340599440: ('0.0660201896614592',), 1340599431: ('0.0660201896614592',), 1340599428: ('0.0660201896614592',), 1340599380: ('0.0660201896614592',), 1340599372: ('0.0660201896614592',), 1340599366: ('0.0660201896614592',), 1340599166: ('0.0660201896614592',), 1340599158: ('0.0660201896614592',), 1340599142: ('0.0660201896614592',), 1340599132: ('0.0660201896614592',), 1340599124: ('0.0660201896614592',), 1340599121: ('0.0660201896614592',), 1340599080: ('0.0660201896614592',), 1340599070: ('0.0660201896614592',), 1340599063: ('0.0660201896614592',), 1340599059: ('0.0660201896614592',), 1340599020: ('0.0660201896614592',), 1340599014: ('0.0660201896614592',), 1340599012: ('0.0660201896614592',), 1340599005: ('0.0660201896614592',), 1340599001: ('0.0660201896614592',), 1340598881: ('0.0660201896614592',), 1340598874: ('0.0660201896614592',), 1340598871: ('0.0660201896614592',), 1340598865: ('0.0660201896614592',), 1340598861: ('0.0660201896614592',)} [1340600154, 1340600084, 1340600081, 1340599709, 1340599548, 1340599510, 1340599503, 1340599497, 1340599492, 1340599456, 1340599451, 1340599446, 1340599440, 1340599431, 1340599428, 1340599380, 1340599372, 1340599366, 1340599166, 1340599158, 1340599142, 1340599132, 1340599124, 1340599121, 1340599080, 1340599070, 1340599063, 1340599059, 1340599020, 1340599014, 1340599012, 1340599005, 1340599001, 1340598881, 1340598874, 1340598871, 1340598865, 1340598861] map_info['map_portfolio_photo'] : {20967368: [1340600154, 1340600084, 1340600081, 1340599709, 1340599548, 1340599510, 1340599503, 1340599497, 1340599492, 1340599456, 1340599451, 1340599446, 1340599440, 1340599431, 1340599428, 1340599380, 1340599372, 1340599366, 1340599166, 1340599158, 1340599142, 1340599132, 1340599124, 1340599121, 1340599080, 1340599070, 1340599063, 1340599059, 1340599020, 1340599014, 1340599012, 1340599005, 1340599001, 1340598881, 1340598874, 1340598871, 1340598865, 1340598861]} final : False mtd_id 4302 list_pids : [1340600154, 1340600084, 1340600081, 1340599709, 1340599548, 1340599510, 1340599503, 1340599497, 1340599492, 1340599456, 1340599451, 1340599446, 1340599440, 1340599431, 1340599428, 1340599380, 1340599372, 1340599366, 1340599166, 1340599158, 1340599142, 1340599132, 1340599124, 1340599121, 1340599080, 1340599070, 1340599063, 1340599059, 1340599020, 1340599014, 1340599012, 1340599005, 1340599001, 1340598881, 1340598874, 1340598871, 1340598865, 1340598861] Looping around the photos to save general results len do output : 38 /1340600154.Didn't retrieve data . /1340600084.Didn't retrieve data . /1340600081.Didn't retrieve data . /1340599709.Didn't retrieve data . /1340599548.Didn't retrieve data . /1340599510.Didn't retrieve data . /1340599503.Didn't retrieve data . /1340599497.Didn't retrieve data . /1340599492.Didn't retrieve data . /1340599456.Didn't retrieve data . /1340599451.Didn't retrieve data . /1340599446.Didn't retrieve data . /1340599440.Didn't retrieve data . /1340599431.Didn't retrieve data . /1340599428.Didn't retrieve data . /1340599380.Didn't retrieve data . /1340599372.Didn't retrieve data . /1340599366.Didn't retrieve data . /1340599166.Didn't retrieve data . /1340599158.Didn't retrieve data . /1340599142.Didn't retrieve data . /1340599132.Didn't retrieve data . /1340599124.Didn't retrieve data . /1340599121.Didn't retrieve data . /1340599080.Didn't retrieve data . /1340599070.Didn't retrieve data . /1340599063.Didn't retrieve data . /1340599059.Didn't retrieve data . /1340599020.Didn't retrieve data . /1340599014.Didn't retrieve data . /1340599012.Didn't retrieve data . /1340599005.Didn't retrieve data . /1340599001.Didn't retrieve data . /1340598881.Didn't retrieve data . /1340598874.Didn't retrieve data . /1340598871.Didn't retrieve data . /1340598865.Didn't retrieve data . /1340598861.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, '2631301') ('4302', '20967368', '1340600154', None, None, None, None, None, '2631301') ('4302', None, None, None, None, None, None, None, '2631301') ('4302', '20967368', '1340600084', None, None, None, None, None, '2631301') ('4302', None, None, None, None, None, None, None, '2631301') ('4302', '20967368', '1340600081', None, None, None, None, None, '2631301') ('4302', None, None, None, None, None, None, None, '2631301') ('4302', '20967368', '1340599709', None, None, None, None, None, '2631301') ('4302', None, None, None, None, None, None, None, '2631301') ('4302', '20967368', '1340599548', None, None, None, None, None, '2631301') ('4302', None, None, None, None, None, None, None, '2631301') ('4302', '20967368', '1340599510', None, None, None, None, None, '2631301') ('4302', None, None, None, None, None, None, None, '2631301') ('4302', '20967368', '1340599503', None, None, None, None, None, '2631301') ('4302', None, None, None, None, None, None, None, '2631301') ('4302', '20967368', '1340599497', None, None, None, None, None, '2631301') ('4302', None, None, None, None, None, None, None, '2631301') ('4302', '20967368', '1340599492', None, None, None, None, None, '2631301') ('4302', None, None, None, None, None, None, None, '2631301') ('4302', '20967368', '1340599456', None, None, None, None, None, '2631301') ('4302', None, None, None, None, None, None, None, '2631301') ('4302', '20967368', '1340599451', None, None, None, None, None, '2631301') ('4302', None, None, None, None, None, None, None, '2631301') ('4302', '20967368', '1340599446', None, None, None, None, None, '2631301') ('4302', None, None, None, None, None, None, None, '2631301') ('4302', '20967368', '1340599440', None, None, None, None, None, '2631301') ('4302', None, None, None, None, None, None, None, '2631301') ('4302', '20967368', '1340599431', None, None, None, None, None, '2631301') ('4302', None, None, None, None, None, None, None, '2631301') ('4302', '20967368', '1340599428', None, None, None, None, None, '2631301') ('4302', None, None, None, None, None, None, None, '2631301') ('4302', '20967368', '1340599380', None, None, None, None, None, '2631301') ('4302', None, None, None, None, None, None, None, '2631301') ('4302', '20967368', '1340599372', None, None, None, None, None, '2631301') ('4302', None, None, None, None, None, None, None, '2631301') ('4302', '20967368', '1340599366', None, None, None, None, None, '2631301') ('4302', None, None, None, None, None, None, None, '2631301') ('4302', '20967368', '1340599166', None, None, None, None, None, '2631301') ('4302', None, None, None, None, None, None, None, '2631301') ('4302', '20967368', '1340599158', None, None, None, None, None, '2631301') ('4302', None, None, None, None, None, None, None, '2631301') ('4302', '20967368', '1340599142', None, None, None, None, None, '2631301') ('4302', None, None, None, None, None, None, None, '2631301') ('4302', '20967368', '1340599132', None, None, None, None, None, '2631301') ('4302', None, None, None, None, None, None, None, '2631301') ('4302', '20967368', '1340599124', None, None, None, None, None, '2631301') ('4302', None, None, None, None, None, None, None, '2631301') ('4302', '20967368', '1340599121', None, None, None, None, None, '2631301') ('4302', None, None, None, None, None, None, None, '2631301') ('4302', '20967368', '1340599080', None, None, None, None, None, '2631301') ('4302', None, None, None, None, None, None, None, '2631301') ('4302', '20967368', '1340599070', None, None, None, None, None, '2631301') ('4302', None, None, None, None, None, None, None, '2631301') ('4302', '20967368', '1340599063', None, None, None, None, None, '2631301') ('4302', None, None, None, None, None, None, None, '2631301') ('4302', '20967368', '1340599059', None, None, None, None, None, '2631301') ('4302', None, None, None, None, None, None, None, '2631301') ('4302', '20967368', '1340599020', None, None, None, None, None, '2631301') ('4302', None, None, None, None, None, None, None, '2631301') ('4302', '20967368', '1340599014', None, None, None, None, None, '2631301') ('4302', None, None, None, None, None, None, None, '2631301') ('4302', '20967368', '1340599012', None, None, None, None, None, '2631301') ('4302', None, None, None, None, None, None, None, '2631301') ('4302', '20967368', '1340599005', None, None, None, None, None, '2631301') ('4302', None, None, None, None, None, None, None, '2631301') ('4302', '20967368', '1340599001', None, None, None, None, None, '2631301') ('4302', None, None, None, None, None, None, None, '2631301') ('4302', '20967368', '1340598881', None, None, None, None, None, '2631301') ('4302', None, None, None, None, None, None, None, '2631301') ('4302', '20967368', '1340598874', None, None, None, None, None, '2631301') ('4302', None, None, None, None, None, None, None, '2631301') ('4302', '20967368', '1340598871', None, None, None, None, None, '2631301') ('4302', None, None, None, None, None, None, None, '2631301') ('4302', '20967368', '1340598865', None, None, None, None, None, '2631301') ('4302', None, None, None, None, None, None, None, '2631301') ('4302', '20967368', '1340598861', None, None, None, None, None, '2631301') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 114 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', '20967368', '1340600154', '0.0660201896614592', None, None, None, None, '2631301'), ('4302', '20967368', '1340600084', '0.0660201896614592', None, None, None, None, '2631301'), ('4302', '20967368', '1340600081', '0.0660201896614592', None, None, None, None, '2631301'), ('4302', '20967368', '1340599709', '0.0660201896614592', None, None, None, None, '2631301'), ('4302', '20967368', '1340599548', '0.0660201896614592', None, None, None, None, '2631301'), ('4302', '20967368', '1340599510', '0.0660201896614592', None, None, None, None, '2631301'), ('4302', '20967368', '1340599503', '0.0660201896614592', None, None, None, None, '2631301'), ('4302', '20967368', '1340599497', '0.0660201896614592', None, None, None, None, '2631301'), ('4302', '20967368', '1340599492', '0.0660201896614592', None, None, None, None, '2631301'), ('4302', '20967368', '1340599456', '0.0660201896614592', None, None, None, None, '2631301'), ('4302', '20967368', '1340599451', '0.0660201896614592', None, None, None, None, '2631301'), ('4302', '20967368', '1340599446', '0.0660201896614592', None, None, None, None, '2631301'), ('4302', '20967368', '1340599440', '0.0660201896614592', None, None, None, None, '2631301'), ('4302', '20967368', '1340599431', '0.0660201896614592', None, None, None, None, '2631301'), ('4302', '20967368', '1340599428', '0.0660201896614592', None, None, None, None, '2631301'), ('4302', '20967368', '1340599380', '0.0660201896614592', None, None, None, None, '2631301'), ('4302', '20967368', '1340599372', '0.0660201896614592', None, None, None, None, '2631301'), ('4302', '20967368', '1340599366', '0.0660201896614592', None, None, None, None, '2631301'), ('4302', '20967368', '1340599166', '0.0660201896614592', None, None, None, None, '2631301'), ('4302', '20967368', '1340599158', '0.0660201896614592', None, None, None, None, '2631301'), ('4302', '20967368', '1340599142', '0.0660201896614592', None, None, None, None, '2631301'), ('4302', '20967368', '1340599132', '0.0660201896614592', None, None, None, None, '2631301'), ('4302', '20967368', '1340599124', '0.0660201896614592', None, None, None, None, '2631301'), ('4302', '20967368', '1340599121', '0.0660201896614592', None, None, None, None, '2631301'), ('4302', '20967368', '1340599080', '0.0660201896614592', None, None, None, None, '2631301'), ('4302', '20967368', '1340599070', '0.0660201896614592', None, None, None, None, '2631301'), ('4302', '20967368', '1340599063', '0.0660201896614592', None, None, None, None, '2631301'), ('4302', '20967368', '1340599059', '0.0660201896614592', None, None, None, None, '2631301'), ('4302', '20967368', '1340599020', '0.0660201896614592', None, None, None, None, '2631301'), ('4302', '20967368', '1340599014', '0.0660201896614592', None, None, None, None, '2631301'), ('4302', '20967368', '1340599012', '0.0660201896614592', None, None, None, None, '2631301'), ('4302', '20967368', '1340599005', '0.0660201896614592', None, None, None, None, '2631301'), ('4302', '20967368', '1340599001', '0.0660201896614592', None, None, None, None, '2631301'), ('4302', '20967368', '1340598881', '0.0660201896614592', None, None, None, None, '2631301'), ('4302', '20967368', '1340598874', '0.0660201896614592', None, None, None, None, '2631301'), ('4302', '20967368', '1340598871', '0.0660201896614592', None, None, None, None, '2631301'), ('4302', '20967368', '1340598865', '0.0660201896614592', None, None, None, None, '2631301'), ('4302', '20967368', '1340598861', '0.0660201896614592', None, None, None, None, '2631301')] time used for this insertion : 0.03201007843017578 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.0786893367767334 time spend to save output : 0.03368639945983887 total time spend for step 2 : 0.11237573623657227 step3:velours_tree Tue Mar 4 05:41:29 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec 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 : {20967368: [{'Teint_Dans_La_Masse': 20967396, 'plastique': 20967397, 'autre_refus': 20967398, 'metal': 20967399, 'mal_croppe': 20967400, 'kraft': 20967401, 'Carton_gris': 20967402, 'flou': 20967403, 'Carton_brun': 20967404, 'papier': 20967405, 'cartonnette': 20967406, 'environnement': 20967407}]} input_args_next_step : {20967368: ()} output_args : {20967368: [{'Teint_Dans_La_Masse': 20967396, 'plastique': 20967397, 'autre_refus': 20967398, 'metal': 20967399, 'mal_croppe': 20967400, 'kraft': 20967401, 'Carton_gris': 20967402, 'flou': 20967403, 'Carton_brun': 20967404, 'papier': 20967405, 'cartonnette': 20967406, 'environnement': 20967407}]} args : 20967368 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 : ({'Teint_Dans_La_Masse': 20967396, 'plastique': 20967397, 'autre_refus': 20967398, 'metal': 20967399, 'mal_croppe': 20967400, 'kraft': 20967401, 'Carton_gris': 20967402, 'flou': 20967403, 'Carton_brun': 20967404, 'papier': 20967405, 'cartonnette': 20967406, 'environnement': 20967407},) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (20967368) 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([20967368]) 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.3397865295410156 time spend to save output : 8.034706115722656e-05 total time spend for step 3 : 0.33986687660217285 step4:send_mail_cod Tue Mar 4 05:41:29 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec 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 : {1340600154: ('0.0660201896614592',), 1340600084: ('0.0660201896614592',), 1340600081: ('0.0660201896614592',), 1340599709: ('0.0660201896614592',), 1340599548: ('0.0660201896614592',), 1340599510: ('0.0660201896614592',), 1340599503: ('0.0660201896614592',), 1340599497: ('0.0660201896614592',), 1340599492: ('0.0660201896614592',), 1340599456: ('0.0660201896614592',), 1340599451: ('0.0660201896614592',), 1340599446: ('0.0660201896614592',), 1340599440: ('0.0660201896614592',), 1340599431: ('0.0660201896614592',), 1340599428: ('0.0660201896614592',), 1340599380: ('0.0660201896614592',), 1340599372: ('0.0660201896614592',), 1340599366: ('0.0660201896614592',), 1340599166: ('0.0660201896614592',), 1340599158: ('0.0660201896614592',), 1340599142: ('0.0660201896614592',), 1340599132: ('0.0660201896614592',), 1340599124: ('0.0660201896614592',), 1340599121: ('0.0660201896614592',), 1340599080: ('0.0660201896614592',), 1340599070: ('0.0660201896614592',), 1340599063: ('0.0660201896614592',), 1340599059: ('0.0660201896614592',), 1340599020: ('0.0660201896614592',), 1340599014: ('0.0660201896614592',), 1340599012: ('0.0660201896614592',), 1340599005: ('0.0660201896614592',), 1340599001: ('0.0660201896614592',), 1340598881: ('0.0660201896614592',), 1340598874: ('0.0660201896614592',), 1340598871: ('0.0660201896614592',), 1340598865: ('0.0660201896614592',), 1340598861: ('0.0660201896614592',)} input_args_next_step : {1340600154: ()} output_args : {1340600154: ('0.0660201896614592',), 1340600084: ('0.0660201896614592',), 1340600081: ('0.0660201896614592',), 1340599709: ('0.0660201896614592',), 1340599548: ('0.0660201896614592',), 1340599510: ('0.0660201896614592',), 1340599503: ('0.0660201896614592',), 1340599497: ('0.0660201896614592',), 1340599492: ('0.0660201896614592',), 1340599456: ('0.0660201896614592',), 1340599451: ('0.0660201896614592',), 1340599446: ('0.0660201896614592',), 1340599440: ('0.0660201896614592',), 1340599431: ('0.0660201896614592',), 1340599428: ('0.0660201896614592',), 1340599380: ('0.0660201896614592',), 1340599372: ('0.0660201896614592',), 1340599366: ('0.0660201896614592',), 1340599166: ('0.0660201896614592',), 1340599158: ('0.0660201896614592',), 1340599142: ('0.0660201896614592',), 1340599132: ('0.0660201896614592',), 1340599124: ('0.0660201896614592',), 1340599121: ('0.0660201896614592',), 1340599080: ('0.0660201896614592',), 1340599070: ('0.0660201896614592',), 1340599063: ('0.0660201896614592',), 1340599059: ('0.0660201896614592',), 1340599020: ('0.0660201896614592',), 1340599014: ('0.0660201896614592',), 1340599012: ('0.0660201896614592',), 1340599005: ('0.0660201896614592',), 1340599001: ('0.0660201896614592',), 1340598881: ('0.0660201896614592',), 1340598874: ('0.0660201896614592',), 1340598871: ('0.0660201896614592',), 1340598865: ('0.0660201896614592',), 1340598861: ('0.0660201896614592',)} args : 1340600154 depend.output_id : 0 input_args_next_step : {1340600154: ('0.0660201896614592',), 1340600084: ()} output_args : {1340600154: ('0.0660201896614592',), 1340600084: ('0.0660201896614592',), 1340600081: ('0.0660201896614592',), 1340599709: ('0.0660201896614592',), 1340599548: ('0.0660201896614592',), 1340599510: ('0.0660201896614592',), 1340599503: ('0.0660201896614592',), 1340599497: ('0.0660201896614592',), 1340599492: ('0.0660201896614592',), 1340599456: ('0.0660201896614592',), 1340599451: ('0.0660201896614592',), 1340599446: ('0.0660201896614592',), 1340599440: ('0.0660201896614592',), 1340599431: ('0.0660201896614592',), 1340599428: ('0.0660201896614592',), 1340599380: ('0.0660201896614592',), 1340599372: ('0.0660201896614592',), 1340599366: ('0.0660201896614592',), 1340599166: ('0.0660201896614592',), 1340599158: ('0.0660201896614592',), 1340599142: ('0.0660201896614592',), 1340599132: ('0.0660201896614592',), 1340599124: ('0.0660201896614592',), 1340599121: ('0.0660201896614592',), 1340599080: ('0.0660201896614592',), 1340599070: ('0.0660201896614592',), 1340599063: ('0.0660201896614592',), 1340599059: ('0.0660201896614592',), 1340599020: ('0.0660201896614592',), 1340599014: ('0.0660201896614592',), 1340599012: ('0.0660201896614592',), 1340599005: ('0.0660201896614592',), 1340599001: ('0.0660201896614592',), 1340598881: ('0.0660201896614592',), 1340598874: ('0.0660201896614592',), 1340598871: ('0.0660201896614592',), 1340598865: ('0.0660201896614592',), 1340598861: ('0.0660201896614592',)} args : 1340600084 depend.output_id : 0 input_args_next_step : {1340600154: ('0.0660201896614592',), 1340600084: ('0.0660201896614592',), 1340600081: ()} output_args : {1340600154: ('0.0660201896614592',), 1340600084: ('0.0660201896614592',), 1340600081: ('0.0660201896614592',), 1340599709: ('0.0660201896614592',), 1340599548: ('0.0660201896614592',), 1340599510: ('0.0660201896614592',), 1340599503: ('0.0660201896614592',), 1340599497: ('0.0660201896614592',), 1340599492: ('0.0660201896614592',), 1340599456: ('0.0660201896614592',), 1340599451: ('0.0660201896614592',), 1340599446: ('0.0660201896614592',), 1340599440: ('0.0660201896614592',), 1340599431: ('0.0660201896614592',), 1340599428: ('0.0660201896614592',), 1340599380: ('0.0660201896614592',), 1340599372: ('0.0660201896614592',), 1340599366: ('0.0660201896614592',), 1340599166: ('0.0660201896614592',), 1340599158: ('0.0660201896614592',), 1340599142: ('0.0660201896614592',), 1340599132: ('0.0660201896614592',), 1340599124: ('0.0660201896614592',), 1340599121: ('0.0660201896614592',), 1340599080: ('0.0660201896614592',), 1340599070: ('0.0660201896614592',), 1340599063: ('0.0660201896614592',), 1340599059: ('0.0660201896614592',), 1340599020: ('0.0660201896614592',), 1340599014: ('0.0660201896614592',), 1340599012: ('0.0660201896614592',), 1340599005: ('0.0660201896614592',), 1340599001: ('0.0660201896614592',), 1340598881: ('0.0660201896614592',), 1340598874: ('0.0660201896614592',), 1340598871: ('0.0660201896614592',), 1340598865: ('0.0660201896614592',), 1340598861: ('0.0660201896614592',)} args : 1340600081 depend.output_id : 0 input_args_next_step : {1340600154: ('0.0660201896614592',), 1340600084: ('0.0660201896614592',), 1340600081: ('0.0660201896614592',), 1340599709: ()} output_args : {1340600154: ('0.0660201896614592',), 1340600084: ('0.0660201896614592',), 1340600081: ('0.0660201896614592',), 1340599709: ('0.0660201896614592',), 1340599548: ('0.0660201896614592',), 1340599510: ('0.0660201896614592',), 1340599503: ('0.0660201896614592',), 1340599497: ('0.0660201896614592',), 1340599492: ('0.0660201896614592',), 1340599456: ('0.0660201896614592',), 1340599451: ('0.0660201896614592',), 1340599446: ('0.0660201896614592',), 1340599440: ('0.0660201896614592',), 1340599431: ('0.0660201896614592',), 1340599428: ('0.0660201896614592',), 1340599380: ('0.0660201896614592',), 1340599372: ('0.0660201896614592',), 1340599366: ('0.0660201896614592',), 1340599166: ('0.0660201896614592',), 1340599158: ('0.0660201896614592',), 1340599142: ('0.0660201896614592',), 1340599132: ('0.0660201896614592',), 1340599124: ('0.0660201896614592',), 1340599121: ('0.0660201896614592',), 1340599080: ('0.0660201896614592',), 1340599070: ('0.0660201896614592',), 1340599063: ('0.0660201896614592',), 1340599059: ('0.0660201896614592',), 1340599020: ('0.0660201896614592',), 1340599014: ('0.0660201896614592',), 1340599012: ('0.0660201896614592',), 1340599005: ('0.0660201896614592',), 1340599001: ('0.0660201896614592',), 1340598881: ('0.0660201896614592',), 1340598874: ('0.0660201896614592',), 1340598871: ('0.0660201896614592',), 1340598865: ('0.0660201896614592',), 1340598861: ('0.0660201896614592',)} args : 1340599709 depend.output_id : 0 input_args_next_step : {1340600154: ('0.0660201896614592',), 1340600084: ('0.0660201896614592',), 1340600081: ('0.0660201896614592',), 1340599709: ('0.0660201896614592',), 1340599548: ()} output_args : {1340600154: ('0.0660201896614592',), 1340600084: ('0.0660201896614592',), 1340600081: ('0.0660201896614592',), 1340599709: ('0.0660201896614592',), 1340599548: ('0.0660201896614592',), 1340599510: ('0.0660201896614592',), 1340599503: ('0.0660201896614592',), 1340599497: ('0.0660201896614592',), 1340599492: ('0.0660201896614592',), 1340599456: ('0.0660201896614592',), 1340599451: ('0.0660201896614592',), 1340599446: ('0.0660201896614592',), 1340599440: ('0.0660201896614592',), 1340599431: ('0.0660201896614592',), 1340599428: ('0.0660201896614592',), 1340599380: ('0.0660201896614592',), 1340599372: ('0.0660201896614592',), 1340599366: ('0.0660201896614592',), 1340599166: ('0.0660201896614592',), 1340599158: ('0.0660201896614592',), 1340599142: ('0.0660201896614592',), 1340599132: ('0.0660201896614592',), 1340599124: ('0.0660201896614592',), 1340599121: ('0.0660201896614592',), 1340599080: ('0.0660201896614592',), 1340599070: ('0.0660201896614592',), 1340599063: ('0.0660201896614592',), 1340599059: ('0.0660201896614592',), 1340599020: ('0.0660201896614592',), 1340599014: ('0.0660201896614592',), 1340599012: ('0.0660201896614592',), 1340599005: ('0.0660201896614592',), 1340599001: ('0.0660201896614592',), 1340598881: ('0.0660201896614592',), 1340598874: ('0.0660201896614592',), 1340598871: ('0.0660201896614592',), 1340598865: ('0.0660201896614592',), 1340598861: ('0.0660201896614592',)} args : 1340599548 depend.output_id : 0 input_args_next_step : {1340600154: ('0.0660201896614592',), 1340600084: ('0.0660201896614592',), 1340600081: ('0.0660201896614592',), 1340599709: ('0.0660201896614592',), 1340599548: ('0.0660201896614592',), 1340599510: ()} output_args : {1340600154: ('0.0660201896614592',), 1340600084: ('0.0660201896614592',), 1340600081: ('0.0660201896614592',), 1340599709: ('0.0660201896614592',), 1340599548: ('0.0660201896614592',), 1340599510: ('0.0660201896614592',), 1340599503: ('0.0660201896614592',), 1340599497: ('0.0660201896614592',), 1340599492: ('0.0660201896614592',), 1340599456: ('0.0660201896614592',), 1340599451: ('0.0660201896614592',), 1340599446: ('0.0660201896614592',), 1340599440: ('0.0660201896614592',), 1340599431: ('0.0660201896614592',), 1340599428: ('0.0660201896614592',), 1340599380: ('0.0660201896614592',), 1340599372: ('0.0660201896614592',), 1340599366: ('0.0660201896614592',), 1340599166: ('0.0660201896614592',), 1340599158: ('0.0660201896614592',), 1340599142: ('0.0660201896614592',), 1340599132: ('0.0660201896614592',), 1340599124: ('0.0660201896614592',), 1340599121: ('0.0660201896614592',), 1340599080: ('0.0660201896614592',), 1340599070: ('0.0660201896614592',), 1340599063: ('0.0660201896614592',), 1340599059: ('0.0660201896614592',), 1340599020: ('0.0660201896614592',), 1340599014: ('0.0660201896614592',), 1340599012: ('0.0660201896614592',), 1340599005: ('0.0660201896614592',), 1340599001: ('0.0660201896614592',), 1340598881: ('0.0660201896614592',), 1340598874: ('0.0660201896614592',), 1340598871: ('0.0660201896614592',), 1340598865: ('0.0660201896614592',), 1340598861: ('0.0660201896614592',)} args : 1340599510 depend.output_id : 0 input_args_next_step : {1340600154: ('0.0660201896614592',), 1340600084: ('0.0660201896614592',), 1340600081: ('0.0660201896614592',), 1340599709: ('0.0660201896614592',), 1340599548: ('0.0660201896614592',), 1340599510: ('0.0660201896614592',), 1340599503: ()} output_args : {1340600154: ('0.0660201896614592',), 1340600084: ('0.0660201896614592',), 1340600081: ('0.0660201896614592',), 1340599709: ('0.0660201896614592',), 1340599548: ('0.0660201896614592',), 1340599510: ('0.0660201896614592',), 1340599503: ('0.0660201896614592',), 1340599497: ('0.0660201896614592',), 1340599492: ('0.0660201896614592',), 1340599456: ('0.0660201896614592',), 1340599451: ('0.0660201896614592',), 1340599446: ('0.0660201896614592',), 1340599440: ('0.0660201896614592',), 1340599431: ('0.0660201896614592',), 1340599428: ('0.0660201896614592',), 1340599380: ('0.0660201896614592',), 1340599372: ('0.0660201896614592',), 1340599366: ('0.0660201896614592',), 1340599166: ('0.0660201896614592',), 1340599158: ('0.0660201896614592',), 1340599142: ('0.0660201896614592',), 1340599132: ('0.0660201896614592',), 1340599124: ('0.0660201896614592',), 1340599121: ('0.0660201896614592',), 1340599080: ('0.0660201896614592',), 1340599070: ('0.0660201896614592',), 1340599063: ('0.0660201896614592',), 1340599059: ('0.0660201896614592',), 1340599020: ('0.0660201896614592',), 1340599014: ('0.0660201896614592',), 1340599012: ('0.0660201896614592',), 1340599005: ('0.0660201896614592',), 1340599001: ('0.0660201896614592',), 1340598881: ('0.0660201896614592',), 1340598874: ('0.0660201896614592',), 1340598871: ('0.0660201896614592',), 1340598865: ('0.0660201896614592',), 1340598861: ('0.0660201896614592',)} args : 1340599503 depend.output_id : 0 input_args_next_step : {1340600154: ('0.0660201896614592',), 1340600084: ('0.0660201896614592',), 1340600081: ('0.0660201896614592',), 1340599709: ('0.0660201896614592',), 1340599548: ('0.0660201896614592',), 1340599510: ('0.0660201896614592',), 1340599503: ('0.0660201896614592',), 1340599497: ()} output_args : {1340600154: ('0.0660201896614592',), 1340600084: ('0.0660201896614592',), 1340600081: ('0.0660201896614592',), 1340599709: ('0.0660201896614592',), 1340599548: ('0.0660201896614592',), 1340599510: ('0.0660201896614592',), 1340599503: ('0.0660201896614592',), 1340599497: ('0.0660201896614592',), 1340599492: ('0.0660201896614592',), 1340599456: ('0.0660201896614592',), 1340599451: ('0.0660201896614592',), 1340599446: ('0.0660201896614592',), 1340599440: ('0.0660201896614592',), 1340599431: ('0.0660201896614592',), 1340599428: ('0.0660201896614592',), 1340599380: ('0.0660201896614592',), 1340599372: ('0.0660201896614592',), 1340599366: ('0.0660201896614592',), 1340599166: ('0.0660201896614592',), 1340599158: ('0.0660201896614592',), 1340599142: ('0.0660201896614592',), 1340599132: ('0.0660201896614592',), 1340599124: ('0.0660201896614592',), 1340599121: ('0.0660201896614592',), 1340599080: ('0.0660201896614592',), 1340599070: ('0.0660201896614592',), 1340599063: ('0.0660201896614592',), 1340599059: ('0.0660201896614592',), 1340599020: ('0.0660201896614592',), 1340599014: ('0.0660201896614592',), 1340599012: ('0.0660201896614592',), 1340599005: ('0.0660201896614592',), 1340599001: ('0.0660201896614592',), 1340598881: ('0.0660201896614592',), 1340598874: ('0.0660201896614592',), 1340598871: ('0.0660201896614592',), 1340598865: ('0.0660201896614592',), 1340598861: ('0.0660201896614592',)} args : 1340599497 depend.output_id : 0 input_args_next_step : {1340600154: ('0.0660201896614592',), 1340600084: ('0.0660201896614592',), 1340600081: ('0.0660201896614592',), 1340599709: ('0.0660201896614592',), 1340599548: ('0.0660201896614592',), 1340599510: ('0.0660201896614592',), 1340599503: ('0.0660201896614592',), 1340599497: ('0.0660201896614592',), 1340599492: ()} output_args : {1340600154: ('0.0660201896614592',), 1340600084: ('0.0660201896614592',), 1340600081: ('0.0660201896614592',), 1340599709: ('0.0660201896614592',), 1340599548: ('0.0660201896614592',), 1340599510: ('0.0660201896614592',), 1340599503: ('0.0660201896614592',), 1340599497: ('0.0660201896614592',), 1340599492: ('0.0660201896614592',), 1340599456: ('0.0660201896614592',), 1340599451: ('0.0660201896614592',), 1340599446: ('0.0660201896614592',), 1340599440: ('0.0660201896614592',), 1340599431: ('0.0660201896614592',), 1340599428: ('0.0660201896614592',), 1340599380: ('0.0660201896614592',), 1340599372: ('0.0660201896614592',), 1340599366: ('0.0660201896614592',), 1340599166: ('0.0660201896614592',), 1340599158: ('0.0660201896614592',), 1340599142: ('0.0660201896614592',), 1340599132: ('0.0660201896614592',), 1340599124: ('0.0660201896614592',), 1340599121: ('0.0660201896614592',), 1340599080: ('0.0660201896614592',), 1340599070: ('0.0660201896614592',), 1340599063: ('0.0660201896614592',), 1340599059: ('0.0660201896614592',), 1340599020: ('0.0660201896614592',), 1340599014: ('0.0660201896614592',), 1340599012: ('0.0660201896614592',), 1340599005: ('0.0660201896614592',), 1340599001: ('0.0660201896614592',), 1340598881: ('0.0660201896614592',), 1340598874: ('0.0660201896614592',), 1340598871: ('0.0660201896614592',), 1340598865: ('0.0660201896614592',), 1340598861: ('0.0660201896614592',)} args : 1340599492 depend.output_id : 0 input_args_next_step : {1340600154: ('0.0660201896614592',), 1340600084: ('0.0660201896614592',), 1340600081: ('0.0660201896614592',), 1340599709: ('0.0660201896614592',), 1340599548: ('0.0660201896614592',), 1340599510: ('0.0660201896614592',), 1340599503: ('0.0660201896614592',), 1340599497: ('0.0660201896614592',), 1340599492: ('0.0660201896614592',), 1340599456: ()} output_args : {1340600154: ('0.0660201896614592',), 1340600084: ('0.0660201896614592',), 1340600081: ('0.0660201896614592',), 1340599709: ('0.0660201896614592',), 1340599548: ('0.0660201896614592',), 1340599510: ('0.0660201896614592',), 1340599503: ('0.0660201896614592',), 1340599497: ('0.0660201896614592',), 1340599492: ('0.0660201896614592',), 1340599456: ('0.0660201896614592',), 1340599451: ('0.0660201896614592',), 1340599446: ('0.0660201896614592',), 1340599440: ('0.0660201896614592',), 1340599431: ('0.0660201896614592',), 1340599428: ('0.0660201896614592',), 1340599380: ('0.0660201896614592',), 1340599372: ('0.0660201896614592',), 1340599366: ('0.0660201896614592',), 1340599166: ('0.0660201896614592',), 1340599158: ('0.0660201896614592',), 1340599142: ('0.0660201896614592',), 1340599132: ('0.0660201896614592',), 1340599124: ('0.0660201896614592',), 1340599121: ('0.0660201896614592',), 1340599080: ('0.0660201896614592',), 1340599070: ('0.0660201896614592',), 1340599063: ('0.0660201896614592',), 1340599059: ('0.0660201896614592',), 1340599020: ('0.0660201896614592',), 1340599014: ('0.0660201896614592',), 1340599012: ('0.0660201896614592',), 1340599005: ('0.0660201896614592',), 1340599001: ('0.0660201896614592',), 1340598881: ('0.0660201896614592',), 1340598874: ('0.0660201896614592',), 1340598871: ('0.0660201896614592',), 1340598865: ('0.0660201896614592',), 1340598861: ('0.0660201896614592',)} args : 1340599456 depend.output_id : 0 input_args_next_step : {1340600154: ('0.0660201896614592',), 1340600084: ('0.0660201896614592',), 1340600081: ('0.0660201896614592',), 1340599709: ('0.0660201896614592',), 1340599548: ('0.0660201896614592',), 1340599510: ('0.0660201896614592',), 1340599503: ('0.0660201896614592',), 1340599497: ('0.0660201896614592',), 1340599492: ('0.0660201896614592',), 1340599456: ('0.0660201896614592',), 1340599451: ()} output_args : {1340600154: ('0.0660201896614592',), 1340600084: ('0.0660201896614592',), 1340600081: ('0.0660201896614592',), 1340599709: ('0.0660201896614592',), 1340599548: ('0.0660201896614592',), 1340599510: ('0.0660201896614592',), 1340599503: ('0.0660201896614592',), 1340599497: ('0.0660201896614592',), 1340599492: ('0.0660201896614592',), 1340599456: ('0.0660201896614592',), 1340599451: ('0.0660201896614592',), 1340599446: ('0.0660201896614592',), 1340599440: ('0.0660201896614592',), 1340599431: ('0.0660201896614592',), 1340599428: ('0.0660201896614592',), 1340599380: ('0.0660201896614592',), 1340599372: ('0.0660201896614592',), 1340599366: ('0.0660201896614592',), 1340599166: ('0.0660201896614592',), 1340599158: ('0.0660201896614592',), 1340599142: ('0.0660201896614592',), 1340599132: ('0.0660201896614592',), 1340599124: ('0.0660201896614592',), 1340599121: ('0.0660201896614592',), 1340599080: ('0.0660201896614592',), 1340599070: ('0.0660201896614592',), 1340599063: ('0.0660201896614592',), 1340599059: ('0.0660201896614592',), 1340599020: ('0.0660201896614592',), 1340599014: ('0.0660201896614592',), 1340599012: ('0.0660201896614592',), 1340599005: ('0.0660201896614592',), 1340599001: ('0.0660201896614592',), 1340598881: ('0.0660201896614592',), 1340598874: ('0.0660201896614592',), 1340598871: ('0.0660201896614592',), 1340598865: ('0.0660201896614592',), 1340598861: ('0.0660201896614592',)} args : 1340599451 depend.output_id : 0 input_args_next_step : {1340600154: ('0.0660201896614592',), 1340600084: ('0.0660201896614592',), 1340600081: ('0.0660201896614592',), 1340599709: ('0.0660201896614592',), 1340599548: ('0.0660201896614592',), 1340599510: ('0.0660201896614592',), 1340599503: ('0.0660201896614592',), 1340599497: ('0.0660201896614592',), 1340599492: ('0.0660201896614592',), 1340599456: ('0.0660201896614592',), 1340599451: ('0.0660201896614592',), 1340599446: ()} output_args : {1340600154: ('0.0660201896614592',), 1340600084: ('0.0660201896614592',), 1340600081: ('0.0660201896614592',), 1340599709: ('0.0660201896614592',), 1340599548: ('0.0660201896614592',), 1340599510: ('0.0660201896614592',), 1340599503: ('0.0660201896614592',), 1340599497: ('0.0660201896614592',), 1340599492: ('0.0660201896614592',), 1340599456: ('0.0660201896614592',), 1340599451: ('0.0660201896614592',), 1340599446: ('0.0660201896614592',), 1340599440: ('0.0660201896614592',), 1340599431: ('0.0660201896614592',), 1340599428: ('0.0660201896614592',), 1340599380: ('0.0660201896614592',), 1340599372: ('0.0660201896614592',), 1340599366: ('0.0660201896614592',), 1340599166: ('0.0660201896614592',), 1340599158: ('0.0660201896614592',), 1340599142: ('0.0660201896614592',), 1340599132: ('0.0660201896614592',), 1340599124: ('0.0660201896614592',), 1340599121: ('0.0660201896614592',), 1340599080: ('0.0660201896614592',), 1340599070: ('0.0660201896614592',), 1340599063: ('0.0660201896614592',), 1340599059: ('0.0660201896614592',), 1340599020: ('0.0660201896614592',), 1340599014: ('0.0660201896614592',), 1340599012: ('0.0660201896614592',), 1340599005: ('0.0660201896614592',), 1340599001: ('0.0660201896614592',), 1340598881: ('0.0660201896614592',), 1340598874: ('0.0660201896614592',), 1340598871: ('0.0660201896614592',), 1340598865: ('0.0660201896614592',), 1340598861: ('0.0660201896614592',)} args : 1340599446 depend.output_id : 0 input_args_next_step : {1340600154: ('0.0660201896614592',), 1340600084: ('0.0660201896614592',), 1340600081: ('0.0660201896614592',), 1340599709: ('0.0660201896614592',), 1340599548: ('0.0660201896614592',), 1340599510: ('0.0660201896614592',), 1340599503: ('0.0660201896614592',), 1340599497: ('0.0660201896614592',), 1340599492: ('0.0660201896614592',), 1340599456: ('0.0660201896614592',), 1340599451: ('0.0660201896614592',), 1340599446: ('0.0660201896614592',), 1340599440: ()} output_args : {1340600154: ('0.0660201896614592',), 1340600084: ('0.0660201896614592',), 1340600081: ('0.0660201896614592',), 1340599709: ('0.0660201896614592',), 1340599548: ('0.0660201896614592',), 1340599510: ('0.0660201896614592',), 1340599503: ('0.0660201896614592',), 1340599497: ('0.0660201896614592',), 1340599492: ('0.0660201896614592',), 1340599456: ('0.0660201896614592',), 1340599451: ('0.0660201896614592',), 1340599446: ('0.0660201896614592',), 1340599440: ('0.0660201896614592',), 1340599431: ('0.0660201896614592',), 1340599428: ('0.0660201896614592',), 1340599380: ('0.0660201896614592',), 1340599372: ('0.0660201896614592',), 1340599366: ('0.0660201896614592',), 1340599166: ('0.0660201896614592',), 1340599158: ('0.0660201896614592',), 1340599142: ('0.0660201896614592',), 1340599132: ('0.0660201896614592',), 1340599124: ('0.0660201896614592',), 1340599121: ('0.0660201896614592',), 1340599080: ('0.0660201896614592',), 1340599070: ('0.0660201896614592',), 1340599063: ('0.0660201896614592',), 1340599059: ('0.0660201896614592',), 1340599020: ('0.0660201896614592',), 1340599014: ('0.0660201896614592',), 1340599012: ('0.0660201896614592',), 1340599005: ('0.0660201896614592',), 1340599001: ('0.0660201896614592',), 1340598881: ('0.0660201896614592',), 1340598874: ('0.0660201896614592',), 1340598871: ('0.0660201896614592',), 1340598865: ('0.0660201896614592',), 1340598861: ('0.0660201896614592',)} args : 1340599440 depend.output_id : 0 input_args_next_step : {1340600154: ('0.0660201896614592',), 1340600084: ('0.0660201896614592',), 1340600081: ('0.0660201896614592',), 1340599709: ('0.0660201896614592',), 1340599548: ('0.0660201896614592',), 1340599510: ('0.0660201896614592',), 1340599503: ('0.0660201896614592',), 1340599497: ('0.0660201896614592',), 1340599492: ('0.0660201896614592',), 1340599456: ('0.0660201896614592',), 1340599451: ('0.0660201896614592',), 1340599446: ('0.0660201896614592',), 1340599440: ('0.0660201896614592',), 1340599431: ()} output_args : {1340600154: ('0.0660201896614592',), 1340600084: ('0.0660201896614592',), 1340600081: ('0.0660201896614592',), 1340599709: ('0.0660201896614592',), 1340599548: ('0.0660201896614592',), 1340599510: ('0.0660201896614592',), 1340599503: ('0.0660201896614592',), 1340599497: ('0.0660201896614592',), 1340599492: ('0.0660201896614592',), 1340599456: ('0.0660201896614592',), 1340599451: ('0.0660201896614592',), 1340599446: ('0.0660201896614592',), 1340599440: ('0.0660201896614592',), 1340599431: ('0.0660201896614592',), 1340599428: ('0.0660201896614592',), 1340599380: ('0.0660201896614592',), 1340599372: ('0.0660201896614592',), 1340599366: ('0.0660201896614592',), 1340599166: ('0.0660201896614592',), 1340599158: ('0.0660201896614592',), 1340599142: ('0.0660201896614592',), 1340599132: ('0.0660201896614592',), 1340599124: ('0.0660201896614592',), 1340599121: ('0.0660201896614592',), 1340599080: ('0.0660201896614592',), 1340599070: ('0.0660201896614592',), 1340599063: ('0.0660201896614592',), 1340599059: ('0.0660201896614592',), 1340599020: ('0.0660201896614592',), 1340599014: ('0.0660201896614592',), 1340599012: ('0.0660201896614592',), 1340599005: ('0.0660201896614592',), 1340599001: ('0.0660201896614592',), 1340598881: ('0.0660201896614592',), 1340598874: ('0.0660201896614592',), 1340598871: ('0.0660201896614592',), 1340598865: ('0.0660201896614592',), 1340598861: ('0.0660201896614592',)} args : 1340599431 depend.output_id : 0 input_args_next_step : {1340600154: ('0.0660201896614592',), 1340600084: ('0.0660201896614592',), 1340600081: ('0.0660201896614592',), 1340599709: ('0.0660201896614592',), 1340599548: ('0.0660201896614592',), 1340599510: ('0.0660201896614592',), 1340599503: ('0.0660201896614592',), 1340599497: ('0.0660201896614592',), 1340599492: ('0.0660201896614592',), 1340599456: ('0.0660201896614592',), 1340599451: ('0.0660201896614592',), 1340599446: ('0.0660201896614592',), 1340599440: ('0.0660201896614592',), 1340599431: ('0.0660201896614592',), 1340599428: ()} output_args : {1340600154: ('0.0660201896614592',), 1340600084: ('0.0660201896614592',), 1340600081: ('0.0660201896614592',), 1340599709: ('0.0660201896614592',), 1340599548: ('0.0660201896614592',), 1340599510: ('0.0660201896614592',), 1340599503: ('0.0660201896614592',), 1340599497: ('0.0660201896614592',), 1340599492: ('0.0660201896614592',), 1340599456: ('0.0660201896614592',), 1340599451: ('0.0660201896614592',), 1340599446: ('0.0660201896614592',), 1340599440: ('0.0660201896614592',), 1340599431: ('0.0660201896614592',), 1340599428: ('0.0660201896614592',), 1340599380: ('0.0660201896614592',), 1340599372: ('0.0660201896614592',), 1340599366: ('0.0660201896614592',), 1340599166: ('0.0660201896614592',), 1340599158: ('0.0660201896614592',), 1340599142: ('0.0660201896614592',), 1340599132: ('0.0660201896614592',), 1340599124: ('0.0660201896614592',), 1340599121: ('0.0660201896614592',), 1340599080: ('0.0660201896614592',), 1340599070: ('0.0660201896614592',), 1340599063: ('0.0660201896614592',), 1340599059: ('0.0660201896614592',), 1340599020: ('0.0660201896614592',), 1340599014: ('0.0660201896614592',), 1340599012: ('0.0660201896614592',), 1340599005: ('0.0660201896614592',), 1340599001: ('0.0660201896614592',), 1340598881: ('0.0660201896614592',), 1340598874: ('0.0660201896614592',), 1340598871: ('0.0660201896614592',), 1340598865: ('0.0660201896614592',), 1340598861: ('0.0660201896614592',)} args : 1340599428 depend.output_id : 0 input_args_next_step : {1340600154: ('0.0660201896614592',), 1340600084: ('0.0660201896614592',), 1340600081: ('0.0660201896614592',), 1340599709: ('0.0660201896614592',), 1340599548: ('0.0660201896614592',), 1340599510: ('0.0660201896614592',), 1340599503: ('0.0660201896614592',), 1340599497: ('0.0660201896614592',), 1340599492: ('0.0660201896614592',), 1340599456: ('0.0660201896614592',), 1340599451: ('0.0660201896614592',), 1340599446: ('0.0660201896614592',), 1340599440: ('0.0660201896614592',), 1340599431: ('0.0660201896614592',), 1340599428: ('0.0660201896614592',), 1340599380: ()} output_args : {1340600154: ('0.0660201896614592',), 1340600084: ('0.0660201896614592',), 1340600081: ('0.0660201896614592',), 1340599709: ('0.0660201896614592',), 1340599548: ('0.0660201896614592',), 1340599510: ('0.0660201896614592',), 1340599503: ('0.0660201896614592',), 1340599497: ('0.0660201896614592',), 1340599492: ('0.0660201896614592',), 1340599456: ('0.0660201896614592',), 1340599451: ('0.0660201896614592',), 1340599446: ('0.0660201896614592',), 1340599440: ('0.0660201896614592',), 1340599431: ('0.0660201896614592',), 1340599428: ('0.0660201896614592',), 1340599380: ('0.0660201896614592',), 1340599372: ('0.0660201896614592',), 1340599366: ('0.0660201896614592',), 1340599166: ('0.0660201896614592',), 1340599158: ('0.0660201896614592',), 1340599142: ('0.0660201896614592',), 1340599132: ('0.0660201896614592',), 1340599124: ('0.0660201896614592',), 1340599121: ('0.0660201896614592',), 1340599080: ('0.0660201896614592',), 1340599070: ('0.0660201896614592',), 1340599063: ('0.0660201896614592',), 1340599059: ('0.0660201896614592',), 1340599020: ('0.0660201896614592',), 1340599014: ('0.0660201896614592',), 1340599012: ('0.0660201896614592',), 1340599005: ('0.0660201896614592',), 1340599001: ('0.0660201896614592',), 1340598881: ('0.0660201896614592',), 1340598874: ('0.0660201896614592',), 1340598871: ('0.0660201896614592',), 1340598865: ('0.0660201896614592',), 1340598861: ('0.0660201896614592',)} args : 1340599380 depend.output_id : 0 input_args_next_step : {1340600154: ('0.0660201896614592',), 1340600084: ('0.0660201896614592',), 1340600081: ('0.0660201896614592',), 1340599709: ('0.0660201896614592',), 1340599548: ('0.0660201896614592',), 1340599510: ('0.0660201896614592',), 1340599503: ('0.0660201896614592',), 1340599497: ('0.0660201896614592',), 1340599492: ('0.0660201896614592',), 1340599456: ('0.0660201896614592',), 1340599451: ('0.0660201896614592',), 1340599446: ('0.0660201896614592',), 1340599440: ('0.0660201896614592',), 1340599431: ('0.0660201896614592',), 1340599428: ('0.0660201896614592',), 1340599380: ('0.0660201896614592',), 1340599372: ()} output_args : {1340600154: ('0.0660201896614592',), 1340600084: ('0.0660201896614592',), 1340600081: ('0.0660201896614592',), 1340599709: ('0.0660201896614592',), 1340599548: ('0.0660201896614592',), 1340599510: ('0.0660201896614592',), 1340599503: ('0.0660201896614592',), 1340599497: ('0.0660201896614592',), 1340599492: ('0.0660201896614592',), 1340599456: ('0.0660201896614592',), 1340599451: ('0.0660201896614592',), 1340599446: ('0.0660201896614592',), 1340599440: ('0.0660201896614592',), 1340599431: ('0.0660201896614592',), 1340599428: ('0.0660201896614592',), 1340599380: ('0.0660201896614592',), 1340599372: ('0.0660201896614592',), 1340599366: ('0.0660201896614592',), 1340599166: ('0.0660201896614592',), 1340599158: ('0.0660201896614592',), 1340599142: ('0.0660201896614592',), 1340599132: ('0.0660201896614592',), 1340599124: ('0.0660201896614592',), 1340599121: ('0.0660201896614592',), 1340599080: ('0.0660201896614592',), 1340599070: ('0.0660201896614592',), 1340599063: ('0.0660201896614592',), 1340599059: ('0.0660201896614592',), 1340599020: ('0.0660201896614592',), 1340599014: ('0.0660201896614592',), 1340599012: ('0.0660201896614592',), 1340599005: ('0.0660201896614592',), 1340599001: ('0.0660201896614592',), 1340598881: ('0.0660201896614592',), 1340598874: ('0.0660201896614592',), 1340598871: ('0.0660201896614592',), 1340598865: ('0.0660201896614592',), 1340598861: ('0.0660201896614592',)} args : 1340599372 depend.output_id : 0 input_args_next_step : {1340600154: ('0.0660201896614592',), 1340600084: ('0.0660201896614592',), 1340600081: ('0.0660201896614592',), 1340599709: ('0.0660201896614592',), 1340599548: ('0.0660201896614592',), 1340599510: ('0.0660201896614592',), 1340599503: ('0.0660201896614592',), 1340599497: ('0.0660201896614592',), 1340599492: ('0.0660201896614592',), 1340599456: ('0.0660201896614592',), 1340599451: ('0.0660201896614592',), 1340599446: ('0.0660201896614592',), 1340599440: ('0.0660201896614592',), 1340599431: ('0.0660201896614592',), 1340599428: ('0.0660201896614592',), 1340599380: ('0.0660201896614592',), 1340599372: ('0.0660201896614592',), 1340599366: ()} output_args : {1340600154: ('0.0660201896614592',), 1340600084: ('0.0660201896614592',), 1340600081: ('0.0660201896614592',), 1340599709: ('0.0660201896614592',), 1340599548: ('0.0660201896614592',), 1340599510: ('0.0660201896614592',), 1340599503: ('0.0660201896614592',), 1340599497: ('0.0660201896614592',), 1340599492: ('0.0660201896614592',), 1340599456: ('0.0660201896614592',), 1340599451: ('0.0660201896614592',), 1340599446: ('0.0660201896614592',), 1340599440: ('0.0660201896614592',), 1340599431: ('0.0660201896614592',), 1340599428: ('0.0660201896614592',), 1340599380: ('0.0660201896614592',), 1340599372: ('0.0660201896614592',), 1340599366: ('0.0660201896614592',), 1340599166: ('0.0660201896614592',), 1340599158: ('0.0660201896614592',), 1340599142: ('0.0660201896614592',), 1340599132: ('0.0660201896614592',), 1340599124: ('0.0660201896614592',), 1340599121: ('0.0660201896614592',), 1340599080: ('0.0660201896614592',), 1340599070: ('0.0660201896614592',), 1340599063: ('0.0660201896614592',), 1340599059: ('0.0660201896614592',), 1340599020: ('0.0660201896614592',), 1340599014: ('0.0660201896614592',), 1340599012: ('0.0660201896614592',), 1340599005: ('0.0660201896614592',), 1340599001: ('0.0660201896614592',), 1340598881: ('0.0660201896614592',), 1340598874: ('0.0660201896614592',), 1340598871: ('0.0660201896614592',), 1340598865: ('0.0660201896614592',), 1340598861: ('0.0660201896614592',)} args : 1340599366 depend.output_id : 0 input_args_next_step : {1340600154: ('0.0660201896614592',), 1340600084: ('0.0660201896614592',), 1340600081: ('0.0660201896614592',), 1340599709: ('0.0660201896614592',), 1340599548: ('0.0660201896614592',), 1340599510: ('0.0660201896614592',), 1340599503: ('0.0660201896614592',), 1340599497: ('0.0660201896614592',), 1340599492: ('0.0660201896614592',), 1340599456: ('0.0660201896614592',), 1340599451: ('0.0660201896614592',), 1340599446: ('0.0660201896614592',), 1340599440: ('0.0660201896614592',), 1340599431: ('0.0660201896614592',), 1340599428: ('0.0660201896614592',), 1340599380: ('0.0660201896614592',), 1340599372: ('0.0660201896614592',), 1340599366: ('0.0660201896614592',), 1340599166: ()} output_args : {1340600154: ('0.0660201896614592',), 1340600084: ('0.0660201896614592',), 1340600081: ('0.0660201896614592',), 1340599709: ('0.0660201896614592',), 1340599548: ('0.0660201896614592',), 1340599510: ('0.0660201896614592',), 1340599503: ('0.0660201896614592',), 1340599497: ('0.0660201896614592',), 1340599492: ('0.0660201896614592',), 1340599456: ('0.0660201896614592',), 1340599451: ('0.0660201896614592',), 1340599446: ('0.0660201896614592',), 1340599440: ('0.0660201896614592',), 1340599431: ('0.0660201896614592',), 1340599428: ('0.0660201896614592',), 1340599380: ('0.0660201896614592',), 1340599372: ('0.0660201896614592',), 1340599366: ('0.0660201896614592',), 1340599166: ('0.0660201896614592',), 1340599158: ('0.0660201896614592',), 1340599142: ('0.0660201896614592',), 1340599132: ('0.0660201896614592',), 1340599124: ('0.0660201896614592',), 1340599121: ('0.0660201896614592',), 1340599080: ('0.0660201896614592',), 1340599070: ('0.0660201896614592',), 1340599063: ('0.0660201896614592',), 1340599059: ('0.0660201896614592',), 1340599020: ('0.0660201896614592',), 1340599014: ('0.0660201896614592',), 1340599012: ('0.0660201896614592',), 1340599005: ('0.0660201896614592',), 1340599001: ('0.0660201896614592',), 1340598881: ('0.0660201896614592',), 1340598874: ('0.0660201896614592',), 1340598871: ('0.0660201896614592',), 1340598865: ('0.0660201896614592',), 1340598861: ('0.0660201896614592',)} args : 1340599166 depend.output_id : 0 input_args_next_step : {1340600154: ('0.0660201896614592',), 1340600084: ('0.0660201896614592',), 1340600081: ('0.0660201896614592',), 1340599709: ('0.0660201896614592',), 1340599548: ('0.0660201896614592',), 1340599510: ('0.0660201896614592',), 1340599503: ('0.0660201896614592',), 1340599497: ('0.0660201896614592',), 1340599492: ('0.0660201896614592',), 1340599456: ('0.0660201896614592',), 1340599451: ('0.0660201896614592',), 1340599446: ('0.0660201896614592',), 1340599440: ('0.0660201896614592',), 1340599431: ('0.0660201896614592',), 1340599428: ('0.0660201896614592',), 1340599380: ('0.0660201896614592',), 1340599372: ('0.0660201896614592',), 1340599366: ('0.0660201896614592',), 1340599166: ('0.0660201896614592',), 1340599158: ()} output_args : {1340600154: ('0.0660201896614592',), 1340600084: ('0.0660201896614592',), 1340600081: ('0.0660201896614592',), 1340599709: ('0.0660201896614592',), 1340599548: ('0.0660201896614592',), 1340599510: ('0.0660201896614592',), 1340599503: ('0.0660201896614592',), 1340599497: ('0.0660201896614592',), 1340599492: ('0.0660201896614592',), 1340599456: ('0.0660201896614592',), 1340599451: ('0.0660201896614592',), 1340599446: ('0.0660201896614592',), 1340599440: ('0.0660201896614592',), 1340599431: ('0.0660201896614592',), 1340599428: ('0.0660201896614592',), 1340599380: ('0.0660201896614592',), 1340599372: ('0.0660201896614592',), 1340599366: ('0.0660201896614592',), 1340599166: ('0.0660201896614592',), 1340599158: ('0.0660201896614592',), 1340599142: ('0.0660201896614592',), 1340599132: ('0.0660201896614592',), 1340599124: ('0.0660201896614592',), 1340599121: ('0.0660201896614592',), 1340599080: ('0.0660201896614592',), 1340599070: ('0.0660201896614592',), 1340599063: ('0.0660201896614592',), 1340599059: ('0.0660201896614592',), 1340599020: ('0.0660201896614592',), 1340599014: ('0.0660201896614592',), 1340599012: ('0.0660201896614592',), 1340599005: ('0.0660201896614592',), 1340599001: ('0.0660201896614592',), 1340598881: ('0.0660201896614592',), 1340598874: ('0.0660201896614592',), 1340598871: ('0.0660201896614592',), 1340598865: ('0.0660201896614592',), 1340598861: ('0.0660201896614592',)} args : 1340599158 depend.output_id : 0 input_args_next_step : {1340600154: ('0.0660201896614592',), 1340600084: ('0.0660201896614592',), 1340600081: ('0.0660201896614592',), 1340599709: ('0.0660201896614592',), 1340599548: ('0.0660201896614592',), 1340599510: ('0.0660201896614592',), 1340599503: ('0.0660201896614592',), 1340599497: ('0.0660201896614592',), 1340599492: ('0.0660201896614592',), 1340599456: ('0.0660201896614592',), 1340599451: ('0.0660201896614592',), 1340599446: ('0.0660201896614592',), 1340599440: ('0.0660201896614592',), 1340599431: ('0.0660201896614592',), 1340599428: ('0.0660201896614592',), 1340599380: ('0.0660201896614592',), 1340599372: ('0.0660201896614592',), 1340599366: ('0.0660201896614592',), 1340599166: ('0.0660201896614592',), 1340599158: ('0.0660201896614592',), 1340599142: ()} output_args : {1340600154: ('0.0660201896614592',), 1340600084: ('0.0660201896614592',), 1340600081: ('0.0660201896614592',), 1340599709: ('0.0660201896614592',), 1340599548: ('0.0660201896614592',), 1340599510: ('0.0660201896614592',), 1340599503: ('0.0660201896614592',), 1340599497: ('0.0660201896614592',), 1340599492: ('0.0660201896614592',), 1340599456: ('0.0660201896614592',), 1340599451: ('0.0660201896614592',), 1340599446: ('0.0660201896614592',), 1340599440: ('0.0660201896614592',), 1340599431: ('0.0660201896614592',), 1340599428: ('0.0660201896614592',), 1340599380: ('0.0660201896614592',), 1340599372: ('0.0660201896614592',), 1340599366: ('0.0660201896614592',), 1340599166: ('0.0660201896614592',), 1340599158: ('0.0660201896614592',), 1340599142: ('0.0660201896614592',), 1340599132: ('0.0660201896614592',), 1340599124: ('0.0660201896614592',), 1340599121: ('0.0660201896614592',), 1340599080: ('0.0660201896614592',), 1340599070: ('0.0660201896614592',), 1340599063: ('0.0660201896614592',), 1340599059: ('0.0660201896614592',), 1340599020: ('0.0660201896614592',), 1340599014: ('0.0660201896614592',), 1340599012: ('0.0660201896614592',), 1340599005: ('0.0660201896614592',), 1340599001: ('0.0660201896614592',), 1340598881: ('0.0660201896614592',), 1340598874: ('0.0660201896614592',), 1340598871: ('0.0660201896614592',), 1340598865: ('0.0660201896614592',), 1340598861: ('0.0660201896614592',)} args : 1340599142 depend.output_id : 0 input_args_next_step : {1340600154: ('0.0660201896614592',), 1340600084: ('0.0660201896614592',), 1340600081: ('0.0660201896614592',), 1340599709: ('0.0660201896614592',), 1340599548: ('0.0660201896614592',), 1340599510: ('0.0660201896614592',), 1340599503: ('0.0660201896614592',), 1340599497: ('0.0660201896614592',), 1340599492: ('0.0660201896614592',), 1340599456: ('0.0660201896614592',), 1340599451: ('0.0660201896614592',), 1340599446: ('0.0660201896614592',), 1340599440: ('0.0660201896614592',), 1340599431: ('0.0660201896614592',), 1340599428: ('0.0660201896614592',), 1340599380: ('0.0660201896614592',), 1340599372: ('0.0660201896614592',), 1340599366: ('0.0660201896614592',), 1340599166: ('0.0660201896614592',), 1340599158: ('0.0660201896614592',), 1340599142: ('0.0660201896614592',), 1340599132: ()} output_args : {1340600154: ('0.0660201896614592',), 1340600084: ('0.0660201896614592',), 1340600081: ('0.0660201896614592',), 1340599709: ('0.0660201896614592',), 1340599548: ('0.0660201896614592',), 1340599510: ('0.0660201896614592',), 1340599503: ('0.0660201896614592',), 1340599497: ('0.0660201896614592',), 1340599492: ('0.0660201896614592',), 1340599456: ('0.0660201896614592',), 1340599451: ('0.0660201896614592',), 1340599446: ('0.0660201896614592',), 1340599440: ('0.0660201896614592',), 1340599431: ('0.0660201896614592',), 1340599428: ('0.0660201896614592',), 1340599380: ('0.0660201896614592',), 1340599372: ('0.0660201896614592',), 1340599366: ('0.0660201896614592',), 1340599166: ('0.0660201896614592',), 1340599158: ('0.0660201896614592',), 1340599142: ('0.0660201896614592',), 1340599132: ('0.0660201896614592',), 1340599124: ('0.0660201896614592',), 1340599121: ('0.0660201896614592',), 1340599080: ('0.0660201896614592',), 1340599070: ('0.0660201896614592',), 1340599063: ('0.0660201896614592',), 1340599059: ('0.0660201896614592',), 1340599020: ('0.0660201896614592',), 1340599014: ('0.0660201896614592',), 1340599012: ('0.0660201896614592',), 1340599005: ('0.0660201896614592',), 1340599001: ('0.0660201896614592',), 1340598881: ('0.0660201896614592',), 1340598874: ('0.0660201896614592',), 1340598871: ('0.0660201896614592',), 1340598865: ('0.0660201896614592',), 1340598861: ('0.0660201896614592',)} args : 1340599132 depend.output_id : 0 input_args_next_step : {1340600154: ('0.0660201896614592',), 1340600084: ('0.0660201896614592',), 1340600081: ('0.0660201896614592',), 1340599709: ('0.0660201896614592',), 1340599548: ('0.0660201896614592',), 1340599510: ('0.0660201896614592',), 1340599503: ('0.0660201896614592',), 1340599497: ('0.0660201896614592',), 1340599492: ('0.0660201896614592',), 1340599456: ('0.0660201896614592',), 1340599451: ('0.0660201896614592',), 1340599446: ('0.0660201896614592',), 1340599440: ('0.0660201896614592',), 1340599431: ('0.0660201896614592',), 1340599428: ('0.0660201896614592',), 1340599380: ('0.0660201896614592',), 1340599372: ('0.0660201896614592',), 1340599366: ('0.0660201896614592',), 1340599166: ('0.0660201896614592',), 1340599158: ('0.0660201896614592',), 1340599142: ('0.0660201896614592',), 1340599132: ('0.0660201896614592',), 1340599124: ()} output_args : {1340600154: ('0.0660201896614592',), 1340600084: ('0.0660201896614592',), 1340600081: ('0.0660201896614592',), 1340599709: ('0.0660201896614592',), 1340599548: ('0.0660201896614592',), 1340599510: ('0.0660201896614592',), 1340599503: ('0.0660201896614592',), 1340599497: ('0.0660201896614592',), 1340599492: ('0.0660201896614592',), 1340599456: ('0.0660201896614592',), 1340599451: ('0.0660201896614592',), 1340599446: ('0.0660201896614592',), 1340599440: ('0.0660201896614592',), 1340599431: ('0.0660201896614592',), 1340599428: ('0.0660201896614592',), 1340599380: ('0.0660201896614592',), 1340599372: ('0.0660201896614592',), 1340599366: ('0.0660201896614592',), 1340599166: ('0.0660201896614592',), 1340599158: ('0.0660201896614592',), 1340599142: ('0.0660201896614592',), 1340599132: ('0.0660201896614592',), 1340599124: ('0.0660201896614592',), 1340599121: ('0.0660201896614592',), 1340599080: ('0.0660201896614592',), 1340599070: ('0.0660201896614592',), 1340599063: ('0.0660201896614592',), 1340599059: ('0.0660201896614592',), 1340599020: ('0.0660201896614592',), 1340599014: ('0.0660201896614592',), 1340599012: ('0.0660201896614592',), 1340599005: ('0.0660201896614592',), 1340599001: ('0.0660201896614592',), 1340598881: ('0.0660201896614592',), 1340598874: ('0.0660201896614592',), 1340598871: ('0.0660201896614592',), 1340598865: ('0.0660201896614592',), 1340598861: ('0.0660201896614592',)} args : 1340599124 depend.output_id : 0 input_args_next_step : {1340600154: ('0.0660201896614592',), 1340600084: ('0.0660201896614592',), 1340600081: ('0.0660201896614592',), 1340599709: ('0.0660201896614592',), 1340599548: ('0.0660201896614592',), 1340599510: ('0.0660201896614592',), 1340599503: ('0.0660201896614592',), 1340599497: ('0.0660201896614592',), 1340599492: ('0.0660201896614592',), 1340599456: ('0.0660201896614592',), 1340599451: ('0.0660201896614592',), 1340599446: ('0.0660201896614592',), 1340599440: ('0.0660201896614592',), 1340599431: ('0.0660201896614592',), 1340599428: ('0.0660201896614592',), 1340599380: ('0.0660201896614592',), 1340599372: ('0.0660201896614592',), 1340599366: ('0.0660201896614592',), 1340599166: ('0.0660201896614592',), 1340599158: ('0.0660201896614592',), 1340599142: ('0.0660201896614592',), 1340599132: ('0.0660201896614592',), 1340599124: ('0.0660201896614592',), 1340599121: ()} output_args : {1340600154: ('0.0660201896614592',), 1340600084: ('0.0660201896614592',), 1340600081: ('0.0660201896614592',), 1340599709: ('0.0660201896614592',), 1340599548: ('0.0660201896614592',), 1340599510: ('0.0660201896614592',), 1340599503: ('0.0660201896614592',), 1340599497: ('0.0660201896614592',), 1340599492: ('0.0660201896614592',), 1340599456: ('0.0660201896614592',), 1340599451: ('0.0660201896614592',), 1340599446: ('0.0660201896614592',), 1340599440: ('0.0660201896614592',), 1340599431: ('0.0660201896614592',), 1340599428: ('0.0660201896614592',), 1340599380: ('0.0660201896614592',), 1340599372: ('0.0660201896614592',), 1340599366: ('0.0660201896614592',), 1340599166: ('0.0660201896614592',), 1340599158: ('0.0660201896614592',), 1340599142: ('0.0660201896614592',), 1340599132: ('0.0660201896614592',), 1340599124: ('0.0660201896614592',), 1340599121: ('0.0660201896614592',), 1340599080: ('0.0660201896614592',), 1340599070: ('0.0660201896614592',), 1340599063: ('0.0660201896614592',), 1340599059: ('0.0660201896614592',), 1340599020: ('0.0660201896614592',), 1340599014: ('0.0660201896614592',), 1340599012: ('0.0660201896614592',), 1340599005: ('0.0660201896614592',), 1340599001: ('0.0660201896614592',), 1340598881: ('0.0660201896614592',), 1340598874: ('0.0660201896614592',), 1340598871: ('0.0660201896614592',), 1340598865: ('0.0660201896614592',), 1340598861: ('0.0660201896614592',)} args : 1340599121 depend.output_id : 0 input_args_next_step : {1340600154: ('0.0660201896614592',), 1340600084: ('0.0660201896614592',), 1340600081: ('0.0660201896614592',), 1340599709: ('0.0660201896614592',), 1340599548: ('0.0660201896614592',), 1340599510: ('0.0660201896614592',), 1340599503: ('0.0660201896614592',), 1340599497: ('0.0660201896614592',), 1340599492: ('0.0660201896614592',), 1340599456: ('0.0660201896614592',), 1340599451: ('0.0660201896614592',), 1340599446: ('0.0660201896614592',), 1340599440: ('0.0660201896614592',), 1340599431: ('0.0660201896614592',), 1340599428: ('0.0660201896614592',), 1340599380: ('0.0660201896614592',), 1340599372: ('0.0660201896614592',), 1340599366: ('0.0660201896614592',), 1340599166: ('0.0660201896614592',), 1340599158: ('0.0660201896614592',), 1340599142: ('0.0660201896614592',), 1340599132: ('0.0660201896614592',), 1340599124: ('0.0660201896614592',), 1340599121: ('0.0660201896614592',), 1340599080: ()} output_args : {1340600154: ('0.0660201896614592',), 1340600084: ('0.0660201896614592',), 1340600081: ('0.0660201896614592',), 1340599709: ('0.0660201896614592',), 1340599548: ('0.0660201896614592',), 1340599510: ('0.0660201896614592',), 1340599503: ('0.0660201896614592',), 1340599497: ('0.0660201896614592',), 1340599492: ('0.0660201896614592',), 1340599456: ('0.0660201896614592',), 1340599451: ('0.0660201896614592',), 1340599446: ('0.0660201896614592',), 1340599440: ('0.0660201896614592',), 1340599431: ('0.0660201896614592',), 1340599428: ('0.0660201896614592',), 1340599380: ('0.0660201896614592',), 1340599372: ('0.0660201896614592',), 1340599366: ('0.0660201896614592',), 1340599166: ('0.0660201896614592',), 1340599158: ('0.0660201896614592',), 1340599142: ('0.0660201896614592',), 1340599132: ('0.0660201896614592',), 1340599124: ('0.0660201896614592',), 1340599121: ('0.0660201896614592',), 1340599080: ('0.0660201896614592',), 1340599070: ('0.0660201896614592',), 1340599063: ('0.0660201896614592',), 1340599059: ('0.0660201896614592',), 1340599020: ('0.0660201896614592',), 1340599014: ('0.0660201896614592',), 1340599012: ('0.0660201896614592',), 1340599005: ('0.0660201896614592',), 1340599001: ('0.0660201896614592',), 1340598881: ('0.0660201896614592',), 1340598874: ('0.0660201896614592',), 1340598871: ('0.0660201896614592',), 1340598865: ('0.0660201896614592',), 1340598861: ('0.0660201896614592',)} args : 1340599080 depend.output_id : 0 input_args_next_step : {1340600154: ('0.0660201896614592',), 1340600084: ('0.0660201896614592',), 1340600081: ('0.0660201896614592',), 1340599709: ('0.0660201896614592',), 1340599548: ('0.0660201896614592',), 1340599510: ('0.0660201896614592',), 1340599503: ('0.0660201896614592',), 1340599497: ('0.0660201896614592',), 1340599492: ('0.0660201896614592',), 1340599456: ('0.0660201896614592',), 1340599451: ('0.0660201896614592',), 1340599446: ('0.0660201896614592',), 1340599440: ('0.0660201896614592',), 1340599431: ('0.0660201896614592',), 1340599428: ('0.0660201896614592',), 1340599380: ('0.0660201896614592',), 1340599372: ('0.0660201896614592',), 1340599366: ('0.0660201896614592',), 1340599166: ('0.0660201896614592',), 1340599158: ('0.0660201896614592',), 1340599142: ('0.0660201896614592',), 1340599132: ('0.0660201896614592',), 1340599124: ('0.0660201896614592',), 1340599121: ('0.0660201896614592',), 1340599080: ('0.0660201896614592',), 1340599070: ()} output_args : {1340600154: ('0.0660201896614592',), 1340600084: ('0.0660201896614592',), 1340600081: ('0.0660201896614592',), 1340599709: ('0.0660201896614592',), 1340599548: ('0.0660201896614592',), 1340599510: ('0.0660201896614592',), 1340599503: ('0.0660201896614592',), 1340599497: ('0.0660201896614592',), 1340599492: ('0.0660201896614592',), 1340599456: ('0.0660201896614592',), 1340599451: ('0.0660201896614592',), 1340599446: ('0.0660201896614592',), 1340599440: ('0.0660201896614592',), 1340599431: ('0.0660201896614592',), 1340599428: ('0.0660201896614592',), 1340599380: ('0.0660201896614592',), 1340599372: ('0.0660201896614592',), 1340599366: ('0.0660201896614592',), 1340599166: ('0.0660201896614592',), 1340599158: ('0.0660201896614592',), 1340599142: ('0.0660201896614592',), 1340599132: ('0.0660201896614592',), 1340599124: ('0.0660201896614592',), 1340599121: ('0.0660201896614592',), 1340599080: ('0.0660201896614592',), 1340599070: ('0.0660201896614592',), 1340599063: ('0.0660201896614592',), 1340599059: ('0.0660201896614592',), 1340599020: ('0.0660201896614592',), 1340599014: ('0.0660201896614592',), 1340599012: ('0.0660201896614592',), 1340599005: ('0.0660201896614592',), 1340599001: ('0.0660201896614592',), 1340598881: ('0.0660201896614592',), 1340598874: ('0.0660201896614592',), 1340598871: ('0.0660201896614592',), 1340598865: ('0.0660201896614592',), 1340598861: ('0.0660201896614592',)} args : 1340599070 depend.output_id : 0 input_args_next_step : {1340600154: ('0.0660201896614592',), 1340600084: ('0.0660201896614592',), 1340600081: ('0.0660201896614592',), 1340599709: ('0.0660201896614592',), 1340599548: ('0.0660201896614592',), 1340599510: ('0.0660201896614592',), 1340599503: ('0.0660201896614592',), 1340599497: ('0.0660201896614592',), 1340599492: ('0.0660201896614592',), 1340599456: ('0.0660201896614592',), 1340599451: ('0.0660201896614592',), 1340599446: ('0.0660201896614592',), 1340599440: ('0.0660201896614592',), 1340599431: ('0.0660201896614592',), 1340599428: ('0.0660201896614592',), 1340599380: ('0.0660201896614592',), 1340599372: ('0.0660201896614592',), 1340599366: ('0.0660201896614592',), 1340599166: ('0.0660201896614592',), 1340599158: ('0.0660201896614592',), 1340599142: ('0.0660201896614592',), 1340599132: ('0.0660201896614592',), 1340599124: ('0.0660201896614592',), 1340599121: ('0.0660201896614592',), 1340599080: ('0.0660201896614592',), 1340599070: ('0.0660201896614592',), 1340599063: ()} output_args : {1340600154: ('0.0660201896614592',), 1340600084: ('0.0660201896614592',), 1340600081: ('0.0660201896614592',), 1340599709: ('0.0660201896614592',), 1340599548: ('0.0660201896614592',), 1340599510: ('0.0660201896614592',), 1340599503: ('0.0660201896614592',), 1340599497: ('0.0660201896614592',), 1340599492: ('0.0660201896614592',), 1340599456: ('0.0660201896614592',), 1340599451: ('0.0660201896614592',), 1340599446: ('0.0660201896614592',), 1340599440: ('0.0660201896614592',), 1340599431: ('0.0660201896614592',), 1340599428: ('0.0660201896614592',), 1340599380: ('0.0660201896614592',), 1340599372: ('0.0660201896614592',), 1340599366: ('0.0660201896614592',), 1340599166: ('0.0660201896614592',), 1340599158: ('0.0660201896614592',), 1340599142: ('0.0660201896614592',), 1340599132: ('0.0660201896614592',), 1340599124: ('0.0660201896614592',), 1340599121: ('0.0660201896614592',), 1340599080: ('0.0660201896614592',), 1340599070: ('0.0660201896614592',), 1340599063: ('0.0660201896614592',), 1340599059: ('0.0660201896614592',), 1340599020: ('0.0660201896614592',), 1340599014: ('0.0660201896614592',), 1340599012: ('0.0660201896614592',), 1340599005: ('0.0660201896614592',), 1340599001: ('0.0660201896614592',), 1340598881: ('0.0660201896614592',), 1340598874: ('0.0660201896614592',), 1340598871: ('0.0660201896614592',), 1340598865: ('0.0660201896614592',), 1340598861: ('0.0660201896614592',)} args : 1340599063 depend.output_id : 0 input_args_next_step : {1340600154: ('0.0660201896614592',), 1340600084: ('0.0660201896614592',), 1340600081: ('0.0660201896614592',), 1340599709: ('0.0660201896614592',), 1340599548: ('0.0660201896614592',), 1340599510: ('0.0660201896614592',), 1340599503: ('0.0660201896614592',), 1340599497: ('0.0660201896614592',), 1340599492: ('0.0660201896614592',), 1340599456: ('0.0660201896614592',), 1340599451: ('0.0660201896614592',), 1340599446: ('0.0660201896614592',), 1340599440: ('0.0660201896614592',), 1340599431: ('0.0660201896614592',), 1340599428: ('0.0660201896614592',), 1340599380: ('0.0660201896614592',), 1340599372: ('0.0660201896614592',), 1340599366: ('0.0660201896614592',), 1340599166: ('0.0660201896614592',), 1340599158: ('0.0660201896614592',), 1340599142: ('0.0660201896614592',), 1340599132: ('0.0660201896614592',), 1340599124: ('0.0660201896614592',), 1340599121: ('0.0660201896614592',), 1340599080: ('0.0660201896614592',), 1340599070: ('0.0660201896614592',), 1340599063: ('0.0660201896614592',), 1340599059: ()} output_args : {1340600154: ('0.0660201896614592',), 1340600084: ('0.0660201896614592',), 1340600081: ('0.0660201896614592',), 1340599709: ('0.0660201896614592',), 1340599548: ('0.0660201896614592',), 1340599510: ('0.0660201896614592',), 1340599503: ('0.0660201896614592',), 1340599497: ('0.0660201896614592',), 1340599492: ('0.0660201896614592',), 1340599456: ('0.0660201896614592',), 1340599451: ('0.0660201896614592',), 1340599446: ('0.0660201896614592',), 1340599440: ('0.0660201896614592',), 1340599431: ('0.0660201896614592',), 1340599428: ('0.0660201896614592',), 1340599380: ('0.0660201896614592',), 1340599372: ('0.0660201896614592',), 1340599366: ('0.0660201896614592',), 1340599166: ('0.0660201896614592',), 1340599158: ('0.0660201896614592',), 1340599142: ('0.0660201896614592',), 1340599132: ('0.0660201896614592',), 1340599124: ('0.0660201896614592',), 1340599121: ('0.0660201896614592',), 1340599080: ('0.0660201896614592',), 1340599070: ('0.0660201896614592',), 1340599063: ('0.0660201896614592',), 1340599059: ('0.0660201896614592',), 1340599020: ('0.0660201896614592',), 1340599014: ('0.0660201896614592',), 1340599012: ('0.0660201896614592',), 1340599005: ('0.0660201896614592',), 1340599001: ('0.0660201896614592',), 1340598881: ('0.0660201896614592',), 1340598874: ('0.0660201896614592',), 1340598871: ('0.0660201896614592',), 1340598865: ('0.0660201896614592',), 1340598861: ('0.0660201896614592',)} args : 1340599059 depend.output_id : 0 input_args_next_step : {1340600154: ('0.0660201896614592',), 1340600084: ('0.0660201896614592',), 1340600081: ('0.0660201896614592',), 1340599709: ('0.0660201896614592',), 1340599548: ('0.0660201896614592',), 1340599510: ('0.0660201896614592',), 1340599503: ('0.0660201896614592',), 1340599497: ('0.0660201896614592',), 1340599492: ('0.0660201896614592',), 1340599456: ('0.0660201896614592',), 1340599451: ('0.0660201896614592',), 1340599446: ('0.0660201896614592',), 1340599440: ('0.0660201896614592',), 1340599431: ('0.0660201896614592',), 1340599428: ('0.0660201896614592',), 1340599380: ('0.0660201896614592',), 1340599372: ('0.0660201896614592',), 1340599366: ('0.0660201896614592',), 1340599166: ('0.0660201896614592',), 1340599158: ('0.0660201896614592',), 1340599142: ('0.0660201896614592',), 1340599132: ('0.0660201896614592',), 1340599124: ('0.0660201896614592',), 1340599121: ('0.0660201896614592',), 1340599080: ('0.0660201896614592',), 1340599070: ('0.0660201896614592',), 1340599063: ('0.0660201896614592',), 1340599059: ('0.0660201896614592',), 1340599020: ()} output_args : {1340600154: ('0.0660201896614592',), 1340600084: ('0.0660201896614592',), 1340600081: ('0.0660201896614592',), 1340599709: ('0.0660201896614592',), 1340599548: ('0.0660201896614592',), 1340599510: ('0.0660201896614592',), 1340599503: ('0.0660201896614592',), 1340599497: ('0.0660201896614592',), 1340599492: ('0.0660201896614592',), 1340599456: ('0.0660201896614592',), 1340599451: ('0.0660201896614592',), 1340599446: ('0.0660201896614592',), 1340599440: ('0.0660201896614592',), 1340599431: ('0.0660201896614592',), 1340599428: ('0.0660201896614592',), 1340599380: ('0.0660201896614592',), 1340599372: ('0.0660201896614592',), 1340599366: ('0.0660201896614592',), 1340599166: ('0.0660201896614592',), 1340599158: ('0.0660201896614592',), 1340599142: ('0.0660201896614592',), 1340599132: ('0.0660201896614592',), 1340599124: ('0.0660201896614592',), 1340599121: ('0.0660201896614592',), 1340599080: ('0.0660201896614592',), 1340599070: ('0.0660201896614592',), 1340599063: ('0.0660201896614592',), 1340599059: ('0.0660201896614592',), 1340599020: ('0.0660201896614592',), 1340599014: ('0.0660201896614592',), 1340599012: ('0.0660201896614592',), 1340599005: ('0.0660201896614592',), 1340599001: ('0.0660201896614592',), 1340598881: ('0.0660201896614592',), 1340598874: ('0.0660201896614592',), 1340598871: ('0.0660201896614592',), 1340598865: ('0.0660201896614592',), 1340598861: ('0.0660201896614592',)} args : 1340599020 depend.output_id : 0 input_args_next_step : {1340600154: ('0.0660201896614592',), 1340600084: ('0.0660201896614592',), 1340600081: ('0.0660201896614592',), 1340599709: ('0.0660201896614592',), 1340599548: ('0.0660201896614592',), 1340599510: ('0.0660201896614592',), 1340599503: ('0.0660201896614592',), 1340599497: ('0.0660201896614592',), 1340599492: ('0.0660201896614592',), 1340599456: ('0.0660201896614592',), 1340599451: ('0.0660201896614592',), 1340599446: ('0.0660201896614592',), 1340599440: ('0.0660201896614592',), 1340599431: ('0.0660201896614592',), 1340599428: ('0.0660201896614592',), 1340599380: ('0.0660201896614592',), 1340599372: ('0.0660201896614592',), 1340599366: ('0.0660201896614592',), 1340599166: ('0.0660201896614592',), 1340599158: ('0.0660201896614592',), 1340599142: ('0.0660201896614592',), 1340599132: ('0.0660201896614592',), 1340599124: ('0.0660201896614592',), 1340599121: ('0.0660201896614592',), 1340599080: ('0.0660201896614592',), 1340599070: ('0.0660201896614592',), 1340599063: ('0.0660201896614592',), 1340599059: ('0.0660201896614592',), 1340599020: ('0.0660201896614592',), 1340599014: ()} output_args : {1340600154: ('0.0660201896614592',), 1340600084: ('0.0660201896614592',), 1340600081: ('0.0660201896614592',), 1340599709: ('0.0660201896614592',), 1340599548: ('0.0660201896614592',), 1340599510: ('0.0660201896614592',), 1340599503: ('0.0660201896614592',), 1340599497: ('0.0660201896614592',), 1340599492: ('0.0660201896614592',), 1340599456: ('0.0660201896614592',), 1340599451: ('0.0660201896614592',), 1340599446: ('0.0660201896614592',), 1340599440: ('0.0660201896614592',), 1340599431: ('0.0660201896614592',), 1340599428: ('0.0660201896614592',), 1340599380: ('0.0660201896614592',), 1340599372: ('0.0660201896614592',), 1340599366: ('0.0660201896614592',), 1340599166: ('0.0660201896614592',), 1340599158: ('0.0660201896614592',), 1340599142: ('0.0660201896614592',), 1340599132: ('0.0660201896614592',), 1340599124: ('0.0660201896614592',), 1340599121: ('0.0660201896614592',), 1340599080: ('0.0660201896614592',), 1340599070: ('0.0660201896614592',), 1340599063: ('0.0660201896614592',), 1340599059: ('0.0660201896614592',), 1340599020: ('0.0660201896614592',), 1340599014: ('0.0660201896614592',), 1340599012: ('0.0660201896614592',), 1340599005: ('0.0660201896614592',), 1340599001: ('0.0660201896614592',), 1340598881: ('0.0660201896614592',), 1340598874: ('0.0660201896614592',), 1340598871: ('0.0660201896614592',), 1340598865: ('0.0660201896614592',), 1340598861: ('0.0660201896614592',)} args : 1340599014 depend.output_id : 0 input_args_next_step : {1340600154: ('0.0660201896614592',), 1340600084: ('0.0660201896614592',), 1340600081: ('0.0660201896614592',), 1340599709: ('0.0660201896614592',), 1340599548: ('0.0660201896614592',), 1340599510: ('0.0660201896614592',), 1340599503: ('0.0660201896614592',), 1340599497: ('0.0660201896614592',), 1340599492: ('0.0660201896614592',), 1340599456: ('0.0660201896614592',), 1340599451: ('0.0660201896614592',), 1340599446: ('0.0660201896614592',), 1340599440: ('0.0660201896614592',), 1340599431: ('0.0660201896614592',), 1340599428: ('0.0660201896614592',), 1340599380: ('0.0660201896614592',), 1340599372: ('0.0660201896614592',), 1340599366: ('0.0660201896614592',), 1340599166: ('0.0660201896614592',), 1340599158: ('0.0660201896614592',), 1340599142: ('0.0660201896614592',), 1340599132: ('0.0660201896614592',), 1340599124: ('0.0660201896614592',), 1340599121: ('0.0660201896614592',), 1340599080: ('0.0660201896614592',), 1340599070: ('0.0660201896614592',), 1340599063: ('0.0660201896614592',), 1340599059: ('0.0660201896614592',), 1340599020: ('0.0660201896614592',), 1340599014: ('0.0660201896614592',), 1340599012: ()} output_args : {1340600154: ('0.0660201896614592',), 1340600084: ('0.0660201896614592',), 1340600081: ('0.0660201896614592',), 1340599709: ('0.0660201896614592',), 1340599548: ('0.0660201896614592',), 1340599510: ('0.0660201896614592',), 1340599503: ('0.0660201896614592',), 1340599497: ('0.0660201896614592',), 1340599492: ('0.0660201896614592',), 1340599456: ('0.0660201896614592',), 1340599451: ('0.0660201896614592',), 1340599446: ('0.0660201896614592',), 1340599440: ('0.0660201896614592',), 1340599431: ('0.0660201896614592',), 1340599428: ('0.0660201896614592',), 1340599380: ('0.0660201896614592',), 1340599372: ('0.0660201896614592',), 1340599366: ('0.0660201896614592',), 1340599166: ('0.0660201896614592',), 1340599158: ('0.0660201896614592',), 1340599142: ('0.0660201896614592',), 1340599132: ('0.0660201896614592',), 1340599124: ('0.0660201896614592',), 1340599121: ('0.0660201896614592',), 1340599080: ('0.0660201896614592',), 1340599070: ('0.0660201896614592',), 1340599063: ('0.0660201896614592',), 1340599059: ('0.0660201896614592',), 1340599020: ('0.0660201896614592',), 1340599014: ('0.0660201896614592',), 1340599012: ('0.0660201896614592',), 1340599005: ('0.0660201896614592',), 1340599001: ('0.0660201896614592',), 1340598881: ('0.0660201896614592',), 1340598874: ('0.0660201896614592',), 1340598871: ('0.0660201896614592',), 1340598865: ('0.0660201896614592',), 1340598861: ('0.0660201896614592',)} args : 1340599012 depend.output_id : 0 input_args_next_step : {1340600154: ('0.0660201896614592',), 1340600084: ('0.0660201896614592',), 1340600081: ('0.0660201896614592',), 1340599709: ('0.0660201896614592',), 1340599548: ('0.0660201896614592',), 1340599510: ('0.0660201896614592',), 1340599503: ('0.0660201896614592',), 1340599497: ('0.0660201896614592',), 1340599492: ('0.0660201896614592',), 1340599456: ('0.0660201896614592',), 1340599451: ('0.0660201896614592',), 1340599446: ('0.0660201896614592',), 1340599440: ('0.0660201896614592',), 1340599431: ('0.0660201896614592',), 1340599428: ('0.0660201896614592',), 1340599380: ('0.0660201896614592',), 1340599372: ('0.0660201896614592',), 1340599366: ('0.0660201896614592',), 1340599166: ('0.0660201896614592',), 1340599158: ('0.0660201896614592',), 1340599142: ('0.0660201896614592',), 1340599132: ('0.0660201896614592',), 1340599124: ('0.0660201896614592',), 1340599121: ('0.0660201896614592',), 1340599080: ('0.0660201896614592',), 1340599070: ('0.0660201896614592',), 1340599063: ('0.0660201896614592',), 1340599059: ('0.0660201896614592',), 1340599020: ('0.0660201896614592',), 1340599014: ('0.0660201896614592',), 1340599012: ('0.0660201896614592',), 1340599005: ()} output_args : {1340600154: ('0.0660201896614592',), 1340600084: ('0.0660201896614592',), 1340600081: ('0.0660201896614592',), 1340599709: ('0.0660201896614592',), 1340599548: ('0.0660201896614592',), 1340599510: ('0.0660201896614592',), 1340599503: ('0.0660201896614592',), 1340599497: ('0.0660201896614592',), 1340599492: ('0.0660201896614592',), 1340599456: ('0.0660201896614592',), 1340599451: ('0.0660201896614592',), 1340599446: ('0.0660201896614592',), 1340599440: ('0.0660201896614592',), 1340599431: ('0.0660201896614592',), 1340599428: ('0.0660201896614592',), 1340599380: ('0.0660201896614592',), 1340599372: ('0.0660201896614592',), 1340599366: ('0.0660201896614592',), 1340599166: ('0.0660201896614592',), 1340599158: ('0.0660201896614592',), 1340599142: ('0.0660201896614592',), 1340599132: ('0.0660201896614592',), 1340599124: ('0.0660201896614592',), 1340599121: ('0.0660201896614592',), 1340599080: ('0.0660201896614592',), 1340599070: ('0.0660201896614592',), 1340599063: ('0.0660201896614592',), 1340599059: ('0.0660201896614592',), 1340599020: ('0.0660201896614592',), 1340599014: ('0.0660201896614592',), 1340599012: ('0.0660201896614592',), 1340599005: ('0.0660201896614592',), 1340599001: ('0.0660201896614592',), 1340598881: ('0.0660201896614592',), 1340598874: ('0.0660201896614592',), 1340598871: ('0.0660201896614592',), 1340598865: ('0.0660201896614592',), 1340598861: ('0.0660201896614592',)} args : 1340599005 depend.output_id : 0 input_args_next_step : {1340600154: ('0.0660201896614592',), 1340600084: ('0.0660201896614592',), 1340600081: ('0.0660201896614592',), 1340599709: ('0.0660201896614592',), 1340599548: ('0.0660201896614592',), 1340599510: ('0.0660201896614592',), 1340599503: ('0.0660201896614592',), 1340599497: ('0.0660201896614592',), 1340599492: ('0.0660201896614592',), 1340599456: ('0.0660201896614592',), 1340599451: ('0.0660201896614592',), 1340599446: ('0.0660201896614592',), 1340599440: ('0.0660201896614592',), 1340599431: ('0.0660201896614592',), 1340599428: ('0.0660201896614592',), 1340599380: ('0.0660201896614592',), 1340599372: ('0.0660201896614592',), 1340599366: ('0.0660201896614592',), 1340599166: ('0.0660201896614592',), 1340599158: ('0.0660201896614592',), 1340599142: ('0.0660201896614592',), 1340599132: ('0.0660201896614592',), 1340599124: ('0.0660201896614592',), 1340599121: ('0.0660201896614592',), 1340599080: ('0.0660201896614592',), 1340599070: ('0.0660201896614592',), 1340599063: ('0.0660201896614592',), 1340599059: ('0.0660201896614592',), 1340599020: ('0.0660201896614592',), 1340599014: ('0.0660201896614592',), 1340599012: ('0.0660201896614592',), 1340599005: ('0.0660201896614592',), 1340599001: ()} output_args : {1340600154: ('0.0660201896614592',), 1340600084: ('0.0660201896614592',), 1340600081: ('0.0660201896614592',), 1340599709: ('0.0660201896614592',), 1340599548: ('0.0660201896614592',), 1340599510: ('0.0660201896614592',), 1340599503: ('0.0660201896614592',), 1340599497: ('0.0660201896614592',), 1340599492: ('0.0660201896614592',), 1340599456: ('0.0660201896614592',), 1340599451: ('0.0660201896614592',), 1340599446: ('0.0660201896614592',), 1340599440: ('0.0660201896614592',), 1340599431: ('0.0660201896614592',), 1340599428: ('0.0660201896614592',), 1340599380: ('0.0660201896614592',), 1340599372: ('0.0660201896614592',), 1340599366: ('0.0660201896614592',), 1340599166: ('0.0660201896614592',), 1340599158: ('0.0660201896614592',), 1340599142: ('0.0660201896614592',), 1340599132: ('0.0660201896614592',), 1340599124: ('0.0660201896614592',), 1340599121: ('0.0660201896614592',), 1340599080: ('0.0660201896614592',), 1340599070: ('0.0660201896614592',), 1340599063: ('0.0660201896614592',), 1340599059: ('0.0660201896614592',), 1340599020: ('0.0660201896614592',), 1340599014: ('0.0660201896614592',), 1340599012: ('0.0660201896614592',), 1340599005: ('0.0660201896614592',), 1340599001: ('0.0660201896614592',), 1340598881: ('0.0660201896614592',), 1340598874: ('0.0660201896614592',), 1340598871: ('0.0660201896614592',), 1340598865: ('0.0660201896614592',), 1340598861: ('0.0660201896614592',)} args : 1340599001 depend.output_id : 0 input_args_next_step : {1340600154: ('0.0660201896614592',), 1340600084: ('0.0660201896614592',), 1340600081: ('0.0660201896614592',), 1340599709: ('0.0660201896614592',), 1340599548: ('0.0660201896614592',), 1340599510: ('0.0660201896614592',), 1340599503: ('0.0660201896614592',), 1340599497: ('0.0660201896614592',), 1340599492: ('0.0660201896614592',), 1340599456: ('0.0660201896614592',), 1340599451: ('0.0660201896614592',), 1340599446: ('0.0660201896614592',), 1340599440: ('0.0660201896614592',), 1340599431: ('0.0660201896614592',), 1340599428: ('0.0660201896614592',), 1340599380: ('0.0660201896614592',), 1340599372: ('0.0660201896614592',), 1340599366: ('0.0660201896614592',), 1340599166: ('0.0660201896614592',), 1340599158: ('0.0660201896614592',), 1340599142: ('0.0660201896614592',), 1340599132: ('0.0660201896614592',), 1340599124: ('0.0660201896614592',), 1340599121: ('0.0660201896614592',), 1340599080: ('0.0660201896614592',), 1340599070: ('0.0660201896614592',), 1340599063: ('0.0660201896614592',), 1340599059: ('0.0660201896614592',), 1340599020: ('0.0660201896614592',), 1340599014: ('0.0660201896614592',), 1340599012: ('0.0660201896614592',), 1340599005: ('0.0660201896614592',), 1340599001: ('0.0660201896614592',), 1340598881: ()} output_args : {1340600154: ('0.0660201896614592',), 1340600084: ('0.0660201896614592',), 1340600081: ('0.0660201896614592',), 1340599709: ('0.0660201896614592',), 1340599548: ('0.0660201896614592',), 1340599510: ('0.0660201896614592',), 1340599503: ('0.0660201896614592',), 1340599497: ('0.0660201896614592',), 1340599492: ('0.0660201896614592',), 1340599456: ('0.0660201896614592',), 1340599451: ('0.0660201896614592',), 1340599446: ('0.0660201896614592',), 1340599440: ('0.0660201896614592',), 1340599431: ('0.0660201896614592',), 1340599428: ('0.0660201896614592',), 1340599380: ('0.0660201896614592',), 1340599372: ('0.0660201896614592',), 1340599366: ('0.0660201896614592',), 1340599166: ('0.0660201896614592',), 1340599158: ('0.0660201896614592',), 1340599142: ('0.0660201896614592',), 1340599132: ('0.0660201896614592',), 1340599124: ('0.0660201896614592',), 1340599121: ('0.0660201896614592',), 1340599080: ('0.0660201896614592',), 1340599070: ('0.0660201896614592',), 1340599063: ('0.0660201896614592',), 1340599059: ('0.0660201896614592',), 1340599020: ('0.0660201896614592',), 1340599014: ('0.0660201896614592',), 1340599012: ('0.0660201896614592',), 1340599005: ('0.0660201896614592',), 1340599001: ('0.0660201896614592',), 1340598881: ('0.0660201896614592',), 1340598874: ('0.0660201896614592',), 1340598871: ('0.0660201896614592',), 1340598865: ('0.0660201896614592',), 1340598861: ('0.0660201896614592',)} args : 1340598881 depend.output_id : 0 input_args_next_step : {1340600154: ('0.0660201896614592',), 1340600084: ('0.0660201896614592',), 1340600081: ('0.0660201896614592',), 1340599709: ('0.0660201896614592',), 1340599548: ('0.0660201896614592',), 1340599510: ('0.0660201896614592',), 1340599503: ('0.0660201896614592',), 1340599497: ('0.0660201896614592',), 1340599492: ('0.0660201896614592',), 1340599456: ('0.0660201896614592',), 1340599451: ('0.0660201896614592',), 1340599446: ('0.0660201896614592',), 1340599440: ('0.0660201896614592',), 1340599431: ('0.0660201896614592',), 1340599428: ('0.0660201896614592',), 1340599380: ('0.0660201896614592',), 1340599372: ('0.0660201896614592',), 1340599366: ('0.0660201896614592',), 1340599166: ('0.0660201896614592',), 1340599158: ('0.0660201896614592',), 1340599142: ('0.0660201896614592',), 1340599132: ('0.0660201896614592',), 1340599124: ('0.0660201896614592',), 1340599121: ('0.0660201896614592',), 1340599080: ('0.0660201896614592',), 1340599070: ('0.0660201896614592',), 1340599063: ('0.0660201896614592',), 1340599059: ('0.0660201896614592',), 1340599020: ('0.0660201896614592',), 1340599014: ('0.0660201896614592',), 1340599012: ('0.0660201896614592',), 1340599005: ('0.0660201896614592',), 1340599001: ('0.0660201896614592',), 1340598881: ('0.0660201896614592',), 1340598874: ()} output_args : {1340600154: ('0.0660201896614592',), 1340600084: ('0.0660201896614592',), 1340600081: ('0.0660201896614592',), 1340599709: ('0.0660201896614592',), 1340599548: ('0.0660201896614592',), 1340599510: ('0.0660201896614592',), 1340599503: ('0.0660201896614592',), 1340599497: ('0.0660201896614592',), 1340599492: ('0.0660201896614592',), 1340599456: ('0.0660201896614592',), 1340599451: ('0.0660201896614592',), 1340599446: ('0.0660201896614592',), 1340599440: ('0.0660201896614592',), 1340599431: ('0.0660201896614592',), 1340599428: ('0.0660201896614592',), 1340599380: ('0.0660201896614592',), 1340599372: ('0.0660201896614592',), 1340599366: ('0.0660201896614592',), 1340599166: ('0.0660201896614592',), 1340599158: ('0.0660201896614592',), 1340599142: ('0.0660201896614592',), 1340599132: ('0.0660201896614592',), 1340599124: ('0.0660201896614592',), 1340599121: ('0.0660201896614592',), 1340599080: ('0.0660201896614592',), 1340599070: ('0.0660201896614592',), 1340599063: ('0.0660201896614592',), 1340599059: ('0.0660201896614592',), 1340599020: ('0.0660201896614592',), 1340599014: ('0.0660201896614592',), 1340599012: ('0.0660201896614592',), 1340599005: ('0.0660201896614592',), 1340599001: ('0.0660201896614592',), 1340598881: ('0.0660201896614592',), 1340598874: ('0.0660201896614592',), 1340598871: ('0.0660201896614592',), 1340598865: ('0.0660201896614592',), 1340598861: ('0.0660201896614592',)} args : 1340598874 depend.output_id : 0 input_args_next_step : {1340600154: ('0.0660201896614592',), 1340600084: ('0.0660201896614592',), 1340600081: ('0.0660201896614592',), 1340599709: ('0.0660201896614592',), 1340599548: ('0.0660201896614592',), 1340599510: ('0.0660201896614592',), 1340599503: ('0.0660201896614592',), 1340599497: ('0.0660201896614592',), 1340599492: ('0.0660201896614592',), 1340599456: ('0.0660201896614592',), 1340599451: ('0.0660201896614592',), 1340599446: ('0.0660201896614592',), 1340599440: ('0.0660201896614592',), 1340599431: ('0.0660201896614592',), 1340599428: ('0.0660201896614592',), 1340599380: ('0.0660201896614592',), 1340599372: ('0.0660201896614592',), 1340599366: ('0.0660201896614592',), 1340599166: ('0.0660201896614592',), 1340599158: ('0.0660201896614592',), 1340599142: ('0.0660201896614592',), 1340599132: ('0.0660201896614592',), 1340599124: ('0.0660201896614592',), 1340599121: ('0.0660201896614592',), 1340599080: ('0.0660201896614592',), 1340599070: ('0.0660201896614592',), 1340599063: ('0.0660201896614592',), 1340599059: ('0.0660201896614592',), 1340599020: ('0.0660201896614592',), 1340599014: ('0.0660201896614592',), 1340599012: ('0.0660201896614592',), 1340599005: ('0.0660201896614592',), 1340599001: ('0.0660201896614592',), 1340598881: ('0.0660201896614592',), 1340598874: ('0.0660201896614592',), 1340598871: ()} output_args : {1340600154: ('0.0660201896614592',), 1340600084: ('0.0660201896614592',), 1340600081: ('0.0660201896614592',), 1340599709: ('0.0660201896614592',), 1340599548: ('0.0660201896614592',), 1340599510: ('0.0660201896614592',), 1340599503: ('0.0660201896614592',), 1340599497: ('0.0660201896614592',), 1340599492: ('0.0660201896614592',), 1340599456: ('0.0660201896614592',), 1340599451: ('0.0660201896614592',), 1340599446: ('0.0660201896614592',), 1340599440: ('0.0660201896614592',), 1340599431: ('0.0660201896614592',), 1340599428: ('0.0660201896614592',), 1340599380: ('0.0660201896614592',), 1340599372: ('0.0660201896614592',), 1340599366: ('0.0660201896614592',), 1340599166: ('0.0660201896614592',), 1340599158: ('0.0660201896614592',), 1340599142: ('0.0660201896614592',), 1340599132: ('0.0660201896614592',), 1340599124: ('0.0660201896614592',), 1340599121: ('0.0660201896614592',), 1340599080: ('0.0660201896614592',), 1340599070: ('0.0660201896614592',), 1340599063: ('0.0660201896614592',), 1340599059: ('0.0660201896614592',), 1340599020: ('0.0660201896614592',), 1340599014: ('0.0660201896614592',), 1340599012: ('0.0660201896614592',), 1340599005: ('0.0660201896614592',), 1340599001: ('0.0660201896614592',), 1340598881: ('0.0660201896614592',), 1340598874: ('0.0660201896614592',), 1340598871: ('0.0660201896614592',), 1340598865: ('0.0660201896614592',), 1340598861: ('0.0660201896614592',)} args : 1340598871 depend.output_id : 0 input_args_next_step : {1340600154: ('0.0660201896614592',), 1340600084: ('0.0660201896614592',), 1340600081: ('0.0660201896614592',), 1340599709: ('0.0660201896614592',), 1340599548: ('0.0660201896614592',), 1340599510: ('0.0660201896614592',), 1340599503: ('0.0660201896614592',), 1340599497: ('0.0660201896614592',), 1340599492: ('0.0660201896614592',), 1340599456: ('0.0660201896614592',), 1340599451: ('0.0660201896614592',), 1340599446: ('0.0660201896614592',), 1340599440: ('0.0660201896614592',), 1340599431: ('0.0660201896614592',), 1340599428: ('0.0660201896614592',), 1340599380: ('0.0660201896614592',), 1340599372: ('0.0660201896614592',), 1340599366: ('0.0660201896614592',), 1340599166: ('0.0660201896614592',), 1340599158: ('0.0660201896614592',), 1340599142: ('0.0660201896614592',), 1340599132: ('0.0660201896614592',), 1340599124: ('0.0660201896614592',), 1340599121: ('0.0660201896614592',), 1340599080: ('0.0660201896614592',), 1340599070: ('0.0660201896614592',), 1340599063: ('0.0660201896614592',), 1340599059: ('0.0660201896614592',), 1340599020: ('0.0660201896614592',), 1340599014: ('0.0660201896614592',), 1340599012: ('0.0660201896614592',), 1340599005: ('0.0660201896614592',), 1340599001: ('0.0660201896614592',), 1340598881: ('0.0660201896614592',), 1340598874: ('0.0660201896614592',), 1340598871: ('0.0660201896614592',), 1340598865: ()} output_args : {1340600154: ('0.0660201896614592',), 1340600084: ('0.0660201896614592',), 1340600081: ('0.0660201896614592',), 1340599709: ('0.0660201896614592',), 1340599548: ('0.0660201896614592',), 1340599510: ('0.0660201896614592',), 1340599503: ('0.0660201896614592',), 1340599497: ('0.0660201896614592',), 1340599492: ('0.0660201896614592',), 1340599456: ('0.0660201896614592',), 1340599451: ('0.0660201896614592',), 1340599446: ('0.0660201896614592',), 1340599440: ('0.0660201896614592',), 1340599431: ('0.0660201896614592',), 1340599428: ('0.0660201896614592',), 1340599380: ('0.0660201896614592',), 1340599372: ('0.0660201896614592',), 1340599366: ('0.0660201896614592',), 1340599166: ('0.0660201896614592',), 1340599158: ('0.0660201896614592',), 1340599142: ('0.0660201896614592',), 1340599132: ('0.0660201896614592',), 1340599124: ('0.0660201896614592',), 1340599121: ('0.0660201896614592',), 1340599080: ('0.0660201896614592',), 1340599070: ('0.0660201896614592',), 1340599063: ('0.0660201896614592',), 1340599059: ('0.0660201896614592',), 1340599020: ('0.0660201896614592',), 1340599014: ('0.0660201896614592',), 1340599012: ('0.0660201896614592',), 1340599005: ('0.0660201896614592',), 1340599001: ('0.0660201896614592',), 1340598881: ('0.0660201896614592',), 1340598874: ('0.0660201896614592',), 1340598871: ('0.0660201896614592',), 1340598865: ('0.0660201896614592',), 1340598861: ('0.0660201896614592',)} args : 1340598865 depend.output_id : 0 input_args_next_step : {1340600154: ('0.0660201896614592',), 1340600084: ('0.0660201896614592',), 1340600081: ('0.0660201896614592',), 1340599709: ('0.0660201896614592',), 1340599548: ('0.0660201896614592',), 1340599510: ('0.0660201896614592',), 1340599503: ('0.0660201896614592',), 1340599497: ('0.0660201896614592',), 1340599492: ('0.0660201896614592',), 1340599456: ('0.0660201896614592',), 1340599451: ('0.0660201896614592',), 1340599446: ('0.0660201896614592',), 1340599440: ('0.0660201896614592',), 1340599431: ('0.0660201896614592',), 1340599428: ('0.0660201896614592',), 1340599380: ('0.0660201896614592',), 1340599372: ('0.0660201896614592',), 1340599366: ('0.0660201896614592',), 1340599166: ('0.0660201896614592',), 1340599158: ('0.0660201896614592',), 1340599142: ('0.0660201896614592',), 1340599132: ('0.0660201896614592',), 1340599124: ('0.0660201896614592',), 1340599121: ('0.0660201896614592',), 1340599080: ('0.0660201896614592',), 1340599070: ('0.0660201896614592',), 1340599063: ('0.0660201896614592',), 1340599059: ('0.0660201896614592',), 1340599020: ('0.0660201896614592',), 1340599014: ('0.0660201896614592',), 1340599012: ('0.0660201896614592',), 1340599005: ('0.0660201896614592',), 1340599001: ('0.0660201896614592',), 1340598881: ('0.0660201896614592',), 1340598874: ('0.0660201896614592',), 1340598871: ('0.0660201896614592',), 1340598865: ('0.0660201896614592',), 1340598861: ()} output_args : {1340600154: ('0.0660201896614592',), 1340600084: ('0.0660201896614592',), 1340600081: ('0.0660201896614592',), 1340599709: ('0.0660201896614592',), 1340599548: ('0.0660201896614592',), 1340599510: ('0.0660201896614592',), 1340599503: ('0.0660201896614592',), 1340599497: ('0.0660201896614592',), 1340599492: ('0.0660201896614592',), 1340599456: ('0.0660201896614592',), 1340599451: ('0.0660201896614592',), 1340599446: ('0.0660201896614592',), 1340599440: ('0.0660201896614592',), 1340599431: ('0.0660201896614592',), 1340599428: ('0.0660201896614592',), 1340599380: ('0.0660201896614592',), 1340599372: ('0.0660201896614592',), 1340599366: ('0.0660201896614592',), 1340599166: ('0.0660201896614592',), 1340599158: ('0.0660201896614592',), 1340599142: ('0.0660201896614592',), 1340599132: ('0.0660201896614592',), 1340599124: ('0.0660201896614592',), 1340599121: ('0.0660201896614592',), 1340599080: ('0.0660201896614592',), 1340599070: ('0.0660201896614592',), 1340599063: ('0.0660201896614592',), 1340599059: ('0.0660201896614592',), 1340599020: ('0.0660201896614592',), 1340599014: ('0.0660201896614592',), 1340599012: ('0.0660201896614592',), 1340599005: ('0.0660201896614592',), 1340599001: ('0.0660201896614592',), 1340598881: ('0.0660201896614592',), 1340598874: ('0.0660201896614592',), 1340598871: ('0.0660201896614592',), 1340598865: ('0.0660201896614592',), 1340598861: ('0.0660201896614592',)} args : 1340598861 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 : {20967368: [{'Teint_Dans_La_Masse': 20967396, 'plastique': 20967397, 'autre_refus': 20967398, 'metal': 20967399, 'mal_croppe': 20967400, 'kraft': 20967401, 'Carton_gris': 20967402, 'flou': 20967403, 'Carton_brun': 20967404, 'papier': 20967405, 'cartonnette': 20967406, 'environnement': 20967407}]} input_args_next_step : {1340600154: ('0.0660201896614592',), 1340600084: ('0.0660201896614592',), 1340600081: ('0.0660201896614592',), 1340599709: ('0.0660201896614592',), 1340599548: ('0.0660201896614592',), 1340599510: ('0.0660201896614592',), 1340599503: ('0.0660201896614592',), 1340599497: ('0.0660201896614592',), 1340599492: ('0.0660201896614592',), 1340599456: ('0.0660201896614592',), 1340599451: ('0.0660201896614592',), 1340599446: ('0.0660201896614592',), 1340599440: ('0.0660201896614592',), 1340599431: ('0.0660201896614592',), 1340599428: ('0.0660201896614592',), 1340599380: ('0.0660201896614592',), 1340599372: ('0.0660201896614592',), 1340599366: ('0.0660201896614592',), 1340599166: ('0.0660201896614592',), 1340599158: ('0.0660201896614592',), 1340599142: ('0.0660201896614592',), 1340599132: ('0.0660201896614592',), 1340599124: ('0.0660201896614592',), 1340599121: ('0.0660201896614592',), 1340599080: ('0.0660201896614592',), 1340599070: ('0.0660201896614592',), 1340599063: ('0.0660201896614592',), 1340599059: ('0.0660201896614592',), 1340599020: ('0.0660201896614592',), 1340599014: ('0.0660201896614592',), 1340599012: ('0.0660201896614592',), 1340599005: ('0.0660201896614592',), 1340599001: ('0.0660201896614592',), 1340598881: ('0.0660201896614592',), 1340598874: ('0.0660201896614592',), 1340598871: ('0.0660201896614592',), 1340598865: ('0.0660201896614592',), 1340598861: ('0.0660201896614592',), 20967368: ()} output_args : {20967368: [{'Teint_Dans_La_Masse': 20967396, 'plastique': 20967397, 'autre_refus': 20967398, 'metal': 20967399, 'mal_croppe': 20967400, 'kraft': 20967401, 'Carton_gris': 20967402, 'flou': 20967403, 'Carton_brun': 20967404, 'papier': 20967405, 'cartonnette': 20967406, 'environnement': 20967407}]} args : 20967368 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 :39, first value : ('0.0660201896614592',) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (20967368) 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 (1340600154,1340600084,1340600081,1340599709,1340599548,1340599510,1340599503,1340599497,1340599492,1340599456,1340599451,1340599446,1340599440,1340599431,1340599428,1340599380,1340599372,1340599366,1340599166,1340599158,1340599142,1340599132,1340599124,1340599121,1340599080,1340599070,1340599063,1340599059,1340599020,1340599014,1340599012,1340599005,1340599001,1340598881,1340598874,1340598871,1340598865,1340598861) Found this number of photos: 38 ##### Call download_photos : nb_thread : 5 begin to download photo : 1340598861 begin to download photo : 1340599014 begin to download photo : 1340599132 begin to download photo : 1340599431 begin to download photo : 1340599510 download finish for photo 1340598861 begin to download photo : 1340598865 download finish for photo 1340599132 begin to download photo : 1340599142 download finish for photo 1340599510 begin to download photo : 1340599548 download finish for photo 1340599014 begin to download photo : 1340599020 download finish for photo 1340599431 begin to download photo : 1340599440 download finish for photo 1340598865 begin to download photo : 1340598871 download finish for photo 1340599142 begin to download photo : 1340599158 download finish for photo 1340599548 begin to download photo : 1340599709 download finish for photo 1340599020 begin to download photo : 1340599059 download finish for photo 1340599440 begin to download photo : 1340599446 download finish for photo 1340598871 begin to download photo : 1340598874 download finish for photo 1340599709 begin to download photo : 1340600081 download finish for photo 1340599158 begin to download photo : 1340599166 download finish for photo 1340599059 begin to download photo : 1340599063 download finish for photo 1340598874 begin to download photo : 1340598881 download finish for photo 1340599446 begin to download photo : 1340599451 download finish for photo 1340600081 begin to download photo : 1340600084 download finish for photo 1340599166 begin to download photo : 1340599366 download finish for photo 1340599063 begin to download photo : 1340599070 download finish for photo 1340599451 begin to download photo : 1340599456 download finish for photo 1340598881 begin to download photo : 1340599001 download finish for photo 1340600084 begin to download photo : 1340600154 download finish for photo 1340599070 begin to download photo : 1340599080 download finish for photo 1340599456 begin to download photo : 1340599492 download finish for photo 1340600154 download finish for photo 1340599366 begin to download photo : 1340599372 download finish for photo 1340599001 begin to download photo : 1340599005 download finish for photo 1340599080 begin to download photo : 1340599121 download finish for photo 1340599372 begin to download photo : 1340599380 download finish for photo 1340599492 begin to download photo : 1340599497 download finish for photo 1340599005 begin to download photo : 1340599012 download finish for photo 1340599497 begin to download photo : 1340599503 download finish for photo 1340599121 begin to download photo : 1340599124 download finish for photo 1340599380 begin to download photo : 1340599428 download finish for photo 1340599012 download finish for photo 1340599124 download finish for photo 1340599503 download finish for photo 1340599428 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 : 38 ; length of list_pids : 38 ; length of list_args : 38 results_Auto_P20967368_04-03-2025_05_41_31.pdf 20967397 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=20967397 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1340599596: '1740991015_2181370_1340599142_6c0876c83ffa8924f8affd36e20b88c9_rle_crop_3692220613_0.png', 1340599794: '1740991153_2185104_1340599451_44c80ed8f59dbe0ef28246f8e5c20030_rle_crop_3692223711_0.png', 1340600574: '1740991754_2193108_1340600154_35559c72efb58a9a6e90cc228da44ccd_rle_crop_3692227408_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/3/8b0e4ae1053dd8e9f0b69bf4488f69d9_46154557.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/3/3b9cc45f8c829adc4d6111479203d235_59501751.png change filename to text .imagette209673971741063291/ imagette209673971741063291/1740991153_2185104_1340599451_44c80ed8f59dbe0ef28246f8e5c20030_rle_crop_3692223711_0.png.png imagette209673971741063291/1740991754_2193108_1340600154_35559c72efb58a9a6e90cc228da44ccd_rle_crop_3692227408_0.png.png imagette209673971741063291/1740991015_2181370_1340599142_6c0876c83ffa8924f8affd36e20b88c9_rle_crop_3692220613_0.png.png wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/3/ec71bae3361dad55759687827433268c_8083611.png imagette209673971741063291 20967398 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=20967398 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1340604020: '1740993552_2286263_1340599020_393d4d136e9f5affe01e5fd71bccc339_rle_crop_3692244108_0.png', 1340599746: '1740991174_2185362_1340599456_103c039aa304436c05baf72fa61e1355_rle_crop_3692223672_0.png', 1340599748: '1740991174_2185362_1340599372_cb17d867a1f04850e1ea08366e4157ea_rle_crop_3692223696_0.png', 1340599749: '1740991174_2185362_1340599366_8d41bb7b3fce4588b0914bcfb92bcd9c_rle_crop_3692223726_0.png', 1340599775: '1740991153_2185104_1340599510_fe9505404d7750ed2388f5a819146e17_rle_crop_3692223691_0.png', 1340599776: '1740991153_2185104_1340599451_44c80ed8f59dbe0ef28246f8e5c20030_rle_crop_3692223712_0.png', 1340599777: '1740991153_2185104_1340599446_86f08de717cf3c3470b4897a8066307a_rle_crop_3692223737_0.png', 1340599778: '1740991153_2185104_1340599440_fd69ebaca4e8d656e39a8cd863553843_rle_crop_3692223763_0.png', 1340599779: '1740991153_2185104_1340599440_fd69ebaca4e8d656e39a8cd863553843_rle_crop_3692223759_0.png', 1340599780: '1740991153_2185104_1340599431_72fffa9ef75c339e0956ed081879ad3f_rle_crop_3692223776_0.png', 1340599781: '1740991153_2185104_1340599428_eb08927d664ccef9843ee2e7fa5123bb_rle_crop_3692223794_0.png', 1340600572: '1740991754_2193108_1340600081_60f388d38dd0bbec03b4968bf093301e_rle_crop_3692227443_0.png', 1340599705: '1740991133_2184821_1340599492_7abd27704663abcf31fb195132f93030_rle_crop_3692223004_0.png', 1340604021: '1740993552_2286263_1340598881_84bc218949453e4fd4232feace188547_rle_crop_3692219324_0.png', 1340604022: '1740993552_2286263_1340598881_84bc218949453e4fd4232feace188547_rle_crop_3692219331_0.png', 1340604023: '1740993552_2286263_1340598874_fd030d8d155b511643e686b56a536b78_rle_crop_3692219347_0.png', 1340604024: '1740993552_2286263_1340598871_42ee5d57a457ab2e96d5db3ce4d07af2_rle_crop_3692244301_0.png', 1340604025: '1740993552_2286263_1340598871_42ee5d57a457ab2e96d5db3ce4d07af2_bib_crop_3692219369_0.jpg', 1340604026: '1740993552_2286263_1340598865_6f552bc1438bc98d4f3138edcf1fee6d_rle_crop_3692219375_0.png', 1340604027: '1740993552_2286263_1340598861_a8e5de43fa3342740b1c7ca0b9d7efb2_rle_crop_3692219388_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/3/4bddd4349249999dc4fffa78ea6ca633_92644986.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/3/1edbc9222f1c84683e86b21139bfaf7d_78506552.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/3/b97cd9e4848b3feb243f34db428aae76_96565125.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/3/c47784aace5a5a1d21aa9014dc40116d_41408025.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/3/d153e6b18cd64b3374ae4c5911fbc24b_76627284.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/3/2bb53791e5a42e93b1dd8ddf3dcd6679_12812538.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/3/b0e9541742d7c00ae9dd4470c400c371_93291283.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/3/c07201f346818cb4cb5f6928b1d99af3_33572919.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/3/1e3079d2a6209904fa4f88d7c3336e6f_38037206.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/3/a03200a922beec27c9fa2490ea52a253_52017607.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/3/341667a662cac4da7712ad5ecda059f3_52248167.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/3/4fbe70be625053a75411bae2d837f9da_81790320.png change filename to text .wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/3/dee787fe700bdbebc391ab6425f87b7d_19403299.png change filename to text .wget -O 14.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/3/ba90c79d9a2812f00efb39e4e6b60939_83742309.png change filename to text .wget -O 15.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/3/7954b0f74b5c638688cbe7b567dc22b6_916962.png change filename to text .wget -O 16.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/3/ca0517504f9c0811650146cf274493dd_92757051.png change filename to text .wget -O 17.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/3/79b6394df22f971cee14ec1047cc2553_77567008.png change filename to text .wget -O 18.jpg http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/3/d44a53f5df45b882c11986995ef33aac_47215426.jpg change filename to text .wget -O 19.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/3/e8ca7ec9c1407335d25a273c417f73fb_54118145.png change filename to text .imagette209673981741063291/ imagette209673981741063291/1740991133_2184821_1340599492_7abd27704663abcf31fb195132f93030_rle_crop_3692223004_0.png.png imagette209673981741063291/1740991153_2185104_1340599440_fd69ebaca4e8d656e39a8cd863553843_rle_crop_3692223759_0.png.png imagette209673981741063291/1740993552_2286263_1340598881_84bc218949453e4fd4232feace188547_rle_crop_3692219324_0.png.png imagette209673981741063291/1740993552_2286263_1340598865_6f552bc1438bc98d4f3138edcf1fee6d_rle_crop_3692219375_0.png.png imagette209673981741063291/1740991174_2185362_1340599456_103c039aa304436c05baf72fa61e1355_rle_crop_3692223672_0.png.png imagette209673981741063291/1740991174_2185362_1340599372_cb17d867a1f04850e1ea08366e4157ea_rle_crop_3692223696_0.png.png imagette209673981741063291/1740991153_2185104_1340599440_fd69ebaca4e8d656e39a8cd863553843_rle_crop_3692223763_0.png.png imagette209673981741063291/1740993552_2286263_1340598871_42ee5d57a457ab2e96d5db3ce4d07af2_bib_crop_3692219369_0.jpg.jpg imagette209673981741063291/1740991153_2185104_1340599446_86f08de717cf3c3470b4897a8066307a_rle_crop_3692223737_0.png.png imagette209673981741063291/1740993552_2286263_1340598874_fd030d8d155b511643e686b56a536b78_rle_crop_3692219347_0.png.png imagette209673981741063291/1740991174_2185362_1340599366_8d41bb7b3fce4588b0914bcfb92bcd9c_rle_crop_3692223726_0.png.png imagette209673981741063291/1740991754_2193108_1340600081_60f388d38dd0bbec03b4968bf093301e_rle_crop_3692227443_0.png.png imagette209673981741063291/1740993552_2286263_1340598881_84bc218949453e4fd4232feace188547_rle_crop_3692219331_0.png.png imagette209673981741063291/1740993552_2286263_1340598861_a8e5de43fa3342740b1c7ca0b9d7efb2_rle_crop_3692219388_0.png.png imagette209673981741063291/1740991153_2185104_1340599428_eb08927d664ccef9843ee2e7fa5123bb_rle_crop_3692223794_0.png.png imagette209673981741063291/1740993552_2286263_1340598871_42ee5d57a457ab2e96d5db3ce4d07af2_rle_crop_3692244301_0.png.png imagette209673981741063291/1740991153_2185104_1340599431_72fffa9ef75c339e0956ed081879ad3f_rle_crop_3692223776_0.png.png imagette209673981741063291/1740991153_2185104_1340599451_44c80ed8f59dbe0ef28246f8e5c20030_rle_crop_3692223712_0.png.png imagette209673981741063291/1740993552_2286263_1340599020_393d4d136e9f5affe01e5fd71bccc339_rle_crop_3692244108_0.png.png imagette209673981741063291/1740991153_2185104_1340599510_fe9505404d7750ed2388f5a819146e17_rle_crop_3692223691_0.png.png imagette209673991741063293/ imagette209674001741063293/ imagette209674011741063293/ imagette209674031741063293/ wget -O 20.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/3/ab2f5d6d1c4822cb57a43b4a07f68541_80006673.png imagette209673981741063291 20967399 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=20967399 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette209673991741063293 20967400 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=20967400 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette209674001741063293 20967401 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=20967401 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette209674011741063293 20967403 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=20967403 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette209674031741063293 20967406 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=20967406 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1340599413: '1740990894_2179541_1340599059_9fce51a2dda2f2d15fe46df4b8b5f125_rle_crop_3692219945_0.png', 1340599469: '1740990915_2179764_1340599005_b4ea3b589cd81705bc3b03e1bafd3b88_rle_crop_3692220067_0.png', 1340599594: '1740991015_2181370_1340599158_da7eb9c208cecaa47283af0d10a30a3e_rle_crop_3692220600_0.png', 1340599711: '1740991133_2184821_1340599548_c4a1e4a28096bf1604557edb482bda47_rle_crop_3692222897_0.png', 1340605478: '1740994133_2304282_1340599059_9fce51a2dda2f2d15fe46df4b8b5f125_rle_crop_3692219945_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/3/8559204b3e91548d6e990f36cb69f519_38953381.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/3/0e7b1a119740ba63fec966eb2c3b5880_70992217.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/3/623812b2f7d44f45d3426b6071b7ec88_72110252.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/3/4baaef355e9813439f19c0f9cd50ad62_37877563.png change filename to text .imagette209674061741063293/ imagette209674061741063293/1740990894_2179541_1340599059_9fce51a2dda2f2d15fe46df4b8b5f125_rle_crop_3692219945_0.png.png imagette209674061741063293/1740991015_2181370_1340599158_da7eb9c208cecaa47283af0d10a30a3e_rle_crop_3692220600_0.png.png imagette209674061741063293/1740990915_2179764_1340599005_b4ea3b589cd81705bc3b03e1bafd3b88_rle_crop_3692220067_0.png.png imagette209674061741063293/1740994133_2304282_1340599059_9fce51a2dda2f2d15fe46df4b8b5f125_rle_crop_3692219945_0.png.png imagette209674061741063293/1740991133_2184821_1340599548_c4a1e4a28096bf1604557edb482bda47_rle_crop_3692222897_0.png.png wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/3/8559204b3e91548d6e990f36cb69f519_3271560.png imagette209674061741063293 20967396 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=20967396 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1340599129: '1740990772_2177908_1340598874_fd030d8d155b511643e686b56a536b78_rle_crop_3692219343_0.png', 1340599130: '1740990772_2177908_1340598865_6f552bc1438bc98d4f3138edcf1fee6d_rle_crop_3692219374_0.png', 1340599408: '1740990894_2179541_1340599063_e7e4cf3c50b5470b07c6a7c0b4732c76_rle_crop_3692219933_0.png', 1340599409: '1740990894_2179541_1340599063_e7e4cf3c50b5470b07c6a7c0b4732c76_rle_crop_3692219934_0.png', 1340599580: '1740991015_2181370_1340599380_67f96de5bea18b7ae44f68d70b78d496_rle_crop_3692220584_0.png', 1340599581: '1740991015_2181370_1340599121_2b1977e8aa560162525a2e2a7691106d_rle_crop_3692220664_0.png', 1340599770: '1740991153_2185104_1340599440_fd69ebaca4e8d656e39a8cd863553843_rle_crop_3692223762_0.png', 1340599771: '1740991153_2185104_1340599440_fd69ebaca4e8d656e39a8cd863553843_rle_crop_3692223761_0.png', 1340599772: '1740991153_2185104_1340599431_72fffa9ef75c339e0956ed081879ad3f_rle_crop_3692223772_0.png', 1340599773: '1740991153_2185104_1340599428_eb08927d664ccef9843ee2e7fa5123bb_rle_crop_3692223786_0.png', 1340603967: '1740993552_2286263_1340598874_fd030d8d155b511643e686b56a536b78_rle_crop_3692219343_0.png', 1340603968: '1740993552_2286263_1340598865_6f552bc1438bc98d4f3138edcf1fee6d_rle_crop_3692219374_0.png', 1340605446: '1740994133_2304282_1340599063_e7e4cf3c50b5470b07c6a7c0b4732c76_rle_crop_3692219933_0.png', 1340605447: '1740994133_2304282_1340599063_e7e4cf3c50b5470b07c6a7c0b4732c76_rle_crop_3692219934_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/3/490f39fafd5fe1816de9d1afecdf9872_15319923.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/3/f68ef96b6f0bd68aa7fabfa155a85e43_78105314.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/3/52dcad52a55e9f04a1e9ed35d5f1236b_37159432.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/3/a1a452cedd2354fcbe8ec484ff19a1ef_48536677.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/3/6bcbedf6e4013455761242df9949b058_9878272.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/3/f11134bba6ac32d8b8cb58364f76a538_99267419.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/3/4e5dfa888e10770c8265e982ed78a16e_41197784.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/3/b7759f0e286cc563b2da3cf44aa9856d_20090229.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/3/b4be74c5f8ff882d4298c38c121784a7_27708272.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/3/981798653bd760820d4b0c8654212807_83544273.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/3/490f39fafd5fe1816de9d1afecdf9872_37680049.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/3/f68ef96b6f0bd68aa7fabfa155a85e43_37859237.png change filename to text .wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/3/52dcad52a55e9f04a1e9ed35d5f1236b_83818305.png change filename to text .imagette209673961741063294/ imagette209673961741063294/1740994133_2304282_1340599063_e7e4cf3c50b5470b07c6a7c0b4732c76_rle_crop_3692219933_0.png.png imagette209673961741063294/1740991153_2185104_1340599440_fd69ebaca4e8d656e39a8cd863553843_rle_crop_3692223762_0.png.png imagette209673961741063294/1740993552_2286263_1340598865_6f552bc1438bc98d4f3138edcf1fee6d_rle_crop_3692219374_0.png.png imagette209673961741063294/1740993552_2286263_1340598874_fd030d8d155b511643e686b56a536b78_rle_crop_3692219343_0.png.png imagette209673961741063294/1740990894_2179541_1340599063_e7e4cf3c50b5470b07c6a7c0b4732c76_rle_crop_3692219934_0.png.png imagette209673961741063294/1740990772_2177908_1340598865_6f552bc1438bc98d4f3138edcf1fee6d_rle_crop_3692219374_0.png.png imagette209673961741063294/1740991015_2181370_1340599121_2b1977e8aa560162525a2e2a7691106d_rle_crop_3692220664_0.png.png imagette209673961741063294/1740994133_2304282_1340599063_e7e4cf3c50b5470b07c6a7c0b4732c76_rle_crop_3692219934_0.png.png imagette209673961741063294/1740991153_2185104_1340599428_eb08927d664ccef9843ee2e7fa5123bb_rle_crop_3692223786_0.png.png imagette209673961741063294/1740990772_2177908_1340598874_fd030d8d155b511643e686b56a536b78_rle_crop_3692219343_0.png.png imagette209673961741063294/1740991153_2185104_1340599440_fd69ebaca4e8d656e39a8cd863553843_rle_crop_3692223761_0.png.png imagette209673961741063294/1740991153_2185104_1340599431_72fffa9ef75c339e0956ed081879ad3f_rle_crop_3692223772_0.png.png imagette209673961741063294/1740990894_2179541_1340599063_e7e4cf3c50b5470b07c6a7c0b4732c76_rle_crop_3692219933_0.png.png imagette209673961741063294/1740991015_2181370_1340599380_67f96de5bea18b7ae44f68d70b78d496_rle_crop_3692220584_0.png.png wget -O 14.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/3/a1a452cedd2354fcbe8ec484ff19a1ef_37955780.png imagette209673961741063294 20967402 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=20967402 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1340599143: '1740990772_2177908_1340598874_fd030d8d155b511643e686b56a536b78_rle_crop_3692219337_0.png', 1340599144: '1740990772_2177908_1340598874_fd030d8d155b511643e686b56a536b78_rle_crop_3692219336_0.png', 1340599145: '1740990772_2177908_1340598871_42ee5d57a457ab2e96d5db3ce4d07af2_rle_crop_3692219356_0.png', 1340599146: '1740990772_2177908_1340598871_42ee5d57a457ab2e96d5db3ce4d07af2_rle_crop_3692219361_0.png', 1340599147: '1740990772_2177908_1340598861_a8e5de43fa3342740b1c7ca0b9d7efb2_rle_crop_3692219380_0.png', 1340599467: '1740990915_2179764_1340599012_aa95e462e23a508555c84ba0f9dab9bd_rle_crop_3692220051_0.png', 1340599707: '1740991133_2184821_1340599497_17e473ef4b3265cc8ca7664bf737315d_rle_crop_3692222927_0.png', 1340599708: '1740991133_2184821_1340599492_7abd27704663abcf31fb195132f93030_rle_crop_3692223000_0.png', 1340599786: '1740991153_2185104_1340599446_86f08de717cf3c3470b4897a8066307a_rle_crop_3692223736_0.png', 1340599787: '1740991153_2185104_1340599431_72fffa9ef75c339e0956ed081879ad3f_rle_crop_3692223771_0.png', 1340599788: '1740991153_2185104_1340599431_72fffa9ef75c339e0956ed081879ad3f_rle_crop_3692223773_0.png', 1340604029: '1740993552_2286263_1340598874_fd030d8d155b511643e686b56a536b78_rle_crop_3692219337_0.png', 1340604030: '1740993552_2286263_1340598874_fd030d8d155b511643e686b56a536b78_rle_crop_3692219336_0.png', 1340604031: '1740993552_2286263_1340598871_42ee5d57a457ab2e96d5db3ce4d07af2_rle_crop_3692219356_0.png', 1340604032: '1740993552_2286263_1340598871_42ee5d57a457ab2e96d5db3ce4d07af2_rle_crop_3692219361_0.png', 1340604033: '1740993552_2286263_1340598861_a8e5de43fa3342740b1c7ca0b9d7efb2_rle_crop_3692219380_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/3/ab2aec4bc88812a8c9667ae3a1c448a8_4032313.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/3/6777059415b9c0b85a96334ca0e4950c_24728894.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/3/40a7bb9c8d003513b892e832fcabc12d_16088316.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/3/4eb78fdfd68782b48fe0376be1f08156_24956930.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/3/82b54e72bf52c562e243d1a979ab082c_13586422.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/3/2fba399c6ac5ca89f15d7b919341803f_36926763.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/3/40666693abc0d0e590a41e853cf135c6_22691092.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/3/02b33b1db75a75ce65e752045bf94e99_49273688.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/3/52168ac976e71e4b46e61e49c4a64af1_45924085.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/3/bf3eb52b275a347925366cd16b21841f_33072679.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/3/0333f8dec883c596c8500620f80915ef_96366618.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/3/ab2aec4bc88812a8c9667ae3a1c448a8_25175398.png change filename to text .wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/3/6777059415b9c0b85a96334ca0e4950c_82601162.png change filename to text .wget -O 14.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/3/40a7bb9c8d003513b892e832fcabc12d_21150324.png change filename to text .wget -O 15.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/3/4eb78fdfd68782b48fe0376be1f08156_11724125.png change filename to text .imagette209674021741063296/ imagette209674021741063296/1740993552_2286263_1340598871_42ee5d57a457ab2e96d5db3ce4d07af2_rle_crop_3692219361_0.png.png imagette209674021741063296/1740991153_2185104_1340599431_72fffa9ef75c339e0956ed081879ad3f_rle_crop_3692223773_0.png.png imagette209674021741063296/1740993552_2286263_1340598871_42ee5d57a457ab2e96d5db3ce4d07af2_rle_crop_3692219356_0.png.png imagette209674021741063296/1740993552_2286263_1340598861_a8e5de43fa3342740b1c7ca0b9d7efb2_rle_crop_3692219380_0.png.png imagette209674021741063296/1740993552_2286263_1340598874_fd030d8d155b511643e686b56a536b78_rle_crop_3692219337_0.png.png imagette209674021741063296/1740991153_2185104_1340599446_86f08de717cf3c3470b4897a8066307a_rle_crop_3692223736_0.png.png imagette209674021741063296/1740990772_2177908_1340598874_fd030d8d155b511643e686b56a536b78_rle_crop_3692219336_0.png.png imagette209674021741063296/1740991133_2184821_1340599497_17e473ef4b3265cc8ca7664bf737315d_rle_crop_3692222927_0.png.png imagette209674021741063296/1740991153_2185104_1340599431_72fffa9ef75c339e0956ed081879ad3f_rle_crop_3692223771_0.png.png imagette209674021741063296/1740990772_2177908_1340598861_a8e5de43fa3342740b1c7ca0b9d7efb2_rle_crop_3692219380_0.png.png imagette209674021741063296/1740991133_2184821_1340599492_7abd27704663abcf31fb195132f93030_rle_crop_3692223000_0.png.png imagette209674021741063296/1740990772_2177908_1340598871_42ee5d57a457ab2e96d5db3ce4d07af2_rle_crop_3692219361_0.png.png imagette209674021741063296/1740990772_2177908_1340598874_fd030d8d155b511643e686b56a536b78_rle_crop_3692219337_0.png.png imagette209674021741063296/1740993552_2286263_1340598874_fd030d8d155b511643e686b56a536b78_rle_crop_3692219336_0.png.png imagette209674021741063296/1740990915_2179764_1340599012_aa95e462e23a508555c84ba0f9dab9bd_rle_crop_3692220051_0.png.png imagette209674021741063296/1740990772_2177908_1340598871_42ee5d57a457ab2e96d5db3ce4d07af2_rle_crop_3692219356_0.png.png wget -O 16.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/3/82b54e72bf52c562e243d1a979ab082c_36741839.png imagette209674021741063296 20967404 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=20967404 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1340599151: '1740990772_2177908_1340598874_fd030d8d155b511643e686b56a536b78_rle_crop_3692219344_0.png', 1340599152: '1740990772_2177908_1340598871_42ee5d57a457ab2e96d5db3ce4d07af2_rle_crop_3692219360_0.png', 1340599153: '1740990772_2177908_1340598865_6f552bc1438bc98d4f3138edcf1fee6d_rle_crop_3692219372_0.png', 1340599712: '1740991133_2184821_1340599548_c4a1e4a28096bf1604557edb482bda47_rle_crop_3692222899_0.png', 1340599790: '1740991153_2185104_1340599451_44c80ed8f59dbe0ef28246f8e5c20030_rle_crop_3692223709_0.png', 1340599791: '1740991153_2185104_1340599451_44c80ed8f59dbe0ef28246f8e5c20030_rle_crop_3692223716_0.png', 1340599792: '1740991153_2185104_1340599446_86f08de717cf3c3470b4897a8066307a_rle_crop_3692223740_0.png', 1340599793: '1740991153_2185104_1340599431_72fffa9ef75c339e0956ed081879ad3f_rle_crop_3692223775_0.png', 1340604035: '1740993552_2286263_1340598874_fd030d8d155b511643e686b56a536b78_rle_crop_3692219344_0.png', 1340604036: '1740993552_2286263_1340598871_42ee5d57a457ab2e96d5db3ce4d07af2_rle_crop_3692219360_0.png', 1340604037: '1740993552_2286263_1340598865_6f552bc1438bc98d4f3138edcf1fee6d_rle_crop_3692219372_0.png', 1340605479: '1740994133_2304282_1340599166_b76d2e2307f7c4c4de01681b7794791c_bib_crop_3692250620_0.jpg'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/3/5b67997e0b80d03195b01bf027b3d6e7_44074457.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/3/8e03415a16aa528bd9d6429f5f69c5ed_14533640.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/3/98fd236fabb0a4a1d9ff247045c304a2_32337870.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/3/4356421d3938f3994e425da030e07945_59176029.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/3/cbae2bbceaf85e4b799190473a456b83_12456423.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/3/20af222c5209064fa4545408b8de0c53_71357317.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/3/540359e4643db93c868e26ec90412678_97829260.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/3/570e53a0d8edd5eeb962022b105d0cfa_8034254.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/3/5b67997e0b80d03195b01bf027b3d6e7_6715262.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/3/8e03415a16aa528bd9d6429f5f69c5ed_25309222.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/3/98fd236fabb0a4a1d9ff247045c304a2_91169910.png change filename to text .imagette209674041741063297/ imagette209674041741063297/1740991133_2184821_1340599548_c4a1e4a28096bf1604557edb482bda47_rle_crop_3692222899_0.png.png imagette209674041741063297/1740993552_2286263_1340598871_42ee5d57a457ab2e96d5db3ce4d07af2_rle_crop_3692219360_0.png.png imagette209674041741063297/1740990772_2177908_1340598871_42ee5d57a457ab2e96d5db3ce4d07af2_rle_crop_3692219360_0.png.png imagette209674041741063297/1740991153_2185104_1340599431_72fffa9ef75c339e0956ed081879ad3f_rle_crop_3692223775_0.png.png imagette209674041741063297/1740994133_2304282_1340599166_b76d2e2307f7c4c4de01681b7794791c_bib_crop_3692250620_0.jpg.jpg imagette209674041741063297/1740991153_2185104_1340599446_86f08de717cf3c3470b4897a8066307a_rle_crop_3692223740_0.png.png imagette209674041741063297/1740990772_2177908_1340598865_6f552bc1438bc98d4f3138edcf1fee6d_rle_crop_3692219372_0.png.png imagette209674041741063297/1740991153_2185104_1340599451_44c80ed8f59dbe0ef28246f8e5c20030_rle_crop_3692223709_0.png.png imagette209674041741063297/1740993552_2286263_1340598865_6f552bc1438bc98d4f3138edcf1fee6d_rle_crop_3692219372_0.png.png imagette209674041741063297/1740991153_2185104_1340599451_44c80ed8f59dbe0ef28246f8e5c20030_rle_crop_3692223716_0.png.png imagette209674041741063297/1740990772_2177908_1340598874_fd030d8d155b511643e686b56a536b78_rle_crop_3692219344_0.png.png imagette209674041741063297/1740993552_2286263_1340598874_fd030d8d155b511643e686b56a536b78_rle_crop_3692219344_0.png.png wget -O 12.jpg http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/3/400cebf5f658128bf72a53aceec3b8d3_19417107.jpg imagette209674041741063297 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=20967368 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://www.fotonower.com/velours/20967408,20967409,20967410,20967411,20967412,20967413,20967414,20967415,20967416,20967417,20967418,20967419?tags=Teint_Dans_La_Masse,plastique,autre_refus,metal,mal_croppe,kraft,Carton_gris,flou,Carton_brun,papier,cartonnette,environnement your option no_mail is active, we will not send the real mail to your client args[1340600154] : ('0.0660201896614592',) no score found for photo 1340600154 We are sending mail with results at report@fotonower.com args[1340600084] : ('0.0660201896614592',) no score found for photo 1340600084 We are sending mail with results at report@fotonower.com args[1340600081] : ('0.0660201896614592',) no score found for photo 1340600081 We are sending mail with results at report@fotonower.com args[1340599709] : ('0.0660201896614592',) no score found for photo 1340599709 We are sending mail with results at report@fotonower.com args[1340599548] : ('0.0660201896614592',) no score found for photo 1340599548 We are sending mail with results at report@fotonower.com args[1340599510] : ('0.0660201896614592',) no score found for photo 1340599510 We are sending mail with results at report@fotonower.com args[1340599503] : ('0.0660201896614592',) no score found for photo 1340599503 We are sending mail with results at report@fotonower.com args[1340599497] : ('0.0660201896614592',) no score found for photo 1340599497 We are sending mail with results at report@fotonower.com args[1340599492] : ('0.0660201896614592',) no score found for photo 1340599492 We are sending mail with results at report@fotonower.com args[1340599456] : ('0.0660201896614592',) no score found for photo 1340599456 We are sending mail with results at report@fotonower.com args[1340599451] : ('0.0660201896614592',) no score found for photo 1340599451 We are sending mail with results at report@fotonower.com args[1340599446] : ('0.0660201896614592',) no score found for photo 1340599446 We are sending mail with results at report@fotonower.com args[1340599440] : ('0.0660201896614592',) no score found for photo 1340599440 We are sending mail with results at report@fotonower.com args[1340599431] : ('0.0660201896614592',) no score found for photo 1340599431 We are sending mail with results at report@fotonower.com args[1340599428] : ('0.0660201896614592',) no score found for photo 1340599428 We are sending mail with results at report@fotonower.com args[1340599380] : ('0.0660201896614592',) no score found for photo 1340599380 We are sending mail with results at report@fotonower.com args[1340599372] : ('0.0660201896614592',) no score found for photo 1340599372 We are sending mail with results at report@fotonower.com args[1340599366] : ('0.0660201896614592',) no score found for photo 1340599366 We are sending mail with results at report@fotonower.com args[1340599166] : ('0.0660201896614592',) no score found for photo 1340599166 We are sending mail with results at report@fotonower.com args[1340599158] : ('0.0660201896614592',) no score found for photo 1340599158 We are sending mail with results at report@fotonower.com args[1340599142] : ('0.0660201896614592',) no score found for photo 1340599142 We are sending mail with results at report@fotonower.com args[1340599132] : ('0.0660201896614592',) no score found for photo 1340599132 We are sending mail with results at report@fotonower.com args[1340599124] : ('0.0660201896614592',) no score found for photo 1340599124 We are sending mail with results at report@fotonower.com args[1340599121] : ('0.0660201896614592',) no score found for photo 1340599121 We are sending mail with results at report@fotonower.com args[1340599080] : ('0.0660201896614592',) no score found for photo 1340599080 We are sending mail with results at report@fotonower.com args[1340599070] : ('0.0660201896614592',) no score found for photo 1340599070 We are sending mail with results at report@fotonower.com args[1340599063] : ('0.0660201896614592',) no score found for photo 1340599063 We are sending mail with results at report@fotonower.com args[1340599059] : ('0.0660201896614592',) no score found for photo 1340599059 We are sending mail with results at report@fotonower.com args[1340599020] : ('0.0660201896614592',) no score found for photo 1340599020 We are sending mail with results at report@fotonower.com args[1340599014] : ('0.0660201896614592',) no score found for photo 1340599014 We are sending mail with results at report@fotonower.com args[1340599012] : ('0.0660201896614592',) no score found for photo 1340599012 We are sending mail with results at report@fotonower.com args[1340599005] : ('0.0660201896614592',) no score found for photo 1340599005 We are sending mail with results at report@fotonower.com args[1340599001] : ('0.0660201896614592',) no score found for photo 1340599001 We are sending mail with results at report@fotonower.com args[1340598881] : ('0.0660201896614592',) no score found for photo 1340598881 We are sending mail with results at report@fotonower.com args[1340598874] : ('0.0660201896614592',) no score found for photo 1340598874 We are sending mail with results at report@fotonower.com args[1340598871] : ('0.0660201896614592',) no score found for photo 1340598871 We are sending mail with results at report@fotonower.com args[1340598865] : ('0.0660201896614592',) no score found for photo 1340598865 We are sending mail with results at report@fotonower.com args[1340598861] : ('0.0660201896614592',) no score found for photo 1340598861 We are sending mail with results at report@fotonower.com refus_total : 0.0660201896614592 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=20967368 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_P20967368_04-03-2025_05_41_31.pdf results_Auto_P20967368_04-03-2025_05_41_31.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20967368_04-03-2025_05_41_31.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','20967368','results_Auto_P20967368_04-03-2025_05_41_31.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20967368_04-03-2025_05_41_31.pdf','pdf','','0.46','0.0660201896614592') After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([20967368]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1340600154, 1340600084, 1340600081, 1340599709, 1340599548, 1340599510, 1340599503, 1340599497, 1340599492, 1340599456, 1340599451, 1340599446, 1340599440, 1340599431, 1340599428, 1340599380, 1340599372, 1340599366, 1340599166, 1340599158, 1340599142, 1340599132, 1340599124, 1340599121, 1340599080, 1340599070, 1340599063, 1340599059, 1340599020, 1340599014, 1340599012, 1340599005, 1340599001, 1340598881, 1340598874, 1340598871, 1340598865, 1340598861] map_info['map_portfolio_photo'] : {20967368: [1340600154, 1340600084, 1340600081, 1340599709, 1340599548, 1340599510, 1340599503, 1340599497, 1340599492, 1340599456, 1340599451, 1340599446, 1340599440, 1340599431, 1340599428, 1340599380, 1340599372, 1340599366, 1340599166, 1340599158, 1340599142, 1340599132, 1340599124, 1340599121, 1340599080, 1340599070, 1340599063, 1340599059, 1340599020, 1340599014, 1340599012, 1340599005, 1340599001, 1340598881, 1340598874, 1340598871, 1340598865, 1340598861]} final : False mtd_id 4302 list_pids : [1340600154, 1340600084, 1340600081, 1340599709, 1340599548, 1340599510, 1340599503, 1340599497, 1340599492, 1340599456, 1340599451, 1340599446, 1340599440, 1340599431, 1340599428, 1340599380, 1340599372, 1340599366, 1340599166, 1340599158, 1340599142, 1340599132, 1340599124, 1340599121, 1340599080, 1340599070, 1340599063, 1340599059, 1340599020, 1340599014, 1340599012, 1340599005, 1340599001, 1340598881, 1340598874, 1340598871, 1340598865, 1340598861] 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, '2631301') ('4302', '20967368', '1340600154', None, None, None, None, None, '2631301') ('4302', None, None, None, None, None, None, None, '2631301') ('4302', '20967368', '1340600084', None, None, None, None, None, '2631301') ('4302', None, None, None, None, None, None, None, '2631301') ('4302', '20967368', '1340600081', None, None, None, None, None, '2631301') ('4302', None, None, None, None, None, None, None, '2631301') ('4302', '20967368', '1340599709', None, None, None, None, None, '2631301') ('4302', None, None, None, None, None, None, None, '2631301') ('4302', '20967368', '1340599548', None, None, None, None, None, '2631301') ('4302', None, None, None, None, None, None, None, '2631301') ('4302', '20967368', '1340599510', None, None, None, None, None, '2631301') ('4302', None, None, None, None, None, None, None, '2631301') ('4302', '20967368', '1340599503', None, None, None, None, None, '2631301') ('4302', None, None, None, None, None, None, None, '2631301') ('4302', '20967368', '1340599497', None, None, None, None, None, '2631301') ('4302', None, None, None, None, None, None, None, '2631301') ('4302', '20967368', '1340599492', None, None, None, None, None, '2631301') ('4302', None, None, None, None, None, None, None, '2631301') ('4302', '20967368', '1340599456', None, None, None, None, None, '2631301') ('4302', None, None, None, None, None, None, None, '2631301') ('4302', '20967368', '1340599451', None, None, None, None, None, '2631301') ('4302', None, None, None, None, None, None, None, '2631301') ('4302', '20967368', '1340599446', None, None, None, None, None, '2631301') ('4302', None, None, None, None, None, None, None, '2631301') ('4302', '20967368', '1340599440', None, None, None, None, None, '2631301') ('4302', None, None, None, None, None, None, None, '2631301') ('4302', '20967368', '1340599431', None, None, None, None, None, '2631301') ('4302', None, None, None, None, None, None, None, '2631301') ('4302', '20967368', '1340599428', None, None, None, None, None, '2631301') ('4302', None, None, None, None, None, None, None, '2631301') ('4302', '20967368', '1340599380', None, None, None, None, None, '2631301') ('4302', None, None, None, None, None, None, None, '2631301') ('4302', '20967368', '1340599372', None, None, None, None, None, '2631301') ('4302', None, None, None, None, None, None, None, '2631301') ('4302', '20967368', '1340599366', None, None, None, None, None, '2631301') ('4302', None, None, None, None, None, None, None, '2631301') ('4302', '20967368', '1340599166', None, None, None, None, None, '2631301') ('4302', None, None, None, None, None, None, None, '2631301') ('4302', '20967368', '1340599158', None, None, None, None, None, '2631301') ('4302', None, None, None, None, None, None, None, '2631301') ('4302', '20967368', '1340599142', None, None, None, None, None, '2631301') ('4302', None, None, None, None, None, None, None, '2631301') ('4302', '20967368', '1340599132', None, None, None, None, None, '2631301') ('4302', None, None, None, None, None, None, None, '2631301') ('4302', '20967368', '1340599124', None, None, None, None, None, '2631301') ('4302', None, None, None, None, None, None, None, '2631301') ('4302', '20967368', '1340599121', None, None, None, None, None, '2631301') ('4302', None, None, None, None, None, None, None, '2631301') ('4302', '20967368', '1340599080', None, None, None, None, None, '2631301') ('4302', None, None, None, None, None, None, None, '2631301') ('4302', '20967368', '1340599070', None, None, None, None, None, '2631301') ('4302', None, None, None, None, None, None, None, '2631301') ('4302', '20967368', '1340599063', None, None, None, None, None, '2631301') ('4302', None, None, None, None, None, None, None, '2631301') ('4302', '20967368', '1340599059', None, None, None, None, None, '2631301') ('4302', None, None, None, None, None, None, None, '2631301') ('4302', '20967368', '1340599020', None, None, None, None, None, '2631301') ('4302', None, None, None, None, None, None, None, '2631301') ('4302', '20967368', '1340599014', None, None, None, None, None, '2631301') ('4302', None, None, None, None, None, None, None, '2631301') ('4302', '20967368', '1340599012', None, None, None, None, None, '2631301') ('4302', None, None, None, None, None, None, None, '2631301') ('4302', '20967368', '1340599005', None, None, None, None, None, '2631301') ('4302', None, None, None, None, None, None, None, '2631301') ('4302', '20967368', '1340599001', None, None, None, None, None, '2631301') ('4302', None, None, None, None, None, None, None, '2631301') ('4302', '20967368', '1340598881', None, None, None, None, None, '2631301') ('4302', None, None, None, None, None, None, None, '2631301') ('4302', '20967368', '1340598874', None, None, None, None, None, '2631301') ('4302', None, None, None, None, None, None, None, '2631301') ('4302', '20967368', '1340598871', None, None, None, None, None, '2631301') ('4302', None, None, None, None, None, None, None, '2631301') ('4302', '20967368', '1340598865', None, None, None, None, None, '2631301') ('4302', None, None, None, None, None, None, None, '2631301') ('4302', '20967368', '1340598861', None, None, None, None, None, '2631301') 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', '20967368', '1340600154', None, None, None, None, None, '2631301'), ('4302', '20967368', '1340600084', None, None, None, None, None, '2631301'), ('4302', '20967368', '1340600081', None, None, None, None, None, '2631301'), ('4302', '20967368', '1340599709', None, None, None, None, None, '2631301'), ('4302', '20967368', '1340599548', None, None, None, None, None, '2631301'), ('4302', '20967368', '1340599510', None, None, None, None, None, '2631301'), ('4302', '20967368', '1340599503', None, None, None, None, None, '2631301'), ('4302', '20967368', '1340599497', None, None, None, None, None, '2631301'), ('4302', '20967368', '1340599492', None, None, None, None, None, '2631301'), ('4302', '20967368', '1340599456', None, None, None, None, None, '2631301'), ('4302', '20967368', '1340599451', None, None, None, None, None, '2631301'), ('4302', '20967368', '1340599446', None, None, None, None, None, '2631301'), ('4302', '20967368', '1340599440', None, None, None, None, None, '2631301'), ('4302', '20967368', '1340599431', None, None, None, None, None, '2631301'), ('4302', '20967368', '1340599428', None, None, None, None, None, '2631301'), ('4302', '20967368', '1340599380', None, None, None, None, None, '2631301'), ('4302', '20967368', '1340599372', None, None, None, None, None, '2631301'), ('4302', '20967368', '1340599366', None, None, None, None, None, '2631301'), ('4302', '20967368', '1340599166', None, None, None, None, None, '2631301'), ('4302', '20967368', '1340599158', None, None, None, None, None, '2631301'), ('4302', '20967368', '1340599142', None, None, None, None, None, '2631301'), ('4302', '20967368', '1340599132', None, None, None, None, None, '2631301'), ('4302', '20967368', '1340599124', None, None, None, None, None, '2631301'), ('4302', '20967368', '1340599121', None, None, None, None, None, '2631301'), ('4302', '20967368', '1340599080', None, None, None, None, None, '2631301'), ('4302', '20967368', '1340599070', None, None, None, None, None, '2631301'), ('4302', '20967368', '1340599063', None, None, None, None, None, '2631301'), ('4302', '20967368', '1340599059', None, None, None, None, None, '2631301'), ('4302', '20967368', '1340599020', None, None, None, None, None, '2631301'), ('4302', '20967368', '1340599014', None, None, None, None, None, '2631301'), ('4302', '20967368', '1340599012', None, None, None, None, None, '2631301'), ('4302', '20967368', '1340599005', None, None, None, None, None, '2631301'), ('4302', '20967368', '1340599001', None, None, None, None, None, '2631301'), ('4302', '20967368', '1340598881', None, None, None, None, None, '2631301'), ('4302', '20967368', '1340598874', None, None, None, None, None, '2631301'), ('4302', '20967368', '1340598871', None, None, None, None, None, '2631301'), ('4302', '20967368', '1340598865', None, None, None, None, None, '2631301'), ('4302', '20967368', '1340598861', None, None, None, None, None, '2631301')] time used for this insertion : 0.018521785736083984 save_final save missing photos in datou_result : time spend for datou_step_exec : 12.14055585861206 time spend to save output : 0.018917560577392578 total time spend for step 4 : 12.159473419189453 step5:split_time_score Tue Mar 4 05:41:41 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 : ['20967368'] 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 : [('20967368',)] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (20967368) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {1340599510: {'path': 'temp/1741063289_1926660_1340599510_fe9505404d7750ed2388f5a819146e17.jpg', 'extension': 'jpg'}, 1340599548: {'path': 'temp/1741063289_1926660_1340599548_c4a1e4a28096bf1604557edb482bda47.jpg', 'extension': 'jpg'}, 1340599709: {'path': 'temp/1741063289_1926660_1340599709_ba256b3ea68b1983622b38b367717297.jpg', 'extension': 'jpg'}, 1340600081: {'path': 'temp/1741063289_1926660_1340600081_60f388d38dd0bbec03b4968bf093301e.jpg', 'extension': 'jpg'}, 1340600084: {'path': 'temp/1741063289_1926660_1340600084_0004c2fb6c41e4dd7496cefc4f22eef5.jpg', 'extension': 'jpg'}, 1340600154: {'path': 'temp/1741063289_1926660_1340600154_35559c72efb58a9a6e90cc228da44ccd.jpg', 'extension': 'jpg'}, 1340598861: {'path': 'temp/1741063289_1926660_1340598861_a8e5de43fa3342740b1c7ca0b9d7efb2.jpg', 'extension': 'jpg'}, 1340598865: {'path': 'temp/1741063289_1926660_1340598865_6f552bc1438bc98d4f3138edcf1fee6d.jpg', 'extension': 'jpg'}, 1340598871: {'path': 'temp/1741063289_1926660_1340598871_42ee5d57a457ab2e96d5db3ce4d07af2.jpg', 'extension': 'jpg'}, 1340598874: {'path': 'temp/1741063289_1926660_1340598874_fd030d8d155b511643e686b56a536b78.jpg', 'extension': 'jpg'}, 1340598881: {'path': 'temp/1741063289_1926660_1340598881_84bc218949453e4fd4232feace188547.jpg', 'extension': 'jpg'}, 1340599001: {'path': 'temp/1741063289_1926660_1340599001_19db39c6c579c68abb2641a06fec7221.jpg', 'extension': 'jpg'}, 1340599005: {'path': 'temp/1741063289_1926660_1340599005_b4ea3b589cd81705bc3b03e1bafd3b88.jpg', 'extension': 'jpg'}, 1340599012: {'path': 'temp/1741063289_1926660_1340599012_aa95e462e23a508555c84ba0f9dab9bd.jpg', 'extension': 'jpg'}, 1340599014: {'path': 'temp/1741063289_1926660_1340599014_eb4266cd864b0dc55bd9841dac35f402.jpg', 'extension': 'jpg'}, 1340599020: {'path': 'temp/1741063289_1926660_1340599020_393d4d136e9f5affe01e5fd71bccc339.jpg', 'extension': 'jpg'}, 1340599059: {'path': 'temp/1741063289_1926660_1340599059_9fce51a2dda2f2d15fe46df4b8b5f125.jpg', 'extension': 'jpg'}, 1340599063: {'path': 'temp/1741063289_1926660_1340599063_e7e4cf3c50b5470b07c6a7c0b4732c76.jpg', 'extension': 'jpg'}, 1340599070: {'path': 'temp/1741063289_1926660_1340599070_db29de8778e60d2c34361029b38cc5f8.jpg', 'extension': 'jpg'}, 1340599080: {'path': 'temp/1741063289_1926660_1340599080_cdad467ca8a9a52576e89e5d520b5474.jpg', 'extension': 'jpg'}, 1340599121: {'path': 'temp/1741063289_1926660_1340599121_2b1977e8aa560162525a2e2a7691106d.jpg', 'extension': 'jpg'}, 1340599124: {'path': 'temp/1741063289_1926660_1340599124_e4a4e9adc9974eb3cbaef6ff0aa36117.jpg', 'extension': 'jpg'}, 1340599431: {'path': 'temp/1741063289_1926660_1340599431_72fffa9ef75c339e0956ed081879ad3f.jpg', 'extension': 'jpg'}, 1340599440: {'path': 'temp/1741063289_1926660_1340599440_fd69ebaca4e8d656e39a8cd863553843.jpg', 'extension': 'jpg'}, 1340599446: {'path': 'temp/1741063289_1926660_1340599446_86f08de717cf3c3470b4897a8066307a.jpg', 'extension': 'jpg'}, 1340599451: {'path': 'temp/1741063289_1926660_1340599451_44c80ed8f59dbe0ef28246f8e5c20030.jpg', 'extension': 'jpg'}, 1340599456: {'path': 'temp/1741063289_1926660_1340599456_103c039aa304436c05baf72fa61e1355.jpg', 'extension': 'jpg'}, 1340599492: {'path': 'temp/1741063289_1926660_1340599492_7abd27704663abcf31fb195132f93030.jpg', 'extension': 'jpg'}, 1340599497: {'path': 'temp/1741063289_1926660_1340599497_17e473ef4b3265cc8ca7664bf737315d.jpg', 'extension': 'jpg'}, 1340599503: {'path': 'temp/1741063289_1926660_1340599503_1fd963859376d12c5ce38969b0b77eb4.jpg', 'extension': 'jpg'}, 1340599132: {'path': 'temp/1741063289_1926660_1340599132_ddd28ddae543fd70fa241c3f9395a993.jpg', 'extension': 'jpg'}, 1340599142: {'path': 'temp/1741063289_1926660_1340599142_6c0876c83ffa8924f8affd36e20b88c9.jpg', 'extension': 'jpg'}, 1340599158: {'path': 'temp/1741063289_1926660_1340599158_da7eb9c208cecaa47283af0d10a30a3e.jpg', 'extension': 'jpg'}, 1340599166: {'path': 'temp/1741063289_1926660_1340599166_b76d2e2307f7c4c4de01681b7794791c.jpg', 'extension': 'jpg'}, 1340599366: {'path': 'temp/1741063289_1926660_1340599366_8d41bb7b3fce4588b0914bcfb92bcd9c.jpg', 'extension': 'jpg'}, 1340599372: {'path': 'temp/1741063289_1926660_1340599372_cb17d867a1f04850e1ea08366e4157ea.jpg', 'extension': 'jpg'}, 1340599380: {'path': 'temp/1741063289_1926660_1340599380_67f96de5bea18b7ae44f68d70b78d496.jpg', 'extension': 'jpg'}, 1340599428: {'path': 'temp/1741063289_1926660_1340599428_eb08927d664ccef9843ee2e7fa5123bb.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 = 20967368; (('arc_en_ciel_jrm',),) TODO : Insert select and so on Begin split_port_in_batch_balle thcls : [{'id': 861, 'mtr_user_id': 31, 'name': 'Rungis_class_dechets_1212', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'Rungis_Aluminium,Rungis_Carton,Rungis_Papier,Rungis_Plastique_clair,Rungis_Plastique_dur,Rungis_Plastique_fonce,Rungis_Tapis_vide,Rungis_Tetrapak', 'svm_portfolios_learning': '1160730,571842,571844,571839,571933,571840,571841,572307', 'photo_hashtag_type': 999, 'photo_desc_type': 3963, 'type_classification': 'caffe', 'hashtag_id_list': '2107751280,2107750907,2107750908,2107750909,2107750910,2107750911,2107750912,2107750913'}] thcls : [{'id': 758, 'mtr_user_id': 31, 'name': 'Rungis_amount_dechets_fall_2018_v2', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': '05102018_Papier_non_papier_dense,05102018_Papier_non_papier_peu_dense,05102018_Papier_non_papier_presque_vide,05102018_Papier_non_papier_tres_dense,05102018_Papier_non_papier_tres_peu_dense', 'svm_portfolios_learning': '1108385,1108386,1108388,1108384,1108387', 'photo_hashtag_type': 856, 'photo_desc_type': 3853, 'type_classification': 'caffe', 'hashtag_id_list': '2107751013,2107751014,2107751015,2107751016,2107751017'}] select SUBSTRING(ph.text,16,2) as h, count(*) from MTRUser.mtr_portfolio_photos mpp inner join MTRBack.photos ph on mpp.mtr_photo_id = ph.photo_id where mpp.mtr_portfolio_id = 20967368 group by h (('09', 38),) 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=20967368 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 (20967368) 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 (20967368) AND cps.thcl in (758) order by cps.score desc LIMIT 0, 100000 ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 03032025 20967368 Nombre de photos uploadées : 38 / 23040 (0%) 03032025 20967368 Nombre de photos taguées (types de déchets): 0 / 38 (0%) 03032025 20967368 Nombre de photos taguées (volume) : 0 / 38 (0%) [{'photo_id': 1340598881, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/3/84bc218949453e4fd4232feace188547.jpg', 'username': None, 'uploaded_at': 1740990679, 'text': 'image_03032025_09_30_04_010163m0.jpg 1e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1340598874, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/3/fd030d8d155b511643e686b56a536b78.jpg', 'username': None, 'uploaded_at': 1740990679, 'text': 'image_03032025_09_30_14_010137m0.jpg 2e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1340598871, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/3/42ee5d57a457ab2e96d5db3ce4d07af2.jpg', 'username': None, 'uploaded_at': 1740990679, 'text': 'image_03032025_09_30_24_010135m0.jpg 3.0000000000000004e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1340598865, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/3/6f552bc1438bc98d4f3138edcf1fee6d.jpg', 'username': None, 'uploaded_at': 1740990679, 'text': 'image_03032025_09_30_34_010145m0.jpg 4e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}] 0 [] elapsed_time : load_data_split_time_score 3.0994415283203125e-06 elapsed_time : order_list_meta_photo_and_scores 7.867813110351562e-06 ?????????????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.0021924972534179688 INSERT INTO `MTRPhoto`.`dashboard_entry_day` (`dashboard_place_id`, `mtr_portfolio_id`, `date`) VALUES ( 10, 20967368, '2025-03-03' ) ON DUPLICATE KEY UPDATE updated_at=NOW(); INSERT INTO `MTRPhoto`.`dashboard_run_ids` (`dashboard_entry_day`, `mtr_user_id`, `misc_info`) VALUES (1634063,979,"{}"); elapsed_time : insert_dashboard_record_day_entry 0.023737430572509766 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= 1634063 AND ded.last_run_id=dri.id AND dri.dashboard_entry_day=ded.id AND dri.id=dr.dashboard_run_id [{'dashboat_entry_day': 1634063, 'dashboard_run_id': 1644248, 'mtr_portfolio_id': 20960307, 'dashboard_result_id': 9186121, '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_P20960307_04-03-2025_05_34_30.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20960310, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20960311, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20960312, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20960313, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20960314, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20960315, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20960316, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20960317, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20960318, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20960319, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20960320, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20960321, 'pht': 3726}}"}, {'dashboat_entry_day': 1634063, 'dashboard_run_id': 1644248, 'mtr_portfolio_id': 20960513, 'dashboard_result_id': 9186122, '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_P20960513_04-03-2025_05_35_00.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20960516, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20960517, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20960518, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20960519, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20960520, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20960521, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20960522, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20960523, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20960524, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20960525, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20960526, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20960527, 'pht': 3726}}"}, {'dashboat_entry_day': 1634063, 'dashboard_run_id': 1644248, 'mtr_portfolio_id': 20960900, 'dashboard_result_id': 9186123, '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_P20960900_04-03-2025_05_35_33.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20960902, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20960903, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20960904, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20960905, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20960906, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20960907, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20960908, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20960909, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20960910, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20960911, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20960912, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20960913, 'pht': 3726}}"}, {'dashboat_entry_day': 1634063, 'dashboard_run_id': 1644248, 'mtr_portfolio_id': 20961064, 'dashboard_result_id': 9186124, '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_P20961064_04-03-2025_05_36_02.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20961066, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20961067, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20961068, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20961069, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20961070, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20961071, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20961072, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20961073, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20961074, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20961075, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20961076, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20961077, 'pht': 3726}}"}, {'dashboat_entry_day': 1634063, 'dashboard_run_id': 1644248, 'mtr_portfolio_id': 20961514, 'dashboard_result_id': 9186125, '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_P20961514_04-03-2025_05_36_34.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20961518, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20961519, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20961520, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20961521, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20961522, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20961523, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20961524, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20961525, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20961526, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20961527, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20961528, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20961529, 'pht': 3726}}"}, {'dashboat_entry_day': 1634063, 'dashboard_run_id': 1644248, 'mtr_portfolio_id': 20961943, 'dashboard_result_id': 9186126, '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_P20961943_04-03-2025_05_37_03.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20961946, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20961947, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20961948, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20961949, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20961950, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20961951, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20961952, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20961953, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20961954, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20961955, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20961956, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20961957, 'pht': 3726}}"}, {'dashboat_entry_day': 1634063, 'dashboard_run_id': 1644248, 'mtr_portfolio_id': 20962435, 'dashboard_result_id': 9186127, '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_P20962435_04-03-2025_05_37_31.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20962438, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20962439, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20962440, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20962441, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20962442, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20962443, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20962444, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20962445, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20962446, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20962447, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20962448, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20962449, 'pht': 3726}}"}, {'dashboat_entry_day': 1634063, 'dashboard_run_id': 1644248, 'mtr_portfolio_id': 20962794, 'dashboard_result_id': 9186128, '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_P20962794_04-03-2025_05_38_01.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20962824, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20962825, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20962826, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20962827, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20962828, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20962829, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20962830, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20962831, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20962832, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20962833, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20962834, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20962835, 'pht': 3726}}"}, {'dashboat_entry_day': 1634063, 'dashboard_run_id': 1644248, 'mtr_portfolio_id': 20963307, 'dashboard_result_id': 9186129, '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_P20963307_04-03-2025_05_38_35.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20963335, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20963336, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20963337, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20963338, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20963339, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20963340, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20963341, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20963342, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20963343, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20963344, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20963345, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20963346, 'pht': 3726}}"}, {'dashboat_entry_day': 1634063, 'dashboard_run_id': 1644248, 'mtr_portfolio_id': 20963628, 'dashboard_result_id': 9186130, '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_P20963628_04-03-2025_05_39_03.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20963684, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20963685, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20963686, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20963687, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20963688, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20963689, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20963690, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20963691, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20963692, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20963693, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20963694, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20963695, 'pht': 3726}}"}, {'dashboat_entry_day': 1634063, 'dashboard_run_id': 1644248, 'mtr_portfolio_id': 20964476, 'dashboard_result_id': 9186131, '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_P20964476_04-03-2025_05_39_31.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20964482, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20964483, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20964484, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20964485, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20964486, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20964487, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20964488, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20964489, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20964490, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20964491, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20964492, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20964493, 'pht': 3726}}"}, {'dashboat_entry_day': 1634063, 'dashboard_run_id': 1644248, 'mtr_portfolio_id': 20965022, 'dashboard_result_id': 9186132, '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_P20965022_04-03-2025_05_40_02.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20965027, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20965028, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20965029, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20965030, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20965031, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20965032, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20965033, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20965034, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20965035, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20965036, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20965037, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20965038, 'pht': 3726}}"}, {'dashboat_entry_day': 1634063, 'dashboard_run_id': 1644248, 'mtr_portfolio_id': 20965512, 'dashboard_result_id': 9186133, '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_P20965512_04-03-2025_05_40_33.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20965541, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20965542, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20965543, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20965544, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20965545, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20965546, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20965547, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20965548, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20965549, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20965550, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20965551, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20965552, 'pht': 3726}}"}, {'dashboat_entry_day': 1634063, 'dashboard_run_id': 1644248, 'mtr_portfolio_id': 20966655, 'dashboard_result_id': 9186134, '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_P20966655_04-03-2025_05_41_05.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20966660, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20966661, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20966662, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20966663, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20966664, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20966665, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20966666, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20966667, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20966668, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20966669, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20966670, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20966671, 'pht': 3726}}"}, {'dashboat_entry_day': 1634063, 'dashboard_run_id': 1644248, 'mtr_portfolio_id': 20966718, 'dashboard_result_id': 9186135, '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_P20966718_04-03-2025_05_41_07.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20966750, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20966751, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20966752, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20966753, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20966754, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20966755, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20966756, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20966757, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20966758, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20966759, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20966760, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20966761, 'pht': 3726}}"}, {'dashboat_entry_day': 1634063, 'dashboard_run_id': 1644248, 'mtr_portfolio_id': 20967368, 'dashboard_result_id': 9186136, '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_P20967368_03-03-2025_09_49_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20967396, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20967397, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20967398, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20967399, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20967400, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20967401, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20967402, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20967403, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20967404, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20967405, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20967406, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20967407, 'pht': 3726}}"}, {'dashboat_entry_day': 1634063, 'dashboard_run_id': 1644248, 'mtr_portfolio_id': 20967705, 'dashboard_result_id': 9186137, '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_P20967705_03-03-2025_10_03_01.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20967726, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20967727, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20967728, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20967729, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20967730, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20967731, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20967732, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20967733, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20967734, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20967735, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20967736, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20967737, 'pht': 3726}}"}, {'dashboat_entry_day': 1634063, 'dashboard_run_id': 1644248, 'mtr_portfolio_id': 20968187, 'dashboard_result_id': 9186138, '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_P20968187_03-03-2025_10_18_58.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20968196, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20968197, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20968198, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20968199, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20968200, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20968201, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20968202, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20968203, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20968204, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20968205, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20968206, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20968207, 'pht': 3726}}"}, {'dashboat_entry_day': 1634063, 'dashboard_run_id': 1644248, 'mtr_portfolio_id': 20968779, 'dashboard_result_id': 9186139, '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_P20968779_03-03-2025_10_32_57.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20968790, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20968791, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20968792, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20968793, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20968794, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20968795, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20968796, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20968797, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20968798, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20968799, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20968800, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20968801, 'pht': 3726}}"}, {'dashboat_entry_day': 1634063, 'dashboard_run_id': 1644248, 'mtr_portfolio_id': 20969496, 'dashboard_result_id': 9186140, '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_P20969496_03-03-2025_10_48_58.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20969550, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20969551, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20969552, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20969553, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20969554, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20969555, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20969556, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20969557, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20969558, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20969559, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20969560, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20969561, 'pht': 3726}}"}, {'dashboat_entry_day': 1634063, 'dashboard_run_id': 1644248, 'mtr_portfolio_id': 20970176, 'dashboard_result_id': 9186141, '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_P20970176_03-03-2025_11_02_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20970250, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20970251, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20970252, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20970253, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20970254, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20970255, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20970256, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20970257, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20970258, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20970259, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20970260, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20970261, 'pht': 3726}}"}, {'dashboat_entry_day': 1634063, 'dashboard_run_id': 1644248, 'mtr_portfolio_id': 20970772, 'dashboard_result_id': 9186142, '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_P20970772_03-03-2025_11_18_58.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20970823, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20970824, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20970825, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20970826, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20970827, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20970828, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20970829, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20970830, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20970831, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20970832, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20970833, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20970834, 'pht': 3726}}"}, {'dashboat_entry_day': 1634063, 'dashboard_run_id': 1644248, 'mtr_portfolio_id': 20971287, 'dashboard_result_id': 9186143, '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_P20971287_03-03-2025_11_33_01.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20971358, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20971359, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20971360, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20971361, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20971362, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20971363, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20971364, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20971365, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20971366, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20971367, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20971368, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20971369, 'pht': 3726}}"}, {'dashboat_entry_day': 1634063, 'dashboard_run_id': 1644248, 'mtr_portfolio_id': 20971841, 'dashboard_result_id': 9186144, '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_P20971841_03-03-2025_11_49_00.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20971850, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20971851, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20971852, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20971853, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20971854, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20971855, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20971856, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20971857, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20971858, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20971859, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20971860, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20971861, 'pht': 3726}}"}, {'dashboat_entry_day': 1634063, 'dashboard_run_id': 1644248, 'mtr_portfolio_id': 20972467, 'dashboard_result_id': 9186145, '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_P20972467_03-03-2025_12_02_31.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20972563, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20972564, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20972565, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20972566, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20972567, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20972568, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20972569, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20972570, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20972571, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20972572, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20972573, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20972574, 'pht': 3726}}"}, {'dashboat_entry_day': 1634063, 'dashboard_run_id': 1644248, 'mtr_portfolio_id': 20973314, 'dashboard_result_id': 9186146, '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_P20973314_03-03-2025_12_19_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20973320, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20973321, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20973322, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20973323, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20973324, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20973325, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20973326, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20973327, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20973328, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20973329, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20973330, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20973331, 'pht': 3726}}"}, {'dashboat_entry_day': 1634063, 'dashboard_run_id': 1644248, 'mtr_portfolio_id': 20974054, 'dashboard_result_id': 9186147, '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_P20974054_03-03-2025_12_32_58.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20974085, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20974086, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20974087, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20974088, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20974089, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20974090, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20974091, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20974092, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20974093, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20974094, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20974095, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20974096, 'pht': 3726}}"}, {'dashboat_entry_day': 1634063, 'dashboard_run_id': 1644248, 'mtr_portfolio_id': 20974829, 'dashboard_result_id': 9186148, '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_P20974829_03-03-2025_13_02_58.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20974834, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20974835, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20974836, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20974837, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20974838, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20974839, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20974840, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20974841, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20974842, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20974843, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20974844, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20974845, 'pht': 3726}}"}, {'dashboat_entry_day': 1634063, 'dashboard_run_id': 1644248, 'mtr_portfolio_id': 20976058, 'dashboard_result_id': 9186149, '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_P20976058_03-03-2025_13_18_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20976059, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20976060, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20976061, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20976062, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20976063, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20976064, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20976065, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20976066, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20976067, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20976068, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20976069, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20976070, 'pht': 3726}}"}, {'dashboat_entry_day': 1634063, 'dashboard_run_id': 1644248, 'mtr_portfolio_id': 20976515, 'dashboard_result_id': 9186150, '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_P20976515_03-03-2025_13_33_00.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20976519, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20976520, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20976521, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20976522, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20976523, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20976524, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20976525, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20976526, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20976527, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20976528, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20976529, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20976530, 'pht': 3726}}"}, {'dashboat_entry_day': 1634063, 'dashboard_run_id': 1644248, 'mtr_portfolio_id': 20976807, 'dashboard_result_id': 9186151, '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_P20976807_03-03-2025_13_48_59.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20976810, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20976811, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20976812, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20976813, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20976814, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20976815, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20976816, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20976817, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20976818, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20976819, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20976820, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20976821, 'pht': 3726}}"}, {'dashboat_entry_day': 1634063, 'dashboard_run_id': 1644248, 'mtr_portfolio_id': 20977087, 'dashboard_result_id': 9186152, '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_P20977087_03-03-2025_14_05_02.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20977089, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20977090, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20977091, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20977092, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20977093, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20977094, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20977095, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20977096, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20977097, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20977098, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20977099, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20977100, 'pht': 3726}}"}, {'dashboat_entry_day': 1634063, 'dashboard_run_id': 1644248, 'mtr_portfolio_id': 20977626, 'dashboard_result_id': 9186153, '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_P20977626_03-03-2025_14_19_04.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20977629, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20977630, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20977631, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20977632, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20977633, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20977634, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20977635, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20977636, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20977637, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20977638, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20977639, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20977640, 'pht': 3726}}"}, {'dashboat_entry_day': 1634063, 'dashboard_run_id': 1644248, 'mtr_portfolio_id': 20978006, 'dashboard_result_id': 9186154, '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_P20978006_03-03-2025_14_33_01.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20978008, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20978009, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20978010, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20978011, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20978012, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20978013, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20978014, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20978015, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20978016, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20978017, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20978018, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20978019, 'pht': 3726}}"}, {'dashboat_entry_day': 1634063, 'dashboard_run_id': 1644248, 'mtr_portfolio_id': 20978650, 'dashboard_result_id': 9186155, '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_P20978650_03-03-2025_14_47_02.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20978653, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20978654, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20978655, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20978656, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20978657, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20978658, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20978659, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20978660, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20978661, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20978662, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20978663, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20978664, 'pht': 3726}}"}, {'dashboat_entry_day': 1634063, 'dashboard_run_id': 1644248, 'mtr_portfolio_id': 20979220, 'dashboard_result_id': 9186156, '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_P20979220_03-03-2025_15_03_00.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20979258, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20979259, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20979260, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20979261, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20979262, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20979263, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20979264, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20979265, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20979266, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20979267, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20979268, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20979269, 'pht': 3726}}"}, {'dashboat_entry_day': 1634063, 'dashboard_run_id': 1644248, 'mtr_portfolio_id': 20979676, 'dashboard_result_id': 9186157, '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_P20979676_03-03-2025_15_18_58.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20979703, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20979704, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20979705, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20979706, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20979707, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20979708, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20979709, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20979710, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20979711, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20979712, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20979713, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20979714, 'pht': 3726}}"}, {'dashboat_entry_day': 1634063, 'dashboard_run_id': 1644248, 'mtr_portfolio_id': 20980311, 'dashboard_result_id': 9186158, '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_P20980311_03-03-2025_15_35_01.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20980375, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20980376, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20980377, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20980378, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20980379, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20980380, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20980381, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20980382, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20980383, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20980384, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20980385, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20980386, 'pht': 3726}}"}, {'dashboat_entry_day': 1634063, 'dashboard_run_id': 1644248, 'mtr_portfolio_id': 20980858, 'dashboard_result_id': 9186159, '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_P20980858_03-03-2025_15_48_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20980861, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20980862, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20980863, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20980864, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20980865, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20980866, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20980867, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20980868, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20980869, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20980870, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20980871, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20980872, 'pht': 3726}}"}, {'dashboat_entry_day': 1634063, 'dashboard_run_id': 1644248, 'mtr_portfolio_id': 20981321, 'dashboard_result_id': 9186160, '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_P20981321_03-03-2025_16_02_59.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20981351, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20981352, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20981353, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20981354, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20981355, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20981356, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20981357, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20981358, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20981359, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20981360, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20981361, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20981362, 'pht': 3726}}"}, {'dashboat_entry_day': 1634063, 'dashboard_run_id': 1644248, 'mtr_portfolio_id': 20981988, 'dashboard_result_id': 9186161, '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_P20981988_03-03-2025_16_19_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20981991, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20981992, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20981993, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20981994, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20981995, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20981996, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20981997, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20981998, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20981999, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20982000, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20982001, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20982002, 'pht': 3726}}"}, {'dashboat_entry_day': 1634063, 'dashboard_run_id': 1644248, 'mtr_portfolio_id': 20982201, 'dashboard_result_id': 9186162, '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_P20982201_03-03-2025_16_32_58.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20982251, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20982252, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20982253, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20982254, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20982255, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20982256, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20982257, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20982258, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20982259, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20982260, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20982261, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20982262, 'pht': 3726}}"}, {'dashboat_entry_day': 1634063, 'dashboard_run_id': 1644248, 'mtr_portfolio_id': 20983052, 'dashboard_result_id': 9186163, '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_P20983052_03-03-2025_16_48_29.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20983103, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20983104, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20983105, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20983106, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20983107, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20983108, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20983109, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20983110, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20983111, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20983112, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20983113, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20983114, 'pht': 3726}}"}, {'dashboat_entry_day': 1634063, 'dashboard_run_id': 1644248, 'mtr_portfolio_id': 20983803, 'dashboard_result_id': 9186164, '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_P20983803_03-03-2025_17_03_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20983806, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20983807, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20983808, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20983809, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20983810, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20983811, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20983812, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20983813, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20983814, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20983815, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20983816, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20983817, 'pht': 3726}}"}, {'dashboat_entry_day': 1634063, 'dashboard_run_id': 1644248, 'mtr_portfolio_id': 20984411, 'dashboard_result_id': 9186165, '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_P20984411_03-03-2025_17_18_58.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20984414, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20984415, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20984416, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20984417, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20984418, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20984419, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20984420, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20984421, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20984422, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20984423, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20984424, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20984425, 'pht': 3726}}"}, {'dashboat_entry_day': 1634063, 'dashboard_run_id': 1644248, 'mtr_portfolio_id': 20984700, 'dashboard_result_id': 9186166, '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_P20984700_03-03-2025_18_03_01.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20984779, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20984780, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20984781, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20984782, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20984783, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20984784, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20984785, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20984786, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20984787, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20984788, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20984789, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20984790, 'pht': 3726}}"}, {'dashboat_entry_day': 1634063, 'dashboard_run_id': 1644248, 'mtr_portfolio_id': 20986044, 'dashboard_result_id': 9186167, '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_P20986044_03-03-2025_18_18_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20986047, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20986048, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20986049, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20986050, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20986051, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20986052, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20986053, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20986054, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20986055, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20986056, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20986057, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20986058, 'pht': 3726}}"}, {'dashboat_entry_day': 1634063, 'dashboard_run_id': 1644248, 'mtr_portfolio_id': 20986474, 'dashboard_result_id': 9186168, '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_P20986474_03-03-2025_18_32_58.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20986476, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20986477, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20986478, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20986479, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20986480, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20986481, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20986482, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20986483, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20986484, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20986485, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20986486, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20986487, 'pht': 3726}}"}, {'dashboat_entry_day': 1634063, 'dashboard_run_id': 1644248, 'mtr_portfolio_id': 20987003, 'dashboard_result_id': 9186169, '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_P20987003_03-03-2025_18_48_58.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20987006, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20987007, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20987008, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20987009, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20987010, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20987011, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20987012, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20987013, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20987014, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20987015, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20987016, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20987017, 'pht': 3726}}"}, {'dashboat_entry_day': 1634063, 'dashboard_run_id': 1644248, 'mtr_portfolio_id': 20987472, 'dashboard_result_id': 9186170, '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_P20987472_03-03-2025_19_03_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20987516, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20987517, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20987518, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20987519, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20987520, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20987521, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20987522, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20987523, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20987524, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20987525, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20987526, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20987527, 'pht': 3726}}"}, {'dashboat_entry_day': 1634063, 'dashboard_run_id': 1644248, 'mtr_portfolio_id': 20988119, 'dashboard_result_id': 9186171, '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_P20988119_03-03-2025_19_18_59.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20988182, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20988183, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20988184, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20988185, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20988186, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20988187, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20988188, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20988189, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20988190, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20988191, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20988192, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20988193, 'pht': 3726}}"}, {'dashboat_entry_day': 1634063, 'dashboard_run_id': 1644248, 'mtr_portfolio_id': 20988613, 'dashboard_result_id': 9186172, '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_P20988613_03-03-2025_19_33_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20988616, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20988617, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20988618, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20988619, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20988620, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20988621, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20988622, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20988623, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20988624, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20988625, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20988626, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20988627, 'pht': 3726}}"}, {'dashboat_entry_day': 1634063, 'dashboard_run_id': 1644248, 'mtr_portfolio_id': 20989064, 'dashboard_result_id': 9186173, '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_P20989064_03-03-2025_19_48_57.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20989067, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20989068, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20989069, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20989070, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20989071, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20989072, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20989073, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20989074, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20989075, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20989076, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20989077, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20989078, 'pht': 3726}}"}, {'dashboat_entry_day': 1634063, 'dashboard_run_id': 1644248, 'mtr_portfolio_id': 20989548, 'dashboard_result_id': 9186174, '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_P20989548_03-03-2025_20_03_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20989578, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20989579, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20989580, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20989581, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20989582, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20989583, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20989584, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20989585, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20989586, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20989587, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20989588, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20989589, 'pht': 3726}}"}, {'dashboat_entry_day': 1634063, 'dashboard_run_id': 1644248, 'mtr_portfolio_id': 20990317, 'dashboard_result_id': 9186175, '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_P20990317_03-03-2025_20_18_58.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20990343, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20990344, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20990345, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20990346, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20990347, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20990348, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20990349, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20990350, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20990351, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20990352, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20990353, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20990354, 'pht': 3726}}"}, {'dashboat_entry_day': 1634063, 'dashboard_run_id': 1644248, 'mtr_portfolio_id': 20990909, 'dashboard_result_id': 9186176, '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_P20990909_03-03-2025_20_32_30.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20990941, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20990942, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20990943, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20990944, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20990945, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20990946, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20990947, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20990948, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20990949, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20990950, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20990951, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20990952, 'pht': 3726}}"}, {'dashboat_entry_day': 1634063, 'dashboard_run_id': 1644248, 'mtr_portfolio_id': 20991546, 'dashboard_result_id': 9186177, '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_P20991546_03-03-2025_21_06_30.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20991576, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20991577, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20991578, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20991579, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20991580, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20991581, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20991582, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20991583, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20991584, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20991585, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20991586, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20991587, 'pht': 3726}}"}, {'dashboat_entry_day': 1634063, 'dashboard_run_id': 1644248, 'mtr_portfolio_id': 20992705, 'dashboard_result_id': 9186178, '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_P20992705_03-03-2025_21_19_01.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20992749, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20992750, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20992751, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20992752, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20992753, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20992754, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20992755, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20992756, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20992757, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20992758, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20992759, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20992760, 'pht': 3726}}"}, {'dashboat_entry_day': 1634063, 'dashboard_run_id': 1644248, 'mtr_portfolio_id': 20994599, 'dashboard_result_id': 9186179, '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_P20994599_03-03-2025_23_32_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20994600, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20994601, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20994602, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20994603, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20994604, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20994605, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20994606, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20994607, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20994608, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20994609, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20994610, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20994611, '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 = 20960307 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': 2631286, 'mtr_portfolio_id': 20960307, 'created_at': datetime.datetime(2025, 3, 4, 5, 34, 29), 'result': '0.1163034158505194', 'result_long': None, 'result_double': None}] Qualite : 0.1163034158505194 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20960307 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20960307_04-03-2025_05_34_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20960307 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_P20960307_04-03-2025_05_34_30.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20960310, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20960311, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20960312, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20960313, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20960314, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20960315, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20960316, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20960317, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20960318, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20960319, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20960320, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20960321, 'pht': 3726}}" where mtr_portfolio_id = 20960307 and dashboard_run_id = 1644248 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`=20960307 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9186121, 0.1163034158505194, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20960307_04-03-2025_05_34_30.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20960310, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20960311, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20960312, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20960313, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20960314, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20960315, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20960316, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20960317, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20960318, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20960319, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20960320, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20960321, '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 = 20960513 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': 2631287, 'mtr_portfolio_id': 20960513, 'created_at': datetime.datetime(2025, 3, 4, 5, 34, 57), 'result': '0.08153974591842779', 'result_long': None, 'result_double': None}] Qualite : 0.08153974591842779 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20960513 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20960513_04-03-2025_05_35_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20960513 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_P20960513_04-03-2025_05_35_00.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20960516, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20960517, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20960518, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20960519, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20960520, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20960521, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20960522, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20960523, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20960524, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20960525, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20960526, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20960527, 'pht': 3726}}" where mtr_portfolio_id = 20960513 and dashboard_run_id = 1644248 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`=20960513 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9186122, 0.08153974591842779, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20960513_04-03-2025_05_35_00.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20960516, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20960517, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20960518, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20960519, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20960520, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20960521, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20960522, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20960523, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20960524, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20960525, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20960526, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20960527, '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 = 20960900 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': 2631288, 'mtr_portfolio_id': 20960900, 'created_at': datetime.datetime(2025, 3, 4, 5, 35, 31), 'result': '0.07381680189922486', 'result_long': None, 'result_double': None}] Qualite : 0.07381680189922486 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20960900 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20960900_04-03-2025_05_35_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20960900 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_P20960900_04-03-2025_05_35_33.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20960902, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20960903, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20960904, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20960905, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20960906, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20960907, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20960908, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20960909, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20960910, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20960911, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20960912, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20960913, 'pht': 3726}}" where mtr_portfolio_id = 20960900 and dashboard_run_id = 1644248 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`=20960900 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9186123, 0.07381680189922486, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20960900_04-03-2025_05_35_33.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20960902, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20960903, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20960904, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20960905, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20960906, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20960907, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20960908, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20960909, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20960910, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20960911, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20960912, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20960913, '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 = 20961064 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': 2631289, 'mtr_portfolio_id': 20961064, 'created_at': datetime.datetime(2025, 3, 4, 5, 35, 59), 'result': '0.07215973176065404', 'result_long': None, 'result_double': None}] Qualite : 0.07215973176065404 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20961064 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20961064_04-03-2025_05_36_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20961064 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_P20961064_04-03-2025_05_36_02.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20961066, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20961067, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20961068, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20961069, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20961070, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20961071, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20961072, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20961073, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20961074, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20961075, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20961076, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20961077, 'pht': 3726}}" where mtr_portfolio_id = 20961064 and dashboard_run_id = 1644248 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`=20961064 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9186124, 0.07215973176065404, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20961064_04-03-2025_05_36_02.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20961066, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20961067, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20961068, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20961069, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20961070, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20961071, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20961072, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20961073, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20961074, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20961075, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20961076, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20961077, '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 = 20961514 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': 2631290, 'mtr_portfolio_id': 20961514, 'created_at': datetime.datetime(2025, 3, 4, 5, 36, 31), 'result': '0.0816818000526756', 'result_long': None, 'result_double': None}] Qualite : 0.0816818000526756 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20961514 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20961514_04-03-2025_05_36_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20961514 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_P20961514_04-03-2025_05_36_34.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20961518, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20961519, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20961520, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20961521, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20961522, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20961523, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20961524, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20961525, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20961526, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20961527, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20961528, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20961529, 'pht': 3726}}" where mtr_portfolio_id = 20961514 and dashboard_run_id = 1644248 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`=20961514 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9186125, 0.0816818000526756, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20961514_04-03-2025_05_36_34.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20961518, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20961519, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20961520, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20961521, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20961522, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20961523, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20961524, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20961525, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20961526, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20961527, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20961528, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20961529, '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 = 20961943 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': 2631291, 'mtr_portfolio_id': 20961943, 'created_at': datetime.datetime(2025, 3, 4, 5, 36, 59), 'result': '0.08840179536738452', 'result_long': None, 'result_double': None}] Qualite : 0.08840179536738452 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20961943 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20961943_04-03-2025_05_37_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20961943 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_P20961943_04-03-2025_05_37_03.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20961946, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20961947, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20961948, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20961949, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20961950, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20961951, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20961952, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20961953, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20961954, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20961955, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20961956, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20961957, 'pht': 3726}}" where mtr_portfolio_id = 20961943 and dashboard_run_id = 1644248 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`=20961943 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9186126, 0.08840179536738452, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20961943_04-03-2025_05_37_03.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20961946, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20961947, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20961948, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20961949, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20961950, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20961951, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20961952, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20961953, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20961954, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20961955, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20961956, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20961957, '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 = 20962435 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': 2631292, 'mtr_portfolio_id': 20962435, 'created_at': datetime.datetime(2025, 3, 4, 5, 37, 27), 'result': '0.07660343788203557', 'result_long': None, 'result_double': None}] Qualite : 0.07660343788203557 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20962435 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20962435_04-03-2025_05_37_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20962435 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_P20962435_04-03-2025_05_37_31.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20962438, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20962439, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20962440, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20962441, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20962442, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20962443, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20962444, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20962445, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20962446, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20962447, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20962448, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20962449, 'pht': 3726}}" where mtr_portfolio_id = 20962435 and dashboard_run_id = 1644248 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`=20962435 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9186127, 0.07660343788203557, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20962435_04-03-2025_05_37_31.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20962438, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20962439, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20962440, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20962441, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20962442, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20962443, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20962444, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20962445, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20962446, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20962447, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20962448, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20962449, '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 = 20962794 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': 2631293, 'mtr_portfolio_id': 20962794, 'created_at': datetime.datetime(2025, 3, 4, 5, 37, 58), 'result': '0.08708295848006047', 'result_long': None, 'result_double': None}] Qualite : 0.08708295848006047 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20962794 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20962794_04-03-2025_05_38_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20962794 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_P20962794_04-03-2025_05_38_01.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20962824, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20962825, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20962826, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20962827, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20962828, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20962829, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20962830, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20962831, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20962832, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20962833, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20962834, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20962835, 'pht': 3726}}" where mtr_portfolio_id = 20962794 and dashboard_run_id = 1644248 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`=20962794 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9186128, 0.08708295848006047, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20962794_04-03-2025_05_38_01.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20962824, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20962825, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20962826, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20962827, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20962828, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20962829, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20962830, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20962831, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20962832, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20962833, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20962834, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20962835, '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 = 20963307 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': 2631294, 'mtr_portfolio_id': 20963307, 'created_at': datetime.datetime(2025, 3, 4, 5, 38, 32), 'result': '0.08092415509780898', 'result_long': None, 'result_double': None}] Qualite : 0.08092415509780898 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20963307 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20963307_04-03-2025_05_38_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20963307 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_P20963307_04-03-2025_05_38_35.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20963335, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20963336, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20963337, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20963338, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20963339, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20963340, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20963341, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20963342, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20963343, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20963344, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20963345, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20963346, 'pht': 3726}}" where mtr_portfolio_id = 20963307 and dashboard_run_id = 1644248 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`=20963307 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9186129, 0.08092415509780898, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20963307_04-03-2025_05_38_35.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20963335, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20963336, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20963337, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20963338, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20963339, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20963340, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20963341, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20963342, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20963343, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20963344, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20963345, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20963346, '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 = 20963628 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': 2631295, 'mtr_portfolio_id': 20963628, 'created_at': datetime.datetime(2025, 3, 4, 5, 39), 'result': '0.08669765234764532', 'result_long': None, 'result_double': None}] Qualite : 0.08669765234764532 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20963628 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20963628_04-03-2025_05_39_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20963628 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_P20963628_04-03-2025_05_39_03.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20963684, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20963685, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20963686, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20963687, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20963688, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20963689, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20963690, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20963691, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20963692, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20963693, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20963694, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20963695, 'pht': 3726}}" where mtr_portfolio_id = 20963628 and dashboard_run_id = 1644248 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`=20963628 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9186130, 0.08669765234764532, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20963628_04-03-2025_05_39_03.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20963684, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20963685, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20963686, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20963687, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20963688, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20963689, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20963690, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20963691, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20963692, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20963693, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20963694, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20963695, '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 = 20964476 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': 2631296, 'mtr_portfolio_id': 20964476, 'created_at': datetime.datetime(2025, 3, 4, 5, 39, 27), 'result': '0.09725782459529653', 'result_long': None, 'result_double': None}] Qualite : 0.09725782459529653 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20964476 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20964476_04-03-2025_05_39_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20964476 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_P20964476_04-03-2025_05_39_31.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20964482, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20964483, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20964484, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20964485, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20964486, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20964487, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20964488, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20964489, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20964490, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20964491, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20964492, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20964493, 'pht': 3726}}" where mtr_portfolio_id = 20964476 and dashboard_run_id = 1644248 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`=20964476 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9186131, 0.09725782459529653, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20964476_04-03-2025_05_39_31.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20964482, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20964483, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20964484, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20964485, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20964486, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20964487, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20964488, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20964489, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20964490, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20964491, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20964492, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20964493, '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 = 20965022 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': 2631297, 'mtr_portfolio_id': 20965022, 'created_at': datetime.datetime(2025, 3, 4, 5, 39, 58), 'result': '0.08315383990250402', 'result_long': None, 'result_double': None}] Qualite : 0.08315383990250402 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20965022 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20965022_04-03-2025_05_40_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20965022 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_P20965022_04-03-2025_05_40_02.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20965027, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20965028, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20965029, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20965030, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20965031, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20965032, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20965033, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20965034, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20965035, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20965036, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20965037, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20965038, 'pht': 3726}}" where mtr_portfolio_id = 20965022 and dashboard_run_id = 1644248 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`=20965022 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9186132, 0.08315383990250402, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20965022_04-03-2025_05_40_02.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20965027, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20965028, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20965029, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20965030, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20965031, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20965032, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20965033, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20965034, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20965035, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20965036, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20965037, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20965038, '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 = 20965512 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': 2631298, 'mtr_portfolio_id': 20965512, 'created_at': datetime.datetime(2025, 3, 4, 5, 40, 30), 'result': '0.08166918423609694', 'result_long': None, 'result_double': None}] Qualite : 0.08166918423609694 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20965512 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20965512_04-03-2025_05_40_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20965512 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_P20965512_04-03-2025_05_40_33.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20965541, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20965542, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20965543, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20965544, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20965545, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20965546, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20965547, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20965548, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20965549, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20965550, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20965551, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20965552, 'pht': 3726}}" where mtr_portfolio_id = 20965512 and dashboard_run_id = 1644248 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`=20965512 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9186133, 0.08166918423609694, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20965512_04-03-2025_05_40_33.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20965541, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20965542, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20965543, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20965544, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20965545, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20965546, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20965547, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20965548, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20965549, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20965550, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20965551, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20965552, '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 = 20966655 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': 2631299, 'mtr_portfolio_id': 20966655, 'created_at': datetime.datetime(2025, 3, 4, 5, 41, 3), 'result': '0.09270298721785211', 'result_long': None, 'result_double': None}] Qualite : 0.09270298721785211 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20966655 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20966655_04-03-2025_05_41_05.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20966655 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_P20966655_04-03-2025_05_41_05.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20966660, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20966661, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20966662, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20966663, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20966664, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20966665, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20966666, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20966667, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20966668, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20966669, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20966670, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20966671, 'pht': 3726}}" where mtr_portfolio_id = 20966655 and dashboard_run_id = 1644248 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`=20966655 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9186134, 0.09270298721785211, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20966655_04-03-2025_05_41_05.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20966660, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20966661, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20966662, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20966663, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20966664, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20966665, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20966666, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20966667, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20966668, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20966669, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20966670, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20966671, '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 = 20966718 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': 2631300, 'mtr_portfolio_id': 20966718, 'created_at': datetime.datetime(2025, 3, 4, 5, 41, 4), 'result': '0.06773426827580979', 'result_long': None, 'result_double': None}] Qualite : 0.06773426827580979 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20966718 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20966718_04-03-2025_05_41_07.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20966718 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_P20966718_04-03-2025_05_41_07.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20966750, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20966751, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20966752, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20966753, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20966754, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20966755, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20966756, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20966757, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20966758, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20966759, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20966760, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20966761, 'pht': 3726}}" where mtr_portfolio_id = 20966718 and dashboard_run_id = 1644248 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`=20966718 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9186135, 0.06773426827580979, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20966718_04-03-2025_05_41_07.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20966750, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20966751, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20966752, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20966753, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20966754, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20966755, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20966756, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20966757, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20966758, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20966759, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20966760, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20966761, '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 = 20967368 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': 2631301, 'mtr_portfolio_id': 20967368, 'created_at': datetime.datetime(2025, 3, 4, 5, 41, 29), 'result': '0.0660201896614592', 'result_long': None, 'result_double': None}] Qualite : 0.0660201896614592 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20967368 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20967368_04-03-2025_05_41_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20967368 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_P20967368_04-03-2025_05_41_31.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20967396, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20967397, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20967398, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20967399, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20967400, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20967401, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20967402, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20967403, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20967404, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20967405, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20967406, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20967407, 'pht': 3726}}" where mtr_portfolio_id = 20967368 and dashboard_run_id = 1644248 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`=20967368 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9186136, 0.0660201896614592, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20967368_04-03-2025_05_41_31.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20967396, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20967397, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20967398, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20967399, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20967400, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20967401, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20967402, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20967403, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20967404, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20967405, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20967406, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20967407, '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 = 20967705 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': 2628480, 'mtr_portfolio_id': 20967705, 'created_at': datetime.datetime(2025, 3, 3, 10, 3, 1), 'result': '0.07446306357603778', 'result_long': None, 'result_double': None}] Qualite : 0.07446306357603778 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20967705 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20967705_03-03-2025_10_03_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20967705 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_P20967705_03-03-2025_10_03_01.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20967726, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20967727, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20967728, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20967729, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20967730, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20967731, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20967732, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20967733, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20967734, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20967735, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20967736, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20967737, 'pht': 3726}}" where mtr_portfolio_id = 20967705 and dashboard_run_id = 1644248 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`=20967705 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9186137, 0.07446306357603778, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20967705_03-03-2025_10_03_01.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20967726, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20967727, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20967728, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20967729, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20967730, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20967731, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20967732, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20967733, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20967734, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20967735, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20967736, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20967737, '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 = 20968187 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': 2628551, 'mtr_portfolio_id': 20968187, 'created_at': datetime.datetime(2025, 3, 3, 10, 18, 58), 'result': '0.06887623549918691', 'result_long': None, 'result_double': None}] Qualite : 0.06887623549918691 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20968187 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20968187_03-03-2025_10_18_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20968187 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_P20968187_03-03-2025_10_18_58.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20968196, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20968197, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20968198, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20968199, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20968200, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20968201, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20968202, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20968203, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20968204, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20968205, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20968206, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20968207, 'pht': 3726}}" where mtr_portfolio_id = 20968187 and dashboard_run_id = 1644248 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`=20968187 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9186138, 0.06887623549918691, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20968187_03-03-2025_10_18_58.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20968196, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20968197, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20968198, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20968199, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20968200, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20968201, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20968202, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20968203, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20968204, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20968205, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20968206, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20968207, '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 = 20968779 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': 2628618, 'mtr_portfolio_id': 20968779, 'created_at': datetime.datetime(2025, 3, 3, 10, 32, 57), 'result': '0.07817607794462622', 'result_long': None, 'result_double': None}] Qualite : 0.07817607794462622 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20968779 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20968779_03-03-2025_10_32_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20968779 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_P20968779_03-03-2025_10_32_57.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20968790, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20968791, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20968792, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20968793, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20968794, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20968795, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20968796, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20968797, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20968798, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20968799, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20968800, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20968801, 'pht': 3726}}" where mtr_portfolio_id = 20968779 and dashboard_run_id = 1644248 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`=20968779 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9186139, 0.07817607794462622, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20968779_03-03-2025_10_32_57.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20968790, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20968791, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20968792, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20968793, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20968794, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20968795, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20968796, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20968797, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20968798, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20968799, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20968800, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20968801, '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 = 20969496 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': 2628689, 'mtr_portfolio_id': 20969496, 'created_at': datetime.datetime(2025, 3, 3, 10, 48, 57), 'result': '0.07712366135998554', 'result_long': None, 'result_double': None}] Qualite : 0.07712366135998554 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20969496 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20969496_03-03-2025_10_48_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20969496 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_P20969496_03-03-2025_10_48_58.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20969550, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20969551, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20969552, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20969553, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20969554, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20969555, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20969556, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20969557, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20969558, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20969559, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20969560, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20969561, 'pht': 3726}}" where mtr_portfolio_id = 20969496 and dashboard_run_id = 1644248 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`=20969496 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9186140, 0.07712366135998554, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20969496_03-03-2025_10_48_58.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20969550, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20969551, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20969552, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20969553, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20969554, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20969555, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20969556, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20969557, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20969558, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20969559, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20969560, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20969561, '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 = 20970176 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': 2628736, 'mtr_portfolio_id': 20970176, 'created_at': datetime.datetime(2025, 3, 3, 11, 2, 59), 'result': '0.06443929168367313', 'result_long': None, 'result_double': None}] Qualite : 0.06443929168367313 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20970176 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20970176_03-03-2025_11_02_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20970176 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_P20970176_03-03-2025_11_02_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20970250, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20970251, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20970252, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20970253, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20970254, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20970255, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20970256, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20970257, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20970258, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20970259, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20970260, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20970261, 'pht': 3726}}" where mtr_portfolio_id = 20970176 and dashboard_run_id = 1644248 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`=20970176 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9186141, 0.06443929168367313, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20970176_03-03-2025_11_02_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20970250, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20970251, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20970252, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20970253, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20970254, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20970255, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20970256, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20970257, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20970258, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20970259, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20970260, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20970261, '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 = 20970772 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': 2628784, 'mtr_portfolio_id': 20970772, 'created_at': datetime.datetime(2025, 3, 3, 11, 18, 58), 'result': '0.1014984168363235', 'result_long': None, 'result_double': None}] Qualite : 0.1014984168363235 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20970772 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20970772_03-03-2025_11_18_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20970772 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_P20970772_03-03-2025_11_18_58.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20970823, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20970824, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20970825, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20970826, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20970827, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20970828, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20970829, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20970830, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20970831, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20970832, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20970833, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20970834, 'pht': 3726}}" where mtr_portfolio_id = 20970772 and dashboard_run_id = 1644248 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`=20970772 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9186142, 0.1014984168363235, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20970772_03-03-2025_11_18_58.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20970823, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20970824, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20970825, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20970826, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20970827, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20970828, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20970829, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20970830, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20970831, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20970832, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20970833, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20970834, '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 = 20971287 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': 2628824, 'mtr_portfolio_id': 20971287, 'created_at': datetime.datetime(2025, 3, 3, 11, 33), 'result': '0.08545377329131142', 'result_long': None, 'result_double': None}] Qualite : 0.08545377329131142 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20971287 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20971287_03-03-2025_11_33_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20971287 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_P20971287_03-03-2025_11_33_01.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20971358, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20971359, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20971360, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20971361, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20971362, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20971363, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20971364, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20971365, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20971366, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20971367, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20971368, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20971369, 'pht': 3726}}" where mtr_portfolio_id = 20971287 and dashboard_run_id = 1644248 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`=20971287 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9186143, 0.08545377329131142, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20971287_03-03-2025_11_33_01.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20971358, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20971359, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20971360, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20971361, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20971362, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20971363, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20971364, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20971365, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20971366, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20971367, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20971368, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20971369, '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 = 20971841 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': 2628910, 'mtr_portfolio_id': 20971841, 'created_at': datetime.datetime(2025, 3, 3, 11, 48, 59), 'result': '0.08530765634694021', 'result_long': None, 'result_double': None}] Qualite : 0.08530765634694021 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20971841 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20971841_03-03-2025_11_49_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20971841 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_P20971841_03-03-2025_11_49_00.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20971850, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20971851, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20971852, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20971853, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20971854, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20971855, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20971856, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20971857, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20971858, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20971859, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20971860, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20971861, 'pht': 3726}}" where mtr_portfolio_id = 20971841 and dashboard_run_id = 1644248 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`=20971841 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9186144, 0.08530765634694021, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20971841_03-03-2025_11_49_00.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20971850, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20971851, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20971852, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20971853, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20971854, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20971855, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20971856, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20971857, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20971858, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20971859, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20971860, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20971861, '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 = 20972467 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': 2629013, 'mtr_portfolio_id': 20972467, 'created_at': datetime.datetime(2025, 3, 3, 12, 2, 30), 'result': '0.09038174805835421', 'result_long': None, 'result_double': None}] Qualite : 0.09038174805835421 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20972467 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20972467_03-03-2025_12_02_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20972467 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_P20972467_03-03-2025_12_02_31.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20972563, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20972564, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20972565, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20972566, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20972567, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20972568, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20972569, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20972570, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20972571, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20972572, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20972573, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20972574, 'pht': 3726}}" where mtr_portfolio_id = 20972467 and dashboard_run_id = 1644248 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`=20972467 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9186145, 0.09038174805835421, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20972467_03-03-2025_12_02_31.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20972563, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20972564, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20972565, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20972566, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20972567, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20972568, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20972569, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20972570, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20972571, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20972572, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20972573, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20972574, '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 = 20973314 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': 2629118, 'mtr_portfolio_id': 20973314, 'created_at': datetime.datetime(2025, 3, 3, 12, 19), 'result': '0.07410755076568899', 'result_long': None, 'result_double': None}] Qualite : 0.07410755076568899 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20973314 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20973314_03-03-2025_12_19_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20973314 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_P20973314_03-03-2025_12_19_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20973320, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20973321, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20973322, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20973323, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20973324, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20973325, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20973326, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20973327, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20973328, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20973329, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20973330, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20973331, 'pht': 3726}}" where mtr_portfolio_id = 20973314 and dashboard_run_id = 1644248 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`=20973314 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9186146, 0.07410755076568899, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20973314_03-03-2025_12_19_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20973320, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20973321, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20973322, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20973323, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20973324, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20973325, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20973326, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20973327, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20973328, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20973329, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20973330, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20973331, '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 = 20974054 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': 2629176, 'mtr_portfolio_id': 20974054, 'created_at': datetime.datetime(2025, 3, 3, 12, 32, 58), 'result': '0.08204976479670828', 'result_long': None, 'result_double': None}] Qualite : 0.08204976479670828 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20974054 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20974054_03-03-2025_12_32_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20974054 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_P20974054_03-03-2025_12_32_58.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20974085, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20974086, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20974087, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20974088, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20974089, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20974090, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20974091, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20974092, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20974093, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20974094, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20974095, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20974096, 'pht': 3726}}" where mtr_portfolio_id = 20974054 and dashboard_run_id = 1644248 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`=20974054 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9186147, 0.08204976479670828, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20974054_03-03-2025_12_32_58.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20974085, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20974086, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20974087, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20974088, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20974089, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20974090, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20974091, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20974092, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20974093, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20974094, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20974095, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20974096, '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 = 20974829 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': 2629232, 'mtr_portfolio_id': 20974829, 'created_at': datetime.datetime(2025, 3, 3, 13, 2, 57), 'result': '0.07671519515001313', 'result_long': None, 'result_double': None}] Qualite : 0.07671519515001313 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20974829 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20974829_03-03-2025_13_02_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20974829 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_P20974829_03-03-2025_13_02_58.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20974834, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20974835, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20974836, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20974837, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20974838, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20974839, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20974840, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20974841, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20974842, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20974843, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20974844, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20974845, 'pht': 3726}}" where mtr_portfolio_id = 20974829 and dashboard_run_id = 1644248 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`=20974829 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9186148, 0.07671519515001313, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20974829_03-03-2025_13_02_58.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20974834, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20974835, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20974836, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20974837, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20974838, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20974839, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20974840, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20974841, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20974842, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20974843, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20974844, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20974845, '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 = 20976058 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': 2629323, 'mtr_portfolio_id': 20976058, 'created_at': datetime.datetime(2025, 3, 3, 13, 18, 59), 'result': '0.07844725751883969', 'result_long': None, 'result_double': None}] Qualite : 0.07844725751883969 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20976058 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20976058_03-03-2025_13_18_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20976058 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_P20976058_03-03-2025_13_18_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20976059, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20976060, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20976061, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20976062, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20976063, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20976064, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20976065, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20976066, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20976067, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20976068, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20976069, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20976070, 'pht': 3726}}" where mtr_portfolio_id = 20976058 and dashboard_run_id = 1644248 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`=20976058 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9186149, 0.07844725751883969, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20976058_03-03-2025_13_18_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20976059, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20976060, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20976061, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20976062, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20976063, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20976064, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20976065, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20976066, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20976067, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20976068, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20976069, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20976070, '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 = 20976515 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': 2629350, 'mtr_portfolio_id': 20976515, 'created_at': datetime.datetime(2025, 3, 3, 13, 32, 59), 'result': '0.10877688685399486', 'result_long': None, 'result_double': None}] Qualite : 0.10877688685399486 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20976515 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20976515_03-03-2025_13_33_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20976515 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_P20976515_03-03-2025_13_33_00.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20976519, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20976520, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20976521, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20976522, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20976523, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20976524, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20976525, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20976526, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20976527, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20976528, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20976529, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20976530, 'pht': 3726}}" where mtr_portfolio_id = 20976515 and dashboard_run_id = 1644248 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`=20976515 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9186150, 0.10877688685399486, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20976515_03-03-2025_13_33_00.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20976519, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20976520, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20976521, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20976522, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20976523, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20976524, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20976525, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20976526, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20976527, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20976528, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20976529, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20976530, '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 = 20976807 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': 2629380, 'mtr_portfolio_id': 20976807, 'created_at': datetime.datetime(2025, 3, 3, 13, 48, 58), 'result': '0.0900793258143767', 'result_long': None, 'result_double': None}] Qualite : 0.0900793258143767 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20976807 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20976807_03-03-2025_13_48_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20976807 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_P20976807_03-03-2025_13_48_59.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20976810, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20976811, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20976812, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20976813, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20976814, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20976815, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20976816, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20976817, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20976818, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20976819, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20976820, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20976821, 'pht': 3726}}" where mtr_portfolio_id = 20976807 and dashboard_run_id = 1644248 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`=20976807 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9186151, 0.0900793258143767, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20976807_03-03-2025_13_48_59.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20976810, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20976811, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20976812, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20976813, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20976814, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20976815, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20976816, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20976817, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20976818, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20976819, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20976820, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20976821, '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 = 20977087 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': 2629401, 'mtr_portfolio_id': 20977087, 'created_at': datetime.datetime(2025, 3, 3, 14, 5, 2), 'result': '0.06824509417650314', 'result_long': None, 'result_double': None}] Qualite : 0.06824509417650314 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20977087 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20977087_03-03-2025_14_05_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20977087 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_P20977087_03-03-2025_14_05_02.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20977089, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20977090, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20977091, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20977092, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20977093, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20977094, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20977095, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20977096, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20977097, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20977098, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20977099, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20977100, 'pht': 3726}}" where mtr_portfolio_id = 20977087 and dashboard_run_id = 1644248 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`=20977087 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9186152, 0.06824509417650314, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20977087_03-03-2025_14_05_02.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20977089, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20977090, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20977091, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20977092, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20977093, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20977094, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20977095, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20977096, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20977097, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20977098, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20977099, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20977100, '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 = 20977626 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': 2629446, 'mtr_portfolio_id': 20977626, 'created_at': datetime.datetime(2025, 3, 3, 14, 19, 4), 'result': '0.07522308413469062', 'result_long': None, 'result_double': None}] Qualite : 0.07522308413469062 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20977626 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20977626_03-03-2025_14_19_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20977626 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_P20977626_03-03-2025_14_19_04.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20977629, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20977630, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20977631, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20977632, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20977633, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20977634, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20977635, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20977636, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20977637, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20977638, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20977639, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20977640, 'pht': 3726}}" where mtr_portfolio_id = 20977626 and dashboard_run_id = 1644248 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`=20977626 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9186153, 0.07522308413469062, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20977626_03-03-2025_14_19_04.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20977629, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20977630, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20977631, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20977632, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20977633, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20977634, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20977635, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20977636, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20977637, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20977638, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20977639, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20977640, '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 = 20978006 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': 2629473, 'mtr_portfolio_id': 20978006, 'created_at': datetime.datetime(2025, 3, 3, 14, 33), 'result': '0.08037834486638563', 'result_long': None, 'result_double': None}] Qualite : 0.08037834486638563 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20978006 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20978006_03-03-2025_14_33_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20978006 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_P20978006_03-03-2025_14_33_01.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20978008, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20978009, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20978010, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20978011, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20978012, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20978013, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20978014, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20978015, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20978016, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20978017, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20978018, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20978019, 'pht': 3726}}" where mtr_portfolio_id = 20978006 and dashboard_run_id = 1644248 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`=20978006 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9186154, 0.08037834486638563, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20978006_03-03-2025_14_33_01.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20978008, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20978009, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20978010, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20978011, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20978012, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20978013, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20978014, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20978015, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20978016, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20978017, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20978018, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20978019, '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 = 20978650 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': 2629522, 'mtr_portfolio_id': 20978650, 'created_at': datetime.datetime(2025, 3, 3, 14, 47, 1), 'result': '0.09551209943738781', 'result_long': None, 'result_double': None}] Qualite : 0.09551209943738781 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20978650 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20978650_03-03-2025_14_47_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20978650 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_P20978650_03-03-2025_14_47_02.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20978653, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20978654, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20978655, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20978656, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20978657, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20978658, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20978659, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20978660, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20978661, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20978662, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20978663, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20978664, 'pht': 3726}}" where mtr_portfolio_id = 20978650 and dashboard_run_id = 1644248 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`=20978650 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9186155, 0.09551209943738781, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20978650_03-03-2025_14_47_02.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20978653, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20978654, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20978655, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20978656, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20978657, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20978658, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20978659, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20978660, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20978661, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20978662, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20978663, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20978664, '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 = 20979220 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': 2629560, 'mtr_portfolio_id': 20979220, 'created_at': datetime.datetime(2025, 3, 3, 15, 2, 59), 'result': '0.08360492160908141', 'result_long': None, 'result_double': None}] Qualite : 0.08360492160908141 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20979220 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20979220_03-03-2025_15_03_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20979220 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_P20979220_03-03-2025_15_03_00.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20979258, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20979259, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20979260, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20979261, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20979262, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20979263, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20979264, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20979265, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20979266, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20979267, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20979268, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20979269, 'pht': 3726}}" where mtr_portfolio_id = 20979220 and dashboard_run_id = 1644248 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`=20979220 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9186156, 0.08360492160908141, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20979220_03-03-2025_15_03_00.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20979258, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20979259, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20979260, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20979261, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20979262, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20979263, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20979264, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20979265, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20979266, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20979267, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20979268, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20979269, '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 = 20979676 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': 2629616, 'mtr_portfolio_id': 20979676, 'created_at': datetime.datetime(2025, 3, 3, 15, 18, 58), 'result': '0.08385893980639138', 'result_long': None, 'result_double': None}] Qualite : 0.08385893980639138 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20979676 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20979676_03-03-2025_15_18_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20979676 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_P20979676_03-03-2025_15_18_58.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20979703, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20979704, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20979705, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20979706, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20979707, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20979708, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20979709, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20979710, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20979711, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20979712, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20979713, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20979714, 'pht': 3726}}" where mtr_portfolio_id = 20979676 and dashboard_run_id = 1644248 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`=20979676 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9186157, 0.08385893980639138, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20979676_03-03-2025_15_18_58.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20979703, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20979704, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20979705, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20979706, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20979707, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20979708, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20979709, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20979710, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20979711, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20979712, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20979713, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20979714, '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 = 20980311 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': 2629661, 'mtr_portfolio_id': 20980311, 'created_at': datetime.datetime(2025, 3, 3, 15, 35, 1), 'result': '0.07414809706872667', 'result_long': None, 'result_double': None}] Qualite : 0.07414809706872667 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20980311 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20980311_03-03-2025_15_35_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20980311 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_P20980311_03-03-2025_15_35_01.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20980375, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20980376, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20980377, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20980378, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20980379, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20980380, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20980381, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20980382, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20980383, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20980384, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20980385, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20980386, 'pht': 3726}}" where mtr_portfolio_id = 20980311 and dashboard_run_id = 1644248 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`=20980311 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9186158, 0.07414809706872667, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20980311_03-03-2025_15_35_01.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20980375, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20980376, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20980377, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20980378, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20980379, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20980380, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20980381, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20980382, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20980383, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20980384, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20980385, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20980386, '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 = 20980858 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': 2629706, 'mtr_portfolio_id': 20980858, 'created_at': datetime.datetime(2025, 3, 3, 15, 48, 58), 'result': '0.0915386185828911', 'result_long': None, 'result_double': None}] Qualite : 0.0915386185828911 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20980858 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20980858_03-03-2025_15_48_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20980858 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_P20980858_03-03-2025_15_48_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20980861, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20980862, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20980863, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20980864, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20980865, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20980866, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20980867, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20980868, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20980869, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20980870, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20980871, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20980872, 'pht': 3726}}" where mtr_portfolio_id = 20980858 and dashboard_run_id = 1644248 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`=20980858 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9186159, 0.0915386185828911, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20980858_03-03-2025_15_48_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20980861, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20980862, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20980863, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20980864, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20980865, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20980866, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20980867, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20980868, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20980869, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20980870, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20980871, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20980872, '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 = 20981321 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': 2629742, 'mtr_portfolio_id': 20981321, 'created_at': datetime.datetime(2025, 3, 3, 16, 2, 58), 'result': '0.08870205105641564', 'result_long': None, 'result_double': None}] Qualite : 0.08870205105641564 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20981321 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20981321_03-03-2025_16_02_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20981321 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_P20981321_03-03-2025_16_02_59.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20981351, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20981352, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20981353, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20981354, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20981355, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20981356, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20981357, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20981358, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20981359, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20981360, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20981361, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20981362, 'pht': 3726}}" where mtr_portfolio_id = 20981321 and dashboard_run_id = 1644248 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`=20981321 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9186160, 0.08870205105641564, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20981321_03-03-2025_16_02_59.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20981351, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20981352, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20981353, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20981354, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20981355, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20981356, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20981357, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20981358, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20981359, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20981360, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20981361, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20981362, '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 = 20981988 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': 2629801, 'mtr_portfolio_id': 20981988, 'created_at': datetime.datetime(2025, 3, 3, 16, 19), 'result': '0.09634269055842802', 'result_long': None, 'result_double': None}] Qualite : 0.09634269055842802 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20981988 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20981988_03-03-2025_16_19_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20981988 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_P20981988_03-03-2025_16_19_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20981991, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20981992, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20981993, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20981994, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20981995, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20981996, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20981997, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20981998, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20981999, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20982000, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20982001, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20982002, 'pht': 3726}}" where mtr_portfolio_id = 20981988 and dashboard_run_id = 1644248 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`=20981988 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9186161, 0.09634269055842802, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20981988_03-03-2025_16_19_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20981991, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20981992, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20981993, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20981994, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20981995, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20981996, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20981997, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20981998, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20981999, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20982000, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20982001, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20982002, '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 = 20982201 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': 2629822, 'mtr_portfolio_id': 20982201, 'created_at': datetime.datetime(2025, 3, 3, 16, 32, 58), 'result': '0.07702628148387156', 'result_long': None, 'result_double': None}] Qualite : 0.07702628148387156 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20982201 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20982201_03-03-2025_16_32_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20982201 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_P20982201_03-03-2025_16_32_58.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20982251, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20982252, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20982253, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20982254, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20982255, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20982256, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20982257, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20982258, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20982259, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20982260, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20982261, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20982262, 'pht': 3726}}" where mtr_portfolio_id = 20982201 and dashboard_run_id = 1644248 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`=20982201 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9186162, 0.07702628148387156, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20982201_03-03-2025_16_32_58.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20982251, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20982252, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20982253, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20982254, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20982255, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20982256, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20982257, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20982258, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20982259, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20982260, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20982261, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20982262, '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 = 20983052 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': 2629864, 'mtr_portfolio_id': 20983052, 'created_at': datetime.datetime(2025, 3, 3, 16, 48, 28), 'result': '0.08338843090317972', 'result_long': None, 'result_double': None}] Qualite : 0.08338843090317972 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20983052 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20983052_03-03-2025_16_48_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20983052 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_P20983052_03-03-2025_16_48_29.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20983103, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20983104, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20983105, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20983106, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20983107, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20983108, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20983109, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20983110, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20983111, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20983112, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20983113, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20983114, 'pht': 3726}}" where mtr_portfolio_id = 20983052 and dashboard_run_id = 1644248 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`=20983052 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9186163, 0.08338843090317972, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20983052_03-03-2025_16_48_29.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20983103, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20983104, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20983105, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20983106, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20983107, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20983108, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20983109, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20983110, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20983111, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20983112, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20983113, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20983114, '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 = 20983803 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': 2629902, 'mtr_portfolio_id': 20983803, 'created_at': datetime.datetime(2025, 3, 3, 17, 3), 'result': '0.07000998584327799', 'result_long': None, 'result_double': None}] Qualite : 0.07000998584327799 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20983803 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20983803_03-03-2025_17_03_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20983803 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_P20983803_03-03-2025_17_03_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20983806, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20983807, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20983808, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20983809, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20983810, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20983811, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20983812, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20983813, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20983814, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20983815, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20983816, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20983817, 'pht': 3726}}" where mtr_portfolio_id = 20983803 and dashboard_run_id = 1644248 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`=20983803 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9186164, 0.07000998584327799, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20983803_03-03-2025_17_03_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20983806, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20983807, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20983808, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20983809, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20983810, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20983811, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20983812, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20983813, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20983814, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20983815, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20983816, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20983817, '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 = 20984411 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': 2629962, 'mtr_portfolio_id': 20984411, 'created_at': datetime.datetime(2025, 3, 3, 17, 18, 58), 'result': '0.08428888685402029', 'result_long': None, 'result_double': None}] Qualite : 0.08428888685402029 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20984411 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20984411_03-03-2025_17_18_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20984411 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_P20984411_03-03-2025_17_18_58.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20984414, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20984415, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20984416, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20984417, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20984418, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20984419, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20984420, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20984421, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20984422, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20984423, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20984424, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20984425, 'pht': 3726}}" where mtr_portfolio_id = 20984411 and dashboard_run_id = 1644248 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`=20984411 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9186165, 0.08428888685402029, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20984411_03-03-2025_17_18_58.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20984414, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20984415, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20984416, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20984417, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20984418, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20984419, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20984420, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20984421, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20984422, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20984423, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20984424, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20984425, '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 = 20984700 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': 2629989, 'mtr_portfolio_id': 20984700, 'created_at': datetime.datetime(2025, 3, 3, 18, 3), 'result': '0.07436729197493754', 'result_long': None, 'result_double': None}] Qualite : 0.07436729197493754 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20984700 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20984700_03-03-2025_18_03_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20984700 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_P20984700_03-03-2025_18_03_01.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20984779, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20984780, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20984781, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20984782, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20984783, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20984784, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20984785, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20984786, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20984787, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20984788, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20984789, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20984790, 'pht': 3726}}" where mtr_portfolio_id = 20984700 and dashboard_run_id = 1644248 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`=20984700 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9186166, 0.07436729197493754, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20984700_03-03-2025_18_03_01.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20984779, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20984780, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20984781, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20984782, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20984783, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20984784, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20984785, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20984786, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20984787, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20984788, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20984789, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20984790, '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 = 20986044 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': 2630102, 'mtr_portfolio_id': 20986044, 'created_at': datetime.datetime(2025, 3, 3, 18, 18, 58), 'result': '0.11375549327867752', 'result_long': None, 'result_double': None}] Qualite : 0.11375549327867752 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20986044 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20986044_03-03-2025_18_18_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20986044 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_P20986044_03-03-2025_18_18_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20986047, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20986048, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20986049, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20986050, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20986051, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20986052, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20986053, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20986054, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20986055, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20986056, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20986057, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20986058, 'pht': 3726}}" where mtr_portfolio_id = 20986044 and dashboard_run_id = 1644248 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`=20986044 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9186167, 0.11375549327867752, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20986044_03-03-2025_18_18_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20986047, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20986048, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20986049, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20986050, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20986051, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20986052, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20986053, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20986054, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20986055, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20986056, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20986057, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20986058, '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 = 20986474 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': 2630133, 'mtr_portfolio_id': 20986474, 'created_at': datetime.datetime(2025, 3, 3, 18, 32, 57), 'result': '0.10235095238348706', 'result_long': None, 'result_double': None}] Qualite : 0.10235095238348706 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20986474 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20986474_03-03-2025_18_32_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20986474 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_P20986474_03-03-2025_18_32_58.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20986476, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20986477, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20986478, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20986479, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20986480, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20986481, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20986482, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20986483, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20986484, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20986485, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20986486, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20986487, 'pht': 3726}}" where mtr_portfolio_id = 20986474 and dashboard_run_id = 1644248 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`=20986474 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9186168, 0.10235095238348706, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20986474_03-03-2025_18_32_58.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20986476, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20986477, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20986478, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20986479, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20986480, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20986481, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20986482, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20986483, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20986484, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20986485, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20986486, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20986487, '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 = 20987003 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': 2630175, 'mtr_portfolio_id': 20987003, 'created_at': datetime.datetime(2025, 3, 3, 18, 48, 57), 'result': '0.06581388734402092', 'result_long': None, 'result_double': None}] Qualite : 0.06581388734402092 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20987003 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20987003_03-03-2025_18_48_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20987003 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_P20987003_03-03-2025_18_48_58.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20987006, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20987007, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20987008, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20987009, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20987010, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20987011, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20987012, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20987013, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20987014, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20987015, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20987016, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20987017, 'pht': 3726}}" where mtr_portfolio_id = 20987003 and dashboard_run_id = 1644248 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`=20987003 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9186169, 0.06581388734402092, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20987003_03-03-2025_18_48_58.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20987006, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20987007, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20987008, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20987009, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20987010, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20987011, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20987012, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20987013, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20987014, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20987015, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20987016, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20987017, '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 = 20987472 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': 2630206, 'mtr_portfolio_id': 20987472, 'created_at': datetime.datetime(2025, 3, 3, 19, 3), 'result': '0.09470820648957376', 'result_long': None, 'result_double': None}] Qualite : 0.09470820648957376 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20987472 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20987472_03-03-2025_19_03_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20987472 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_P20987472_03-03-2025_19_03_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20987516, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20987517, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20987518, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20987519, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20987520, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20987521, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20987522, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20987523, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20987524, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20987525, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20987526, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20987527, 'pht': 3726}}" where mtr_portfolio_id = 20987472 and dashboard_run_id = 1644248 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`=20987472 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9186170, 0.09470820648957376, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20987472_03-03-2025_19_03_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20987516, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20987517, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20987518, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20987519, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20987520, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20987521, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20987522, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20987523, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20987524, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20987525, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20987526, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20987527, '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 = 20988119 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': 2630257, 'mtr_portfolio_id': 20988119, 'created_at': datetime.datetime(2025, 3, 3, 19, 18, 58), 'result': '0.07103409973223107', 'result_long': None, 'result_double': None}] Qualite : 0.07103409973223107 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20988119 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20988119_03-03-2025_19_18_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20988119 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_P20988119_03-03-2025_19_18_59.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20988182, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20988183, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20988184, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20988185, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20988186, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20988187, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20988188, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20988189, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20988190, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20988191, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20988192, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20988193, 'pht': 3726}}" where mtr_portfolio_id = 20988119 and dashboard_run_id = 1644248 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`=20988119 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9186171, 0.07103409973223107, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20988119_03-03-2025_19_18_59.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20988182, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20988183, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20988184, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20988185, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20988186, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20988187, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20988188, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20988189, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20988190, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20988191, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20988192, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20988193, '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 = 20988613 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': 2630288, 'mtr_portfolio_id': 20988613, 'created_at': datetime.datetime(2025, 3, 3, 19, 33), 'result': '0.07971415676808818', 'result_long': None, 'result_double': None}] Qualite : 0.07971415676808818 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20988613 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20988613_03-03-2025_19_33_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20988613 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_P20988613_03-03-2025_19_33_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20988616, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20988617, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20988618, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20988619, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20988620, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20988621, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20988622, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20988623, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20988624, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20988625, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20988626, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20988627, 'pht': 3726}}" where mtr_portfolio_id = 20988613 and dashboard_run_id = 1644248 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`=20988613 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9186172, 0.07971415676808818, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20988613_03-03-2025_19_33_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20988616, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20988617, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20988618, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20988619, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20988620, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20988621, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20988622, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20988623, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20988624, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20988625, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20988626, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20988627, '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 = 20989064 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': 2630331, 'mtr_portfolio_id': 20989064, 'created_at': datetime.datetime(2025, 3, 3, 19, 48, 57), 'result': '0.08738803319697101', 'result_long': None, 'result_double': None}] Qualite : 0.08738803319697101 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20989064 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20989064_03-03-2025_19_48_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20989064 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_P20989064_03-03-2025_19_48_57.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20989067, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20989068, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20989069, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20989070, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20989071, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20989072, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20989073, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20989074, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20989075, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20989076, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20989077, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20989078, 'pht': 3726}}" where mtr_portfolio_id = 20989064 and dashboard_run_id = 1644248 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`=20989064 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9186173, 0.08738803319697101, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20989064_03-03-2025_19_48_57.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20989067, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20989068, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20989069, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20989070, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20989071, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20989072, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20989073, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20989074, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20989075, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20989076, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20989077, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20989078, '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 = 20989548 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': 2630367, 'mtr_portfolio_id': 20989548, 'created_at': datetime.datetime(2025, 3, 3, 20, 2, 59), 'result': '0.09049298749239297', 'result_long': None, 'result_double': None}] Qualite : 0.09049298749239297 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20989548 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20989548_03-03-2025_20_03_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20989548 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_P20989548_03-03-2025_20_03_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20989578, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20989579, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20989580, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20989581, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20989582, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20989583, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20989584, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20989585, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20989586, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20989587, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20989588, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20989589, 'pht': 3726}}" where mtr_portfolio_id = 20989548 and dashboard_run_id = 1644248 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`=20989548 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9186174, 0.09049298749239297, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20989548_03-03-2025_20_03_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20989578, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20989579, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20989580, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20989581, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20989582, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20989583, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20989584, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20989585, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20989586, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20989587, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20989588, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20989589, '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 = 20990317 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': 2630415, 'mtr_portfolio_id': 20990317, 'created_at': datetime.datetime(2025, 3, 3, 20, 18, 58), 'result': '0.07164252609311128', 'result_long': None, 'result_double': None}] Qualite : 0.07164252609311128 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20990317 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20990317_03-03-2025_20_18_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20990317 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_P20990317_03-03-2025_20_18_58.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20990343, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20990344, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20990345, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20990346, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20990347, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20990348, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20990349, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20990350, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20990351, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20990352, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20990353, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20990354, 'pht': 3726}}" where mtr_portfolio_id = 20990317 and dashboard_run_id = 1644248 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`=20990317 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9186175, 0.07164252609311128, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20990317_03-03-2025_20_18_58.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20990343, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20990344, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20990345, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20990346, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20990347, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20990348, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20990349, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20990350, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20990351, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20990352, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20990353, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20990354, '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 = 20990909 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': 2630450, 'mtr_portfolio_id': 20990909, 'created_at': datetime.datetime(2025, 3, 3, 20, 32, 30), 'result': '0.07162443114301377', 'result_long': None, 'result_double': None}] Qualite : 0.07162443114301377 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20990909 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20990909_03-03-2025_20_32_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20990909 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_P20990909_03-03-2025_20_32_30.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20990941, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20990942, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20990943, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20990944, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20990945, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20990946, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20990947, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20990948, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20990949, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20990950, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20990951, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20990952, 'pht': 3726}}" where mtr_portfolio_id = 20990909 and dashboard_run_id = 1644248 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`=20990909 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9186176, 0.07162443114301377, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20990909_03-03-2025_20_32_30.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20990941, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20990942, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20990943, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20990944, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20990945, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20990946, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20990947, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20990948, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20990949, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20990950, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20990951, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20990952, '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 = 20991546 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': 2630495, 'mtr_portfolio_id': 20991546, 'created_at': datetime.datetime(2025, 3, 3, 21, 6, 29), 'result': '0.07562956002035343', 'result_long': None, 'result_double': None}] Qualite : 0.07562956002035343 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20991546 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20991546_03-03-2025_21_06_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20991546 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_P20991546_03-03-2025_21_06_30.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20991576, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20991577, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20991578, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20991579, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20991580, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20991581, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20991582, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20991583, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20991584, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20991585, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20991586, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20991587, 'pht': 3726}}" where mtr_portfolio_id = 20991546 and dashboard_run_id = 1644248 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`=20991546 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9186177, 0.07562956002035343, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20991546_03-03-2025_21_06_30.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20991576, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20991577, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20991578, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20991579, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20991580, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20991581, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20991582, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20991583, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20991584, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20991585, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20991586, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20991587, '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 = 20992705 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': 2630588, 'mtr_portfolio_id': 20992705, 'created_at': datetime.datetime(2025, 3, 3, 21, 19, 1), 'result': '0.05266484115808631', 'result_long': None, 'result_double': None}] Qualite : 0.05266484115808631 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20992705 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20992705_03-03-2025_21_19_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20992705 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_P20992705_03-03-2025_21_19_01.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20992749, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20992750, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20992751, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20992752, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20992753, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20992754, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20992755, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20992756, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20992757, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20992758, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20992759, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20992760, 'pht': 3726}}" where mtr_portfolio_id = 20992705 and dashboard_run_id = 1644248 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`=20992705 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9186178, 0.05266484115808631, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20992705_03-03-2025_21_19_01.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20992749, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20992750, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20992751, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20992752, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20992753, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20992754, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20992755, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20992756, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20992757, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20992758, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20992759, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20992760, '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 = 20994599 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': 2630828, 'mtr_portfolio_id': 20994599, 'created_at': datetime.datetime(2025, 3, 3, 23, 32, 59), 'result': '0.19586530500412477', 'result_long': None, 'result_double': None}] Qualite : 0.19586530500412477 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20994599 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20994599_03-03-2025_23_32_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20994599 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_P20994599_03-03-2025_23_32_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20994600, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20994601, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20994602, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20994603, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20994604, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20994605, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20994606, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20994607, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20994608, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20994609, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20994610, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20994611, 'pht': 3726}}" where mtr_portfolio_id = 20994599 and dashboard_run_id = 1644248 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`=20994599 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9186179, 0.19586530500412477, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20994599_03-03-2025_23_32_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20994600, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20994601, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20994602, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20994603, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20994604, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20994605, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20994606, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20994607, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20994608, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20994609, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20994610, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20994611, '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 (20960307,20960513,20960900,20961064,20961514,20961943,20962435,20962794,20963307,20963628,20964476,20965022,20965512,20966655,20966718,20967368,20967705,20968187,20968779,20969496,20970176,20970772,20971287,20971841,20972467,20973314,20974054,20974829,20976058,20976515,20976807,20977087,20977626,20978006,20978650,20979220,20979676,20980311,20980858,20981321,20981988,20982201,20983052,20983803,20984411,20984700,20986044,20986474,20987003,20987472,20988119,20988613,20989064,20989548,20990317,20990909,20991546,20992705,20994599) result : ((1340578858,), (1340578861,), (1340578880,), (1340578882,), (1340578885,), (1340578888,), (1340578892,), (1340578895,), (1340578907,), (1340578909,), (1340578911,), (1340578930,), (1340578932,), (1340578957,), (1340578961,), (1340578967,), (1340578983,), (1340579766,), (1340579748,), (1340579750,), (1340579901,), (1340579902,), (1340579904,), (1340579905,), (1340579924,), (1340579926,), (1340579947,), (1340579949,), (1340579956,), (1340579964,), (1340579992,), (1340579994,), (1340579996,), (1340579997,), (1340580016,), (1340580018,), (1340580020,), (1340580021,), (1340580034,), (1340580039,), (1340580053,), (1340580056,), (1340580057,), (1340580058,), (1340580077,), (1340580079,), (1340580082,), (1340580120,), (1340580123,), (1340580126,), (1340580127,), (1340580130,), (1340580133,), (1340580149,), (1340580153,), (1340580154,), (1340580158,), (1340580192,), (1340580194,), (1340580196,), (1340580197,), (1340580201,), (1340580205,), (1340580218,), (1340580221,), (1340580227,), (1340580230,), (1340580254,), (1340580263,), (1340580268,), (1340580269,), (1340580273,), (1340580277,), (1340580763,), (1340580832,), (1340580906,), (1340580981,), (1340581021,), (1340581066,), (1340581068,), (1340581070,), (1340581071,), (1340581075,), (1340581079,), (1340581101,), (1340581092,), (1340581095,), (1340581380,), (1340581381,), (1340581386,), (1340581403,), (1340581404,), (1340581405,), (1340581406,), (1340581410,), (1340581416,), (1340581429,), (1340581430,), (1340581432,), (1340581433,), (1340581438,), (1340581456,), (1340581457,), (1340581459,), (1340581460,), (1340581465,), (1340581636,), (1340581625,), (1340581626,), (1340581627,), (1340581628,), (1340581633,), (1340581652,), (1340581658,), (1340581664,), (1340581693,), (1340581694,), (1340581716,), (1340581717,), (1340581724,), (1340581729,), (1340581734,), (1340581751,), (1340581752,), (1340581753,), (1340581754,), (1340581777,), (1340581778,), (1340581779,), (1340581780,), (1340581791,), (1340581797,), (1340581819,), (1340581830,), (1340581836,), (1340581838,), (1340581856,), (1340581858,), (1340581860,), (1340581862,), (1340581866,), (1340581877,), (1340581904,), (1340581906,), (1340581908,), (1340581909,), (1340581913,), (1340581932,), (1340581934,), (1340581937,), (1340581938,), (1340581942,), (1340581976,), (1340581987,), (1340581993,), (1340581994,), (1340581998,), (1340582002,), (1340582019,), (1340582021,), (1340582024,), (1340582025,), (1340582066,), (1340582070,), (1340582073,), (1340582074,), (1340582077,), (1340582079,), (1340582126,), (1340582137,), (1340582142,), (1340582147,), (1340582149,), (1340582152,), (1340582154,), (1340582155,), (1340582157,), (1340582184,), (1340582168,), (1340582172,), (1340582175,), (1340582180,), (1340582486,), (1340582511,), (1340582514,), (1340582547,), (1340582567,), (1340582571,), (1340582572,), (1340582574,), (1340582580,), (1340582586,), (1340582609,), (1340582622,), (1340582627,), (1340582629,), (1340582635,), (1340582658,), (1340582659,), (1340582661,), (1340582663,), (1340582713,), (1340582714,), (1340582717,), (1340582719,), (1340582724,), (1340582741,), (1340582744,), (1340582745,), (1340582750,), (1340582781,), (1340582794,), (1340582801,), (1340582805,), (1340582809,), (1340582813,), (1340582828,), (1340582831,), (1340582834,), (1340582839,), (1340582853,), (1340582883,), (1340582885,), (1340582887,), (1340582890,), (1340582894,), (1340582912,), (1340582914,), (1340582915,), (1340582917,), (1340582923,), (1340582954,), (1340582956,), (1340582958,), (1340582962,), (1340583004,), (1340583005,), (1340583007,), (1340583009,), (1340583014,), (1340583021,), (1340583049,), (1340583053,), (1340583055,), (1340583057,), (1340583062,), (1340583080,), (1340583081,), (1340583084,), (1340583087,), (1340583093,), (1340583097,), (1340583139,), (1340583133,), (1340583135,), (1340583138,), (1340583163,), (1340583164,), (1340583167,), (1340583169,), (1340583174,), (1340583635,), (1340583697,), (1340583699,), (1340583830,), (1340583832,), (1340583834,), (1340583836,), (1340583844,), (1340583884,), (1340583893,), (1340583894,), (1340583920,), (1340583923,), (1340583925,), (1340583930,), (1340583936,), (1340583940,), (1340583969,), (1340583972,), (1340583974,), (1340583976,), (1340583999,), (1340584000,), (1340584002,), (1340584004,), (1340584010,), (1340584016,), (1340584036,), (1340584047,), (1340584055,), (1340584057,), (1340584082,), (1340584084,), (1340584085,), (1340584087,), (1340584093,), (1340584135,), (1340584136,), (1340584139,), (1340584143,), (1340584165,), (1340584167,), (1340584168,), (1340584173,), (1340584179,), (1340584207,), (1340584208,), (1340584210,), (1340584212,), (1340584218,), (1340584224,), (1340584254,), (1340584256,), (1340584259,), (1340584261,), (1340584265,), (1340584315,), (1340584319,), (1340584325,), (1340584329,), (1340584333,), (1340584376,), (1340584348,), (1340584352,), (1340584358,), (1340584360,), (1340584365,), (1340584415,), (1340584419,), (1340584423,), (1340584437,), (1340584448,), (1340584484,), (1340584488,), (1340584504,), (1340584511,), (1340584580,), (1340584582,), (1340584587,), (1340584591,), (1340584595,), (1340584612,), (1340584615,), (1340584620,), (1340584623,), (1340584627,), (1340584660,), (1340584662,), (1340584666,), (1340584669,), (1340584695,), (1340584697,), (1340584700,), (1340584702,), (1340584707,), (1340584712,), (1340584746,), (1340584748,), (1340584751,), (1340584753,), (1340584758,), (1340584777,), (1340584781,), (1340584782,), (1340584784,), (1340584789,), (1340584793,), (1340584826,), (1340584833,), (1340584837,), (1340584839,), (1340584859,), (1340584912,), (1340584915,), (1340584918,), (1340584920,), (1340584925,), (1340584945,), (1340584948,), (1340584951,), (1340584953,), (1340584958,), (1340584963,), (1340584985,), (1340584987,), (1340584989,), (1340584991,), (1340584997,), (1340585019,), (1340585021,), (1340585025,), (1340585027,), (1340585081,), (1340585069,), (1340585071,), (1340585073,), (1340585075,), (1340585103,), (1340585106,), (1340585116,), (1340585118,), (1340585123,), (1340585176,), (1340585178,), (1340585181,), (1340585183,), (1340585188,), (1340585232,), (1340585257,), (1340585269,), (1340585274,), (1340585278,), (1340585325,), (1340585327,), (1340585330,), (1340585338,), (1340585347,), (1340585366,), (1340585368,), (1340585371,), (1340585373,), (1340585378,), (1340585413,), (1340585424,), (1340585429,), (1340585431,), (1340585436,), (1340585450,), (1340585455,), (1340585459,), (1340585465,), (1340585470,), (1340585500,), (1340585504,), (1340585506,), (1340585510,), (1340585513,), (1340585517,), (1340585533,), (1340585537,), (1340585538,), (1340585540,), (1340585545,), (1340585584,), (1340585590,), (1340585592,), (1340585594,), (1340585599,), (1340585619,), (1340585621,), (1340585624,), (1340585626,), (1340585630,), (1340585633,), (1340585689,), (1340585691,), (1340585694,), (1340585696,), (1340585753,), (1340585760,), (1340585773,), (1340585780,), (1340585783,), (1340585787,), (1340585789,), (1340585792,), (1340585796,), (1340585800,), (1340585830,), (1340585817,), (1340585821,), (1340585824,), (1340585857,), (1340585860,), (1340585865,), (1340585868,), (1340585873,), (1340585878,), (1340585897,), (1340586041,), (1340586196,), (1340586413,), (1340586422,), (1340586442,), (1340586452,), (1340586458,), (1340586463,), (1340586492,), (1340586494,), (1340586497,), (1340586499,), (1340586554,), (1340586556,), (1340586560,), (1340586563,), (1340586569,), (1340586588,), (1340586636,), (1340586640,), (1340586657,), (1340586717,), (1340586723,), (1340586729,), (1340586732,), (1340586737,), (1340586743,), (1340586769,), (1340586773,), (1340586777,), (1340586792,), (1340586799,), (1340586822,), (1340586828,), (1340586834,), (1340586839,), (1340586845,), (1340586855,), (1340586889,), (1340586892,), (1340586899,), (1340586911,), (1340586917,), (1340586922,), (1340586929,), (1340586934,), (1340586943,), (1340587045,), (1340587049,), (1340587057,), (1340587060,), (1340587061,), (1340587065,), (1340587069,), (1340587076,), (1340587159,), (1340587177,), (1340587182,), (1340587188,), (1340587194,), (1340587198,), (1340587203,), (1340587258,), (1340587286,), (1340586878,), (1340586881,), (1340586885,), (1340586957,), (1340586960,), (1340586964,), (1340586967,), (1340586969,), (1340586974,), (1340586988,), (1340586998,), (1340587010,), (1340587029,), (1340587129,), (1340587143,), (1340587147,), (1340587151,), (1340587153,), (1340587234,), (1340587242,), (1340587247,), (1340587252,), (1340587255,), (1340587305,), (1340587317,), (1340587323,), (1340587328,), (1340587332,), (1340587575,), (1340587686,), (1340587697,), (1340587702,), (1340587706,), (1340587769,), (1340587772,), (1340587776,), (1340587778,), (1340587783,), (1340587788,), (1340587838,), (1340587843,), (1340587847,), (1340587849,), (1340587901,), (1340587906,), (1340587910,), (1340587914,), (1340587919,), (1340587924,), (1340587986,), (1340587988,), (1340587993,), (1340587996,), (1340588051,), (1340588053,), (1340588058,), (1340588061,), (1340588066,), (1340588071,), (1340588110,), (1340588123,), (1340588129,), (1340588131,), (1340588136,), (1340588172,), (1340588175,), (1340588182,), (1340588185,), (1340588193,), (1340588249,), (1340588251,), (1340588259,), (1340588263,), (1340588269,), (1340588274,), (1340588321,), (1340588298,), (1340588300,), (1340588305,), (1340588308,), (1340588380,), (1340588383,), (1340588386,), (1340588388,), (1340588394,), (1340588443,), (1340588453,), (1340588457,), (1340588460,), (1340588532,), (1340588548,), (1340588560,), (1340588564,), (1340588571,), (1340588579,), (1340588629,), (1340588635,), (1340588640,), (1340588643,), (1340588708,), (1340588712,), (1340588719,), (1340588726,), (1340588741,), (1340588749,), (1340588794,), (1340588801,), (1340588812,), (1340588821,), (1340588900,), (1340588904,), (1340588909,), (1340588913,), (1340588920,), (1340588925,), (1340588956,), (1340588960,), (1340588966,), (1340588971,), (1340588977,), (1340589027,), (1340589036,), (1340589052,), (1340589059,), (1340589066,), (1340589071,), (1340589104,), (1340589108,), (1340589115,), (1340589118,), (1340589163,), (1340589170,), (1340589177,), (1340589183,), (1340589199,), (1340589209,), (1340589244,), (1340589250,), (1340589257,), (1340589261,), (1340589301,), (1340589305,), (1340589311,), (1340589323,), (1340589337,), (1340589345,), (1340589379,), (1340589384,), (1340589390,), (1340589394,), (1340589492,), (1340589436,), (1340589443,), (1340589458,), (1340589478,), (1340589483,), (1340589533,), (1340589540,), (1340589545,), (1340589552,), (1340589556,), (1340589614,), (1340589618,), (1340589625,), (1340589672,), (1340589675,), (1340589679,), (1340589682,), (1340589701,), (1340589765,), (1340589779,), (1340589783,), (1340589786,), (1340589846,), (1340589850,), (1340589855,), (1340589858,), (1340589862,), (1340589922,), (1340589927,), (1340589931,), (1340589936,), (1340589942,), (1340589985,), (1340589991,), (1340590052,), (1340590061,), (1340590067,), (1340590073,), (1340590117,), (1340590121,), (1340590125,), (1340590130,), (1340590137,), (1340590142,), (1340590183,), (1340590185,), (1340590190,), (1340590194,), (1340590234,), (1340590236,), (1340590239,), (1340590242,), (1340590248,), (1340590255,), (1340590297,), (1340590300,), (1340590304,), (1340590308,), (1340590769,), (1340590857,), (1340590862,), (1340590867,), (1340590897,), (1340591142,), (1340591147,), (1340591154,), (1340591178,), (1340591187,), (1340591189,), (1340591129,), (1340591135,), (1340591140,), (1340591217,), (1340591222,), (1340591228,), (1340591233,), (1340591237,), (1340591240,), (1340591291,), (1340591297,), (1340591303,), (1340591307,), (1340591398,), (1340591402,), (1340591407,), (1340591411,), (1340591423,), (1340591496,), (1340591500,), (1340591505,), (1340591508,), (1340591548,), (1340591551,), (1340591558,), (1340591561,), (1340591576,), (1340591582,), (1340591762,), (1340591842,), (1340591950,), (1340591972,), (1340591978,), (1340592017,), (1340592028,), (1340592043,), (1340592061,), (1340592067,), (1340592072,), (1340592094,), (1340592097,), (1340592102,), (1340592105,), (1340592170,), (1340592179,), (1340592187,), (1340592190,), (1340592194,), (1340592226,), (1340592229,), (1340592234,), (1340592238,), (1340592242,), (1340592310,), (1340592377,), (1340592380,), (1340592453,), (1340592495,), (1340592740,), (1340596464,), (1340596466,), (1340596472,), (1340596475,), (1340596540,), (1340596545,), (1340596555,), (1340596613,), (1340596616,), (1340596619,), (1340596623,), (1340596630,), (1340596635,), (1340596665,), (1340596669,), (1340596674,), (1340596679,), (1340596684,), (1340596689,), (1340596732,), (1340596735,), (1340596781,), (1340596839,), (1340596846,), (1340596853,), (1340596860,), (1340596866,), (1340596870,), (1340596921,), (1340596898,), (1340596903,), (1340596910,), (1340596916,), (1340596952,), (1340596956,), (1340596961,), (1340596966,), (1340596973,), (1340597301,), (1340597305,), (1340597311,), (1340597361,), (1340597374,), (1340597378,), (1340597546,), (1340597550,), (1340597557,), (1340597562,), (1340597570,), (1340597577,), (1340597632,), (1340597637,), (1340597642,), (1340597647,), (1340597685,), (1340597690,), (1340597694,), (1340597704,), (1340598027,), (1340598031,), (1340598036,), (1340598053,), (1340598060,), (1340598066,), (1340598111,), (1340598116,), (1340598122,), (1340598127,), (1340598133,), (1340598142,), (1340598182,), (1340598186,), (1340598192,), (1340598205,), (1340598213,), (1340598263,), (1340598272,), (1340598328,), (1340598336,), (1340598343,), (1340598345,), (1340598359,), (1340598364,), (1340598388,), (1340598394,), (1340598400,), (1340598576,), (1340598580,), (1340598584,), (1340598591,), (1340598613,), (1340598623,), (1340598662,), (1340598667,), (1340598671,), (1340598677,), (1340598684,), (1340598688,), (1340598746,), (1340598750,), (1340598778,), (1340598887,), (1340598861,), (1340598865,), (1340598871,), (1340598874,), (1340598881,), (1340599001,), (1340599005,), (1340599012,), (1340599014,), (1340599020,), (1340599059,), (1340599063,), (1340599070,), (1340599080,), (1340599121,), (1340599124,), (1340599132,), (1340599142,), (1340599158,), (1340599166,), (1340599366,), (1340599372,), (1340599380,), (1340599428,), (1340599431,), (1340599440,), (1340599446,), (1340599451,), (1340599456,), (1340599492,), (1340599497,), (1340599503,), (1340599510,), (1340599548,), (1340599709,), (1340600081,), (1340600084,), (1340600154,), (1340600135,), (1340600138,), (1340600142,), (1340600147,), (1340600339,), (1340600341,), (1340600346,), (1340600349,), (1340600423,), (1340600426,), (1340600432,), (1340600470,), (1340600476,), (1340600506,), (1340600508,), (1340600513,), (1340600518,), (1340600525,), (1340600529,), (1340600564,), (1340600567,), (1340600573,), (1340600578,), (1340600584,), (1340600588,), (1340600627,), (1340600636,), (1340600643,), (1340600743,), (1340600753,), (1340600757,), (1340600766,), (1340600774,), (1340600787,), (1340600857,), (1340600886,), (1340600888,), (1340600941,), (1340600946,), (1340600954,), (1340600957,), (1340600963,), (1340600996,), (1340600998,), (1340601003,), (1340601018,), (1340601023,), (1340601028,), (1340601064,), (1340601074,), (1340601080,), (1340601083,), (1340601120,), (1340601127,), (1340601133,), (1340601135,), (1340601140,), (1340601143,), (1340601302,), (1340601340,), (1340601345,), (1340601360,), (1340601368,), (1340601374,), (1340601442,), (1340601451,), (1340601459,), (1340601466,), (1340601484,), (1340601488,), (1340601492,), (1340601494,), (1340601500,), (1340601532,), (1340601521,), (1340601528,), (1340601580,), (1340601586,), (1340601592,), (1340601608,), (1340601617,), (1340601621,), (1340601666,), (1340601671,), (1340601677,), (1340601681,), (1340601769,), (1340601773,), (1340601780,), (1340601786,), (1340601791,), (1340601795,), (1340601817,), (1340601821,), (1340601870,), (1340602116,), (1340602485,), (1340602516,), (1340602525,), (1340602531,), (1340602546,), (1340602549,), (1340602708,), (1340602715,), (1340602718,), (1340602723,), (1340602729,), (1340602775,), (1340602786,), (1340602800,), (1340602808,), (1340602883,), (1340602891,), (1340602895,), (1340602899,), (1340602905,), (1340602910,), (1340602963,), (1340602969,), (1340602975,), (1340603029,), (1340603034,), (1340603152,), (1340603156,), (1340603189,), (1340603193,), (1340603199,), (1340603209,), (1340603248,), (1340603253,), (1340603258,), (1340603265,), (1340603292,), (1340603296,), (1340603304,), (1340603312,), (1340603317,), (1340603322,), (1340603368,), (1340603373,), (1340603379,), (1340603441,), (1340603445,), (1340603448,), (1340603450,), (1340603453,), (1340603455,), (1340603494,), (1340603474,), (1340603480,), (1340603484,), (1340603665,), (1340603672,), (1340603676,), (1340603680,), (1340603692,), (1340603699,), (1340603727,), (1340603733,), (1340603738,), (1340603741,), (1340603794,), (1340603800,), (1340603805,), (1340603834,), (1340603841,), (1340603847,), (1340603937,), (1340603942,), (1340603950,), (1340603954,), (1340603960,), (1340604097,), (1340604104,), (1340604111,), (1340604125,), (1340604308,), (1340604313,), (1340604321,), (1340604324,), (1340604329,), (1340604336,), (1340604716,), (1340604736,), (1340604751,), (1340604799,), (1340604861,), (1340604868,), (1340604872,), (1340604876,), (1340604882,), (1340604887,), (1340604926,), (1340604930,), (1340604942,), (1340604951,), (1340604958,), (1340605025,), (1340605034,), (1340605039,), (1340605044,), (1340605050,), (1340605056,), (1340605081,), (1340605088,), (1340605091,), (1340605100,), (1340605172,), (1340605177,), (1340605185,), (1340605189,), (1340605243,), (1340605310,), (1340605327,), (1340605333,), (1340605353,), (1340605362,), (1340605371,), (1340605548,), (1340605551,), (1340605576,), (1340605583,), (1340605670,), (1340605640,), (1340605643,), (1340605651,), (1340605659,), (1340605665,), (1340605692,), (1340605695,), (1340605701,), (1340605705,), (1340605742,), (1340605746,), (1340605749,), (1340605753,), (1340605763,), (1340605768,), (1340605800,), (1340605804,), (1340605814,), (1340605829,), (1340605838,), (1340605885,), (1340605890,), (1340605896,), (1340605901,), (1340605906,), (1340605911,), (1340605958,), (1340605963,), (1340605975,), (1340605980,), (1340606035,), (1340606045,), (1340606051,), (1340606055,), (1340606061,), (1340606065,), (1340606087,), (1340606102,), (1340606108,), (1340606115,), (1340606119,), (1340606157,), (1340606179,), (1340606193,), (1340606201,), (1340606226,), (1340606235,), (1340606245,), (1340606252,), (1340606258,), (1340606261,), (1340606284,), (1340606292,), (1340606295,), (1340606301,), (1340606349,), (1340606352,), (1340606357,), (1340606365,), (1340606372,), (1340606377,), (1340606401,), (1340606404,), (1340606409,), (1340606426,), (1340606437,), (1340606472,), (1340606477,), (1340606486,), (1340606487,), (1340606492,), (1340606537,), (1340606542,), (1340606546,), (1340606549,), (1340606555,), (1340606667,), (1340606642,), (1340606653,), (1340606657,), (1340606739,), (1340606783,), (1340606786,), (1340606791,), (1340606796,), (1340606801,), (1340606882,), (1340606888,), (1340606898,), (1340606900,), (1340606905,), (1340606958,), (1340606961,), (1340606968,), (1340606976,), (1340606981,), (1340606986,), (1340607030,), (1340607034,), (1340607038,), (1340607074,), (1340607077,), (1340607082,), (1340607086,), (1340607091,), (1340607097,), (1340607131,), (1340607140,), (1340607145,), (1340607148,), (1340607154,), (1340607217,), (1340607243,), (1340607249,), (1340607267,), (1340607273,), (1340607333,), (1340607394,), (1340607399,), (1340607401,), (1340607442,), (1340607445,), (1340607450,), (1340607588,), (1340607652,), (1340607656,), (1340607657,), (1340607663,), (1340607668,), (1340607672,), (1340607696,), (1340607699,), (1340607705,), (1340607730,), (1340607838,), (1340607872,), (1340607875,), (1340607878,), (1340607913,), (1340607919,), (1340607982,), (1340607989,), (1340608000,), (1340608009,), (1340608018,), (1340608066,), (1340608045,), (1340608052,), (1340608059,), (1340608214,), (1340608220,), (1340608247,), (1340608264,), (1340608276,), (1340608335,), (1340608340,), (1340608554,), (1340608846,), (1340609087,), (1340609136,), (1340609145,), (1340609148,), (1340609164,), (1340609181,), (1340609188,), (1340609501,), (1340609509,), (1340609519,), (1340609521,), (1340609525,), (1340609570,), (1340609574,), (1340609578,), (1340609590,), (1340609639,), (1340609645,), (1340609649,), (1340609654,), (1340609658,), (1340609664,), (1340609684,), (1340609688,), (1340609694,), (1340609697,), (1340609702,), (1340609753,), (1340609756,), (1340609761,), (1340609763,), (1340609768,), (1340609820,), (1340609822,), (1340609827,), (1340609829,), (1340609833,), (1340609911,), (1340609915,), (1340609917,), (1340609922,), (1340609926,), (1340609955,), (1340609958,), (1340609961,), (1340609972,), (1340609980,), (1340610014,), (1340610021,), (1340610029,), (1340610031,), (1340610044,), (1340610079,), (1340610083,), (1340610088,), (1340610090,), (1340610095,), (1340610139,), (1340610143,), (1340610147,), (1340610162,), (1340610167,), (1340610208,), (1340610190,), (1340610195,), (1340610199,), (1340610202,), (1340610415,), (1340610419,), (1340610422,), (1340610432,), (1340610447,), (1340610452,), (1340610490,), (1340610492,), (1340610496,), (1340610501,), (1340610777,), (1340610781,), (1340610784,), (1340610786,), (1340610822,), (1340610825,), (1340610828,), (1340610832,), (1340610836,), (1340610843,), (1340610868,), (1340610871,), (1340610874,), (1340610909,), (1340610913,), (1340610917,), (1340610922,), (1340610925,), (1340610929,), (1340611010,), (1340611016,), (1340611022,), (1340611029,), (1340611092,), (1340611095,), (1340611098,), (1340611101,), (1340611105,), (1340611130,), (1340611132,), (1340611137,), (1340611141,), (1340611146,), (1340611189,), (1340611192,), (1340611195,), (1340611199,), (1340611222,), (1340611232,), (1340611248,), (1340611269,), (1340611304,), (1340611309,), (1340611332,), (1340611335,), (1340611340,), (1340611343,), (1340611371,), (1340611374,), (1340611377,), (1340611526,), (1340611537,), (1340611542,), (1340611569,), (1340611573,), (1340611577,), (1340611579,), (1340611723,), (1340611678,), (1340611684,), (1340611688,), (1340611694,), (1340611717,), (1340611786,), (1340611789,), (1340611800,), (1340611812,), (1340611817,), (1340611893,), (1340611899,), (1340611902,), (1340611905,), (1340611955,), (1340611957,), (1340611960,), (1340611963,), (1340611970,), (1340611993,), (1340611996,), (1340611998,), (1340612002,), (1340612006,), (1340612010,), (1340612031,), (1340612033,), (1340612036,), (1340612038,), (1340612042,), (1340612078,), (1340612090,), (1340612100,), (1340612110,), (1340612176,), (1340612181,), (1340612184,), (1340612190,), (1340612196,), (1340612208,), (1340612250,), (1340612259,), (1340612266,), (1340612272,), (1340612309,), (1340612311,), (1340612314,), (1340612316,), (1340612322,), (1340612329,), (1340612352,), (1340612355,), (1340612358,), (1340612363,), (1340612421,), (1340612424,), (1340612426,), (1340612429,), (1340612437,), (1340612502,), (1340612504,), (1340612515,), (1340612518,), (1340612529,), (1340612591,), (1340612602,), (1340612606,), (1340612616,), (1340612632,), (1340612670,), (1340612672,), (1340612675,), (1340612677,), (1340612956,), (1340612758,), (1340612759,), (1340612772,), (1340612775,), (1340612788,), (1340613218,), (1340613273,), (1340613300,), (1340613302,), (1340613411,), (1340613414,), (1340613417,), (1340613421,), (1340613429,), (1340613440,), (1340613481,), (1340613483,), (1340613486,), (1340613489,), (1340613551,), (1340613558,), (1340613563,), (1340613566,), (1340613601,), (1340613606,), (1340613609,), (1340613615,), (1340613621,), (1340613627,), (1340613653,), (1340613656,), (1340613660,), (1340613664,), (1340613727,), (1340613734,), (1340613740,), (1340613745,), (1340613750,), (1340613756,), (1340613793,), (1340613806,), (1340613814,), (1340613850,), (1340613853,), (1340613859,), (1340613863,), (1340613875,), (1340613913,), (1340613918,), (1340613932,), (1340613949,), (1340613958,), (1340613972,), (1340614155,), (1340614165,), (1340614186,), (1340614193,), (1340614199,), (1340614204,), (1340614378,), (1340614399,), (1340614412,), (1340614421,), (1340614637,), (1340614649,), (1340614658,), (1340614666,), (1340614738,), (1340614724,), (1340614727,), (1340614733,), (1340614784,), (1340614787,), (1340614789,), (1340614802,), (1340614814,), (1340614822,), (1340614963,), (1340614967,), (1340614969,), (1340614976,), (1340615033,), (1340615037,), (1340615075,), (1340615104,), (1340615110,), (1340615143,), (1340615151,), (1340615162,), (1340615172,), (1340615177,), (1340615217,), (1340615221,), (1340615226,), (1340615230,), (1340615236,), (1340615264,), (1340615268,), (1340615270,), (1340615275,), (1340615281,), (1340615287,), (1340615337,), (1340615353,), (1340615365,), (1340615374,), (1340615394,), (1340615441,), (1340615445,), (1340615451,), (1340615458,), (1340615467,), (1340615503,), (1340615509,), (1340615517,), (1340615523,), (1340615549,), (1340615557,), (1340615604,), (1340615607,), (1340615610,), (1340615615,), (1340615622,), (1340615678,), (1340615685,), (1340615695,), (1340615705,), (1340615709,), (1340615731,), (1340615734,), (1340615737,), (1340615742,), (1340615744,), (1340615754,), (1340615795,), (1340615799,), (1340615806,), (1340615818,), (1340615835,), (1340615880,), (1340615883,), (1340615888,), (1340615891,), (1340615982,), (1340615952,), (1340615956,), (1340615968,), (1340615972,), (1340615978,), (1340616168,), (1340616171,), (1340616175,), (1340616179,), (1340616186,), (1340616242,), (1340616256,), (1340616264,), (1340616272,), (1340616310,), (1340616320,), (1340616322,), (1340616334,), (1340616350,), (1340616358,), (1340616390,), (1340616400,), (1340616408,), (1340616418,), (1340616431,), (1340616463,), (1340616469,), (1340616475,), (1340616527,), (1340616540,), (1340616608,), (1340616619,), (1340616623,), (1340616627,), (1340616633,), (1340616638,), (1340616661,), (1340616663,), (1340616668,), (1340616674,), (1340616733,), (1340616739,), (1340616744,), (1340616748,), (1340616762,), (1340616805,), (1340616808,), (1340616813,), (1340616817,), (1340616826,), (1340616874,), (1340616886,), (1340616895,), (1340616899,), (1340616938,), (1340616943,), (1340616945,), (1340616950,), (1340616956,), (1340617023,), (1340617026,), (1340617029,), (1340617033,), (1340617039,), (1340617043,), (1340617106,), (1340617112,), (1340617119,), (1340617129,), (1340617310,), (1340617313,), (1340617316,), (1340617321,), (1340617327,), (1340617417,), (1340617357,), (1340617360,), (1340617364,), (1340617745,), (1340617754,), (1340617763,), (1340617770,), (1340617775,), (1340617801,), (1340617805,), (1340617811,), (1340617831,), (1340617837,), (1340617841,), (1340617870,), (1340617886,), (1340617892,), (1340617900,), (1340617903,), (1340617907,), (1340617929,), (1340617940,), (1340617947,), (1340617952,), (1340617961,), (1340618016,), (1340618094,), (1340618168,), (1340618171,), (1340618178,), (1340618211,), (1340618218,), (1340618220,), (1340618223,), (1340618302,), (1340618331,), (1340618357,), (1340618371,), (1340618383,), (1340618401,), (1340618458,), (1340618460,), (1340618464,), (1340618470,), (1340618474,), (1340618565,), (1340618576,), (1340618585,), (1340618588,), (1340618593,), (1340618638,), (1340618650,), (1340618659,), (1340618989,), (1340620789,), (1340621136,), (1340621154,), (1340621164,), (1340621174,), (1340621310,), (1340621313,), (1340621369,), (1340621404,), (1340621458,), (1340621465,), (1340621539,), (1340621544,), (1340621551,), (1340621553,), (1340621588,), (1340621591,), (1340621648,), (1340621707,), (1340621710,), (1340621757,), (1340621810,), (1340621812,), (1340622102,), (1340622170,), (1340622176,), (1340622187,), (1340622197,), (1340622693,), (1340622746,), (1340622886,), (1340622897,), (1340622900,), (1340622903,), (1340622991,), (1340622996,), (1340622998,), (1340623002,), (1340623006,), (1340623172,), (1340623174,), (1340623177,), (1340623181,), (1340623259,), (1340623468,), (1340624186,), (1340624237,), (1340624613,), (1340624615,), (1340624619,), (1340624759,), (1340624894,), (1340624936,), (1340624939,), (1340624945,), (1340625125,), (1340625130,), (1340625135,), (1340625139,), (1340625142,), (1340625148,), (1340625170,), (1340625173,), (1340625177,), (1340625178,), (1340625282,), (1340625339,), (1340625348,), (1340626249,), (1340626253,), (1340626256,), (1340626259,), (1340626286,), (1340626507,), (1340626486,), (1340626490,), (1340626493,), (1340626495,), (1340626501,), (1340626532,), (1340626535,), (1340626538,), (1340626542,), (1340626597,), (1340626601,), (1340626604,), (1340626608,), (1340626614,), (1340626646,), (1340626649,), (1340626651,), (1340626657,), (1340626662,), (1340626669,), (1340626889,), (1340626891,), (1340626899,), (1340626903,), (1340626938,), (1340626940,), (1340626944,), (1340626946,), (1340626951,), (1340626972,), (1340626975,), (1340626979,), (1340626982,), (1340627039,), (1340627043,), (1340627047,), (1340627051,), (1340627102,), (1340627107,), (1340627112,), (1340627113,), (1340627128,), (1340627165,), (1340627182,), (1340627193,), (1340627198,), (1340627203,), (1340627210,), (1340627243,), (1340627249,), (1340627253,), (1340627277,), (1340627332,), (1340627339,), (1340627342,), (1340627347,), (1340627352,), (1340627356,), (1340627539,), (1340627543,), (1340627546,), (1340627547,), (1340627551,), (1340627604,), (1340627625,), (1340627877,), (1340627872,), (1340627910,), (1340627917,), (1340627922,), (1340627926,), (1340627931,), (1340627951,), (1340627958,), (1340627964,), (1340627972,), (1340627979,), (1340628026,), (1340628031,), (1340628034,), (1340628038,), (1340628043,), (1340628071,), (1340628076,), (1340628079,), (1340628082,), (1340628088,), (1340628092,), (1340628134,), (1340628140,), (1340628145,), (1340628147,), (1340628176,), (1340628181,), (1340628186,), (1340628189,), (1340628196,), (1340628258,), (1340628265,), (1340628267,), (1340628271,), (1340628305,), (1340628310,), (1340628321,), (1340628341,), (1340628344,), (1340628380,), (1340628383,), (1340628388,), (1340628390,), (1340628394,), (1340628427,), (1340628431,), (1340628434,), (1340628443,), (1340628454,), (1340628461,), (1340628506,), (1340628510,), (1340628514,), (1340628554,), (1340628565,), (1340628576,), (1340628579,), (1340628585,), (1340628590,), (1340628661,), (1340628638,), (1340628643,), (1340628648,), (1340628654,), (1340628658,), (1340628699,), (1340628704,), (1340628717,), (1340628727,), (1340628770,), (1340628775,), (1340628780,), (1340628783,), (1340628787,), (1340628792,), (1340629343,), (1340629347,), (1340629351,), (1340629397,), (1340629580,), (1340629588,), (1340629591,), (1340629596,), (1340629603,), (1340629610,), (1340629636,), (1340629640,), (1340629646,), (1340629649,), (1340629655,), (1340629775,), (1340629871,), (1340629896,), (1340629909,), (1340629921,), (1340629928,), (1340630164,), (1340630167,), (1340630173,), (1340630248,), (1340630252,), (1340630256,), (1340630261,), (1340630267,), (1340630273,), (1340630300,), (1340630303,), (1340630310,), (1340630317,), (1340630370,), (1340630373,), (1340630375,), (1340630379,), (1340630385,), (1340630390,), (1340630414,), (1340630418,), (1340630423,), (1340630427,), (1340630469,), (1340630474,), (1340630477,), (1340630481,), (1340630487,), (1340630532,), (1340630536,), (1340630541,), (1340630544,), (1340630550,), (1340630556,), (1340630596,), (1340630604,), (1340630610,), (1340630615,), (1340630734,), (1340630710,), (1340630714,), (1340630721,), (1340630726,), (1340630731,), (1340630795,), (1340630801,), (1340630805,), (1340630814,), (1340630897,), (1340630902,), (1340630906,), (1340630909,), (1340630914,), (1340630919,), (1340630977,), (1340630985,), (1340630990,), (1340631585,), (1340631592,), (1340631597,), (1340631601,), (1340631606,), (1340631609,), (1340631848,), (1340631853,), (1340631858,), (1340631951,), (1340632161,), (1340632167,), (1340632172,), (1340632177,), (1340632181,), (1340632239,), (1340632255,), (1340632273,), (1340632276,), (1340632281,), (1340632297,), (1340632332,), (1340632338,), (1340632344,), (1340632348,), (1340632409,), (1340632417,), (1340632424,), (1340632429,), (1340632480,), (1340632487,), (1340632496,), (1340632501,), (1340632515,), (1340632553,), (1340632560,), (1340632581,), (1340632625,), (1340632632,), (1340632652,), (1340632659,), (1340632666,), (1340632701,), (1340632705,), (1340632711,), (1340632717,), (1340632732,), (1340632735,), (1340632758,), (1340632765,), (1340632769,), (1340632775,), (1340632814,), (1340632807,), (1340632884,), (1340632899,), (1340632905,), (1340632908,), (1340632914,), (1340633391,), (1340633397,), (1340633400,), (1340633714,), (1340633761,), (1340633765,), (1340633770,), (1340633806,), (1340633812,), (1340633818,), (1340633821,), (1340633866,), (1340633872,), (1340633877,), (1340633947,), (1340633952,), (1340633955,), (1340633956,), (1340633960,), (1340633964,), (1340634001,), (1340634006,), (1340634010,), (1340634016,), (1340634059,), (1340634071,), (1340634079,), (1340634084,), (1340634088,), (1340634092,), (1340634125,), (1340634132,), (1340634135,), (1340634139,), (1340634143,), (1340634208,), (1340634216,), (1340634232,), (1340634239,), (1340634250,), (1340634255,), (1340634260,), (1340634296,), (1340634285,), (1340634291,), (1340634526,), (1340634532,), (1340634537,), (1340634556,), (1340634608,), (1340634611,), (1340634619,), (1340634635,), (1340634701,), (1340634710,), (1340634718,), (1340634721,), (1340634728,), (1340634768,), (1340634781,), (1340634794,), (1340634812,), (1340634851,), (1340634855,), (1340634858,), (1340634862,), (1340634867,), (1340634906,), (1340634910,), (1340634917,), (1340634920,), (1340634991,), (1340635012,), (1340635016,), (1340635063,), (1340635067,), (1340635076,), (1340635081,), (1340635132,), (1340635138,), (1340635143,), (1340635146,), (1340635151,), (1340635155,), (1340635182,), (1340635186,), (1340635192,), (1340635196,), (1340635200,), (1340635207,), (1340635247,), (1340635255,), (1340635259,), (1340635291,), (1340635296,), (1340635305,), (1340635310,), (1340635361,), (1340635367,), (1340635370,), (1340635373,), (1340635426,), (1340635430,), (1340635436,), (1340635442,), (1340635566,), (1340635551,), (1340635561,), (1340636009,), (1340636016,), (1340636018,), (1340636045,), (1340636201,), (1340636210,), (1340636212,), (1340636220,), (1340636233,), (1340636239,), (1340636296,), (1340636307,), (1340636315,), (1340636318,), (1340636363,), (1340636365,), (1340636368,), (1340636371,), (1340636376,), (1340636382,), (1340636426,), (1340636428,), (1340636434,), (1340636505,), (1340636525,), (1340636629,), (1340636630,), (1340636632,), (1340636637,), (1340636668,), (1340636669,), (1340636672,), (1340636675,), (1340636722,), (1340636730,), (1340636736,), (1340636792,), (1340637316,), (1340637280,), (1340637290,), (1340637303,), (1340637306,), (1340637311,), (1340637355,), (1340637360,), (1340637366,), (1340637368,), (1340637372,), (1340637375,), (1340637400,), (1340637404,), (1340637407,), (1340637408,), (1340637413,), (1340637418,), (1340637439,), (1340637444,), (1340637449,), (1340637452,), (1340637878,), (1340637881,), (1340637892,), (1340637901,), (1340638052,), (1340638156,), (1340638161,), (1340638163,), (1340638168,), (1340638446,), (1340638462,), (1340638469,), (1340638508,), (1340638512,), (1340638516,), (1340638519,), (1340638577,), (1340638590,), (1340638598,), (1340638603,), (1340638608,), (1340638613,), (1340638638,), (1340638642,), (1340638648,), (1340638654,), (1340638658,), (1340638695,), (1340638699,), (1340638703,), (1340638705,), (1340638712,), (1340638761,), (1340638768,), (1340638772,), (1340638775,), (1340638828,), (1340638832,), (1340638835,), (1340638839,), (1340638876,), (1340638878,), (1340638883,), (1340639118,), (1340639045,), (1340639062,), (1340639065,), (1340639113,), (1340639532,), (1340639544,), (1340639559,), (1340639568,), (1340639573,), (1340639581,), (1340639609,), (1340639611,), (1340639616,), (1340639654,), (1340639658,), (1340639660,), (1340639664,), (1340639670,), (1340639675,), (1340639741,), (1340639754,), (1340639762,), (1340639767,), (1340639802,), (1340639818,), (1340639822,), (1340639825,), (1340639830,), (1340639835,), (1340639883,), (1340639887,), (1340639888,), (1340639892,), (1340639899,), (1340639926,), (1340639930,), (1340639935,), (1340639939,), (1340639945,), (1340639950,), (1340639981,), (1340639991,), (1340639998,), (1340640002,), (1340640008,), (1340640013,), (1340640041,), (1340640046,), (1340640051,), (1340640111,), (1340640128,), (1340640136,), (1340640141,), (1340640146,), (1340640150,), (1340640172,), (1340640175,), (1340640182,), (1340640243,), (1340640246,), (1340640251,), (1340640254,), (1340640259,), (1340640264,), (1340640323,), (1340640330,), (1340640337,), (1340640343,), (1340640405,), (1340640401,), (1340640607,), (1340640822,), (1340641590,), (1340641593,), (1340641648,), (1340641653,), (1340641658,), (1340641663,), (1340641667,), (1340641672,), (1340641701,), (1340641709,), (1340641713,), (1340641744,), (1340641749,), (1340641754,), (1340641807,), (1340641811,), (1340641816,), (1340641820,), (1340641824,), (1340641827,), (1340641856,), (1340641861,), (1340641866,), (1340641869,), (1340641922,), (1340641925,), (1340641931,), (1340641935,), (1340641941,), (1340641943,), (1340641970,), (1340641973,), (1340641979,), (1340641982,), (1340642039,), (1340642021,), (1340642026,), (1340642030,), (1340642034,), (1340642379,), (1340642404,), (1340642416,), (1340642420,), (1340642427,), (1340642432,), (1340642476,), (1340642482,), (1340642495,), (1340642500,), (1340642505,), (1340642564,), (1340642576,), (1340642579,), (1340642585,), (1340642591,), (1340642603,), (1340642629,), (1340642668,), (1340642920,), (1340643243,), (1340643252,), (1340643351,), (1340643355,), (1340643403,), (1340643458,), (1340643551,), (1340643609,), (1340643624,), (1340643631,), (1340643812,), (1340643816,), (1340643821,), (1340643826,), (1340643875,), (1340643877,), (1340643881,), (1340643884,), (1340643890,), (1340643895,), (1340643922,), (1340643926,), (1340643928,), (1340643934,), (1340643937,), (1340643986,), (1340643989,), (1340644005,), (1340644094,), (1340644101,), (1340644213,), (1340644218,), (1340644220,), (1340644224,), (1340644267,), (1340644271,), (1340644275,), (1340644278,), (1340644283,), (1340644287,), (1340644333,), (1340644335,), (1340644339,), (1340644345,), (1340644392,), (1340644396,), (1340644400,), (1340644404,), (1340644412,), (1340644418,), (1340644593,), (1340644487,), (1340644491,), (1340644514,), (1340644587,), (1340644752,), (1340644753,), (1340644755,), (1340644757,), (1340644763,), (1340644769,), (1340644804,), (1340644806,), (1340644808,), (1340644819,), (1340644891,), (1340644893,), (1340644897,), (1340644905,), (1340644917,), (1340644924,), (1340644967,), (1340644973,), (1340644986,), (1340644991,), (1340645026,), (1340645029,), (1340645031,), (1340645033,), (1340645050,), (1340645059,), (1340645290,), (1340645293,), (1340645305,), (1340645497,), (1340645500,), (1340645511,), (1340645520,), (1340645558,), (1340645560,), (1340645563,), (1340645567,), (1340645571,), (1340645607,), (1340645617,), (1340645629,), (1340645640,), (1340645676,), (1340645678,), (1340645682,), (1340645685,), (1340645690,), (1340645695,), (1340645933,), (1340645962,), (1340645976,), (1340645986,), (1340646108,), (1340646112,), (1340646114,), (1340646118,), (1340646125,), (1340646130,), (1340646165,), (1340646175,), (1340646179,), (1340646181,), (1340646188,), (1340646192,), (1340646213,), (1340646217,), (1340646222,), (1340646225,), (1340646232,), (1340646393,), (1340646379,), (1340646384,), (1340646443,), (1340646447,), (1340646450,), (1340646459,), (1340646473,), (1340646523,), (1340646526,), (1340646528,), (1340646530,), (1340646541,), (1340646586,), (1340646590,), (1340646595,), (1340646598,), (1340646610,), (1340646623,), (1340646681,), (1340646685,), (1340646689,), (1340646721,), (1340646725,), (1340646772,), (1340646820,), (1340646824,), (1340646875,), (1340646880,), (1340646884,), (1340646887,), (1340646892,), (1340646932,), (1340646939,), (1340646943,), (1340646958,), (1340646986,), (1340646991,), (1340646998,), (1340647001,), (1340647006,), (1340647010,), (1340647030,), (1340647035,), (1340647038,), (1340647043,), (1340647053,), (1340647083,), (1340647097,), (1340647099,), (1340647102,), (1340647107,), (1340647169,), (1340647175,), (1340647184,), (1340647191,), (1340647376,), (1340647351,), (1340647520,), (1340647525,), (1340647531,), (1340647534,), (1340647544,), (1340647566,), (1340647612,), (1340647615,), (1340647620,), (1340647623,), (1340647691,), (1340647703,), (1340647707,), (1340647712,), (1340647717,), (1340647722,), (1340647762,), (1340647766,), (1340647771,), (1340647773,), (1340647777,), (1340647781,), (1340647805,), (1340647810,), (1340647813,), (1340647815,), (1340647877,), (1340647888,), (1340647896,), (1340647904,), (1340647909,), (1340647940,), (1340647945,), (1340647949,), (1340647952,), (1340647958,), (1340648006,), (1340648012,), (1340648017,), (1340648025,), (1340648030,), (1340648070,), (1340648082,), (1340648085,), (1340648295,), (1340648301,), (1340648500,), (1340648346,), (1340648349,), (1340648353,), (1340648359,), (1340648495,), (1340648676,), (1340648681,), (1340648683,), (1340648689,), (1340648769,), (1340648773,), (1340648792,), (1340648804,), (1340648813,), (1340648844,), (1340648847,), (1340648854,), (1340648863,), (1340648874,), (1340648918,), (1340648923,), (1340648928,), (1340648935,), (1340648947,), (1340648952,), (1340648982,), (1340648985,), (1340648989,), (1340648995,), (1340649064,), (1340649070,), (1340649073,), (1340649075,), (1340649084,), (1340649095,), (1340649156,), (1340649161,), (1340649174,), (1340649178,), (1340649185,), (1340649248,), (1340649252,), (1340649256,), (1340649292,), (1340649314,), (1340649326,), (1340649416,), (1340649424,), (1340649430,), (1340649434,), (1340649567,), (1340649573,), (1340649577,), (1340649582,), (1340649586,), (1340649588,), (1340649610,), (1340649615,), (1340649621,), (1340649668,), (1340649673,), (1340649684,), (1340649694,), (1340649699,), (1340653679,), (1340653674,), (1340654425,), (1340654484,), (1340654509,), (1340654522,), (1340654524,), (1340654817,), (1340654822,), (1340654826,), (1340654871,), (1340654909,), (1340654912,), (1340654914,), (1340654918,), (1340654972,), (1340654975,), (1340654978,), (1340654980,), (1340654985,), (1340654989,), (1340655010,), (1340655015,), (1340655018,), (1340655020,), (1340655025,), (1340655045,), (1340655085,), (1340655089,), (1340655092,), (1340655095,), (1340655127,), (1340655132,), (1340655139,), (1340655145,), (1340655160,), (1340655165,), (1340655194,), (1340655198,), (1340655200,), (1340655205,), (1340656383,), (1340657382,), (1340657377,), (1340657557,), (1340657560,), (1340657563,), (1340657570,), (1340657575,), (1340657579,), (1340657614,), (1340657617,), (1340657621,), (1340657654,), (1340657657,), (1340657695,), (1340657697,), (1340657705,), (1340657718,), (1340657730,), (1340657825,), (1340657840,), (1340657851,), (1340657872,), (1340657896,), (1340657901,), (1340658048,), (1340658091,), (1340658096,), (1340658100,), (1340658104,), (1340658108,), (1340658126,), (1340658130,), (1340658134,), (1340658143,), (1340658157,), (1340658170,), (1340658192,), (1340658207,), (1340658219,), (1340658223,), (1340658255,), (1340658315,), (1340658698,), (1340658735,), (1340658739,), (1340658857,), (1340658862,), (1340658866,), (1340658908,), (1340658916,), (1340658920,), (1340658927,), (1340658933,), (1340658937,), (1340659144,), (1340658969,), (1340659056,), (1340659099,), (1340659247,), (1340659253,), (1340659554,), (1340659557,), (1340659846,), (1340659892,), (1340659899,), (1340659900,), (1340659935,), (1340659938,), (1340659941,), (1340659947,), (1340659975,), (1340659982,), (1340660020,), (1340660024,), (1340660027,), (1340660031,), (1340660077,), (1340660079,), (1340660084,), (1340660125,), (1340660128,), (1340660131,), (1340660134,), (1340660171,), (1340660177,), (1340660181,), (1340660195,), (1340660199,), (1340660244,), (1340660246,), (1340660251,), (1340660254,), (1340660260,), (1340660559,), (1340660564,), (1340660573,), (1340660755,), (1340660767,), (1340660771,), (1340660775,), (1340660779,), (1340660782,), (1340660811,), (1340660815,), (1340660821,), (1340660829,), (1340660836,), (1340661084,), (1340660996,), (1340661021,), (1340661026,), (1340661078,), (1340661273,), (1340661277,), (1340661327,), (1340661332,), (1340661362,), (1340661367,), (1340661459,), (1340661463,), (1340661466,), (1340661504,), (1340661515,), (1340661521,), (1340661526,), (1340661530,), (1340661557,), (1340661562,), (1340661567,), (1340661573,), (1340661581,), (1340661605,), (1340661609,), (1340661614,), (1340661662,), (1340661671,), (1340661674,), (1340661680,), (1340661741,), (1340661828,), (1340661919,), (1340662006,), (1340662211,), (1340662268,), (1340662282,), (1340662297,), (1340662489,), (1340662494,), (1340662502,), (1340662564,), (1340662569,), (1340662574,), (1340662605,), (1340662674,), (1340662678,), (1340662767,), (1340662771,), (1340662775,), (1340662780,), (1340662828,), (1340662834,), (1340662836,), (1340662841,), (1340662888,), (1340662896,), (1340662903,), (1340662910,), (1340662921,), (1340662923,), (1340662925,), (1340662927,), (1340662974,), (1340662961,), (1340662965,), (1340662970,), (1340663038,), (1340663042,), (1340663051,), (1340663063,), (1340663088,), (1340663098,), (1340663432,), (1340663436,), (1340663440,), (1340663443,), (1340663484,), (1340663488,), (1340663491,), (1340663496,), (1340663531,), (1340663535,), (1340663539,), (1340663544,), (1340663550,), (1340663590,), (1340663600,), (1340663605,), (1340663612,), (1340663640,), (1340663645,), (1340663651,), (1340663699,), (1340663718,), (1340663726,), (1340663763,), (1340663766,), (1340663770,), (1340663775,), (1340663787,), (1340663805,), (1340663823,), (1340663827,), (1340663830,), (1340663837,), (1340663844,), (1340663850,), (1340663883,), (1340663886,), (1340663889,), (1340663893,), (1340663899,), (1340663905,), (1340663941,), (1340663944,), (1340663948,), (1340663954,), (1340663981,), (1340663985,), (1340663989,), (1340663993,), (1340663998,), (1340664002,), (1340664053,), (1340664057,), (1340664060,), (1340664064,), (1340664096,), (1340664100,), (1340664102,), (1340664106,), (1340664111,), (1340664348,), (1340664287,), (1340664291,), (1340664321,), (1340664323,), (1340664329,), (1340664368,), (1340664373,), (1340664376,), (1340664380,), (1340664443,), (1340664447,), (1340664451,), (1340664456,), (1340664460,), (1340664464,), (1340664486,), (1340664491,), (1340664533,), (1340664538,), (1340664541,), (1340664543,), (1340664548,), (1340664772,), (1340664991,), (1340664996,), (1340665023,), (1340665028,), (1340665033,), (1340665038,), (1340665055,), (1340665098,), (1340665103,), (1340665107,), (1340665112,), (1340665116,), (1340665159,), (1340665163,), (1340665167,), (1340665352,), (1340665368,), (1340665371,), (1340665373,), (1340665378,), (1340665560,), (1340665534,), (1340665543,), (1340665545,), (1340665551,), (1340665555,), (1340665597,), (1340665602,), (1340665605,), (1340665609,), (1340665612,), (1340665675,), (1340665679,), (1340665693,), (1340665696,), (1340665705,), (1340665714,), (1340665737,), (1340665754,), (1340665760,), (1340665763,), (1340665769,), (1340665772,), (1340665793,), (1340665799,), (1340665805,), (1340665810,), (1340665840,), (1340665858,), (1340665863,), (1340665869,), (1340665876,), (1340665895,), (1340665899,), (1340665905,), (1340665911,), (1340665916,), (1340666617,), (1340666629,), (1340666761,), (1340666921,), (1340666924,), (1340666928,), (1340667173,), (1340667176,), (1340667181,), (1340667184,), (1340667188,), (1340667280,), (1340667422,), (1340667425,), (1340667430,), (1340667434,), (1340667439,), (1340667471,), (1340667475,), (1340667478,), (1340667482,), (1340667487,), (1340667541,), (1340667545,), (1340667548,), (1340667554,), (1340667560,), (1340667567,), (1340667595,), (1340667597,), (1340667600,), (1340667605,), (1340667647,), (1340667651,), (1340667654,), (1340667658,), (1340667787,), (1340667692,), (1340667698,), (1340667735,), (1340667926,), (1340667935,), (1340667941,), (1340667950,), (1340667961,), (1340668033,), (1340668432,), (1340668435,), (1340668445,), (1340668574,), (1340668584,), (1340668588,), (1340668592,), (1340668626,), (1340668630,), (1340668636,), (1340668649,), (1340668653,), (1340668659,), (1340668700,), (1340668705,), (1340668712,), (1340668719,), (1340668758,), (1340668821,), (1340668954,), (1340668958,), (1340668962,), (1340669003,), (1340669030,), (1340669036,), (1340669047,), (1340669050,), (1340669074,), (1340669077,), (1340669080,), (1340669085,), (1340669132,), (1340669135,), (1340669138,), (1340669140,), (1340669149,), (1340669184,), (1340669187,), (1340669190,), (1340669248,), (1340669250,), (1340669252,), (1340669255,), (1340669314,), (1340669316,), (1340669318,), (1340669383,), (1340669458,), (1340669521,), (1340669910,), (1340669941,), (1340670044,), (1340670085,), (1340670090,), (1340670139,), (1340670122,), (1340670127,), (1340670131,), (1340670134,), (1340670282,), (1340670300,), (1340670373,), (1340670378,), (1340670802,), (1340670833,), (1340670837,), (1340670866,), (1340670900,), (1340670904,), (1340670909,), (1340670950,), (1340670955,), (1340670958,), (1340671004,), (1340671009,), (1340671013,), (1340671016,), (1340671020,), (1340671092,), (1340671194,), (1340671201,), (1340671206,), (1340671211,), (1340671246,), (1340671250,), (1340671253,), (1340671265,), (1340671317,), (1340671320,), (1340671377,), (1340671381,), (1340671384,), (1340671386,), (1340671391,), (1340671415,), (1340671420,), (1340671469,), (1340671488,), (1340671498,), (1340671500,), (1340671553,), (1340671565,), (1340671570,), (1340671575,), (1340671577,), (1340671580,), (1340671598,), (1340671603,), (1340671605,), (1340671688,), (1340671696,), (1340671798,), (1340671728,), (1340671732,), (1340671735,), (1340671745,), (1340672167,), (1340672170,), (1340672172,), (1340672177,), (1340672181,), (1340672185,), (1340672223,), (1340672234,), (1340672235,), (1340672285,), (1340672297,), (1340672309,), (1340672313,), (1340672319,), (1340672384,), (1340672392,), (1340672405,), (1340672416,), (1340672423,), (1340672429,), (1340672466,), (1340672470,), (1340672477,), (1340672490,), (1340672501,), (1340672539,), (1340672553,), (1340672566,), (1340672600,), (1340672605,), (1340672608,), (1340672610,), (1340672615,), (1340672654,), (1340672662,), (1340672666,), (1340672669,), (1340672673,), (1340672678,), (1340672701,), (1340672705,), (1340672710,), (1340672753,), (1340672758,), (1340672762,), (1340672767,), (1340672772,), (1340672792,), (1340672797,), (1340672801,), (1340672804,), (1340672837,), (1340672841,), (1340672845,), (1340672857,), (1340672888,), (1340672893,), (1340672897,), (1340672950,), (1340672963,), (1340672967,), (1340672971,), (1340672974,), (1340673207,), (1340673114,), (1340673144,), (1340673161,), (1340673164,), (1340673264,), (1340673268,), (1340673271,), (1340673273,), (1340673277,), (1340673327,), (1340673333,), (1340673342,), (1340673391,), (1340673402,), (1340673405,), (1340673407,), (1340673411,), (1340673472,), (1340673480,), (1340673484,), (1340673488,), (1340673494,), (1340673539,), (1340673543,), (1340673546,), (1340673549,), (1340673554,), (1340673588,), (1340673598,), (1340673608,), (1340673694,), (1340673697,), (1340673706,), (1340673710,), (1340673715,), (1340673736,), (1340673748,), (1340673752,), (1340673759,), (1340673797,), (1340673801,), (1340673805,), (1340673810,), (1340673835,), (1340673841,), (1340673846,), (1340676114,), (1340676408,), (1340676413,), (1340676578,), (1340676659,), (1340676746,), (1340677048,), (1340677083,), (1340677086,), (1340677092,), (1340677120,), (1340677126,), (1340677130,), (1340677357,), (1340694633,), (1340695689,), (1340695785,), (1340695878,), (1340696125,), (1340697207,), (1340697213,), (1340698355,)) NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'03032025': {'nb_upload': 38, 'nb_taggue_class': 0, 'nb_taggue_densite': 0}} After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([20967368]) Inside saveOutput : final : True verbose : True saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1340600154, 1340600084, 1340600081, 1340599709, 1340599548, 1340599510, 1340599503, 1340599497, 1340599492, 1340599456, 1340599451, 1340599446, 1340599440, 1340599431, 1340599428, 1340599380, 1340599372, 1340599366, 1340599166, 1340599158, 1340599142, 1340599132, 1340599124, 1340599121, 1340599080, 1340599070, 1340599063, 1340599059, 1340599020, 1340599014, 1340599012, 1340599005, 1340599001, 1340598881, 1340598874, 1340598871, 1340598865, 1340598861] map_info['map_portfolio_photo'] : {20967368: [1340600154, 1340600084, 1340600081, 1340599709, 1340599548, 1340599510, 1340599503, 1340599497, 1340599492, 1340599456, 1340599451, 1340599446, 1340599440, 1340599431, 1340599428, 1340599380, 1340599372, 1340599366, 1340599166, 1340599158, 1340599142, 1340599132, 1340599124, 1340599121, 1340599080, 1340599070, 1340599063, 1340599059, 1340599020, 1340599014, 1340599012, 1340599005, 1340599001, 1340598881, 1340598874, 1340598871, 1340598865, 1340598861]} final : True mtd_id 4302 list_pids : [1340600154, 1340600084, 1340600081, 1340599709, 1340599548, 1340599510, 1340599503, 1340599497, 1340599492, 1340599456, 1340599451, 1340599446, 1340599440, 1340599431, 1340599428, 1340599380, 1340599372, 1340599366, 1340599166, 1340599158, 1340599142, 1340599132, 1340599124, 1340599121, 1340599080, 1340599070, 1340599063, 1340599059, 1340599020, 1340599014, 1340599012, 1340599005, 1340599001, 1340598881, 1340598874, 1340598871, 1340598865, 1340598861] Looping around the photos to save general results len do output : 1 /20967368Didn'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, '2631301') ('4302', '20967368', '1340600154', None, None, None, None, None, '2631301') ('4302', None, None, None, None, None, None, None, '2631301') ('4302', '20967368', '1340600084', None, None, None, None, None, '2631301') ('4302', None, None, None, None, None, None, None, '2631301') ('4302', '20967368', '1340600081', None, None, None, None, None, '2631301') ('4302', None, None, None, None, None, None, None, '2631301') ('4302', '20967368', '1340599709', None, None, None, None, None, '2631301') ('4302', None, None, None, None, None, None, None, '2631301') ('4302', '20967368', '1340599548', None, None, None, None, None, '2631301') ('4302', None, None, None, None, None, None, None, '2631301') ('4302', '20967368', '1340599510', None, None, None, None, None, '2631301') ('4302', None, None, None, None, None, None, None, '2631301') ('4302', '20967368', '1340599503', None, None, None, None, None, '2631301') ('4302', None, None, None, None, None, None, None, '2631301') ('4302', '20967368', '1340599497', None, None, None, None, None, '2631301') ('4302', None, None, None, None, None, None, None, '2631301') ('4302', '20967368', '1340599492', None, None, None, None, None, '2631301') ('4302', None, None, None, None, None, None, None, '2631301') ('4302', '20967368', '1340599456', None, None, None, None, None, '2631301') ('4302', None, None, None, None, None, None, None, '2631301') ('4302', '20967368', '1340599451', None, None, None, None, None, '2631301') ('4302', None, None, None, None, None, None, None, '2631301') ('4302', '20967368', '1340599446', None, None, None, None, None, '2631301') ('4302', None, None, None, None, None, None, None, '2631301') ('4302', '20967368', '1340599440', None, None, None, None, None, '2631301') ('4302', None, None, None, None, None, None, None, '2631301') ('4302', '20967368', '1340599431', None, None, None, None, None, '2631301') ('4302', None, None, None, None, None, None, None, '2631301') ('4302', '20967368', '1340599428', None, None, None, None, None, '2631301') ('4302', None, None, None, None, None, None, None, '2631301') ('4302', '20967368', '1340599380', None, None, None, None, None, '2631301') ('4302', None, None, None, None, None, None, None, '2631301') ('4302', '20967368', '1340599372', None, None, None, None, None, '2631301') ('4302', None, None, None, None, None, None, None, '2631301') ('4302', '20967368', '1340599366', None, None, None, None, None, '2631301') ('4302', None, None, None, None, None, None, None, '2631301') ('4302', '20967368', '1340599166', None, None, None, None, None, '2631301') ('4302', None, None, None, None, None, None, None, '2631301') ('4302', '20967368', '1340599158', None, None, None, None, None, '2631301') ('4302', None, None, None, None, None, None, None, '2631301') ('4302', '20967368', '1340599142', None, None, None, None, None, '2631301') ('4302', None, None, None, None, None, None, None, '2631301') ('4302', '20967368', '1340599132', None, None, None, None, None, '2631301') ('4302', None, None, None, None, None, None, None, '2631301') ('4302', '20967368', '1340599124', None, None, None, None, None, '2631301') ('4302', None, None, None, None, None, None, None, '2631301') ('4302', '20967368', '1340599121', None, None, None, None, None, '2631301') ('4302', None, None, None, None, None, None, None, '2631301') ('4302', '20967368', '1340599080', None, None, None, None, None, '2631301') ('4302', None, None, None, None, None, None, None, '2631301') ('4302', '20967368', '1340599070', None, None, None, None, None, '2631301') ('4302', None, None, None, None, None, None, None, '2631301') ('4302', '20967368', '1340599063', None, None, None, None, None, '2631301') ('4302', None, None, None, None, None, None, None, '2631301') ('4302', '20967368', '1340599059', None, None, None, None, None, '2631301') ('4302', None, None, None, None, None, None, None, '2631301') ('4302', '20967368', '1340599020', None, None, None, None, None, '2631301') ('4302', None, None, None, None, None, None, None, '2631301') ('4302', '20967368', '1340599014', None, None, None, None, None, '2631301') ('4302', None, None, None, None, None, None, None, '2631301') ('4302', '20967368', '1340599012', None, None, None, None, None, '2631301') ('4302', None, None, None, None, None, None, None, '2631301') ('4302', '20967368', '1340599005', None, None, None, None, None, '2631301') ('4302', None, None, None, None, None, None, None, '2631301') ('4302', '20967368', '1340599001', None, None, None, None, None, '2631301') ('4302', None, None, None, None, None, None, None, '2631301') ('4302', '20967368', '1340598881', None, None, None, None, None, '2631301') ('4302', None, None, None, None, None, None, None, '2631301') ('4302', '20967368', '1340598874', None, None, None, None, None, '2631301') ('4302', None, None, None, None, None, None, None, '2631301') ('4302', '20967368', '1340598871', None, None, None, None, None, '2631301') ('4302', None, None, None, None, None, None, None, '2631301') ('4302', '20967368', '1340598865', None, None, None, None, None, '2631301') ('4302', None, None, None, None, None, None, None, '2631301') ('4302', '20967368', '1340598861', None, None, None, None, None, '2631301') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 39 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, '20967368', 'None', None, None, None, None, '2631301'), ('4302', '20967368', '1340600154', None, None, None, None, None, '2631301'), ('4302', '20967368', '1340600084', None, None, None, None, None, '2631301'), ('4302', '20967368', '1340600081', None, None, None, None, None, '2631301'), ('4302', '20967368', '1340599709', None, None, None, None, None, '2631301'), ('4302', '20967368', '1340599548', None, None, None, None, None, '2631301'), ('4302', '20967368', '1340599510', None, None, None, None, None, '2631301'), ('4302', '20967368', '1340599503', None, None, None, None, None, '2631301'), ('4302', '20967368', '1340599497', None, None, None, None, None, '2631301'), ('4302', '20967368', '1340599492', None, None, None, None, None, '2631301'), ('4302', '20967368', '1340599456', None, None, None, None, None, '2631301'), ('4302', '20967368', '1340599451', None, None, None, None, None, '2631301'), ('4302', '20967368', '1340599446', None, None, None, None, None, '2631301'), ('4302', '20967368', '1340599440', None, None, None, None, None, '2631301'), ('4302', '20967368', '1340599431', None, None, None, None, None, '2631301'), ('4302', '20967368', '1340599428', None, None, None, None, None, '2631301'), ('4302', '20967368', '1340599380', None, None, None, None, None, '2631301'), ('4302', '20967368', '1340599372', None, None, None, None, None, '2631301'), ('4302', '20967368', '1340599366', None, None, None, None, None, '2631301'), ('4302', '20967368', '1340599166', None, None, None, None, None, '2631301'), ('4302', '20967368', '1340599158', None, None, None, None, None, '2631301'), ('4302', '20967368', '1340599142', None, None, None, None, None, '2631301'), ('4302', '20967368', '1340599132', None, None, None, None, None, '2631301'), ('4302', '20967368', '1340599124', None, None, None, None, None, '2631301'), ('4302', '20967368', '1340599121', None, None, None, None, None, '2631301'), ('4302', '20967368', '1340599080', None, None, None, None, None, '2631301'), ('4302', '20967368', '1340599070', None, None, None, None, None, '2631301'), ('4302', '20967368', '1340599063', None, None, None, None, None, '2631301'), ('4302', '20967368', '1340599059', None, None, None, None, None, '2631301'), ('4302', '20967368', '1340599020', None, None, None, None, None, '2631301'), ('4302', '20967368', '1340599014', None, None, None, None, None, '2631301'), ('4302', '20967368', '1340599012', None, None, None, None, None, '2631301'), ('4302', '20967368', '1340599005', None, None, None, None, None, '2631301'), ('4302', '20967368', '1340599001', None, None, None, None, None, '2631301'), ('4302', '20967368', '1340598881', None, None, None, None, None, '2631301'), ('4302', '20967368', '1340598874', None, None, None, None, None, '2631301'), ('4302', '20967368', '1340598871', None, None, None, None, None, '2631301'), ('4302', '20967368', '1340598865', None, None, None, None, None, '2631301'), ('4302', '20967368', '1340598861', None, None, None, None, None, '2631301')] time used for this insertion : 0.021145343780517578 save_final save missing photos in datou_result : time spend for datou_step_exec : 3.832287311553955 time spend to save output : 0.02135634422302246 total time spend for step 5 : 3.8536436557769775 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 (2631301) 3.41user 2.46system 0:20.55elapsed 28%CPU (0avgtext+0avgdata 162232maxresident)k 2592inputs+32992outputs (35major+86614minor)pagefaults 0swaps