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 : 3169730 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 (2711568) updating current state to 1 UPDATE MTRPhoto.mtr_datou_current SET state=1, hostname='marlene' WHERE id in (2711568) SELECT count(*) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21905185 AND hide_status = 0 list_input_json: [] Current got : datou_id : 4302, datou_cur_ids : ['2711568'] with mtr_portfolio_ids : ['21905185'] and first list_photo_ids : [] new path : /proc/3169730/ Name: python3 Umask: 0002 State: R (running) Tgid: 3169730 Ngid: 0 Pid: 3169730 PPid: 3169729 TracerPid: 0 Uid: 1006 1006 1006 1006 Gid: 1009 1009 1009 1009 FDSize: 64 Groups: 27 1009 1026 NStgid: 3169730 NSpid: 3169730 NSpgid: 3165725 NSsid: 3165725 VmPeak: 1106932 kB VmSize: 1106932 kB VmLck: 0 kB VmPin: 0 kB VmHWM: 98176 kB VmRSS: 98176 kB RssAnon: 59796 kB RssFile: 38380 kB RssShmem: 0 kB VmData: 865680 kB VmStk: 132 kB VmExe: 2644 kB VmLib: 130468 kB VmPTE: 600 kB VmSwap: 0 kB HugetlbPages: 0 kB CoreDumping: 0 THP_enabled: 1 Threads: 1 SigQ: 0/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: 54 nonvoluntary_ctxt_switches: 92 {'Name': 'python3', 'Umask': '0002', 'State': 'R (running)', 'Tgid': '3169730', 'Ngid': '0', 'Pid': '3169730', 'PPid': '3169729', 'TracerPid': '0', 'Uid': '1006,1006,1006,1006', 'Gid': '1009,1009,1009,1009', 'FDSize': '64', 'Groups': '27 1009 1026', 'NStgid': '3169730', 'NSpid': '3169730', 'NSpgid': '3165725', 'NSsid': '3165725', 'VmPeak': '1106932 kB', 'VmSize': '1106932 kB', 'VmLck': '0 kB', 'VmPin': '0 kB', 'VmHWM': '98176 kB', 'VmRSS': '98176 kB', 'RssAnon': '59796 kB', 'RssFile': '38380 kB', 'RssShmem': '0 kB', 'VmData': '865680 kB', 'VmStk': '132 kB', 'VmExe': '2644 kB', 'VmLib': '130468 kB', 'VmPTE': '600 kB', 'VmSwap': '0 kB', 'HugetlbPages': '0 kB', 'CoreDumping': '0', 'THP_enabled': '1', 'Threads': '1', 'SigQ': '0/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': '54', 'nonvoluntary_ctxt_switches': '92'} ('datou_batch_current', '3169730', '1106932', '0', '1106932', '865680', '98176', b'', 'marlene', '2711568') 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 (21905185) 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 (2711568 ) ) 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 (21905185) AND hide_status = 0 ORDER by mtr_photo_id desc LIMIT 0, 200 list_result: [{'photo_id': 1348987079, 'portfolio_id': 21905185}, {'photo_id': 1348984387, 'portfolio_id': 21905185}, {'photo_id': 1348984382, 'portfolio_id': 21905185}, {'photo_id': 1348984364, 'portfolio_id': 21905185}, {'photo_id': 1348984270, 'portfolio_id': 21905185}, {'photo_id': 1348984065, 'portfolio_id': 21905185}, {'photo_id': 1348984061, 'portfolio_id': 21905185}, {'photo_id': 1348984020, 'portfolio_id': 21905185}, {'photo_id': 1348984016, 'portfolio_id': 21905185}, {'photo_id': 1348984013, 'portfolio_id': 21905185}, {'photo_id': 1348984007, 'portfolio_id': 21905185}, {'photo_id': 1348984005, 'portfolio_id': 21905185}, {'photo_id': 1348983966, 'portfolio_id': 21905185}, {'photo_id': 1348983963, 'portfolio_id': 21905185}, {'photo_id': 1348983960, 'portfolio_id': 21905185}, {'photo_id': 1348983926, 'portfolio_id': 21905185}, {'photo_id': 1348983911, 'portfolio_id': 21905185}, {'photo_id': 1348983891, 'portfolio_id': 21905185}, {'photo_id': 1348983887, 'portfolio_id': 21905185}, {'photo_id': 1348983868, 'portfolio_id': 21905185}, {'photo_id': 1348983854, 'portfolio_id': 21905185}, {'photo_id': 1348983618, 'portfolio_id': 21905185}, {'photo_id': 1348983577, 'portfolio_id': 21905185}, {'photo_id': 1348983562, 'portfolio_id': 21905185}, {'photo_id': 1348983557, 'portfolio_id': 21905185}, {'photo_id': 1348983555, 'portfolio_id': 21905185}, {'photo_id': 1348983481, 'portfolio_id': 21905185}, {'photo_id': 1348983479, 'portfolio_id': 21905185}, {'photo_id': 1348983406, 'portfolio_id': 21905185}, {'photo_id': 1348983394, 'portfolio_id': 21905185}, {'photo_id': 1348983184, 'portfolio_id': 21905185}, {'photo_id': 1348983182, 'portfolio_id': 21905185}, {'photo_id': 1348983181, 'portfolio_id': 21905185}] map_portfolio_id_photo_id: {21905185: [1348987079, 1348984387, 1348984382, 1348984364, 1348984270, 1348984065, 1348984061, 1348984020, 1348984016, 1348984013, 1348984007, 1348984005, 1348983966, 1348983963, 1348983960, 1348983926, 1348983911, 1348983891, 1348983887, 1348983868, 1348983854, 1348983618, 1348983577, 1348983562, 1348983557, 1348983555, 1348983481, 1348983479, 1348983406, 1348983394, 1348983184, 1348983182, 1348983181]} ##### 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.16733384132385254 #### 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 Apr 1 05:46:57 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 (21905185) 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 : 21905185 get user id for portfolio 21905185 get sub ptf for main ptf 21905185, type 3726 and hashtags ['environnement', 'Teint_Dans_La_Masse', 'autre_refus', 'Carton_brun', 'cartonnette', 'mal_croppe', 'plastique', 'kraft', 'papier', 'flou', 'Carton_gris', 'metal'] 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`=21905185 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('environnement','Teint_Dans_La_Masse','autre_refus','Carton_brun','cartonnette','mal_croppe','plastique','kraft','papier','flou','Carton_gris','metal')) 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`=21905185 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('environnement','Teint_Dans_La_Masse','autre_refus','Carton_brun','cartonnette','mal_croppe','plastique','kraft','papier','flou','Carton_gris','metal')) AND mptpi.`min_score`=0.5 To do returned map {'Carton_brun': {'main_port_id': 21905185, 'sub_port_id': 21905199, 'hashtag': 'Carton_brun', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14412479, 'last_updated_at': datetime.datetime(2025, 3, 31, 12, 3, 1), 'last_updated_at_desc': datetime.datetime(2025, 3, 31, 12, 3, 1), 'last_updated_at_asc': datetime.datetime(2025, 3, 31, 11, 48, 59)}, 'Teint_Dans_La_Masse': {'main_port_id': 21905185, 'sub_port_id': 21905200, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14412480, 'last_updated_at': datetime.datetime(2025, 3, 31, 12, 3, 1), 'last_updated_at_desc': datetime.datetime(2025, 3, 31, 12, 3, 1), 'last_updated_at_asc': datetime.datetime(2025, 3, 31, 11, 48, 59)}, 'metal': {'main_port_id': 21905185, 'sub_port_id': 21905201, 'hashtag': 'metal', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14412481, 'last_updated_at': datetime.datetime(2025, 3, 31, 12, 3, 1), 'last_updated_at_desc': datetime.datetime(2025, 3, 31, 12, 3, 1), 'last_updated_at_asc': datetime.datetime(2025, 3, 31, 11, 48, 59)}, 'environnement': {'main_port_id': 21905185, 'sub_port_id': 21905202, 'hashtag': 'environnement', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14412482, 'last_updated_at': datetime.datetime(2025, 3, 31, 12, 3, 1), 'last_updated_at_desc': datetime.datetime(2025, 3, 31, 12, 3, 1), 'last_updated_at_asc': datetime.datetime(2025, 3, 31, 11, 48, 59)}, 'autre_refus': {'main_port_id': 21905185, 'sub_port_id': 21905203, 'hashtag': 'autre_refus', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14412483, 'last_updated_at': datetime.datetime(2025, 3, 31, 12, 3, 1), 'last_updated_at_desc': datetime.datetime(2025, 3, 31, 12, 3, 1), 'last_updated_at_asc': datetime.datetime(2025, 3, 31, 11, 48, 59)}, 'cartonnette': {'main_port_id': 21905185, 'sub_port_id': 21905204, 'hashtag': 'cartonnette', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14412484, 'last_updated_at': datetime.datetime(2025, 3, 31, 12, 3, 1), 'last_updated_at_desc': datetime.datetime(2025, 3, 31, 12, 3, 1), 'last_updated_at_asc': datetime.datetime(2025, 3, 31, 11, 48, 59)}, 'plastique': {'main_port_id': 21905185, 'sub_port_id': 21905205, 'hashtag': 'plastique', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14412485, 'last_updated_at': datetime.datetime(2025, 3, 31, 12, 3, 1), 'last_updated_at_desc': datetime.datetime(2025, 3, 31, 12, 3, 1), 'last_updated_at_asc': datetime.datetime(2025, 3, 31, 11, 48, 59)}, 'mal_croppe': {'main_port_id': 21905185, 'sub_port_id': 21905206, 'hashtag': 'mal_croppe', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14412486, 'last_updated_at': datetime.datetime(2025, 3, 31, 12, 3, 1), 'last_updated_at_desc': datetime.datetime(2025, 3, 31, 12, 3, 1), 'last_updated_at_asc': datetime.datetime(2025, 3, 31, 11, 48, 59)}, 'papier': {'main_port_id': 21905185, 'sub_port_id': 21905207, 'hashtag': 'papier', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14412487, 'last_updated_at': datetime.datetime(2025, 3, 31, 12, 3, 1), 'last_updated_at_desc': datetime.datetime(2025, 3, 31, 12, 3, 1), 'last_updated_at_asc': datetime.datetime(2025, 3, 31, 11, 48, 59)}, 'kraft': {'main_port_id': 21905185, 'sub_port_id': 21905208, 'hashtag': 'kraft', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14412488, 'last_updated_at': datetime.datetime(2025, 3, 31, 12, 3, 1), 'last_updated_at_desc': datetime.datetime(2025, 3, 31, 12, 3, 1), 'last_updated_at_asc': datetime.datetime(2025, 3, 31, 11, 48, 59)}, 'Carton_gris': {'main_port_id': 21905185, 'sub_port_id': 21905209, 'hashtag': 'Carton_gris', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14412489, 'last_updated_at': datetime.datetime(2025, 3, 31, 12, 3, 1), 'last_updated_at_desc': datetime.datetime(2025, 3, 31, 12, 3, 1), 'last_updated_at_asc': datetime.datetime(2025, 3, 31, 11, 48, 59)}, 'flou': {'main_port_id': 21905185, 'sub_port_id': 21905210, 'hashtag': 'flou', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14412490, 'last_updated_at': datetime.datetime(2025, 3, 31, 12, 3, 1), 'last_updated_at_desc': datetime.datetime(2025, 3, 31, 12, 3, 1), 'last_updated_at_asc': datetime.datetime(2025, 3, 31, 11, 48, 59)}} insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 21905199 , 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=21905185 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 (21905199) result : ((1348983542,), (1348983544,), (1348984073,), (1348984074,), (1348984896,), (1348984897,), (1348984898,), (1348984899,), (1348984900,), (1348984901,), (1348984902,), (1348988485,), (1348991811,), (1348991823,), (1348991824,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21905185) result : ((1348983181,), (1348983182,), (1348983184,), (1348983394,), (1348983406,), (1348983479,), (1348983481,), (1348983555,), (1348983557,), (1348983562,), (1348983577,), (1348983618,), (1348983854,), (1348983868,), (1348983887,), (1348983891,), (1348983911,), (1348983926,), (1348983960,), (1348983963,), (1348983966,), (1348984005,), (1348984007,), (1348984013,), (1348984016,), (1348984020,), (1348984061,), (1348984065,), (1348984270,), (1348984364,), (1348984382,), (1348984387,), (1348987079,)) 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 21905200 , 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=21905185 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 (21905200) result : ((1348983531,), (1348983533,), (1348983534,), (1348983952,), (1348983953,), (1348983954,), (1348984068,), (1348984151,), (1348984157,), (1348984891,), (1348984919,), (1348991801,), (1348991802,), (1348991803,), (1348991804,), (1348991805,), (1348991814,), (1348991815,), (1348991816,), (1348991817,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21905185) result : ((1348983181,), (1348983182,), (1348983184,), (1348983394,), (1348983406,), (1348983479,), (1348983481,), (1348983555,), (1348983557,), (1348983562,), (1348983577,), (1348983618,), (1348983854,), (1348983868,), (1348983887,), (1348983891,), (1348983911,), (1348983926,), (1348983960,), (1348983963,), (1348983966,), (1348984005,), (1348984007,), (1348984013,), (1348984016,), (1348984020,), (1348984061,), (1348984065,), (1348984270,), (1348984364,), (1348984382,), (1348984387,), (1348987079,)) 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 21905201 , 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=21905185 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 (21905201) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21905185) result : ((1348983181,), (1348983182,), (1348983184,), (1348983394,), (1348983406,), (1348983479,), (1348983481,), (1348983555,), (1348983557,), (1348983562,), (1348983577,), (1348983618,), (1348983854,), (1348983868,), (1348983887,), (1348983891,), (1348983911,), (1348983926,), (1348983960,), (1348983963,), (1348983966,), (1348984005,), (1348984007,), (1348984013,), (1348984016,), (1348984020,), (1348984061,), (1348984065,), (1348984270,), (1348984364,), (1348984382,), (1348984387,), (1348987079,)) 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 21905202 , 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=21905185 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 (21905202) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21905185) result : ((1348983181,), (1348983182,), (1348983184,), (1348983394,), (1348983406,), (1348983479,), (1348983481,), (1348983555,), (1348983557,), (1348983562,), (1348983577,), (1348983618,), (1348983854,), (1348983868,), (1348983887,), (1348983891,), (1348983911,), (1348983926,), (1348983960,), (1348983963,), (1348983966,), (1348984005,), (1348984007,), (1348984013,), (1348984016,), (1348984020,), (1348984061,), (1348984065,), (1348984270,), (1348984364,), (1348984382,), (1348984387,), (1348987079,)) 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 21905203 , 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=21905185 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 (21905203) result : ((1348991807,),) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21905185) result : ((1348983181,), (1348983182,), (1348983184,), (1348983394,), (1348983406,), (1348983479,), (1348983481,), (1348983555,), (1348983557,), (1348983562,), (1348983577,), (1348983618,), (1348983854,), (1348983868,), (1348983887,), (1348983891,), (1348983911,), (1348983926,), (1348983960,), (1348983963,), (1348983966,), (1348984005,), (1348984007,), (1348984013,), (1348984016,), (1348984020,), (1348984061,), (1348984065,), (1348984270,), (1348984364,), (1348984382,), (1348984387,), (1348987079,)) 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 21905204 , 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=21905185 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 (21905204) result : ((1348983537,), (1348983956,), (1348984158,), (1348984589,), (1348984590,), (1348991809,), (1348991820,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21905185) result : ((1348983181,), (1348983182,), (1348983184,), (1348983394,), (1348983406,), (1348983479,), (1348983481,), (1348983555,), (1348983557,), (1348983562,), (1348983577,), (1348983618,), (1348983854,), (1348983868,), (1348983887,), (1348983891,), (1348983911,), (1348983926,), (1348983960,), (1348983963,), (1348983966,), (1348984005,), (1348984007,), (1348984013,), (1348984016,), (1348984020,), (1348984061,), (1348984065,), (1348984270,), (1348984364,), (1348984382,), (1348984387,), (1348987079,)) 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 21905205 , 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=21905185 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 (21905205) result : ((1348984904,),) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21905185) result : ((1348983181,), (1348983182,), (1348983184,), (1348983394,), (1348983406,), (1348983479,), (1348983481,), (1348983555,), (1348983557,), (1348983562,), (1348983577,), (1348983618,), (1348983854,), (1348983868,), (1348983887,), (1348983891,), (1348983911,), (1348983926,), (1348983960,), (1348983963,), (1348983966,), (1348984005,), (1348984007,), (1348984013,), (1348984016,), (1348984020,), (1348984061,), (1348984065,), (1348984270,), (1348984364,), (1348984382,), (1348984387,), (1348987079,)) 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 21905206 , 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=21905185 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 (21905206) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21905185) result : ((1348983181,), (1348983182,), (1348983184,), (1348983394,), (1348983406,), (1348983479,), (1348983481,), (1348983555,), (1348983557,), (1348983562,), (1348983577,), (1348983618,), (1348983854,), (1348983868,), (1348983887,), (1348983891,), (1348983911,), (1348983926,), (1348983960,), (1348983963,), (1348983966,), (1348984005,), (1348984007,), (1348984013,), (1348984016,), (1348984020,), (1348984061,), (1348984065,), (1348984270,), (1348984364,), (1348984382,), (1348984387,), (1348987079,)) 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 21905207 , 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=21905185 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 (21905207) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21905185) result : ((1348983181,), (1348983182,), (1348983184,), (1348983394,), (1348983406,), (1348983479,), (1348983481,), (1348983555,), (1348983557,), (1348983562,), (1348983577,), (1348983618,), (1348983854,), (1348983868,), (1348983887,), (1348983891,), (1348983911,), (1348983926,), (1348983960,), (1348983963,), (1348983966,), (1348984005,), (1348984007,), (1348984013,), (1348984016,), (1348984020,), (1348984061,), (1348984065,), (1348984270,), (1348984364,), (1348984382,), (1348984387,), (1348987079,)) 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 21905208 , 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=21905185 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 (21905208) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21905185) result : ((1348983181,), (1348983182,), (1348983184,), (1348983394,), (1348983406,), (1348983479,), (1348983481,), (1348983555,), (1348983557,), (1348983562,), (1348983577,), (1348983618,), (1348983854,), (1348983868,), (1348983887,), (1348983891,), (1348983911,), (1348983926,), (1348983960,), (1348983963,), (1348983966,), (1348984005,), (1348984007,), (1348984013,), (1348984016,), (1348984020,), (1348984061,), (1348984065,), (1348984270,), (1348984364,), (1348984382,), (1348984387,), (1348987079,)) 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 21905209 , 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=21905185 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 (21905209) result : ((1348983536,), (1348984071,), (1348984072,), (1348984430,), (1348984580,), (1348984920,), (1348991818,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21905185) result : ((1348983181,), (1348983182,), (1348983184,), (1348983394,), (1348983406,), (1348983479,), (1348983481,), (1348983555,), (1348983557,), (1348983562,), (1348983577,), (1348983618,), (1348983854,), (1348983868,), (1348983887,), (1348983891,), (1348983911,), (1348983926,), (1348983960,), (1348983963,), (1348983966,), (1348984005,), (1348984007,), (1348984013,), (1348984016,), (1348984020,), (1348984061,), (1348984065,), (1348984270,), (1348984364,), (1348984382,), (1348984387,), (1348987079,)) 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 21905210 , 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=21905185 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 (21905210) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21905185) result : ((1348983181,), (1348983182,), (1348983184,), (1348983394,), (1348983406,), (1348983479,), (1348983481,), (1348983555,), (1348983557,), (1348983562,), (1348983577,), (1348983618,), (1348983854,), (1348983868,), (1348983887,), (1348983891,), (1348983911,), (1348983926,), (1348983960,), (1348983963,), (1348983966,), (1348984005,), (1348984007,), (1348984013,), (1348984016,), (1348984020,), (1348984061,), (1348984065,), (1348984270,), (1348984364,), (1348984382,), (1348984387,), (1348987079,)) 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`=21905185 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('environnement','Teint_Dans_La_Masse','autre_refus','Carton_brun','cartonnette','mal_croppe','plastique','kraft','papier','flou','Carton_gris','metal')) 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`=21905185 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('environnement','Teint_Dans_La_Masse','autre_refus','Carton_brun','cartonnette','mal_croppe','plastique','kraft','papier','flou','Carton_gris','metal')) AND mptpi.`min_score`=0.5 To do returned map {'Carton_brun': {'main_port_id': 21905185, 'sub_port_id': 21905211, 'hashtag': 'Carton_brun', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14412491, 'last_updated_at': datetime.datetime(2025, 3, 31, 11, 49, 1), 'last_updated_at_desc': datetime.datetime(2025, 3, 31, 11, 49, 1), 'last_updated_at_asc': datetime.datetime(2025, 3, 31, 11, 49, 1)}, 'Teint_Dans_La_Masse': {'main_port_id': 21905185, 'sub_port_id': 21905212, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14412492, 'last_updated_at': datetime.datetime(2025, 3, 31, 11, 49, 1), 'last_updated_at_desc': datetime.datetime(2025, 3, 31, 11, 49, 1), 'last_updated_at_asc': datetime.datetime(2025, 3, 31, 11, 49, 1)}, 'metal': {'main_port_id': 21905185, 'sub_port_id': 21905213, 'hashtag': 'metal', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14412493, 'last_updated_at': datetime.datetime(2025, 3, 31, 11, 49, 1), 'last_updated_at_desc': datetime.datetime(2025, 3, 31, 11, 49, 1), 'last_updated_at_asc': datetime.datetime(2025, 3, 31, 11, 49, 1)}, 'environnement': {'main_port_id': 21905185, 'sub_port_id': 21905214, 'hashtag': 'environnement', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14412494, 'last_updated_at': datetime.datetime(2025, 3, 31, 11, 49, 1), 'last_updated_at_desc': datetime.datetime(2025, 3, 31, 11, 49, 1), 'last_updated_at_asc': datetime.datetime(2025, 3, 31, 11, 49, 1)}, 'autre_refus': {'main_port_id': 21905185, 'sub_port_id': 21905215, 'hashtag': 'autre_refus', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14412495, 'last_updated_at': datetime.datetime(2025, 3, 31, 11, 49, 1), 'last_updated_at_desc': datetime.datetime(2025, 3, 31, 11, 49, 1), 'last_updated_at_asc': datetime.datetime(2025, 3, 31, 11, 49, 1)}, 'cartonnette': {'main_port_id': 21905185, 'sub_port_id': 21905216, 'hashtag': 'cartonnette', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14412496, 'last_updated_at': datetime.datetime(2025, 3, 31, 11, 49, 1), 'last_updated_at_desc': datetime.datetime(2025, 3, 31, 11, 49, 1), 'last_updated_at_asc': datetime.datetime(2025, 3, 31, 11, 49, 1)}, 'plastique': {'main_port_id': 21905185, 'sub_port_id': 21905217, 'hashtag': 'plastique', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14412497, 'last_updated_at': datetime.datetime(2025, 3, 31, 11, 49, 1), 'last_updated_at_desc': datetime.datetime(2025, 3, 31, 11, 49, 1), 'last_updated_at_asc': datetime.datetime(2025, 3, 31, 11, 49, 1)}, 'mal_croppe': {'main_port_id': 21905185, 'sub_port_id': 21905218, 'hashtag': 'mal_croppe', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14412498, 'last_updated_at': datetime.datetime(2025, 3, 31, 11, 49, 1), 'last_updated_at_desc': datetime.datetime(2025, 3, 31, 11, 49, 1), 'last_updated_at_asc': datetime.datetime(2025, 3, 31, 11, 49, 1)}, 'papier': {'main_port_id': 21905185, 'sub_port_id': 21905219, 'hashtag': 'papier', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14412499, 'last_updated_at': datetime.datetime(2025, 3, 31, 11, 49, 1), 'last_updated_at_desc': datetime.datetime(2025, 3, 31, 11, 49, 1), 'last_updated_at_asc': datetime.datetime(2025, 3, 31, 11, 49, 1)}, 'kraft': {'main_port_id': 21905185, 'sub_port_id': 21905220, 'hashtag': 'kraft', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14412500, 'last_updated_at': datetime.datetime(2025, 3, 31, 11, 49, 1), 'last_updated_at_desc': datetime.datetime(2025, 3, 31, 11, 49, 1), 'last_updated_at_asc': datetime.datetime(2025, 3, 31, 11, 49, 1)}, 'Carton_gris': {'main_port_id': 21905185, 'sub_port_id': 21905221, 'hashtag': 'Carton_gris', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14412501, 'last_updated_at': datetime.datetime(2025, 3, 31, 11, 49, 1), 'last_updated_at_desc': datetime.datetime(2025, 3, 31, 11, 49, 1), 'last_updated_at_asc': datetime.datetime(2025, 3, 31, 11, 49, 1)}, 'flou': {'main_port_id': 21905185, 'sub_port_id': 21905222, 'hashtag': 'flou', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14412502, 'last_updated_at': datetime.datetime(2025, 3, 31, 12, 3, 1), 'last_updated_at_desc': datetime.datetime(2025, 3, 31, 12, 3, 1), 'last_updated_at_asc': datetime.datetime(2025, 3, 31, 11, 49, 1)}} insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21905211,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21905199 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21905212,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21905200 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21905213,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21905201 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21905214,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21905202 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21905215,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21905203 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21905216,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21905204 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21905217,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21905205 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21905218,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21905206 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21905219,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21905207 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21905220,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21905208 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21905221,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21905209 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21905222,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21905210 lien utilise dans velours : https://www.fotonower.com/velours/21905211,21905212,21905213,21905214,21905215,21905216,21905217,21905218,21905219,21905220,21905221,21905222?tags=Carton_brun,Teint_Dans_La_Masse,metal,environnement,autre_refus,cartonnette,plastique,mal_croppe,papier,kraft,Carton_gris,flou After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([21905185]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1348987079, 1348984387, 1348984382, 1348984364, 1348984270, 1348984065, 1348984061, 1348984020, 1348984016, 1348984013, 1348984007, 1348984005, 1348983966, 1348983963, 1348983960, 1348983926, 1348983911, 1348983891, 1348983887, 1348983868, 1348983854, 1348983618, 1348983577, 1348983562, 1348983557, 1348983555, 1348983481, 1348983479, 1348983406, 1348983394, 1348983184, 1348983182, 1348983181] map_info['map_portfolio_photo'] : {21905185: [1348987079, 1348984387, 1348984382, 1348984364, 1348984270, 1348984065, 1348984061, 1348984020, 1348984016, 1348984013, 1348984007, 1348984005, 1348983966, 1348983963, 1348983960, 1348983926, 1348983911, 1348983891, 1348983887, 1348983868, 1348983854, 1348983618, 1348983577, 1348983562, 1348983557, 1348983555, 1348983481, 1348983479, 1348983406, 1348983394, 1348983184, 1348983182, 1348983181]} final : False mtd_id 4302 list_pids : [1348987079, 1348984387, 1348984382, 1348984364, 1348984270, 1348984065, 1348984061, 1348984020, 1348984016, 1348984013, 1348984007, 1348984005, 1348983966, 1348983963, 1348983960, 1348983926, 1348983911, 1348983891, 1348983887, 1348983868, 1348983854, 1348983618, 1348983577, 1348983562, 1348983557, 1348983555, 1348983481, 1348983479, 1348983406, 1348983394, 1348983184, 1348983182, 1348983181] Looping around the photos to save general results len do output : 1 /21905185. 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, '2711568') ('4302', '21905185', '1348987079', None, None, None, None, None, '2711568') ('4302', None, None, None, None, None, None, None, '2711568') ('4302', '21905185', '1348984387', None, None, None, None, None, '2711568') ('4302', None, None, None, None, None, None, None, '2711568') ('4302', '21905185', '1348984382', None, None, None, None, None, '2711568') ('4302', None, None, None, None, None, None, None, '2711568') ('4302', '21905185', '1348984364', None, None, None, None, None, '2711568') ('4302', None, None, None, None, None, None, None, '2711568') ('4302', '21905185', '1348984270', None, None, None, None, None, '2711568') ('4302', None, None, None, None, None, None, None, '2711568') ('4302', '21905185', '1348984065', None, None, None, None, None, '2711568') ('4302', None, None, None, None, None, None, None, '2711568') ('4302', '21905185', '1348984061', None, None, None, None, None, '2711568') ('4302', None, None, None, None, None, None, None, '2711568') ('4302', '21905185', '1348984020', None, None, None, None, None, '2711568') ('4302', None, None, None, None, None, None, None, '2711568') ('4302', '21905185', '1348984016', None, None, None, None, None, '2711568') ('4302', None, None, None, None, None, None, None, '2711568') ('4302', '21905185', '1348984013', None, None, None, None, None, '2711568') ('4302', None, None, None, None, None, None, None, '2711568') ('4302', '21905185', '1348984007', None, None, None, None, None, '2711568') ('4302', None, None, None, None, None, None, None, '2711568') ('4302', '21905185', '1348984005', None, None, None, None, None, '2711568') ('4302', None, None, None, None, None, None, None, '2711568') ('4302', '21905185', '1348983966', None, None, None, None, None, '2711568') ('4302', None, None, None, None, None, None, None, '2711568') ('4302', '21905185', '1348983963', None, None, None, None, None, '2711568') ('4302', None, None, None, None, None, None, None, '2711568') ('4302', '21905185', '1348983960', None, None, None, None, None, '2711568') ('4302', None, None, None, None, None, None, None, '2711568') ('4302', '21905185', '1348983926', None, None, None, None, None, '2711568') ('4302', None, None, None, None, None, None, None, '2711568') ('4302', '21905185', '1348983911', None, None, None, None, None, '2711568') ('4302', None, None, None, None, None, None, None, '2711568') ('4302', '21905185', '1348983891', None, None, None, None, None, '2711568') ('4302', None, None, None, None, None, None, None, '2711568') ('4302', '21905185', '1348983887', None, None, None, None, None, '2711568') ('4302', None, None, None, None, None, None, None, '2711568') ('4302', '21905185', '1348983868', None, None, None, None, None, '2711568') ('4302', None, None, None, None, None, None, None, '2711568') ('4302', '21905185', '1348983854', None, None, None, None, None, '2711568') ('4302', None, None, None, None, None, None, None, '2711568') ('4302', '21905185', '1348983618', None, None, None, None, None, '2711568') ('4302', None, None, None, None, None, None, None, '2711568') ('4302', '21905185', '1348983577', None, None, None, None, None, '2711568') ('4302', None, None, None, None, None, None, None, '2711568') ('4302', '21905185', '1348983562', None, None, None, None, None, '2711568') ('4302', None, None, None, None, None, None, None, '2711568') ('4302', '21905185', '1348983557', None, None, None, None, None, '2711568') ('4302', None, None, None, None, None, None, None, '2711568') ('4302', '21905185', '1348983555', None, None, None, None, None, '2711568') ('4302', None, None, None, None, None, None, None, '2711568') ('4302', '21905185', '1348983481', None, None, None, None, None, '2711568') ('4302', None, None, None, None, None, None, None, '2711568') ('4302', '21905185', '1348983479', None, None, None, None, None, '2711568') ('4302', None, None, None, None, None, None, None, '2711568') ('4302', '21905185', '1348983406', None, None, None, None, None, '2711568') ('4302', None, None, None, None, None, None, None, '2711568') ('4302', '21905185', '1348983394', None, None, None, None, None, '2711568') ('4302', None, None, None, None, None, None, None, '2711568') ('4302', '21905185', '1348983184', None, None, None, None, None, '2711568') ('4302', None, None, None, None, None, None, None, '2711568') ('4302', '21905185', '1348983182', None, None, None, None, None, '2711568') ('4302', None, None, None, None, None, None, None, '2711568') ('4302', '21905185', '1348983181', None, None, None, None, None, '2711568') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 34 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, '21905185', "{'Carton_brun': 21905199, 'Teint_Dans_La_Masse': 21905200, 'metal': 21905201, 'environnement': 21905202, 'autre_refus': 21905203, 'cartonnette': 21905204, 'plastique': 21905205, 'mal_croppe': 21905206, 'papier': 21905207, 'kraft': 21905208, 'Carton_gris': 21905209, 'flou': 21905210}", None, None, None, None, '2711568'), ('4302', '21905185', '1348987079', None, None, None, None, None, '2711568'), ('4302', '21905185', '1348984387', None, None, None, None, None, '2711568'), ('4302', '21905185', '1348984382', None, None, None, None, None, '2711568'), ('4302', '21905185', '1348984364', None, None, None, None, None, '2711568'), ('4302', '21905185', '1348984270', None, None, None, None, None, '2711568'), ('4302', '21905185', '1348984065', None, None, None, None, None, '2711568'), ('4302', '21905185', '1348984061', None, None, None, None, None, '2711568'), ('4302', '21905185', '1348984020', None, None, None, None, None, '2711568'), ('4302', '21905185', '1348984016', None, None, None, None, None, '2711568'), ('4302', '21905185', '1348984013', None, None, None, None, None, '2711568'), ('4302', '21905185', '1348984007', None, None, None, None, None, '2711568'), ('4302', '21905185', '1348984005', None, None, None, None, None, '2711568'), ('4302', '21905185', '1348983966', None, None, None, None, None, '2711568'), ('4302', '21905185', '1348983963', None, None, None, None, None, '2711568'), ('4302', '21905185', '1348983960', None, None, None, None, None, '2711568'), ('4302', '21905185', '1348983926', None, None, None, None, None, '2711568'), ('4302', '21905185', '1348983911', None, None, None, None, None, '2711568'), ('4302', '21905185', '1348983891', None, None, None, None, None, '2711568'), ('4302', '21905185', '1348983887', None, None, None, None, None, '2711568'), ('4302', '21905185', '1348983868', None, None, None, None, None, '2711568'), ('4302', '21905185', '1348983854', None, None, None, None, None, '2711568'), ('4302', '21905185', '1348983618', None, None, None, None, None, '2711568'), ('4302', '21905185', '1348983577', None, None, None, None, None, '2711568'), ('4302', '21905185', '1348983562', None, None, None, None, None, '2711568'), ('4302', '21905185', '1348983557', None, None, None, None, None, '2711568'), ('4302', '21905185', '1348983555', None, None, None, None, None, '2711568'), ('4302', '21905185', '1348983481', None, None, None, None, None, '2711568'), ('4302', '21905185', '1348983479', None, None, None, None, None, '2711568'), ('4302', '21905185', '1348983406', None, None, None, None, None, '2711568'), ('4302', '21905185', '1348983394', None, None, None, None, None, '2711568'), ('4302', '21905185', '1348983184', None, None, None, None, None, '2711568'), ('4302', '21905185', '1348983182', None, None, None, None, None, '2711568'), ('4302', '21905185', '1348983181', None, None, None, None, None, '2711568')] time used for this insertion : 0.20072054862976074 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.7847239971160889 time spend to save output : 0.20132994651794434 total time spend for step 1 : 1.9860539436340332 step2:final Tue Apr 1 05:46:59 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure input_args_next_step, len :0, first value : [] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (21905185) 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 21905185 : SELECT photo_id, hashtag_id, ratio from MTRPhoto.photo_carac_ratio where hashtag_type = 3726 and photo_id in (1348983184,1348983182,1348983181,1348983481,1348983479,1348983406,1348983394,1348983618,1348983577,1348983562,1348983557,1348983555,1348983926,1348983911,1348983891,1348983887,1348983868,1348983854,1348983966,1348983963,1348983960,1348984020,1348984016,1348984013,1348984007,1348984005,1348984065,1348984061,1348984387,1348984382,1348984364,1348984270,1348987079); 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([21905185]) Inside saveOutput : final : False verbose : True original output for save of step final : {1348987079: ('0.04566696661668516',), 1348984387: ('0.04566696661668516',), 1348984382: ('0.04566696661668516',), 1348984364: ('0.04566696661668516',), 1348984270: ('0.04566696661668516',), 1348984065: ('0.04566696661668516',), 1348984061: ('0.04566696661668516',), 1348984020: ('0.04566696661668516',), 1348984016: ('0.04566696661668516',), 1348984013: ('0.04566696661668516',), 1348984007: ('0.04566696661668516',), 1348984005: ('0.04566696661668516',), 1348983966: ('0.04566696661668516',), 1348983963: ('0.04566696661668516',), 1348983960: ('0.04566696661668516',), 1348983926: ('0.04566696661668516',), 1348983911: ('0.04566696661668516',), 1348983891: ('0.04566696661668516',), 1348983887: ('0.04566696661668516',), 1348983868: ('0.04566696661668516',), 1348983854: ('0.04566696661668516',), 1348983618: ('0.04566696661668516',), 1348983577: ('0.04566696661668516',), 1348983562: ('0.04566696661668516',), 1348983557: ('0.04566696661668516',), 1348983555: ('0.04566696661668516',), 1348983481: ('0.04566696661668516',), 1348983479: ('0.04566696661668516',), 1348983406: ('0.04566696661668516',), 1348983394: ('0.04566696661668516',), 1348983184: ('0.04566696661668516',), 1348983182: ('0.04566696661668516',), 1348983181: ('0.04566696661668516',)} new output for save of step final : {1348987079: ('0.04566696661668516',), 1348984387: ('0.04566696661668516',), 1348984382: ('0.04566696661668516',), 1348984364: ('0.04566696661668516',), 1348984270: ('0.04566696661668516',), 1348984065: ('0.04566696661668516',), 1348984061: ('0.04566696661668516',), 1348984020: ('0.04566696661668516',), 1348984016: ('0.04566696661668516',), 1348984013: ('0.04566696661668516',), 1348984007: ('0.04566696661668516',), 1348984005: ('0.04566696661668516',), 1348983966: ('0.04566696661668516',), 1348983963: ('0.04566696661668516',), 1348983960: ('0.04566696661668516',), 1348983926: ('0.04566696661668516',), 1348983911: ('0.04566696661668516',), 1348983891: ('0.04566696661668516',), 1348983887: ('0.04566696661668516',), 1348983868: ('0.04566696661668516',), 1348983854: ('0.04566696661668516',), 1348983618: ('0.04566696661668516',), 1348983577: ('0.04566696661668516',), 1348983562: ('0.04566696661668516',), 1348983557: ('0.04566696661668516',), 1348983555: ('0.04566696661668516',), 1348983481: ('0.04566696661668516',), 1348983479: ('0.04566696661668516',), 1348983406: ('0.04566696661668516',), 1348983394: ('0.04566696661668516',), 1348983184: ('0.04566696661668516',), 1348983182: ('0.04566696661668516',), 1348983181: ('0.04566696661668516',)} [1348987079, 1348984387, 1348984382, 1348984364, 1348984270, 1348984065, 1348984061, 1348984020, 1348984016, 1348984013, 1348984007, 1348984005, 1348983966, 1348983963, 1348983960, 1348983926, 1348983911, 1348983891, 1348983887, 1348983868, 1348983854, 1348983618, 1348983577, 1348983562, 1348983557, 1348983555, 1348983481, 1348983479, 1348983406, 1348983394, 1348983184, 1348983182, 1348983181] map_info['map_portfolio_photo'] : {21905185: [1348987079, 1348984387, 1348984382, 1348984364, 1348984270, 1348984065, 1348984061, 1348984020, 1348984016, 1348984013, 1348984007, 1348984005, 1348983966, 1348983963, 1348983960, 1348983926, 1348983911, 1348983891, 1348983887, 1348983868, 1348983854, 1348983618, 1348983577, 1348983562, 1348983557, 1348983555, 1348983481, 1348983479, 1348983406, 1348983394, 1348983184, 1348983182, 1348983181]} final : False mtd_id 4302 list_pids : [1348987079, 1348984387, 1348984382, 1348984364, 1348984270, 1348984065, 1348984061, 1348984020, 1348984016, 1348984013, 1348984007, 1348984005, 1348983966, 1348983963, 1348983960, 1348983926, 1348983911, 1348983891, 1348983887, 1348983868, 1348983854, 1348983618, 1348983577, 1348983562, 1348983557, 1348983555, 1348983481, 1348983479, 1348983406, 1348983394, 1348983184, 1348983182, 1348983181] Looping around the photos to save general results len do output : 33 /1348987079.Didn't retrieve data . /1348984387.Didn't retrieve data . /1348984382.Didn't retrieve data . /1348984364.Didn't retrieve data . /1348984270.Didn't retrieve data . /1348984065.Didn't retrieve data . /1348984061.Didn't retrieve data . /1348984020.Didn't retrieve data . /1348984016.Didn't retrieve data . /1348984013.Didn't retrieve data . /1348984007.Didn't retrieve data . /1348984005.Didn't retrieve data . /1348983966.Didn't retrieve data . /1348983963.Didn't retrieve data . /1348983960.Didn't retrieve data . /1348983926.Didn't retrieve data . /1348983911.Didn't retrieve data . /1348983891.Didn't retrieve data . /1348983887.Didn't retrieve data . /1348983868.Didn't retrieve data . /1348983854.Didn't retrieve data . /1348983618.Didn't retrieve data . /1348983577.Didn't retrieve data . /1348983562.Didn't retrieve data . /1348983557.Didn't retrieve data . /1348983555.Didn't retrieve data . /1348983481.Didn't retrieve data . /1348983479.Didn't retrieve data . /1348983406.Didn't retrieve data . /1348983394.Didn't retrieve data . /1348983184.Didn't retrieve data . /1348983182.Didn't retrieve data . /1348983181.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, '2711568') ('4302', '21905185', '1348987079', None, None, None, None, None, '2711568') ('4302', None, None, None, None, None, None, None, '2711568') ('4302', '21905185', '1348984387', None, None, None, None, None, '2711568') ('4302', None, None, None, None, None, None, None, '2711568') ('4302', '21905185', '1348984382', None, None, None, None, None, '2711568') ('4302', None, None, None, None, None, None, None, '2711568') ('4302', '21905185', '1348984364', None, None, None, None, None, '2711568') ('4302', None, None, None, None, None, None, None, '2711568') ('4302', '21905185', '1348984270', None, None, None, None, None, '2711568') ('4302', None, None, None, None, None, None, None, '2711568') ('4302', '21905185', '1348984065', None, None, None, None, None, '2711568') ('4302', None, None, None, None, None, None, None, '2711568') ('4302', '21905185', '1348984061', None, None, None, None, None, '2711568') ('4302', None, None, None, None, None, None, None, '2711568') ('4302', '21905185', '1348984020', None, None, None, None, None, '2711568') ('4302', None, None, None, None, None, None, None, '2711568') ('4302', '21905185', '1348984016', None, None, None, None, None, '2711568') ('4302', None, None, None, None, None, None, None, '2711568') ('4302', '21905185', '1348984013', None, None, None, None, None, '2711568') ('4302', None, None, None, None, None, None, None, '2711568') ('4302', '21905185', '1348984007', None, None, None, None, None, '2711568') ('4302', None, None, None, None, None, None, None, '2711568') ('4302', '21905185', '1348984005', None, None, None, None, None, '2711568') ('4302', None, None, None, None, None, None, None, '2711568') ('4302', '21905185', '1348983966', None, None, None, None, None, '2711568') ('4302', None, None, None, None, None, None, None, '2711568') ('4302', '21905185', '1348983963', None, None, None, None, None, '2711568') ('4302', None, None, None, None, None, None, None, '2711568') ('4302', '21905185', '1348983960', None, None, None, None, None, '2711568') ('4302', None, None, None, None, None, None, None, '2711568') ('4302', '21905185', '1348983926', None, None, None, None, None, '2711568') ('4302', None, None, None, None, None, None, None, '2711568') ('4302', '21905185', '1348983911', None, None, None, None, None, '2711568') ('4302', None, None, None, None, None, None, None, '2711568') ('4302', '21905185', '1348983891', None, None, None, None, None, '2711568') ('4302', None, None, None, None, None, None, None, '2711568') ('4302', '21905185', '1348983887', None, None, None, None, None, '2711568') ('4302', None, None, None, None, None, None, None, '2711568') ('4302', '21905185', '1348983868', None, None, None, None, None, '2711568') ('4302', None, None, None, None, None, None, None, '2711568') ('4302', '21905185', '1348983854', None, None, None, None, None, '2711568') ('4302', None, None, None, None, None, None, None, '2711568') ('4302', '21905185', '1348983618', None, None, None, None, None, '2711568') ('4302', None, None, None, None, None, None, None, '2711568') ('4302', '21905185', '1348983577', None, None, None, None, None, '2711568') ('4302', None, None, None, None, None, None, None, '2711568') ('4302', '21905185', '1348983562', None, None, None, None, None, '2711568') ('4302', None, None, None, None, None, None, None, '2711568') ('4302', '21905185', '1348983557', None, None, None, None, None, '2711568') ('4302', None, None, None, None, None, None, None, '2711568') ('4302', '21905185', '1348983555', None, None, None, None, None, '2711568') ('4302', None, None, None, None, None, None, None, '2711568') ('4302', '21905185', '1348983481', None, None, None, None, None, '2711568') ('4302', None, None, None, None, None, None, None, '2711568') ('4302', '21905185', '1348983479', None, None, None, None, None, '2711568') ('4302', None, None, None, None, None, None, None, '2711568') ('4302', '21905185', '1348983406', None, None, None, None, None, '2711568') ('4302', None, None, None, None, None, None, None, '2711568') ('4302', '21905185', '1348983394', None, None, None, None, None, '2711568') ('4302', None, None, None, None, None, None, None, '2711568') ('4302', '21905185', '1348983184', None, None, None, None, None, '2711568') ('4302', None, None, None, None, None, None, None, '2711568') ('4302', '21905185', '1348983182', None, None, None, None, None, '2711568') ('4302', None, None, None, None, None, None, None, '2711568') ('4302', '21905185', '1348983181', None, None, None, None, None, '2711568') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 99 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', '21905185', '1348987079', '0.04566696661668516', None, None, None, None, '2711568'), ('4302', '21905185', '1348984387', '0.04566696661668516', None, None, None, None, '2711568'), ('4302', '21905185', '1348984382', '0.04566696661668516', None, None, None, None, '2711568'), ('4302', '21905185', '1348984364', '0.04566696661668516', None, None, None, None, '2711568'), ('4302', '21905185', '1348984270', '0.04566696661668516', None, None, None, None, '2711568'), ('4302', '21905185', '1348984065', '0.04566696661668516', None, None, None, None, '2711568'), ('4302', '21905185', '1348984061', '0.04566696661668516', None, None, None, None, '2711568'), ('4302', '21905185', '1348984020', '0.04566696661668516', None, None, None, None, '2711568'), ('4302', '21905185', '1348984016', '0.04566696661668516', None, None, None, None, '2711568'), ('4302', '21905185', '1348984013', '0.04566696661668516', None, None, None, None, '2711568'), ('4302', '21905185', '1348984007', '0.04566696661668516', None, None, None, None, '2711568'), ('4302', '21905185', '1348984005', '0.04566696661668516', None, None, None, None, '2711568'), ('4302', '21905185', '1348983966', '0.04566696661668516', None, None, None, None, '2711568'), ('4302', '21905185', '1348983963', '0.04566696661668516', None, None, None, None, '2711568'), ('4302', '21905185', '1348983960', '0.04566696661668516', None, None, None, None, '2711568'), ('4302', '21905185', '1348983926', '0.04566696661668516', None, None, None, None, '2711568'), ('4302', '21905185', '1348983911', '0.04566696661668516', None, None, None, None, '2711568'), ('4302', '21905185', '1348983891', '0.04566696661668516', None, None, None, None, '2711568'), ('4302', '21905185', '1348983887', '0.04566696661668516', None, None, None, None, '2711568'), ('4302', '21905185', '1348983868', '0.04566696661668516', None, None, None, None, '2711568'), ('4302', '21905185', '1348983854', '0.04566696661668516', None, None, None, None, '2711568'), ('4302', '21905185', '1348983618', '0.04566696661668516', None, None, None, None, '2711568'), ('4302', '21905185', '1348983577', '0.04566696661668516', None, None, None, None, '2711568'), ('4302', '21905185', '1348983562', '0.04566696661668516', None, None, None, None, '2711568'), ('4302', '21905185', '1348983557', '0.04566696661668516', None, None, None, None, '2711568'), ('4302', '21905185', '1348983555', '0.04566696661668516', None, None, None, None, '2711568'), ('4302', '21905185', '1348983481', '0.04566696661668516', None, None, None, None, '2711568'), ('4302', '21905185', '1348983479', '0.04566696661668516', None, None, None, None, '2711568'), ('4302', '21905185', '1348983406', '0.04566696661668516', None, None, None, None, '2711568'), ('4302', '21905185', '1348983394', '0.04566696661668516', None, None, None, None, '2711568'), ('4302', '21905185', '1348983184', '0.04566696661668516', None, None, None, None, '2711568'), ('4302', '21905185', '1348983182', '0.04566696661668516', None, None, None, None, '2711568'), ('4302', '21905185', '1348983181', '0.04566696661668516', None, None, None, None, '2711568')] time used for this insertion : 0.04568362236022949 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.06965184211730957 time spend to save output : 0.04691028594970703 total time spend for step 2 : 0.1165621280670166 step3:velours_tree Tue Apr 1 05:46:59 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 : {21905185: [{'Carton_brun': 21905199, 'Teint_Dans_La_Masse': 21905200, 'metal': 21905201, 'environnement': 21905202, 'autre_refus': 21905203, 'cartonnette': 21905204, 'plastique': 21905205, 'mal_croppe': 21905206, 'papier': 21905207, 'kraft': 21905208, 'Carton_gris': 21905209, 'flou': 21905210}]} input_args_next_step : {21905185: ()} output_args : {21905185: [{'Carton_brun': 21905199, 'Teint_Dans_La_Masse': 21905200, 'metal': 21905201, 'environnement': 21905202, 'autre_refus': 21905203, 'cartonnette': 21905204, 'plastique': 21905205, 'mal_croppe': 21905206, 'papier': 21905207, 'kraft': 21905208, 'Carton_gris': 21905209, 'flou': 21905210}]} args : 21905185 depend.output_id : 0 VR 22-3-18 : For now we do not clean correctly the datou structure input_args_next_step, len :1, first value : ({'Carton_brun': 21905199, 'Teint_Dans_La_Masse': 21905200, 'metal': 21905201, 'environnement': 21905202, 'autre_refus': 21905203, 'cartonnette': 21905204, 'plastique': 21905205, 'mal_croppe': 21905206, 'papier': 21905207, 'kraft': 21905208, 'Carton_gris': 21905209, 'flou': 21905210},) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (21905185) 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([21905185]) 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.551581859588623 time spend to save output : 7.43865966796875e-05 total time spend for step 3 : 0.5516562461853027 step4:send_mail_cod Tue Apr 1 05:47:00 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 : {1348987079: ('0.04566696661668516',), 1348984387: ('0.04566696661668516',), 1348984382: ('0.04566696661668516',), 1348984364: ('0.04566696661668516',), 1348984270: ('0.04566696661668516',), 1348984065: ('0.04566696661668516',), 1348984061: ('0.04566696661668516',), 1348984020: ('0.04566696661668516',), 1348984016: ('0.04566696661668516',), 1348984013: ('0.04566696661668516',), 1348984007: ('0.04566696661668516',), 1348984005: ('0.04566696661668516',), 1348983966: ('0.04566696661668516',), 1348983963: ('0.04566696661668516',), 1348983960: ('0.04566696661668516',), 1348983926: ('0.04566696661668516',), 1348983911: ('0.04566696661668516',), 1348983891: ('0.04566696661668516',), 1348983887: ('0.04566696661668516',), 1348983868: ('0.04566696661668516',), 1348983854: ('0.04566696661668516',), 1348983618: ('0.04566696661668516',), 1348983577: ('0.04566696661668516',), 1348983562: ('0.04566696661668516',), 1348983557: ('0.04566696661668516',), 1348983555: ('0.04566696661668516',), 1348983481: ('0.04566696661668516',), 1348983479: ('0.04566696661668516',), 1348983406: ('0.04566696661668516',), 1348983394: ('0.04566696661668516',), 1348983184: ('0.04566696661668516',), 1348983182: ('0.04566696661668516',), 1348983181: ('0.04566696661668516',)} input_args_next_step : {1348987079: ()} output_args : {1348987079: ('0.04566696661668516',), 1348984387: ('0.04566696661668516',), 1348984382: ('0.04566696661668516',), 1348984364: ('0.04566696661668516',), 1348984270: ('0.04566696661668516',), 1348984065: ('0.04566696661668516',), 1348984061: ('0.04566696661668516',), 1348984020: ('0.04566696661668516',), 1348984016: ('0.04566696661668516',), 1348984013: ('0.04566696661668516',), 1348984007: ('0.04566696661668516',), 1348984005: ('0.04566696661668516',), 1348983966: ('0.04566696661668516',), 1348983963: ('0.04566696661668516',), 1348983960: ('0.04566696661668516',), 1348983926: ('0.04566696661668516',), 1348983911: ('0.04566696661668516',), 1348983891: ('0.04566696661668516',), 1348983887: ('0.04566696661668516',), 1348983868: ('0.04566696661668516',), 1348983854: ('0.04566696661668516',), 1348983618: ('0.04566696661668516',), 1348983577: ('0.04566696661668516',), 1348983562: ('0.04566696661668516',), 1348983557: ('0.04566696661668516',), 1348983555: ('0.04566696661668516',), 1348983481: ('0.04566696661668516',), 1348983479: ('0.04566696661668516',), 1348983406: ('0.04566696661668516',), 1348983394: ('0.04566696661668516',), 1348983184: ('0.04566696661668516',), 1348983182: ('0.04566696661668516',), 1348983181: ('0.04566696661668516',)} args : 1348987079 depend.output_id : 0 input_args_next_step : {1348987079: ('0.04566696661668516',), 1348984387: ()} output_args : {1348987079: ('0.04566696661668516',), 1348984387: ('0.04566696661668516',), 1348984382: ('0.04566696661668516',), 1348984364: ('0.04566696661668516',), 1348984270: ('0.04566696661668516',), 1348984065: ('0.04566696661668516',), 1348984061: ('0.04566696661668516',), 1348984020: ('0.04566696661668516',), 1348984016: ('0.04566696661668516',), 1348984013: ('0.04566696661668516',), 1348984007: ('0.04566696661668516',), 1348984005: ('0.04566696661668516',), 1348983966: ('0.04566696661668516',), 1348983963: ('0.04566696661668516',), 1348983960: ('0.04566696661668516',), 1348983926: ('0.04566696661668516',), 1348983911: ('0.04566696661668516',), 1348983891: ('0.04566696661668516',), 1348983887: ('0.04566696661668516',), 1348983868: ('0.04566696661668516',), 1348983854: ('0.04566696661668516',), 1348983618: ('0.04566696661668516',), 1348983577: ('0.04566696661668516',), 1348983562: ('0.04566696661668516',), 1348983557: ('0.04566696661668516',), 1348983555: ('0.04566696661668516',), 1348983481: ('0.04566696661668516',), 1348983479: ('0.04566696661668516',), 1348983406: ('0.04566696661668516',), 1348983394: ('0.04566696661668516',), 1348983184: ('0.04566696661668516',), 1348983182: ('0.04566696661668516',), 1348983181: ('0.04566696661668516',)} args : 1348984387 depend.output_id : 0 input_args_next_step : {1348987079: ('0.04566696661668516',), 1348984387: ('0.04566696661668516',), 1348984382: ()} output_args : {1348987079: ('0.04566696661668516',), 1348984387: ('0.04566696661668516',), 1348984382: ('0.04566696661668516',), 1348984364: ('0.04566696661668516',), 1348984270: ('0.04566696661668516',), 1348984065: ('0.04566696661668516',), 1348984061: ('0.04566696661668516',), 1348984020: ('0.04566696661668516',), 1348984016: ('0.04566696661668516',), 1348984013: ('0.04566696661668516',), 1348984007: ('0.04566696661668516',), 1348984005: ('0.04566696661668516',), 1348983966: ('0.04566696661668516',), 1348983963: ('0.04566696661668516',), 1348983960: ('0.04566696661668516',), 1348983926: ('0.04566696661668516',), 1348983911: ('0.04566696661668516',), 1348983891: ('0.04566696661668516',), 1348983887: ('0.04566696661668516',), 1348983868: ('0.04566696661668516',), 1348983854: ('0.04566696661668516',), 1348983618: ('0.04566696661668516',), 1348983577: ('0.04566696661668516',), 1348983562: ('0.04566696661668516',), 1348983557: ('0.04566696661668516',), 1348983555: ('0.04566696661668516',), 1348983481: ('0.04566696661668516',), 1348983479: ('0.04566696661668516',), 1348983406: ('0.04566696661668516',), 1348983394: ('0.04566696661668516',), 1348983184: ('0.04566696661668516',), 1348983182: ('0.04566696661668516',), 1348983181: ('0.04566696661668516',)} args : 1348984382 depend.output_id : 0 input_args_next_step : {1348987079: ('0.04566696661668516',), 1348984387: ('0.04566696661668516',), 1348984382: ('0.04566696661668516',), 1348984364: ()} output_args : {1348987079: ('0.04566696661668516',), 1348984387: ('0.04566696661668516',), 1348984382: ('0.04566696661668516',), 1348984364: ('0.04566696661668516',), 1348984270: ('0.04566696661668516',), 1348984065: ('0.04566696661668516',), 1348984061: ('0.04566696661668516',), 1348984020: ('0.04566696661668516',), 1348984016: ('0.04566696661668516',), 1348984013: ('0.04566696661668516',), 1348984007: ('0.04566696661668516',), 1348984005: ('0.04566696661668516',), 1348983966: ('0.04566696661668516',), 1348983963: ('0.04566696661668516',), 1348983960: ('0.04566696661668516',), 1348983926: ('0.04566696661668516',), 1348983911: ('0.04566696661668516',), 1348983891: ('0.04566696661668516',), 1348983887: ('0.04566696661668516',), 1348983868: ('0.04566696661668516',), 1348983854: ('0.04566696661668516',), 1348983618: ('0.04566696661668516',), 1348983577: ('0.04566696661668516',), 1348983562: ('0.04566696661668516',), 1348983557: ('0.04566696661668516',), 1348983555: ('0.04566696661668516',), 1348983481: ('0.04566696661668516',), 1348983479: ('0.04566696661668516',), 1348983406: ('0.04566696661668516',), 1348983394: ('0.04566696661668516',), 1348983184: ('0.04566696661668516',), 1348983182: ('0.04566696661668516',), 1348983181: ('0.04566696661668516',)} args : 1348984364 depend.output_id : 0 input_args_next_step : {1348987079: ('0.04566696661668516',), 1348984387: ('0.04566696661668516',), 1348984382: ('0.04566696661668516',), 1348984364: ('0.04566696661668516',), 1348984270: ()} output_args : {1348987079: ('0.04566696661668516',), 1348984387: ('0.04566696661668516',), 1348984382: ('0.04566696661668516',), 1348984364: ('0.04566696661668516',), 1348984270: ('0.04566696661668516',), 1348984065: ('0.04566696661668516',), 1348984061: ('0.04566696661668516',), 1348984020: ('0.04566696661668516',), 1348984016: ('0.04566696661668516',), 1348984013: ('0.04566696661668516',), 1348984007: ('0.04566696661668516',), 1348984005: ('0.04566696661668516',), 1348983966: ('0.04566696661668516',), 1348983963: ('0.04566696661668516',), 1348983960: ('0.04566696661668516',), 1348983926: ('0.04566696661668516',), 1348983911: ('0.04566696661668516',), 1348983891: ('0.04566696661668516',), 1348983887: ('0.04566696661668516',), 1348983868: ('0.04566696661668516',), 1348983854: ('0.04566696661668516',), 1348983618: ('0.04566696661668516',), 1348983577: ('0.04566696661668516',), 1348983562: ('0.04566696661668516',), 1348983557: ('0.04566696661668516',), 1348983555: ('0.04566696661668516',), 1348983481: ('0.04566696661668516',), 1348983479: ('0.04566696661668516',), 1348983406: ('0.04566696661668516',), 1348983394: ('0.04566696661668516',), 1348983184: ('0.04566696661668516',), 1348983182: ('0.04566696661668516',), 1348983181: ('0.04566696661668516',)} args : 1348984270 depend.output_id : 0 input_args_next_step : {1348987079: ('0.04566696661668516',), 1348984387: ('0.04566696661668516',), 1348984382: ('0.04566696661668516',), 1348984364: ('0.04566696661668516',), 1348984270: ('0.04566696661668516',), 1348984065: ()} output_args : {1348987079: ('0.04566696661668516',), 1348984387: ('0.04566696661668516',), 1348984382: ('0.04566696661668516',), 1348984364: ('0.04566696661668516',), 1348984270: ('0.04566696661668516',), 1348984065: ('0.04566696661668516',), 1348984061: ('0.04566696661668516',), 1348984020: ('0.04566696661668516',), 1348984016: ('0.04566696661668516',), 1348984013: ('0.04566696661668516',), 1348984007: ('0.04566696661668516',), 1348984005: ('0.04566696661668516',), 1348983966: ('0.04566696661668516',), 1348983963: ('0.04566696661668516',), 1348983960: ('0.04566696661668516',), 1348983926: ('0.04566696661668516',), 1348983911: ('0.04566696661668516',), 1348983891: ('0.04566696661668516',), 1348983887: ('0.04566696661668516',), 1348983868: ('0.04566696661668516',), 1348983854: ('0.04566696661668516',), 1348983618: ('0.04566696661668516',), 1348983577: ('0.04566696661668516',), 1348983562: ('0.04566696661668516',), 1348983557: ('0.04566696661668516',), 1348983555: ('0.04566696661668516',), 1348983481: ('0.04566696661668516',), 1348983479: ('0.04566696661668516',), 1348983406: ('0.04566696661668516',), 1348983394: ('0.04566696661668516',), 1348983184: ('0.04566696661668516',), 1348983182: ('0.04566696661668516',), 1348983181: ('0.04566696661668516',)} args : 1348984065 depend.output_id : 0 input_args_next_step : {1348987079: ('0.04566696661668516',), 1348984387: ('0.04566696661668516',), 1348984382: ('0.04566696661668516',), 1348984364: ('0.04566696661668516',), 1348984270: ('0.04566696661668516',), 1348984065: ('0.04566696661668516',), 1348984061: ()} output_args : {1348987079: ('0.04566696661668516',), 1348984387: ('0.04566696661668516',), 1348984382: ('0.04566696661668516',), 1348984364: ('0.04566696661668516',), 1348984270: ('0.04566696661668516',), 1348984065: ('0.04566696661668516',), 1348984061: ('0.04566696661668516',), 1348984020: ('0.04566696661668516',), 1348984016: ('0.04566696661668516',), 1348984013: ('0.04566696661668516',), 1348984007: ('0.04566696661668516',), 1348984005: ('0.04566696661668516',), 1348983966: ('0.04566696661668516',), 1348983963: ('0.04566696661668516',), 1348983960: ('0.04566696661668516',), 1348983926: ('0.04566696661668516',), 1348983911: ('0.04566696661668516',), 1348983891: ('0.04566696661668516',), 1348983887: ('0.04566696661668516',), 1348983868: ('0.04566696661668516',), 1348983854: ('0.04566696661668516',), 1348983618: ('0.04566696661668516',), 1348983577: ('0.04566696661668516',), 1348983562: ('0.04566696661668516',), 1348983557: ('0.04566696661668516',), 1348983555: ('0.04566696661668516',), 1348983481: ('0.04566696661668516',), 1348983479: ('0.04566696661668516',), 1348983406: ('0.04566696661668516',), 1348983394: ('0.04566696661668516',), 1348983184: ('0.04566696661668516',), 1348983182: ('0.04566696661668516',), 1348983181: ('0.04566696661668516',)} args : 1348984061 depend.output_id : 0 input_args_next_step : {1348987079: ('0.04566696661668516',), 1348984387: ('0.04566696661668516',), 1348984382: ('0.04566696661668516',), 1348984364: ('0.04566696661668516',), 1348984270: ('0.04566696661668516',), 1348984065: ('0.04566696661668516',), 1348984061: ('0.04566696661668516',), 1348984020: ()} output_args : {1348987079: ('0.04566696661668516',), 1348984387: ('0.04566696661668516',), 1348984382: ('0.04566696661668516',), 1348984364: ('0.04566696661668516',), 1348984270: ('0.04566696661668516',), 1348984065: ('0.04566696661668516',), 1348984061: ('0.04566696661668516',), 1348984020: ('0.04566696661668516',), 1348984016: ('0.04566696661668516',), 1348984013: ('0.04566696661668516',), 1348984007: ('0.04566696661668516',), 1348984005: ('0.04566696661668516',), 1348983966: ('0.04566696661668516',), 1348983963: ('0.04566696661668516',), 1348983960: ('0.04566696661668516',), 1348983926: ('0.04566696661668516',), 1348983911: ('0.04566696661668516',), 1348983891: ('0.04566696661668516',), 1348983887: ('0.04566696661668516',), 1348983868: ('0.04566696661668516',), 1348983854: ('0.04566696661668516',), 1348983618: ('0.04566696661668516',), 1348983577: ('0.04566696661668516',), 1348983562: ('0.04566696661668516',), 1348983557: ('0.04566696661668516',), 1348983555: ('0.04566696661668516',), 1348983481: ('0.04566696661668516',), 1348983479: ('0.04566696661668516',), 1348983406: ('0.04566696661668516',), 1348983394: ('0.04566696661668516',), 1348983184: ('0.04566696661668516',), 1348983182: ('0.04566696661668516',), 1348983181: ('0.04566696661668516',)} args : 1348984020 depend.output_id : 0 input_args_next_step : {1348987079: ('0.04566696661668516',), 1348984387: ('0.04566696661668516',), 1348984382: ('0.04566696661668516',), 1348984364: ('0.04566696661668516',), 1348984270: ('0.04566696661668516',), 1348984065: ('0.04566696661668516',), 1348984061: ('0.04566696661668516',), 1348984020: ('0.04566696661668516',), 1348984016: ()} output_args : {1348987079: ('0.04566696661668516',), 1348984387: ('0.04566696661668516',), 1348984382: ('0.04566696661668516',), 1348984364: ('0.04566696661668516',), 1348984270: ('0.04566696661668516',), 1348984065: ('0.04566696661668516',), 1348984061: ('0.04566696661668516',), 1348984020: ('0.04566696661668516',), 1348984016: ('0.04566696661668516',), 1348984013: ('0.04566696661668516',), 1348984007: ('0.04566696661668516',), 1348984005: ('0.04566696661668516',), 1348983966: ('0.04566696661668516',), 1348983963: ('0.04566696661668516',), 1348983960: ('0.04566696661668516',), 1348983926: ('0.04566696661668516',), 1348983911: ('0.04566696661668516',), 1348983891: ('0.04566696661668516',), 1348983887: ('0.04566696661668516',), 1348983868: ('0.04566696661668516',), 1348983854: ('0.04566696661668516',), 1348983618: ('0.04566696661668516',), 1348983577: ('0.04566696661668516',), 1348983562: ('0.04566696661668516',), 1348983557: ('0.04566696661668516',), 1348983555: ('0.04566696661668516',), 1348983481: ('0.04566696661668516',), 1348983479: ('0.04566696661668516',), 1348983406: ('0.04566696661668516',), 1348983394: ('0.04566696661668516',), 1348983184: ('0.04566696661668516',), 1348983182: ('0.04566696661668516',), 1348983181: ('0.04566696661668516',)} args : 1348984016 depend.output_id : 0 input_args_next_step : {1348987079: ('0.04566696661668516',), 1348984387: ('0.04566696661668516',), 1348984382: ('0.04566696661668516',), 1348984364: ('0.04566696661668516',), 1348984270: ('0.04566696661668516',), 1348984065: ('0.04566696661668516',), 1348984061: ('0.04566696661668516',), 1348984020: ('0.04566696661668516',), 1348984016: ('0.04566696661668516',), 1348984013: ()} output_args : {1348987079: ('0.04566696661668516',), 1348984387: ('0.04566696661668516',), 1348984382: ('0.04566696661668516',), 1348984364: ('0.04566696661668516',), 1348984270: ('0.04566696661668516',), 1348984065: ('0.04566696661668516',), 1348984061: ('0.04566696661668516',), 1348984020: ('0.04566696661668516',), 1348984016: ('0.04566696661668516',), 1348984013: ('0.04566696661668516',), 1348984007: ('0.04566696661668516',), 1348984005: ('0.04566696661668516',), 1348983966: ('0.04566696661668516',), 1348983963: ('0.04566696661668516',), 1348983960: ('0.04566696661668516',), 1348983926: ('0.04566696661668516',), 1348983911: ('0.04566696661668516',), 1348983891: ('0.04566696661668516',), 1348983887: ('0.04566696661668516',), 1348983868: ('0.04566696661668516',), 1348983854: ('0.04566696661668516',), 1348983618: ('0.04566696661668516',), 1348983577: ('0.04566696661668516',), 1348983562: ('0.04566696661668516',), 1348983557: ('0.04566696661668516',), 1348983555: ('0.04566696661668516',), 1348983481: ('0.04566696661668516',), 1348983479: ('0.04566696661668516',), 1348983406: ('0.04566696661668516',), 1348983394: ('0.04566696661668516',), 1348983184: ('0.04566696661668516',), 1348983182: ('0.04566696661668516',), 1348983181: ('0.04566696661668516',)} args : 1348984013 depend.output_id : 0 input_args_next_step : {1348987079: ('0.04566696661668516',), 1348984387: ('0.04566696661668516',), 1348984382: ('0.04566696661668516',), 1348984364: ('0.04566696661668516',), 1348984270: ('0.04566696661668516',), 1348984065: ('0.04566696661668516',), 1348984061: ('0.04566696661668516',), 1348984020: ('0.04566696661668516',), 1348984016: ('0.04566696661668516',), 1348984013: ('0.04566696661668516',), 1348984007: ()} output_args : {1348987079: ('0.04566696661668516',), 1348984387: ('0.04566696661668516',), 1348984382: ('0.04566696661668516',), 1348984364: ('0.04566696661668516',), 1348984270: ('0.04566696661668516',), 1348984065: ('0.04566696661668516',), 1348984061: ('0.04566696661668516',), 1348984020: ('0.04566696661668516',), 1348984016: ('0.04566696661668516',), 1348984013: ('0.04566696661668516',), 1348984007: ('0.04566696661668516',), 1348984005: ('0.04566696661668516',), 1348983966: ('0.04566696661668516',), 1348983963: ('0.04566696661668516',), 1348983960: ('0.04566696661668516',), 1348983926: ('0.04566696661668516',), 1348983911: ('0.04566696661668516',), 1348983891: ('0.04566696661668516',), 1348983887: ('0.04566696661668516',), 1348983868: ('0.04566696661668516',), 1348983854: ('0.04566696661668516',), 1348983618: ('0.04566696661668516',), 1348983577: ('0.04566696661668516',), 1348983562: ('0.04566696661668516',), 1348983557: ('0.04566696661668516',), 1348983555: ('0.04566696661668516',), 1348983481: ('0.04566696661668516',), 1348983479: ('0.04566696661668516',), 1348983406: ('0.04566696661668516',), 1348983394: ('0.04566696661668516',), 1348983184: ('0.04566696661668516',), 1348983182: ('0.04566696661668516',), 1348983181: ('0.04566696661668516',)} args : 1348984007 depend.output_id : 0 input_args_next_step : {1348987079: ('0.04566696661668516',), 1348984387: ('0.04566696661668516',), 1348984382: ('0.04566696661668516',), 1348984364: ('0.04566696661668516',), 1348984270: ('0.04566696661668516',), 1348984065: ('0.04566696661668516',), 1348984061: ('0.04566696661668516',), 1348984020: ('0.04566696661668516',), 1348984016: ('0.04566696661668516',), 1348984013: ('0.04566696661668516',), 1348984007: ('0.04566696661668516',), 1348984005: ()} output_args : {1348987079: ('0.04566696661668516',), 1348984387: ('0.04566696661668516',), 1348984382: ('0.04566696661668516',), 1348984364: ('0.04566696661668516',), 1348984270: ('0.04566696661668516',), 1348984065: ('0.04566696661668516',), 1348984061: ('0.04566696661668516',), 1348984020: ('0.04566696661668516',), 1348984016: ('0.04566696661668516',), 1348984013: ('0.04566696661668516',), 1348984007: ('0.04566696661668516',), 1348984005: ('0.04566696661668516',), 1348983966: ('0.04566696661668516',), 1348983963: ('0.04566696661668516',), 1348983960: ('0.04566696661668516',), 1348983926: ('0.04566696661668516',), 1348983911: ('0.04566696661668516',), 1348983891: ('0.04566696661668516',), 1348983887: ('0.04566696661668516',), 1348983868: ('0.04566696661668516',), 1348983854: ('0.04566696661668516',), 1348983618: ('0.04566696661668516',), 1348983577: ('0.04566696661668516',), 1348983562: ('0.04566696661668516',), 1348983557: ('0.04566696661668516',), 1348983555: ('0.04566696661668516',), 1348983481: ('0.04566696661668516',), 1348983479: ('0.04566696661668516',), 1348983406: ('0.04566696661668516',), 1348983394: ('0.04566696661668516',), 1348983184: ('0.04566696661668516',), 1348983182: ('0.04566696661668516',), 1348983181: ('0.04566696661668516',)} args : 1348984005 depend.output_id : 0 input_args_next_step : {1348987079: ('0.04566696661668516',), 1348984387: ('0.04566696661668516',), 1348984382: ('0.04566696661668516',), 1348984364: ('0.04566696661668516',), 1348984270: ('0.04566696661668516',), 1348984065: ('0.04566696661668516',), 1348984061: ('0.04566696661668516',), 1348984020: ('0.04566696661668516',), 1348984016: ('0.04566696661668516',), 1348984013: ('0.04566696661668516',), 1348984007: ('0.04566696661668516',), 1348984005: ('0.04566696661668516',), 1348983966: ()} output_args : {1348987079: ('0.04566696661668516',), 1348984387: ('0.04566696661668516',), 1348984382: ('0.04566696661668516',), 1348984364: ('0.04566696661668516',), 1348984270: ('0.04566696661668516',), 1348984065: ('0.04566696661668516',), 1348984061: ('0.04566696661668516',), 1348984020: ('0.04566696661668516',), 1348984016: ('0.04566696661668516',), 1348984013: ('0.04566696661668516',), 1348984007: ('0.04566696661668516',), 1348984005: ('0.04566696661668516',), 1348983966: ('0.04566696661668516',), 1348983963: ('0.04566696661668516',), 1348983960: ('0.04566696661668516',), 1348983926: ('0.04566696661668516',), 1348983911: ('0.04566696661668516',), 1348983891: ('0.04566696661668516',), 1348983887: ('0.04566696661668516',), 1348983868: ('0.04566696661668516',), 1348983854: ('0.04566696661668516',), 1348983618: ('0.04566696661668516',), 1348983577: ('0.04566696661668516',), 1348983562: ('0.04566696661668516',), 1348983557: ('0.04566696661668516',), 1348983555: ('0.04566696661668516',), 1348983481: ('0.04566696661668516',), 1348983479: ('0.04566696661668516',), 1348983406: ('0.04566696661668516',), 1348983394: ('0.04566696661668516',), 1348983184: ('0.04566696661668516',), 1348983182: ('0.04566696661668516',), 1348983181: ('0.04566696661668516',)} args : 1348983966 depend.output_id : 0 input_args_next_step : {1348987079: ('0.04566696661668516',), 1348984387: ('0.04566696661668516',), 1348984382: ('0.04566696661668516',), 1348984364: ('0.04566696661668516',), 1348984270: ('0.04566696661668516',), 1348984065: ('0.04566696661668516',), 1348984061: ('0.04566696661668516',), 1348984020: ('0.04566696661668516',), 1348984016: ('0.04566696661668516',), 1348984013: ('0.04566696661668516',), 1348984007: ('0.04566696661668516',), 1348984005: ('0.04566696661668516',), 1348983966: ('0.04566696661668516',), 1348983963: ()} output_args : {1348987079: ('0.04566696661668516',), 1348984387: ('0.04566696661668516',), 1348984382: ('0.04566696661668516',), 1348984364: ('0.04566696661668516',), 1348984270: ('0.04566696661668516',), 1348984065: ('0.04566696661668516',), 1348984061: ('0.04566696661668516',), 1348984020: ('0.04566696661668516',), 1348984016: ('0.04566696661668516',), 1348984013: ('0.04566696661668516',), 1348984007: ('0.04566696661668516',), 1348984005: ('0.04566696661668516',), 1348983966: ('0.04566696661668516',), 1348983963: ('0.04566696661668516',), 1348983960: ('0.04566696661668516',), 1348983926: ('0.04566696661668516',), 1348983911: ('0.04566696661668516',), 1348983891: ('0.04566696661668516',), 1348983887: ('0.04566696661668516',), 1348983868: ('0.04566696661668516',), 1348983854: ('0.04566696661668516',), 1348983618: ('0.04566696661668516',), 1348983577: ('0.04566696661668516',), 1348983562: ('0.04566696661668516',), 1348983557: ('0.04566696661668516',), 1348983555: ('0.04566696661668516',), 1348983481: ('0.04566696661668516',), 1348983479: ('0.04566696661668516',), 1348983406: ('0.04566696661668516',), 1348983394: ('0.04566696661668516',), 1348983184: ('0.04566696661668516',), 1348983182: ('0.04566696661668516',), 1348983181: ('0.04566696661668516',)} args : 1348983963 depend.output_id : 0 input_args_next_step : {1348987079: ('0.04566696661668516',), 1348984387: ('0.04566696661668516',), 1348984382: ('0.04566696661668516',), 1348984364: ('0.04566696661668516',), 1348984270: ('0.04566696661668516',), 1348984065: ('0.04566696661668516',), 1348984061: ('0.04566696661668516',), 1348984020: ('0.04566696661668516',), 1348984016: ('0.04566696661668516',), 1348984013: ('0.04566696661668516',), 1348984007: ('0.04566696661668516',), 1348984005: ('0.04566696661668516',), 1348983966: ('0.04566696661668516',), 1348983963: ('0.04566696661668516',), 1348983960: ()} output_args : {1348987079: ('0.04566696661668516',), 1348984387: ('0.04566696661668516',), 1348984382: ('0.04566696661668516',), 1348984364: ('0.04566696661668516',), 1348984270: ('0.04566696661668516',), 1348984065: ('0.04566696661668516',), 1348984061: ('0.04566696661668516',), 1348984020: ('0.04566696661668516',), 1348984016: ('0.04566696661668516',), 1348984013: ('0.04566696661668516',), 1348984007: ('0.04566696661668516',), 1348984005: ('0.04566696661668516',), 1348983966: ('0.04566696661668516',), 1348983963: ('0.04566696661668516',), 1348983960: ('0.04566696661668516',), 1348983926: ('0.04566696661668516',), 1348983911: ('0.04566696661668516',), 1348983891: ('0.04566696661668516',), 1348983887: ('0.04566696661668516',), 1348983868: ('0.04566696661668516',), 1348983854: ('0.04566696661668516',), 1348983618: ('0.04566696661668516',), 1348983577: ('0.04566696661668516',), 1348983562: ('0.04566696661668516',), 1348983557: ('0.04566696661668516',), 1348983555: ('0.04566696661668516',), 1348983481: ('0.04566696661668516',), 1348983479: ('0.04566696661668516',), 1348983406: ('0.04566696661668516',), 1348983394: ('0.04566696661668516',), 1348983184: ('0.04566696661668516',), 1348983182: ('0.04566696661668516',), 1348983181: ('0.04566696661668516',)} args : 1348983960 depend.output_id : 0 input_args_next_step : {1348987079: ('0.04566696661668516',), 1348984387: ('0.04566696661668516',), 1348984382: ('0.04566696661668516',), 1348984364: ('0.04566696661668516',), 1348984270: ('0.04566696661668516',), 1348984065: ('0.04566696661668516',), 1348984061: ('0.04566696661668516',), 1348984020: ('0.04566696661668516',), 1348984016: ('0.04566696661668516',), 1348984013: ('0.04566696661668516',), 1348984007: ('0.04566696661668516',), 1348984005: ('0.04566696661668516',), 1348983966: ('0.04566696661668516',), 1348983963: ('0.04566696661668516',), 1348983960: ('0.04566696661668516',), 1348983926: ()} output_args : {1348987079: ('0.04566696661668516',), 1348984387: ('0.04566696661668516',), 1348984382: ('0.04566696661668516',), 1348984364: ('0.04566696661668516',), 1348984270: ('0.04566696661668516',), 1348984065: ('0.04566696661668516',), 1348984061: ('0.04566696661668516',), 1348984020: ('0.04566696661668516',), 1348984016: ('0.04566696661668516',), 1348984013: ('0.04566696661668516',), 1348984007: ('0.04566696661668516',), 1348984005: ('0.04566696661668516',), 1348983966: ('0.04566696661668516',), 1348983963: ('0.04566696661668516',), 1348983960: ('0.04566696661668516',), 1348983926: ('0.04566696661668516',), 1348983911: ('0.04566696661668516',), 1348983891: ('0.04566696661668516',), 1348983887: ('0.04566696661668516',), 1348983868: ('0.04566696661668516',), 1348983854: ('0.04566696661668516',), 1348983618: ('0.04566696661668516',), 1348983577: ('0.04566696661668516',), 1348983562: ('0.04566696661668516',), 1348983557: ('0.04566696661668516',), 1348983555: ('0.04566696661668516',), 1348983481: ('0.04566696661668516',), 1348983479: ('0.04566696661668516',), 1348983406: ('0.04566696661668516',), 1348983394: ('0.04566696661668516',), 1348983184: ('0.04566696661668516',), 1348983182: ('0.04566696661668516',), 1348983181: ('0.04566696661668516',)} args : 1348983926 depend.output_id : 0 input_args_next_step : {1348987079: ('0.04566696661668516',), 1348984387: ('0.04566696661668516',), 1348984382: ('0.04566696661668516',), 1348984364: ('0.04566696661668516',), 1348984270: ('0.04566696661668516',), 1348984065: ('0.04566696661668516',), 1348984061: ('0.04566696661668516',), 1348984020: ('0.04566696661668516',), 1348984016: ('0.04566696661668516',), 1348984013: ('0.04566696661668516',), 1348984007: ('0.04566696661668516',), 1348984005: ('0.04566696661668516',), 1348983966: ('0.04566696661668516',), 1348983963: ('0.04566696661668516',), 1348983960: ('0.04566696661668516',), 1348983926: ('0.04566696661668516',), 1348983911: ()} output_args : {1348987079: ('0.04566696661668516',), 1348984387: ('0.04566696661668516',), 1348984382: ('0.04566696661668516',), 1348984364: ('0.04566696661668516',), 1348984270: ('0.04566696661668516',), 1348984065: ('0.04566696661668516',), 1348984061: ('0.04566696661668516',), 1348984020: ('0.04566696661668516',), 1348984016: ('0.04566696661668516',), 1348984013: ('0.04566696661668516',), 1348984007: ('0.04566696661668516',), 1348984005: ('0.04566696661668516',), 1348983966: ('0.04566696661668516',), 1348983963: ('0.04566696661668516',), 1348983960: ('0.04566696661668516',), 1348983926: ('0.04566696661668516',), 1348983911: ('0.04566696661668516',), 1348983891: ('0.04566696661668516',), 1348983887: ('0.04566696661668516',), 1348983868: ('0.04566696661668516',), 1348983854: ('0.04566696661668516',), 1348983618: ('0.04566696661668516',), 1348983577: ('0.04566696661668516',), 1348983562: ('0.04566696661668516',), 1348983557: ('0.04566696661668516',), 1348983555: ('0.04566696661668516',), 1348983481: ('0.04566696661668516',), 1348983479: ('0.04566696661668516',), 1348983406: ('0.04566696661668516',), 1348983394: ('0.04566696661668516',), 1348983184: ('0.04566696661668516',), 1348983182: ('0.04566696661668516',), 1348983181: ('0.04566696661668516',)} args : 1348983911 depend.output_id : 0 input_args_next_step : {1348987079: ('0.04566696661668516',), 1348984387: ('0.04566696661668516',), 1348984382: ('0.04566696661668516',), 1348984364: ('0.04566696661668516',), 1348984270: ('0.04566696661668516',), 1348984065: ('0.04566696661668516',), 1348984061: ('0.04566696661668516',), 1348984020: ('0.04566696661668516',), 1348984016: ('0.04566696661668516',), 1348984013: ('0.04566696661668516',), 1348984007: ('0.04566696661668516',), 1348984005: ('0.04566696661668516',), 1348983966: ('0.04566696661668516',), 1348983963: ('0.04566696661668516',), 1348983960: ('0.04566696661668516',), 1348983926: ('0.04566696661668516',), 1348983911: ('0.04566696661668516',), 1348983891: ()} output_args : {1348987079: ('0.04566696661668516',), 1348984387: ('0.04566696661668516',), 1348984382: ('0.04566696661668516',), 1348984364: ('0.04566696661668516',), 1348984270: ('0.04566696661668516',), 1348984065: ('0.04566696661668516',), 1348984061: ('0.04566696661668516',), 1348984020: ('0.04566696661668516',), 1348984016: ('0.04566696661668516',), 1348984013: ('0.04566696661668516',), 1348984007: ('0.04566696661668516',), 1348984005: ('0.04566696661668516',), 1348983966: ('0.04566696661668516',), 1348983963: ('0.04566696661668516',), 1348983960: ('0.04566696661668516',), 1348983926: ('0.04566696661668516',), 1348983911: ('0.04566696661668516',), 1348983891: ('0.04566696661668516',), 1348983887: ('0.04566696661668516',), 1348983868: ('0.04566696661668516',), 1348983854: ('0.04566696661668516',), 1348983618: ('0.04566696661668516',), 1348983577: ('0.04566696661668516',), 1348983562: ('0.04566696661668516',), 1348983557: ('0.04566696661668516',), 1348983555: ('0.04566696661668516',), 1348983481: ('0.04566696661668516',), 1348983479: ('0.04566696661668516',), 1348983406: ('0.04566696661668516',), 1348983394: ('0.04566696661668516',), 1348983184: ('0.04566696661668516',), 1348983182: ('0.04566696661668516',), 1348983181: ('0.04566696661668516',)} args : 1348983891 depend.output_id : 0 input_args_next_step : {1348987079: ('0.04566696661668516',), 1348984387: ('0.04566696661668516',), 1348984382: ('0.04566696661668516',), 1348984364: ('0.04566696661668516',), 1348984270: ('0.04566696661668516',), 1348984065: ('0.04566696661668516',), 1348984061: ('0.04566696661668516',), 1348984020: ('0.04566696661668516',), 1348984016: ('0.04566696661668516',), 1348984013: ('0.04566696661668516',), 1348984007: ('0.04566696661668516',), 1348984005: ('0.04566696661668516',), 1348983966: ('0.04566696661668516',), 1348983963: ('0.04566696661668516',), 1348983960: ('0.04566696661668516',), 1348983926: ('0.04566696661668516',), 1348983911: ('0.04566696661668516',), 1348983891: ('0.04566696661668516',), 1348983887: ()} output_args : {1348987079: ('0.04566696661668516',), 1348984387: ('0.04566696661668516',), 1348984382: ('0.04566696661668516',), 1348984364: ('0.04566696661668516',), 1348984270: ('0.04566696661668516',), 1348984065: ('0.04566696661668516',), 1348984061: ('0.04566696661668516',), 1348984020: ('0.04566696661668516',), 1348984016: ('0.04566696661668516',), 1348984013: ('0.04566696661668516',), 1348984007: ('0.04566696661668516',), 1348984005: ('0.04566696661668516',), 1348983966: ('0.04566696661668516',), 1348983963: ('0.04566696661668516',), 1348983960: ('0.04566696661668516',), 1348983926: ('0.04566696661668516',), 1348983911: ('0.04566696661668516',), 1348983891: ('0.04566696661668516',), 1348983887: ('0.04566696661668516',), 1348983868: ('0.04566696661668516',), 1348983854: ('0.04566696661668516',), 1348983618: ('0.04566696661668516',), 1348983577: ('0.04566696661668516',), 1348983562: ('0.04566696661668516',), 1348983557: ('0.04566696661668516',), 1348983555: ('0.04566696661668516',), 1348983481: ('0.04566696661668516',), 1348983479: ('0.04566696661668516',), 1348983406: ('0.04566696661668516',), 1348983394: ('0.04566696661668516',), 1348983184: ('0.04566696661668516',), 1348983182: ('0.04566696661668516',), 1348983181: ('0.04566696661668516',)} args : 1348983887 depend.output_id : 0 input_args_next_step : {1348987079: ('0.04566696661668516',), 1348984387: ('0.04566696661668516',), 1348984382: ('0.04566696661668516',), 1348984364: ('0.04566696661668516',), 1348984270: ('0.04566696661668516',), 1348984065: ('0.04566696661668516',), 1348984061: ('0.04566696661668516',), 1348984020: ('0.04566696661668516',), 1348984016: ('0.04566696661668516',), 1348984013: ('0.04566696661668516',), 1348984007: ('0.04566696661668516',), 1348984005: ('0.04566696661668516',), 1348983966: ('0.04566696661668516',), 1348983963: ('0.04566696661668516',), 1348983960: ('0.04566696661668516',), 1348983926: ('0.04566696661668516',), 1348983911: ('0.04566696661668516',), 1348983891: ('0.04566696661668516',), 1348983887: ('0.04566696661668516',), 1348983868: ()} output_args : {1348987079: ('0.04566696661668516',), 1348984387: ('0.04566696661668516',), 1348984382: ('0.04566696661668516',), 1348984364: ('0.04566696661668516',), 1348984270: ('0.04566696661668516',), 1348984065: ('0.04566696661668516',), 1348984061: ('0.04566696661668516',), 1348984020: ('0.04566696661668516',), 1348984016: ('0.04566696661668516',), 1348984013: ('0.04566696661668516',), 1348984007: ('0.04566696661668516',), 1348984005: ('0.04566696661668516',), 1348983966: ('0.04566696661668516',), 1348983963: ('0.04566696661668516',), 1348983960: ('0.04566696661668516',), 1348983926: ('0.04566696661668516',), 1348983911: ('0.04566696661668516',), 1348983891: ('0.04566696661668516',), 1348983887: ('0.04566696661668516',), 1348983868: ('0.04566696661668516',), 1348983854: ('0.04566696661668516',), 1348983618: ('0.04566696661668516',), 1348983577: ('0.04566696661668516',), 1348983562: ('0.04566696661668516',), 1348983557: ('0.04566696661668516',), 1348983555: ('0.04566696661668516',), 1348983481: ('0.04566696661668516',), 1348983479: ('0.04566696661668516',), 1348983406: ('0.04566696661668516',), 1348983394: ('0.04566696661668516',), 1348983184: ('0.04566696661668516',), 1348983182: ('0.04566696661668516',), 1348983181: ('0.04566696661668516',)} args : 1348983868 depend.output_id : 0 input_args_next_step : {1348987079: ('0.04566696661668516',), 1348984387: ('0.04566696661668516',), 1348984382: ('0.04566696661668516',), 1348984364: ('0.04566696661668516',), 1348984270: ('0.04566696661668516',), 1348984065: ('0.04566696661668516',), 1348984061: ('0.04566696661668516',), 1348984020: ('0.04566696661668516',), 1348984016: ('0.04566696661668516',), 1348984013: ('0.04566696661668516',), 1348984007: ('0.04566696661668516',), 1348984005: ('0.04566696661668516',), 1348983966: ('0.04566696661668516',), 1348983963: ('0.04566696661668516',), 1348983960: ('0.04566696661668516',), 1348983926: ('0.04566696661668516',), 1348983911: ('0.04566696661668516',), 1348983891: ('0.04566696661668516',), 1348983887: ('0.04566696661668516',), 1348983868: ('0.04566696661668516',), 1348983854: ()} output_args : {1348987079: ('0.04566696661668516',), 1348984387: ('0.04566696661668516',), 1348984382: ('0.04566696661668516',), 1348984364: ('0.04566696661668516',), 1348984270: ('0.04566696661668516',), 1348984065: ('0.04566696661668516',), 1348984061: ('0.04566696661668516',), 1348984020: ('0.04566696661668516',), 1348984016: ('0.04566696661668516',), 1348984013: ('0.04566696661668516',), 1348984007: ('0.04566696661668516',), 1348984005: ('0.04566696661668516',), 1348983966: ('0.04566696661668516',), 1348983963: ('0.04566696661668516',), 1348983960: ('0.04566696661668516',), 1348983926: ('0.04566696661668516',), 1348983911: ('0.04566696661668516',), 1348983891: ('0.04566696661668516',), 1348983887: ('0.04566696661668516',), 1348983868: ('0.04566696661668516',), 1348983854: ('0.04566696661668516',), 1348983618: ('0.04566696661668516',), 1348983577: ('0.04566696661668516',), 1348983562: ('0.04566696661668516',), 1348983557: ('0.04566696661668516',), 1348983555: ('0.04566696661668516',), 1348983481: ('0.04566696661668516',), 1348983479: ('0.04566696661668516',), 1348983406: ('0.04566696661668516',), 1348983394: ('0.04566696661668516',), 1348983184: ('0.04566696661668516',), 1348983182: ('0.04566696661668516',), 1348983181: ('0.04566696661668516',)} args : 1348983854 depend.output_id : 0 input_args_next_step : {1348987079: ('0.04566696661668516',), 1348984387: ('0.04566696661668516',), 1348984382: ('0.04566696661668516',), 1348984364: ('0.04566696661668516',), 1348984270: ('0.04566696661668516',), 1348984065: ('0.04566696661668516',), 1348984061: ('0.04566696661668516',), 1348984020: ('0.04566696661668516',), 1348984016: ('0.04566696661668516',), 1348984013: ('0.04566696661668516',), 1348984007: ('0.04566696661668516',), 1348984005: ('0.04566696661668516',), 1348983966: ('0.04566696661668516',), 1348983963: ('0.04566696661668516',), 1348983960: ('0.04566696661668516',), 1348983926: ('0.04566696661668516',), 1348983911: ('0.04566696661668516',), 1348983891: ('0.04566696661668516',), 1348983887: ('0.04566696661668516',), 1348983868: ('0.04566696661668516',), 1348983854: ('0.04566696661668516',), 1348983618: ()} output_args : {1348987079: ('0.04566696661668516',), 1348984387: ('0.04566696661668516',), 1348984382: ('0.04566696661668516',), 1348984364: ('0.04566696661668516',), 1348984270: ('0.04566696661668516',), 1348984065: ('0.04566696661668516',), 1348984061: ('0.04566696661668516',), 1348984020: ('0.04566696661668516',), 1348984016: ('0.04566696661668516',), 1348984013: ('0.04566696661668516',), 1348984007: ('0.04566696661668516',), 1348984005: ('0.04566696661668516',), 1348983966: ('0.04566696661668516',), 1348983963: ('0.04566696661668516',), 1348983960: ('0.04566696661668516',), 1348983926: ('0.04566696661668516',), 1348983911: ('0.04566696661668516',), 1348983891: ('0.04566696661668516',), 1348983887: ('0.04566696661668516',), 1348983868: ('0.04566696661668516',), 1348983854: ('0.04566696661668516',), 1348983618: ('0.04566696661668516',), 1348983577: ('0.04566696661668516',), 1348983562: ('0.04566696661668516',), 1348983557: ('0.04566696661668516',), 1348983555: ('0.04566696661668516',), 1348983481: ('0.04566696661668516',), 1348983479: ('0.04566696661668516',), 1348983406: ('0.04566696661668516',), 1348983394: ('0.04566696661668516',), 1348983184: ('0.04566696661668516',), 1348983182: ('0.04566696661668516',), 1348983181: ('0.04566696661668516',)} args : 1348983618 depend.output_id : 0 input_args_next_step : {1348987079: ('0.04566696661668516',), 1348984387: ('0.04566696661668516',), 1348984382: ('0.04566696661668516',), 1348984364: ('0.04566696661668516',), 1348984270: ('0.04566696661668516',), 1348984065: ('0.04566696661668516',), 1348984061: ('0.04566696661668516',), 1348984020: ('0.04566696661668516',), 1348984016: ('0.04566696661668516',), 1348984013: ('0.04566696661668516',), 1348984007: ('0.04566696661668516',), 1348984005: ('0.04566696661668516',), 1348983966: ('0.04566696661668516',), 1348983963: ('0.04566696661668516',), 1348983960: ('0.04566696661668516',), 1348983926: ('0.04566696661668516',), 1348983911: ('0.04566696661668516',), 1348983891: ('0.04566696661668516',), 1348983887: ('0.04566696661668516',), 1348983868: ('0.04566696661668516',), 1348983854: ('0.04566696661668516',), 1348983618: ('0.04566696661668516',), 1348983577: ()} output_args : {1348987079: ('0.04566696661668516',), 1348984387: ('0.04566696661668516',), 1348984382: ('0.04566696661668516',), 1348984364: ('0.04566696661668516',), 1348984270: ('0.04566696661668516',), 1348984065: ('0.04566696661668516',), 1348984061: ('0.04566696661668516',), 1348984020: ('0.04566696661668516',), 1348984016: ('0.04566696661668516',), 1348984013: ('0.04566696661668516',), 1348984007: ('0.04566696661668516',), 1348984005: ('0.04566696661668516',), 1348983966: ('0.04566696661668516',), 1348983963: ('0.04566696661668516',), 1348983960: ('0.04566696661668516',), 1348983926: ('0.04566696661668516',), 1348983911: ('0.04566696661668516',), 1348983891: ('0.04566696661668516',), 1348983887: ('0.04566696661668516',), 1348983868: ('0.04566696661668516',), 1348983854: ('0.04566696661668516',), 1348983618: ('0.04566696661668516',), 1348983577: ('0.04566696661668516',), 1348983562: ('0.04566696661668516',), 1348983557: ('0.04566696661668516',), 1348983555: ('0.04566696661668516',), 1348983481: ('0.04566696661668516',), 1348983479: ('0.04566696661668516',), 1348983406: ('0.04566696661668516',), 1348983394: ('0.04566696661668516',), 1348983184: ('0.04566696661668516',), 1348983182: ('0.04566696661668516',), 1348983181: ('0.04566696661668516',)} args : 1348983577 depend.output_id : 0 input_args_next_step : {1348987079: ('0.04566696661668516',), 1348984387: ('0.04566696661668516',), 1348984382: ('0.04566696661668516',), 1348984364: ('0.04566696661668516',), 1348984270: ('0.04566696661668516',), 1348984065: ('0.04566696661668516',), 1348984061: ('0.04566696661668516',), 1348984020: ('0.04566696661668516',), 1348984016: ('0.04566696661668516',), 1348984013: ('0.04566696661668516',), 1348984007: ('0.04566696661668516',), 1348984005: ('0.04566696661668516',), 1348983966: ('0.04566696661668516',), 1348983963: ('0.04566696661668516',), 1348983960: ('0.04566696661668516',), 1348983926: ('0.04566696661668516',), 1348983911: ('0.04566696661668516',), 1348983891: ('0.04566696661668516',), 1348983887: ('0.04566696661668516',), 1348983868: ('0.04566696661668516',), 1348983854: ('0.04566696661668516',), 1348983618: ('0.04566696661668516',), 1348983577: ('0.04566696661668516',), 1348983562: ()} output_args : {1348987079: ('0.04566696661668516',), 1348984387: ('0.04566696661668516',), 1348984382: ('0.04566696661668516',), 1348984364: ('0.04566696661668516',), 1348984270: ('0.04566696661668516',), 1348984065: ('0.04566696661668516',), 1348984061: ('0.04566696661668516',), 1348984020: ('0.04566696661668516',), 1348984016: ('0.04566696661668516',), 1348984013: ('0.04566696661668516',), 1348984007: ('0.04566696661668516',), 1348984005: ('0.04566696661668516',), 1348983966: ('0.04566696661668516',), 1348983963: ('0.04566696661668516',), 1348983960: ('0.04566696661668516',), 1348983926: ('0.04566696661668516',), 1348983911: ('0.04566696661668516',), 1348983891: ('0.04566696661668516',), 1348983887: ('0.04566696661668516',), 1348983868: ('0.04566696661668516',), 1348983854: ('0.04566696661668516',), 1348983618: ('0.04566696661668516',), 1348983577: ('0.04566696661668516',), 1348983562: ('0.04566696661668516',), 1348983557: ('0.04566696661668516',), 1348983555: ('0.04566696661668516',), 1348983481: ('0.04566696661668516',), 1348983479: ('0.04566696661668516',), 1348983406: ('0.04566696661668516',), 1348983394: ('0.04566696661668516',), 1348983184: ('0.04566696661668516',), 1348983182: ('0.04566696661668516',), 1348983181: ('0.04566696661668516',)} args : 1348983562 depend.output_id : 0 input_args_next_step : {1348987079: ('0.04566696661668516',), 1348984387: ('0.04566696661668516',), 1348984382: ('0.04566696661668516',), 1348984364: ('0.04566696661668516',), 1348984270: ('0.04566696661668516',), 1348984065: ('0.04566696661668516',), 1348984061: ('0.04566696661668516',), 1348984020: ('0.04566696661668516',), 1348984016: ('0.04566696661668516',), 1348984013: ('0.04566696661668516',), 1348984007: ('0.04566696661668516',), 1348984005: ('0.04566696661668516',), 1348983966: ('0.04566696661668516',), 1348983963: ('0.04566696661668516',), 1348983960: ('0.04566696661668516',), 1348983926: ('0.04566696661668516',), 1348983911: ('0.04566696661668516',), 1348983891: ('0.04566696661668516',), 1348983887: ('0.04566696661668516',), 1348983868: ('0.04566696661668516',), 1348983854: ('0.04566696661668516',), 1348983618: ('0.04566696661668516',), 1348983577: ('0.04566696661668516',), 1348983562: ('0.04566696661668516',), 1348983557: ()} output_args : {1348987079: ('0.04566696661668516',), 1348984387: ('0.04566696661668516',), 1348984382: ('0.04566696661668516',), 1348984364: ('0.04566696661668516',), 1348984270: ('0.04566696661668516',), 1348984065: ('0.04566696661668516',), 1348984061: ('0.04566696661668516',), 1348984020: ('0.04566696661668516',), 1348984016: ('0.04566696661668516',), 1348984013: ('0.04566696661668516',), 1348984007: ('0.04566696661668516',), 1348984005: ('0.04566696661668516',), 1348983966: ('0.04566696661668516',), 1348983963: ('0.04566696661668516',), 1348983960: ('0.04566696661668516',), 1348983926: ('0.04566696661668516',), 1348983911: ('0.04566696661668516',), 1348983891: ('0.04566696661668516',), 1348983887: ('0.04566696661668516',), 1348983868: ('0.04566696661668516',), 1348983854: ('0.04566696661668516',), 1348983618: ('0.04566696661668516',), 1348983577: ('0.04566696661668516',), 1348983562: ('0.04566696661668516',), 1348983557: ('0.04566696661668516',), 1348983555: ('0.04566696661668516',), 1348983481: ('0.04566696661668516',), 1348983479: ('0.04566696661668516',), 1348983406: ('0.04566696661668516',), 1348983394: ('0.04566696661668516',), 1348983184: ('0.04566696661668516',), 1348983182: ('0.04566696661668516',), 1348983181: ('0.04566696661668516',)} args : 1348983557 depend.output_id : 0 input_args_next_step : {1348987079: ('0.04566696661668516',), 1348984387: ('0.04566696661668516',), 1348984382: ('0.04566696661668516',), 1348984364: ('0.04566696661668516',), 1348984270: ('0.04566696661668516',), 1348984065: ('0.04566696661668516',), 1348984061: ('0.04566696661668516',), 1348984020: ('0.04566696661668516',), 1348984016: ('0.04566696661668516',), 1348984013: ('0.04566696661668516',), 1348984007: ('0.04566696661668516',), 1348984005: ('0.04566696661668516',), 1348983966: ('0.04566696661668516',), 1348983963: ('0.04566696661668516',), 1348983960: ('0.04566696661668516',), 1348983926: ('0.04566696661668516',), 1348983911: ('0.04566696661668516',), 1348983891: ('0.04566696661668516',), 1348983887: ('0.04566696661668516',), 1348983868: ('0.04566696661668516',), 1348983854: ('0.04566696661668516',), 1348983618: ('0.04566696661668516',), 1348983577: ('0.04566696661668516',), 1348983562: ('0.04566696661668516',), 1348983557: ('0.04566696661668516',), 1348983555: ()} output_args : {1348987079: ('0.04566696661668516',), 1348984387: ('0.04566696661668516',), 1348984382: ('0.04566696661668516',), 1348984364: ('0.04566696661668516',), 1348984270: ('0.04566696661668516',), 1348984065: ('0.04566696661668516',), 1348984061: ('0.04566696661668516',), 1348984020: ('0.04566696661668516',), 1348984016: ('0.04566696661668516',), 1348984013: ('0.04566696661668516',), 1348984007: ('0.04566696661668516',), 1348984005: ('0.04566696661668516',), 1348983966: ('0.04566696661668516',), 1348983963: ('0.04566696661668516',), 1348983960: ('0.04566696661668516',), 1348983926: ('0.04566696661668516',), 1348983911: ('0.04566696661668516',), 1348983891: ('0.04566696661668516',), 1348983887: ('0.04566696661668516',), 1348983868: ('0.04566696661668516',), 1348983854: ('0.04566696661668516',), 1348983618: ('0.04566696661668516',), 1348983577: ('0.04566696661668516',), 1348983562: ('0.04566696661668516',), 1348983557: ('0.04566696661668516',), 1348983555: ('0.04566696661668516',), 1348983481: ('0.04566696661668516',), 1348983479: ('0.04566696661668516',), 1348983406: ('0.04566696661668516',), 1348983394: ('0.04566696661668516',), 1348983184: ('0.04566696661668516',), 1348983182: ('0.04566696661668516',), 1348983181: ('0.04566696661668516',)} args : 1348983555 depend.output_id : 0 input_args_next_step : {1348987079: ('0.04566696661668516',), 1348984387: ('0.04566696661668516',), 1348984382: ('0.04566696661668516',), 1348984364: ('0.04566696661668516',), 1348984270: ('0.04566696661668516',), 1348984065: ('0.04566696661668516',), 1348984061: ('0.04566696661668516',), 1348984020: ('0.04566696661668516',), 1348984016: ('0.04566696661668516',), 1348984013: ('0.04566696661668516',), 1348984007: ('0.04566696661668516',), 1348984005: ('0.04566696661668516',), 1348983966: ('0.04566696661668516',), 1348983963: ('0.04566696661668516',), 1348983960: ('0.04566696661668516',), 1348983926: ('0.04566696661668516',), 1348983911: ('0.04566696661668516',), 1348983891: ('0.04566696661668516',), 1348983887: ('0.04566696661668516',), 1348983868: ('0.04566696661668516',), 1348983854: ('0.04566696661668516',), 1348983618: ('0.04566696661668516',), 1348983577: ('0.04566696661668516',), 1348983562: ('0.04566696661668516',), 1348983557: ('0.04566696661668516',), 1348983555: ('0.04566696661668516',), 1348983481: ()} output_args : {1348987079: ('0.04566696661668516',), 1348984387: ('0.04566696661668516',), 1348984382: ('0.04566696661668516',), 1348984364: ('0.04566696661668516',), 1348984270: ('0.04566696661668516',), 1348984065: ('0.04566696661668516',), 1348984061: ('0.04566696661668516',), 1348984020: ('0.04566696661668516',), 1348984016: ('0.04566696661668516',), 1348984013: ('0.04566696661668516',), 1348984007: ('0.04566696661668516',), 1348984005: ('0.04566696661668516',), 1348983966: ('0.04566696661668516',), 1348983963: ('0.04566696661668516',), 1348983960: ('0.04566696661668516',), 1348983926: ('0.04566696661668516',), 1348983911: ('0.04566696661668516',), 1348983891: ('0.04566696661668516',), 1348983887: ('0.04566696661668516',), 1348983868: ('0.04566696661668516',), 1348983854: ('0.04566696661668516',), 1348983618: ('0.04566696661668516',), 1348983577: ('0.04566696661668516',), 1348983562: ('0.04566696661668516',), 1348983557: ('0.04566696661668516',), 1348983555: ('0.04566696661668516',), 1348983481: ('0.04566696661668516',), 1348983479: ('0.04566696661668516',), 1348983406: ('0.04566696661668516',), 1348983394: ('0.04566696661668516',), 1348983184: ('0.04566696661668516',), 1348983182: ('0.04566696661668516',), 1348983181: ('0.04566696661668516',)} args : 1348983481 depend.output_id : 0 input_args_next_step : {1348987079: ('0.04566696661668516',), 1348984387: ('0.04566696661668516',), 1348984382: ('0.04566696661668516',), 1348984364: ('0.04566696661668516',), 1348984270: ('0.04566696661668516',), 1348984065: ('0.04566696661668516',), 1348984061: ('0.04566696661668516',), 1348984020: ('0.04566696661668516',), 1348984016: ('0.04566696661668516',), 1348984013: ('0.04566696661668516',), 1348984007: ('0.04566696661668516',), 1348984005: ('0.04566696661668516',), 1348983966: ('0.04566696661668516',), 1348983963: ('0.04566696661668516',), 1348983960: ('0.04566696661668516',), 1348983926: ('0.04566696661668516',), 1348983911: ('0.04566696661668516',), 1348983891: ('0.04566696661668516',), 1348983887: ('0.04566696661668516',), 1348983868: ('0.04566696661668516',), 1348983854: ('0.04566696661668516',), 1348983618: ('0.04566696661668516',), 1348983577: ('0.04566696661668516',), 1348983562: ('0.04566696661668516',), 1348983557: ('0.04566696661668516',), 1348983555: ('0.04566696661668516',), 1348983481: ('0.04566696661668516',), 1348983479: ()} output_args : {1348987079: ('0.04566696661668516',), 1348984387: ('0.04566696661668516',), 1348984382: ('0.04566696661668516',), 1348984364: ('0.04566696661668516',), 1348984270: ('0.04566696661668516',), 1348984065: ('0.04566696661668516',), 1348984061: ('0.04566696661668516',), 1348984020: ('0.04566696661668516',), 1348984016: ('0.04566696661668516',), 1348984013: ('0.04566696661668516',), 1348984007: ('0.04566696661668516',), 1348984005: ('0.04566696661668516',), 1348983966: ('0.04566696661668516',), 1348983963: ('0.04566696661668516',), 1348983960: ('0.04566696661668516',), 1348983926: ('0.04566696661668516',), 1348983911: ('0.04566696661668516',), 1348983891: ('0.04566696661668516',), 1348983887: ('0.04566696661668516',), 1348983868: ('0.04566696661668516',), 1348983854: ('0.04566696661668516',), 1348983618: ('0.04566696661668516',), 1348983577: ('0.04566696661668516',), 1348983562: ('0.04566696661668516',), 1348983557: ('0.04566696661668516',), 1348983555: ('0.04566696661668516',), 1348983481: ('0.04566696661668516',), 1348983479: ('0.04566696661668516',), 1348983406: ('0.04566696661668516',), 1348983394: ('0.04566696661668516',), 1348983184: ('0.04566696661668516',), 1348983182: ('0.04566696661668516',), 1348983181: ('0.04566696661668516',)} args : 1348983479 depend.output_id : 0 input_args_next_step : {1348987079: ('0.04566696661668516',), 1348984387: ('0.04566696661668516',), 1348984382: ('0.04566696661668516',), 1348984364: ('0.04566696661668516',), 1348984270: ('0.04566696661668516',), 1348984065: ('0.04566696661668516',), 1348984061: ('0.04566696661668516',), 1348984020: ('0.04566696661668516',), 1348984016: ('0.04566696661668516',), 1348984013: ('0.04566696661668516',), 1348984007: ('0.04566696661668516',), 1348984005: ('0.04566696661668516',), 1348983966: ('0.04566696661668516',), 1348983963: ('0.04566696661668516',), 1348983960: ('0.04566696661668516',), 1348983926: ('0.04566696661668516',), 1348983911: ('0.04566696661668516',), 1348983891: ('0.04566696661668516',), 1348983887: ('0.04566696661668516',), 1348983868: ('0.04566696661668516',), 1348983854: ('0.04566696661668516',), 1348983618: ('0.04566696661668516',), 1348983577: ('0.04566696661668516',), 1348983562: ('0.04566696661668516',), 1348983557: ('0.04566696661668516',), 1348983555: ('0.04566696661668516',), 1348983481: ('0.04566696661668516',), 1348983479: ('0.04566696661668516',), 1348983406: ()} output_args : {1348987079: ('0.04566696661668516',), 1348984387: ('0.04566696661668516',), 1348984382: ('0.04566696661668516',), 1348984364: ('0.04566696661668516',), 1348984270: ('0.04566696661668516',), 1348984065: ('0.04566696661668516',), 1348984061: ('0.04566696661668516',), 1348984020: ('0.04566696661668516',), 1348984016: ('0.04566696661668516',), 1348984013: ('0.04566696661668516',), 1348984007: ('0.04566696661668516',), 1348984005: ('0.04566696661668516',), 1348983966: ('0.04566696661668516',), 1348983963: ('0.04566696661668516',), 1348983960: ('0.04566696661668516',), 1348983926: ('0.04566696661668516',), 1348983911: ('0.04566696661668516',), 1348983891: ('0.04566696661668516',), 1348983887: ('0.04566696661668516',), 1348983868: ('0.04566696661668516',), 1348983854: ('0.04566696661668516',), 1348983618: ('0.04566696661668516',), 1348983577: ('0.04566696661668516',), 1348983562: ('0.04566696661668516',), 1348983557: ('0.04566696661668516',), 1348983555: ('0.04566696661668516',), 1348983481: ('0.04566696661668516',), 1348983479: ('0.04566696661668516',), 1348983406: ('0.04566696661668516',), 1348983394: ('0.04566696661668516',), 1348983184: ('0.04566696661668516',), 1348983182: ('0.04566696661668516',), 1348983181: ('0.04566696661668516',)} args : 1348983406 depend.output_id : 0 input_args_next_step : {1348987079: ('0.04566696661668516',), 1348984387: ('0.04566696661668516',), 1348984382: ('0.04566696661668516',), 1348984364: ('0.04566696661668516',), 1348984270: ('0.04566696661668516',), 1348984065: ('0.04566696661668516',), 1348984061: ('0.04566696661668516',), 1348984020: ('0.04566696661668516',), 1348984016: ('0.04566696661668516',), 1348984013: ('0.04566696661668516',), 1348984007: ('0.04566696661668516',), 1348984005: ('0.04566696661668516',), 1348983966: ('0.04566696661668516',), 1348983963: ('0.04566696661668516',), 1348983960: ('0.04566696661668516',), 1348983926: ('0.04566696661668516',), 1348983911: ('0.04566696661668516',), 1348983891: ('0.04566696661668516',), 1348983887: ('0.04566696661668516',), 1348983868: ('0.04566696661668516',), 1348983854: ('0.04566696661668516',), 1348983618: ('0.04566696661668516',), 1348983577: ('0.04566696661668516',), 1348983562: ('0.04566696661668516',), 1348983557: ('0.04566696661668516',), 1348983555: ('0.04566696661668516',), 1348983481: ('0.04566696661668516',), 1348983479: ('0.04566696661668516',), 1348983406: ('0.04566696661668516',), 1348983394: ()} output_args : {1348987079: ('0.04566696661668516',), 1348984387: ('0.04566696661668516',), 1348984382: ('0.04566696661668516',), 1348984364: ('0.04566696661668516',), 1348984270: ('0.04566696661668516',), 1348984065: ('0.04566696661668516',), 1348984061: ('0.04566696661668516',), 1348984020: ('0.04566696661668516',), 1348984016: ('0.04566696661668516',), 1348984013: ('0.04566696661668516',), 1348984007: ('0.04566696661668516',), 1348984005: ('0.04566696661668516',), 1348983966: ('0.04566696661668516',), 1348983963: ('0.04566696661668516',), 1348983960: ('0.04566696661668516',), 1348983926: ('0.04566696661668516',), 1348983911: ('0.04566696661668516',), 1348983891: ('0.04566696661668516',), 1348983887: ('0.04566696661668516',), 1348983868: ('0.04566696661668516',), 1348983854: ('0.04566696661668516',), 1348983618: ('0.04566696661668516',), 1348983577: ('0.04566696661668516',), 1348983562: ('0.04566696661668516',), 1348983557: ('0.04566696661668516',), 1348983555: ('0.04566696661668516',), 1348983481: ('0.04566696661668516',), 1348983479: ('0.04566696661668516',), 1348983406: ('0.04566696661668516',), 1348983394: ('0.04566696661668516',), 1348983184: ('0.04566696661668516',), 1348983182: ('0.04566696661668516',), 1348983181: ('0.04566696661668516',)} args : 1348983394 depend.output_id : 0 input_args_next_step : {1348987079: ('0.04566696661668516',), 1348984387: ('0.04566696661668516',), 1348984382: ('0.04566696661668516',), 1348984364: ('0.04566696661668516',), 1348984270: ('0.04566696661668516',), 1348984065: ('0.04566696661668516',), 1348984061: ('0.04566696661668516',), 1348984020: ('0.04566696661668516',), 1348984016: ('0.04566696661668516',), 1348984013: ('0.04566696661668516',), 1348984007: ('0.04566696661668516',), 1348984005: ('0.04566696661668516',), 1348983966: ('0.04566696661668516',), 1348983963: ('0.04566696661668516',), 1348983960: ('0.04566696661668516',), 1348983926: ('0.04566696661668516',), 1348983911: ('0.04566696661668516',), 1348983891: ('0.04566696661668516',), 1348983887: ('0.04566696661668516',), 1348983868: ('0.04566696661668516',), 1348983854: ('0.04566696661668516',), 1348983618: ('0.04566696661668516',), 1348983577: ('0.04566696661668516',), 1348983562: ('0.04566696661668516',), 1348983557: ('0.04566696661668516',), 1348983555: ('0.04566696661668516',), 1348983481: ('0.04566696661668516',), 1348983479: ('0.04566696661668516',), 1348983406: ('0.04566696661668516',), 1348983394: ('0.04566696661668516',), 1348983184: ()} output_args : {1348987079: ('0.04566696661668516',), 1348984387: ('0.04566696661668516',), 1348984382: ('0.04566696661668516',), 1348984364: ('0.04566696661668516',), 1348984270: ('0.04566696661668516',), 1348984065: ('0.04566696661668516',), 1348984061: ('0.04566696661668516',), 1348984020: ('0.04566696661668516',), 1348984016: ('0.04566696661668516',), 1348984013: ('0.04566696661668516',), 1348984007: ('0.04566696661668516',), 1348984005: ('0.04566696661668516',), 1348983966: ('0.04566696661668516',), 1348983963: ('0.04566696661668516',), 1348983960: ('0.04566696661668516',), 1348983926: ('0.04566696661668516',), 1348983911: ('0.04566696661668516',), 1348983891: ('0.04566696661668516',), 1348983887: ('0.04566696661668516',), 1348983868: ('0.04566696661668516',), 1348983854: ('0.04566696661668516',), 1348983618: ('0.04566696661668516',), 1348983577: ('0.04566696661668516',), 1348983562: ('0.04566696661668516',), 1348983557: ('0.04566696661668516',), 1348983555: ('0.04566696661668516',), 1348983481: ('0.04566696661668516',), 1348983479: ('0.04566696661668516',), 1348983406: ('0.04566696661668516',), 1348983394: ('0.04566696661668516',), 1348983184: ('0.04566696661668516',), 1348983182: ('0.04566696661668516',), 1348983181: ('0.04566696661668516',)} args : 1348983184 depend.output_id : 0 input_args_next_step : {1348987079: ('0.04566696661668516',), 1348984387: ('0.04566696661668516',), 1348984382: ('0.04566696661668516',), 1348984364: ('0.04566696661668516',), 1348984270: ('0.04566696661668516',), 1348984065: ('0.04566696661668516',), 1348984061: ('0.04566696661668516',), 1348984020: ('0.04566696661668516',), 1348984016: ('0.04566696661668516',), 1348984013: ('0.04566696661668516',), 1348984007: ('0.04566696661668516',), 1348984005: ('0.04566696661668516',), 1348983966: ('0.04566696661668516',), 1348983963: ('0.04566696661668516',), 1348983960: ('0.04566696661668516',), 1348983926: ('0.04566696661668516',), 1348983911: ('0.04566696661668516',), 1348983891: ('0.04566696661668516',), 1348983887: ('0.04566696661668516',), 1348983868: ('0.04566696661668516',), 1348983854: ('0.04566696661668516',), 1348983618: ('0.04566696661668516',), 1348983577: ('0.04566696661668516',), 1348983562: ('0.04566696661668516',), 1348983557: ('0.04566696661668516',), 1348983555: ('0.04566696661668516',), 1348983481: ('0.04566696661668516',), 1348983479: ('0.04566696661668516',), 1348983406: ('0.04566696661668516',), 1348983394: ('0.04566696661668516',), 1348983184: ('0.04566696661668516',), 1348983182: ()} output_args : {1348987079: ('0.04566696661668516',), 1348984387: ('0.04566696661668516',), 1348984382: ('0.04566696661668516',), 1348984364: ('0.04566696661668516',), 1348984270: ('0.04566696661668516',), 1348984065: ('0.04566696661668516',), 1348984061: ('0.04566696661668516',), 1348984020: ('0.04566696661668516',), 1348984016: ('0.04566696661668516',), 1348984013: ('0.04566696661668516',), 1348984007: ('0.04566696661668516',), 1348984005: ('0.04566696661668516',), 1348983966: ('0.04566696661668516',), 1348983963: ('0.04566696661668516',), 1348983960: ('0.04566696661668516',), 1348983926: ('0.04566696661668516',), 1348983911: ('0.04566696661668516',), 1348983891: ('0.04566696661668516',), 1348983887: ('0.04566696661668516',), 1348983868: ('0.04566696661668516',), 1348983854: ('0.04566696661668516',), 1348983618: ('0.04566696661668516',), 1348983577: ('0.04566696661668516',), 1348983562: ('0.04566696661668516',), 1348983557: ('0.04566696661668516',), 1348983555: ('0.04566696661668516',), 1348983481: ('0.04566696661668516',), 1348983479: ('0.04566696661668516',), 1348983406: ('0.04566696661668516',), 1348983394: ('0.04566696661668516',), 1348983184: ('0.04566696661668516',), 1348983182: ('0.04566696661668516',), 1348983181: ('0.04566696661668516',)} args : 1348983182 depend.output_id : 0 input_args_next_step : {1348987079: ('0.04566696661668516',), 1348984387: ('0.04566696661668516',), 1348984382: ('0.04566696661668516',), 1348984364: ('0.04566696661668516',), 1348984270: ('0.04566696661668516',), 1348984065: ('0.04566696661668516',), 1348984061: ('0.04566696661668516',), 1348984020: ('0.04566696661668516',), 1348984016: ('0.04566696661668516',), 1348984013: ('0.04566696661668516',), 1348984007: ('0.04566696661668516',), 1348984005: ('0.04566696661668516',), 1348983966: ('0.04566696661668516',), 1348983963: ('0.04566696661668516',), 1348983960: ('0.04566696661668516',), 1348983926: ('0.04566696661668516',), 1348983911: ('0.04566696661668516',), 1348983891: ('0.04566696661668516',), 1348983887: ('0.04566696661668516',), 1348983868: ('0.04566696661668516',), 1348983854: ('0.04566696661668516',), 1348983618: ('0.04566696661668516',), 1348983577: ('0.04566696661668516',), 1348983562: ('0.04566696661668516',), 1348983557: ('0.04566696661668516',), 1348983555: ('0.04566696661668516',), 1348983481: ('0.04566696661668516',), 1348983479: ('0.04566696661668516',), 1348983406: ('0.04566696661668516',), 1348983394: ('0.04566696661668516',), 1348983184: ('0.04566696661668516',), 1348983182: ('0.04566696661668516',), 1348983181: ()} output_args : {1348987079: ('0.04566696661668516',), 1348984387: ('0.04566696661668516',), 1348984382: ('0.04566696661668516',), 1348984364: ('0.04566696661668516',), 1348984270: ('0.04566696661668516',), 1348984065: ('0.04566696661668516',), 1348984061: ('0.04566696661668516',), 1348984020: ('0.04566696661668516',), 1348984016: ('0.04566696661668516',), 1348984013: ('0.04566696661668516',), 1348984007: ('0.04566696661668516',), 1348984005: ('0.04566696661668516',), 1348983966: ('0.04566696661668516',), 1348983963: ('0.04566696661668516',), 1348983960: ('0.04566696661668516',), 1348983926: ('0.04566696661668516',), 1348983911: ('0.04566696661668516',), 1348983891: ('0.04566696661668516',), 1348983887: ('0.04566696661668516',), 1348983868: ('0.04566696661668516',), 1348983854: ('0.04566696661668516',), 1348983618: ('0.04566696661668516',), 1348983577: ('0.04566696661668516',), 1348983562: ('0.04566696661668516',), 1348983557: ('0.04566696661668516',), 1348983555: ('0.04566696661668516',), 1348983481: ('0.04566696661668516',), 1348983479: ('0.04566696661668516',), 1348983406: ('0.04566696661668516',), 1348983394: ('0.04566696661668516',), 1348983184: ('0.04566696661668516',), 1348983182: ('0.04566696661668516',), 1348983181: ('0.04566696661668516',)} args : 1348983181 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 : {21905185: [{'Carton_brun': 21905199, 'Teint_Dans_La_Masse': 21905200, 'metal': 21905201, 'environnement': 21905202, 'autre_refus': 21905203, 'cartonnette': 21905204, 'plastique': 21905205, 'mal_croppe': 21905206, 'papier': 21905207, 'kraft': 21905208, 'Carton_gris': 21905209, 'flou': 21905210}]} input_args_next_step : {1348987079: ('0.04566696661668516',), 1348984387: ('0.04566696661668516',), 1348984382: ('0.04566696661668516',), 1348984364: ('0.04566696661668516',), 1348984270: ('0.04566696661668516',), 1348984065: ('0.04566696661668516',), 1348984061: ('0.04566696661668516',), 1348984020: ('0.04566696661668516',), 1348984016: ('0.04566696661668516',), 1348984013: ('0.04566696661668516',), 1348984007: ('0.04566696661668516',), 1348984005: ('0.04566696661668516',), 1348983966: ('0.04566696661668516',), 1348983963: ('0.04566696661668516',), 1348983960: ('0.04566696661668516',), 1348983926: ('0.04566696661668516',), 1348983911: ('0.04566696661668516',), 1348983891: ('0.04566696661668516',), 1348983887: ('0.04566696661668516',), 1348983868: ('0.04566696661668516',), 1348983854: ('0.04566696661668516',), 1348983618: ('0.04566696661668516',), 1348983577: ('0.04566696661668516',), 1348983562: ('0.04566696661668516',), 1348983557: ('0.04566696661668516',), 1348983555: ('0.04566696661668516',), 1348983481: ('0.04566696661668516',), 1348983479: ('0.04566696661668516',), 1348983406: ('0.04566696661668516',), 1348983394: ('0.04566696661668516',), 1348983184: ('0.04566696661668516',), 1348983182: ('0.04566696661668516',), 1348983181: ('0.04566696661668516',), 21905185: ()} output_args : {21905185: [{'Carton_brun': 21905199, 'Teint_Dans_La_Masse': 21905200, 'metal': 21905201, 'environnement': 21905202, 'autre_refus': 21905203, 'cartonnette': 21905204, 'plastique': 21905205, 'mal_croppe': 21905206, 'papier': 21905207, 'kraft': 21905208, 'Carton_gris': 21905209, 'flou': 21905210}]} args : 21905185 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 :34, first value : ('0.04566696661668516',) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (21905185) 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 (1348987079,1348984387,1348984382,1348984364,1348984270,1348984065,1348984061,1348984020,1348984016,1348984013,1348984007,1348984005,1348983966,1348983963,1348983960,1348983926,1348983911,1348983891,1348983887,1348983868,1348983854,1348983618,1348983577,1348983562,1348983557,1348983555,1348983481,1348983479,1348983406,1348983394,1348983184,1348983182,1348983181) Found this number of photos: 33 ##### Call download_photos : nb_thread : 5 begin to download photo : 1348983181 begin to download photo : 1348983555 begin to download photo : 1348983887 begin to download photo : 1348984005 begin to download photo : 1348984270 download finish for photo 1348983181 begin to download photo : 1348983182 download finish for photo 1348983555 begin to download photo : 1348983557 download finish for photo 1348984005 begin to download photo : 1348984007 download finish for photo 1348983887 begin to download photo : 1348983891 download finish for photo 1348984270 begin to download photo : 1348984364 download finish for photo 1348983182 begin to download photo : 1348983184 download finish for photo 1348983557 begin to download photo : 1348983562 download finish for photo 1348984364 begin to download photo : 1348984382 download finish for photo 1348984007 begin to download photo : 1348984013 download finish for photo 1348983891 begin to download photo : 1348983911 download finish for photo 1348983562 begin to download photo : 1348983577 download finish for photo 1348984382 begin to download photo : 1348984387 download finish for photo 1348984013 begin to download photo : 1348984016 download finish for photo 1348983911 begin to download photo : 1348983926 download finish for photo 1348983577 begin to download photo : 1348983618 download finish for photo 1348984387 begin to download photo : 1348987079 download finish for photo 1348983926 begin to download photo : 1348983960 download finish for photo 1348983184 begin to download photo : 1348983394 download finish for photo 1348984016 begin to download photo : 1348984020 download finish for photo 1348983960 begin to download photo : 1348983963 download finish for photo 1348983618 begin to download photo : 1348983854 download finish for photo 1348983394 begin to download photo : 1348983406 download finish for photo 1348984020 begin to download photo : 1348984061 download finish for photo 1348987079 download finish for photo 1348983963 begin to download photo : 1348983966 download finish for photo 1348984061 begin to download photo : 1348984065 download finish for photo 1348983406 begin to download photo : 1348983479 download finish for photo 1348983966 download finish for photo 1348983854 begin to download photo : 1348983868 download finish for photo 1348984065 download finish for photo 1348983479 begin to download photo : 1348983481 download finish for photo 1348983868 download finish for photo 1348983481 we have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB ##### After download_photos imagette219052011743479221/ length of list_filenames : 33 ; length of list_pids : 33 ; length of list_args : 33 results_Auto_P21905185_01-04-2025_05_47_01.pdf 21905201 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=21905201 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette219052011743479221 21905203 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=21905203 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1348991807: '1743417050_3420673_1348983618_cc163b37e6d9df62692c4604b8ea2a27_rle_crop_3740961496_0.png'} change filename to text .imagette219052031743479221/ imagette219052031743479221/1743417050_3420673_1348983618_cc163b37e6d9df62692c4604b8ea2a27_rle_crop_3740961496_0.png.png wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/31/dce551445b68aa425cc4bd6e2bd2eda4_78856320.png imagette219052031743479221 21905204 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=21905204 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1348983537: '1743414434_3370686_1348983182_e859e33a6d3b793f8656d048ed054743_rle_crop_3740920954_0.png', 1348983956: '1743414552_3372738_1348983394_9a659a9c2a477fb07736295a8d821e97_rle_crop_3740923382_0.png', 1348984158: '1743414712_3374540_1348983891_e1675291c91e8f76bdd8441851ff72ca_rle_crop_3740927242_0.png', 1348984589: '1743414807_893558_1348984016_79f0cf345cf6c22a5b78e4633c88627d_rle_crop_3740928076_0.png', 1348984590: '1743414807_893558_1348984013_979636fa571ba09f89db995781eca9a6_rle_crop_3740928087_0.png', 1348991809: '1743417050_3420673_1348983394_9a659a9c2a477fb07736295a8d821e97_rle_crop_3740923382_0.png', 1348991820: '1743417070_3420913_1348983182_e859e33a6d3b793f8656d048ed054743_rle_crop_3740920954_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/31/b4c306bf9981862087561958b761c655_50404105.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/31/973f922a78ae81022b003dbfc5f7fdf2_90653912.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/31/b3a0c51b9b5bd29b563ec70858d8b5cd_8223591.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/31/c7808750278769182fa13e668c0f5e97_20702748.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/31/9aa05271410111297712f10f97e78e7f_76787202.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/31/973f922a78ae81022b003dbfc5f7fdf2_92261222.png change filename to text .imagette219052041743479221/ imagette219052041743479221/1743417070_3420913_1348983182_e859e33a6d3b793f8656d048ed054743_rle_crop_3740920954_0.png.png imagette219052041743479221/1743414552_3372738_1348983394_9a659a9c2a477fb07736295a8d821e97_rle_crop_3740923382_0.png.png imagette219052041743479221/1743414807_893558_1348984016_79f0cf345cf6c22a5b78e4633c88627d_rle_crop_3740928076_0.png.png imagette219052041743479221/1743414712_3374540_1348983891_e1675291c91e8f76bdd8441851ff72ca_rle_crop_3740927242_0.png.png imagette219052041743479221/1743414807_893558_1348984013_979636fa571ba09f89db995781eca9a6_rle_crop_3740928087_0.png.png imagette219052041743479221/1743414434_3370686_1348983182_e859e33a6d3b793f8656d048ed054743_rle_crop_3740920954_0.png.png imagette219052041743479221/1743417050_3420673_1348983394_9a659a9c2a477fb07736295a8d821e97_rle_crop_3740923382_0.png.png wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/31/b4c306bf9981862087561958b761c655_73910737.png imagette219052041743479221 21905205 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=21905205 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1348984904: '1743414911_3376228_1348984364_df418cabf5d974793a6cd3796e214857_rle_crop_3740930727_0.png'} change filename to text .imagette219052051743479222/ imagette219052051743479222/1743414911_3376228_1348984364_df418cabf5d974793a6cd3796e214857_rle_crop_3740930727_0.png.png imagette219052061743479222/ imagette219052081743479222/ imagette219052101743479222/ wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/31/5c04142f4cbb1bc7a39bb34ba72b5c95_96455248.png imagette219052051743479222 21905206 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=21905206 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette219052061743479222 21905208 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=21905208 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette219052081743479222 21905210 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=21905210 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette219052101743479222 21905199 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=21905199 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1348983542: '1743414434_3370686_1348983184_a396f63bfa93c1c286a4eba435f2808f_rle_crop_3740920907_0.png', 1348983544: '1743414434_3370686_1348983184_a396f63bfa93c1c286a4eba435f2808f_rle_crop_3740920905_0.png', 1348984073: '1743414691_3374292_1348983577_32a88c6a82e26a1631b72db5ab9dac8a_rle_crop_3740925443_0.png', 1348984074: '1743414691_3374292_1348983562_ca42d033cc5db84e6b669060aa7b1128_rle_crop_3740925456_0.png', 1348984896: '1743414911_3376228_1348984382_df856a1f9713adbf880f0b07c248ce85_rle_crop_3740930709_0.png', 1348984897: '1743414911_3376228_1348984382_df856a1f9713adbf880f0b07c248ce85_rle_crop_3740930713_0.png', 1348984898: '1743414911_3376228_1348984382_df856a1f9713adbf880f0b07c248ce85_rle_crop_3740930711_0.png', 1348984899: '1743414911_3376228_1348984364_df418cabf5d974793a6cd3796e214857_rle_crop_3740930723_0.png', 1348984900: '1743414911_3376228_1348984364_df418cabf5d974793a6cd3796e214857_rle_crop_3740930728_0.png', 1348984901: '1743414911_3376228_1348984364_df418cabf5d974793a6cd3796e214857_rle_crop_3740930726_0.png', 1348984902: '1743414911_3376228_1348984270_9069dd8ad0685c913842f4c4865d0159_rle_crop_3740930741_0.png', 1348988485: '1743415433_3401332_1348987079_47269f1affcf543b9891ab56429c4d89_rle_crop_3740950342_0.png', 1348991811: '1743417050_3420673_1348983618_cc163b37e6d9df62692c4604b8ea2a27_rle_crop_3740961509_0.png', 1348991823: '1743417070_3420913_1348983184_a396f63bfa93c1c286a4eba435f2808f_rle_crop_3740920907_0.png', 1348991824: '1743417070_3420913_1348983184_a396f63bfa93c1c286a4eba435f2808f_rle_crop_3740920905_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/31/127eadc11f291d2d616c830fce617b1b_79268208.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/31/21fb28e3689feefe1ff61a7623c0ab93_51636201.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/31/3893105039255f0504d31ecb63492f1f_4038610.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/31/8d3d0a1f97f84ebc68a09ba9b068db7a_45069875.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/31/5333032ad7d8c32d13fce637bb98b631_69557737.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/31/cc30c85f9f6b2c57a98d06f70ac8a93b_15149805.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/31/7b541c374d8b95ea56d089f4960c474c_63199509.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/31/7fc4696d3432d479f3e4b0fc8208890c_46562511.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/31/154a543163b5f346141b6a4d26df1564_54238272.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/31/d3927cccd98e93f8d5d22754029b5c84_4965087.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/31/65d589b7eed8f8a4fa990e78710ea735_87208410.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/31/4967b1664e5c823f7e733bcd5fb8fec7_20093106.png change filename to text .wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/31/c347e55d6a2b94c32dbc2b91050ccc08_53972315.png change filename to text .wget -O 14.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/31/127eadc11f291d2d616c830fce617b1b_51765547.png change filename to text .imagette219051991743479222/ imagette219051991743479222/1743414911_3376228_1348984382_df856a1f9713adbf880f0b07c248ce85_rle_crop_3740930713_0.png.png imagette219051991743479222/1743414911_3376228_1348984382_df856a1f9713adbf880f0b07c248ce85_rle_crop_3740930709_0.png.png imagette219051991743479222/1743414911_3376228_1348984382_df856a1f9713adbf880f0b07c248ce85_rle_crop_3740930711_0.png.png imagette219051991743479222/1743417070_3420913_1348983184_a396f63bfa93c1c286a4eba435f2808f_rle_crop_3740920905_0.png.png imagette219051991743479222/1743414434_3370686_1348983184_a396f63bfa93c1c286a4eba435f2808f_rle_crop_3740920905_0.png.png imagette219051991743479222/1743414911_3376228_1348984364_df418cabf5d974793a6cd3796e214857_rle_crop_3740930723_0.png.png imagette219051991743479222/1743417070_3420913_1348983184_a396f63bfa93c1c286a4eba435f2808f_rle_crop_3740920907_0.png.png imagette219051991743479222/1743417050_3420673_1348983618_cc163b37e6d9df62692c4604b8ea2a27_rle_crop_3740961509_0.png.png imagette219051991743479222/1743414691_3374292_1348983562_ca42d033cc5db84e6b669060aa7b1128_rle_crop_3740925456_0.png.png imagette219051991743479222/1743414911_3376228_1348984364_df418cabf5d974793a6cd3796e214857_rle_crop_3740930726_0.png.png imagette219051991743479222/1743414911_3376228_1348984364_df418cabf5d974793a6cd3796e214857_rle_crop_3740930728_0.png.png imagette219051991743479222/1743414434_3370686_1348983184_a396f63bfa93c1c286a4eba435f2808f_rle_crop_3740920907_0.png.png imagette219051991743479222/1743414691_3374292_1348983577_32a88c6a82e26a1631b72db5ab9dac8a_rle_crop_3740925443_0.png.png imagette219051991743479222/1743415433_3401332_1348987079_47269f1affcf543b9891ab56429c4d89_rle_crop_3740950342_0.png.png imagette219051991743479222/1743414911_3376228_1348984270_9069dd8ad0685c913842f4c4865d0159_rle_crop_3740930741_0.png.png wget -O 15.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/31/21fb28e3689feefe1ff61a7623c0ab93_91746150.png imagette219051991743479222 21905200 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=21905200 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1348984919: '1743414930_3376442_1348984387_60271885dd5b391328b1518625cb5df9_rle_crop_3740931981_0.png', 1348991817: '1743417070_3420913_1348983181_1c835728393f9c71a6c347b1bb0788c1_rle_crop_3740921010_0.png', 1348991816: '1743417070_3420913_1348983181_1c835728393f9c71a6c347b1bb0788c1_rle_crop_3740961575_0.png', 1348991815: '1743417070_3420913_1348983181_1c835728393f9c71a6c347b1bb0788c1_bib_crop_3740921014_0.jpg', 1348991814: '1743417070_3420913_1348983182_e859e33a6d3b793f8656d048ed054743_rle_crop_3740920957_0.png', 1348991805: '1743417050_3420673_1348983394_9a659a9c2a477fb07736295a8d821e97_rle_crop_3740923376_0.png', 1348991804: '1743417050_3420673_1348983394_9a659a9c2a477fb07736295a8d821e97_rle_crop_3740923381_0.png', 1348991803: '1743417050_3420673_1348983406_8cd9ccd7d19fb2555ee7f1b81c9751e0_rle_crop_3740923369_0.png', 1348991802: '1743417050_3420673_1348983618_cc163b37e6d9df62692c4604b8ea2a27_rle_crop_3740961506_0.png', 1348991801: '1743417050_3420673_1348983618_cc163b37e6d9df62692c4604b8ea2a27_rle_crop_3740961502_0.png', 1348983531: '1743414434_3370686_1348983182_e859e33a6d3b793f8656d048ed054743_rle_crop_3740920957_0.png', 1348984891: '1743414911_3376228_1348984382_df856a1f9713adbf880f0b07c248ce85_rle_crop_3740930712_0.png', 1348984157: '1743414712_3374540_1348983854_8a000d300525aff2328765969792a59a_rle_crop_3740927310_0.png', 1348984151: '1743414712_3374540_1348983868_31954306fb9df69fbc7e76bb72d99f63_rle_crop_3740927298_0.png', 1348984068: '1743414691_3374292_1348983555_8847b57a2f9477da83acf9360160b7ad_rle_crop_3740925488_0.png', 1348983954: '1743414552_3372738_1348983394_9a659a9c2a477fb07736295a8d821e97_rle_crop_3740923376_0.png', 1348983953: '1743414552_3372738_1348983394_9a659a9c2a477fb07736295a8d821e97_rle_crop_3740923381_0.png', 1348983952: '1743414552_3372738_1348983406_8cd9ccd7d19fb2555ee7f1b81c9751e0_rle_crop_3740923369_0.png', 1348983534: '1743414434_3370686_1348983181_1c835728393f9c71a6c347b1bb0788c1_rle_crop_3740921010_0.png', 1348983533: '1743414434_3370686_1348983181_1c835728393f9c71a6c347b1bb0788c1_rle_crop_3740921014_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/31/687165500d8c91e04df8ebad2b9e9a4e_39792675.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/31/162b4e2bb1f6772b6dbc95a136ce98dd_21027453.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/31/6058af832681f9d682cf3c72d190b04b_72524314.png change filename to text .wget -O 4.jpg http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/31/6a68630f9fa9e91b6fcc32c031abfbe2_29850844.jpg change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/31/cb2f66bfe0dd0f5cd9c73d66fbef0707_52373361.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/31/e194357c9ac65032724faf58564e3431_62337989.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/31/b8632b1a97b759bbc0f60edaff7e5a78_60421549.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/31/06ef4bfcae6eee9db41abd32b43a8a9b_54870390.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/31/f03ab0860013af10dee1d6d3c444c676_67542470.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/31/00d9a4cdacb5267e9f92bbc2c526b066_60642897.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/31/cb2f66bfe0dd0f5cd9c73d66fbef0707_59961257.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/31/8c4fb6c29675f0e392f0eaeb8adc8b3c_52511595.png change filename to text .wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/31/dd1040d1bb29de7c989c0d232bfbeaf8_57561023.png change filename to text .wget -O 14.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/31/97bb06478818ef02b18db1c112f36279_23687412.png change filename to text .wget -O 15.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/31/9cf869a68b23a596c55562bb5109ef63_97639860.png change filename to text .wget -O 16.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/31/e194357c9ac65032724faf58564e3431_73116144.png change filename to text .wget -O 17.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/31/b8632b1a97b759bbc0f60edaff7e5a78_66453950.png change filename to text .wget -O 18.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/31/06ef4bfcae6eee9db41abd32b43a8a9b_81098808.png change filename to text .wget -O 19.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/31/162b4e2bb1f6772b6dbc95a136ce98dd_86808534.png change filename to text .imagette219052001743479223/ imagette219052001743479223/1743417050_3420673_1348983394_9a659a9c2a477fb07736295a8d821e97_rle_crop_3740923376_0.png.png imagette219052001743479223/1743414552_3372738_1348983394_9a659a9c2a477fb07736295a8d821e97_rle_crop_3740923381_0.png.png imagette219052001743479223/1743417050_3420673_1348983394_9a659a9c2a477fb07736295a8d821e97_rle_crop_3740923381_0.png.png imagette219052001743479223/1743414434_3370686_1348983181_1c835728393f9c71a6c347b1bb0788c1_rle_crop_3740921014_0.png.png imagette219052001743479223/1743414712_3374540_1348983854_8a000d300525aff2328765969792a59a_rle_crop_3740927310_0.png.png imagette219052001743479223/1743417050_3420673_1348983618_cc163b37e6d9df62692c4604b8ea2a27_rle_crop_3740961502_0.png.png imagette219052001743479223/1743414434_3370686_1348983181_1c835728393f9c71a6c347b1bb0788c1_rle_crop_3740921010_0.png.png imagette219052001743479223/1743417050_3420673_1348983406_8cd9ccd7d19fb2555ee7f1b81c9751e0_rle_crop_3740923369_0.png.png imagette219052001743479223/1743414552_3372738_1348983406_8cd9ccd7d19fb2555ee7f1b81c9751e0_rle_crop_3740923369_0.png.png imagette219052001743479223/1743414712_3374540_1348983868_31954306fb9df69fbc7e76bb72d99f63_rle_crop_3740927298_0.png.png imagette219052001743479223/1743414691_3374292_1348983555_8847b57a2f9477da83acf9360160b7ad_rle_crop_3740925488_0.png.png imagette219052001743479223/1743417070_3420913_1348983182_e859e33a6d3b793f8656d048ed054743_rle_crop_3740920957_0.png.png imagette219052001743479223/1743414434_3370686_1348983182_e859e33a6d3b793f8656d048ed054743_rle_crop_3740920957_0.png.png imagette219052001743479223/1743414911_3376228_1348984382_df856a1f9713adbf880f0b07c248ce85_rle_crop_3740930712_0.png.png imagette219052001743479223/1743417070_3420913_1348983181_1c835728393f9c71a6c347b1bb0788c1_rle_crop_3740961575_0.png.png imagette219052001743479223/1743417070_3420913_1348983181_1c835728393f9c71a6c347b1bb0788c1_bib_crop_3740921014_0.jpg.jpg imagette219052001743479223/1743417070_3420913_1348983181_1c835728393f9c71a6c347b1bb0788c1_rle_crop_3740921010_0.png.png imagette219052001743479223/1743414552_3372738_1348983394_9a659a9c2a477fb07736295a8d821e97_rle_crop_3740923376_0.png.png imagette219052001743479223/1743417050_3420673_1348983618_cc163b37e6d9df62692c4604b8ea2a27_rle_crop_3740961506_0.png.png imagette219052001743479223/1743414930_3376442_1348984387_60271885dd5b391328b1518625cb5df9_rle_crop_3740931981_0.png.png wget -O 20.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/31/701edad5f7f79f6cf8425eb239f26078_20702646.png imagette219052001743479223 21905209 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=21905209 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1348983536: '1743414434_3370686_1348983181_1c835728393f9c71a6c347b1bb0788c1_rle_crop_3740921006_0.png', 1348984071: '1743414691_3374292_1348983562_ca42d033cc5db84e6b669060aa7b1128_rle_crop_3740925455_0.png', 1348984072: '1743414691_3374292_1348983562_ca42d033cc5db84e6b669060aa7b1128_rle_crop_3740925453_0.png', 1348984430: '1743414791_3375364_1348984020_4feb8441fee837e960b01d40f45ea3de_rle_crop_3740927843_0.png', 1348984580: '1743414807_893558_1348984065_a7f883fce214c4cb094ebf9a0ec6b7e8_rle_crop_3740928064_0.png', 1348984920: '1743414930_3376442_1348984061_f06e985f83933fb812ae71eb40a31904_rle_crop_3740931989_0.png', 1348991818: '1743417070_3420913_1348983181_1c835728393f9c71a6c347b1bb0788c1_rle_crop_3740921006_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/31/7285b2014fde3602f0d9bca1123f5a6d_89800743.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/31/35418b88fc4783e5a2af7f0158ab5449_96306185.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/31/eb97c99aa48c37a718bcb87f8fcca556_18648553.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/31/cb2c899fb34a7b5b778f0e2a5760967f_20271235.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/31/1c3e239f5cfebf754c80df1aa271ba9d_59137667.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/31/b7770cd8883df220ee48a3401195a4d2_45633954.png change filename to text .imagette219052091743479225/ imagette219052091743479225/1743414930_3376442_1348984061_f06e985f83933fb812ae71eb40a31904_rle_crop_3740931989_0.png.png imagette219052091743479225/1743414434_3370686_1348983181_1c835728393f9c71a6c347b1bb0788c1_rle_crop_3740921006_0.png.png imagette219052091743479225/1743417070_3420913_1348983181_1c835728393f9c71a6c347b1bb0788c1_rle_crop_3740921006_0.png.png imagette219052091743479225/1743414691_3374292_1348983562_ca42d033cc5db84e6b669060aa7b1128_rle_crop_3740925455_0.png.png imagette219052091743479225/1743414807_893558_1348984065_a7f883fce214c4cb094ebf9a0ec6b7e8_rle_crop_3740928064_0.png.png imagette219052091743479225/1743414791_3375364_1348984020_4feb8441fee837e960b01d40f45ea3de_rle_crop_3740927843_0.png.png imagette219052091743479225/1743414691_3374292_1348983562_ca42d033cc5db84e6b669060aa7b1128_rle_crop_3740925453_0.png.png wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/31/7285b2014fde3602f0d9bca1123f5a6d_98889408.png imagette219052091743479225 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=21905185 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://www.fotonower.com/velours/21905211,21905212,21905213,21905214,21905215,21905216,21905217,21905218,21905219,21905220,21905221,21905222?tags=Carton_brun,Teint_Dans_La_Masse,metal,environnement,autre_refus,cartonnette,plastique,mal_croppe,papier,kraft,Carton_gris,flou your option no_mail is active, we will not send the real mail to your client args[1348987079] : ('0.04566696661668516',) no score found for photo 1348987079 We are sending mail with results at report@fotonower.com args[1348984387] : ('0.04566696661668516',) no score found for photo 1348984387 We are sending mail with results at report@fotonower.com args[1348984382] : ('0.04566696661668516',) no score found for photo 1348984382 We are sending mail with results at report@fotonower.com args[1348984364] : ('0.04566696661668516',) no score found for photo 1348984364 We are sending mail with results at report@fotonower.com args[1348984270] : ('0.04566696661668516',) no score found for photo 1348984270 We are sending mail with results at report@fotonower.com args[1348984065] : ('0.04566696661668516',) no score found for photo 1348984065 We are sending mail with results at report@fotonower.com args[1348984061] : ('0.04566696661668516',) no score found for photo 1348984061 We are sending mail with results at report@fotonower.com args[1348984020] : ('0.04566696661668516',) no score found for photo 1348984020 We are sending mail with results at report@fotonower.com args[1348984016] : ('0.04566696661668516',) no score found for photo 1348984016 We are sending mail with results at report@fotonower.com args[1348984013] : ('0.04566696661668516',) no score found for photo 1348984013 We are sending mail with results at report@fotonower.com args[1348984007] : ('0.04566696661668516',) no score found for photo 1348984007 We are sending mail with results at report@fotonower.com args[1348984005] : ('0.04566696661668516',) no score found for photo 1348984005 We are sending mail with results at report@fotonower.com args[1348983966] : ('0.04566696661668516',) no score found for photo 1348983966 We are sending mail with results at report@fotonower.com args[1348983963] : ('0.04566696661668516',) no score found for photo 1348983963 We are sending mail with results at report@fotonower.com args[1348983960] : ('0.04566696661668516',) no score found for photo 1348983960 We are sending mail with results at report@fotonower.com args[1348983926] : ('0.04566696661668516',) no score found for photo 1348983926 We are sending mail with results at report@fotonower.com args[1348983911] : ('0.04566696661668516',) no score found for photo 1348983911 We are sending mail with results at report@fotonower.com args[1348983891] : ('0.04566696661668516',) no score found for photo 1348983891 We are sending mail with results at report@fotonower.com args[1348983887] : ('0.04566696661668516',) no score found for photo 1348983887 We are sending mail with results at report@fotonower.com args[1348983868] : ('0.04566696661668516',) no score found for photo 1348983868 We are sending mail with results at report@fotonower.com args[1348983854] : ('0.04566696661668516',) no score found for photo 1348983854 We are sending mail with results at report@fotonower.com args[1348983618] : ('0.04566696661668516',) no score found for photo 1348983618 We are sending mail with results at report@fotonower.com args[1348983577] : ('0.04566696661668516',) no score found for photo 1348983577 We are sending mail with results at report@fotonower.com args[1348983562] : ('0.04566696661668516',) no score found for photo 1348983562 We are sending mail with results at report@fotonower.com args[1348983557] : ('0.04566696661668516',) no score found for photo 1348983557 We are sending mail with results at report@fotonower.com args[1348983555] : ('0.04566696661668516',) no score found for photo 1348983555 We are sending mail with results at report@fotonower.com args[1348983481] : ('0.04566696661668516',) no score found for photo 1348983481 We are sending mail with results at report@fotonower.com args[1348983479] : ('0.04566696661668516',) no score found for photo 1348983479 We are sending mail with results at report@fotonower.com args[1348983406] : ('0.04566696661668516',) no score found for photo 1348983406 We are sending mail with results at report@fotonower.com args[1348983394] : ('0.04566696661668516',) no score found for photo 1348983394 We are sending mail with results at report@fotonower.com args[1348983184] : ('0.04566696661668516',) no score found for photo 1348983184 We are sending mail with results at report@fotonower.com args[1348983182] : ('0.04566696661668516',) no score found for photo 1348983182 We are sending mail with results at report@fotonower.com args[1348983181] : ('0.04566696661668516',) no score found for photo 1348983181 We are sending mail with results at report@fotonower.com refus_total : 0.04566696661668516 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=21905185 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_P21905185_01-04-2025_05_47_01.pdf results_Auto_P21905185_01-04-2025_05_47_01.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21905185_01-04-2025_05_47_01.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','21905185','results_Auto_P21905185_01-04-2025_05_47_01.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21905185_01-04-2025_05_47_01.pdf','pdf','','0.35','0.04566696661668516') After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([21905185]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1348987079, 1348984387, 1348984382, 1348984364, 1348984270, 1348984065, 1348984061, 1348984020, 1348984016, 1348984013, 1348984007, 1348984005, 1348983966, 1348983963, 1348983960, 1348983926, 1348983911, 1348983891, 1348983887, 1348983868, 1348983854, 1348983618, 1348983577, 1348983562, 1348983557, 1348983555, 1348983481, 1348983479, 1348983406, 1348983394, 1348983184, 1348983182, 1348983181] map_info['map_portfolio_photo'] : {21905185: [1348987079, 1348984387, 1348984382, 1348984364, 1348984270, 1348984065, 1348984061, 1348984020, 1348984016, 1348984013, 1348984007, 1348984005, 1348983966, 1348983963, 1348983960, 1348983926, 1348983911, 1348983891, 1348983887, 1348983868, 1348983854, 1348983618, 1348983577, 1348983562, 1348983557, 1348983555, 1348983481, 1348983479, 1348983406, 1348983394, 1348983184, 1348983182, 1348983181]} final : False mtd_id 4302 list_pids : [1348987079, 1348984387, 1348984382, 1348984364, 1348984270, 1348984065, 1348984061, 1348984020, 1348984016, 1348984013, 1348984007, 1348984005, 1348983966, 1348983963, 1348983960, 1348983926, 1348983911, 1348983891, 1348983887, 1348983868, 1348983854, 1348983618, 1348983577, 1348983562, 1348983557, 1348983555, 1348983481, 1348983479, 1348983406, 1348983394, 1348983184, 1348983182, 1348983181] 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, '2711568') ('4302', '21905185', '1348987079', None, None, None, None, None, '2711568') ('4302', None, None, None, None, None, None, None, '2711568') ('4302', '21905185', '1348984387', None, None, None, None, None, '2711568') ('4302', None, None, None, None, None, None, None, '2711568') ('4302', '21905185', '1348984382', None, None, None, None, None, '2711568') ('4302', None, None, None, None, None, None, None, '2711568') ('4302', '21905185', '1348984364', None, None, None, None, None, '2711568') ('4302', None, None, None, None, None, None, None, '2711568') ('4302', '21905185', '1348984270', None, None, None, None, None, '2711568') ('4302', None, None, None, None, None, None, None, '2711568') ('4302', '21905185', '1348984065', None, None, None, None, None, '2711568') ('4302', None, None, None, None, None, None, None, '2711568') ('4302', '21905185', '1348984061', None, None, None, None, None, '2711568') ('4302', None, None, None, None, None, None, None, '2711568') ('4302', '21905185', '1348984020', None, None, None, None, None, '2711568') ('4302', None, None, None, None, None, None, None, '2711568') ('4302', '21905185', '1348984016', None, None, None, None, None, '2711568') ('4302', None, None, None, None, None, None, None, '2711568') ('4302', '21905185', '1348984013', None, None, None, None, None, '2711568') ('4302', None, None, None, None, None, None, None, '2711568') ('4302', '21905185', '1348984007', None, None, None, None, None, '2711568') ('4302', None, None, None, None, None, None, None, '2711568') ('4302', '21905185', '1348984005', None, None, None, None, None, '2711568') ('4302', None, None, None, None, None, None, None, '2711568') ('4302', '21905185', '1348983966', None, None, None, None, None, '2711568') ('4302', None, None, None, None, None, None, None, '2711568') ('4302', '21905185', '1348983963', None, None, None, None, None, '2711568') ('4302', None, None, None, None, None, None, None, '2711568') ('4302', '21905185', '1348983960', None, None, None, None, None, '2711568') ('4302', None, None, None, None, None, None, None, '2711568') ('4302', '21905185', '1348983926', None, None, None, None, None, '2711568') ('4302', None, None, None, None, None, None, None, '2711568') ('4302', '21905185', '1348983911', None, None, None, None, None, '2711568') ('4302', None, None, None, None, None, None, None, '2711568') ('4302', '21905185', '1348983891', None, None, None, None, None, '2711568') ('4302', None, None, None, None, None, None, None, '2711568') ('4302', '21905185', '1348983887', None, None, None, None, None, '2711568') ('4302', None, None, None, None, None, None, None, '2711568') ('4302', '21905185', '1348983868', None, None, None, None, None, '2711568') ('4302', None, None, None, None, None, None, None, '2711568') ('4302', '21905185', '1348983854', None, None, None, None, None, '2711568') ('4302', None, None, None, None, None, None, None, '2711568') ('4302', '21905185', '1348983618', None, None, None, None, None, '2711568') ('4302', None, None, None, None, None, None, None, '2711568') ('4302', '21905185', '1348983577', None, None, None, None, None, '2711568') ('4302', None, None, None, None, None, None, None, '2711568') ('4302', '21905185', '1348983562', None, None, None, None, None, '2711568') ('4302', None, None, None, None, None, None, None, '2711568') ('4302', '21905185', '1348983557', None, None, None, None, None, '2711568') ('4302', None, None, None, None, None, None, None, '2711568') ('4302', '21905185', '1348983555', None, None, None, None, None, '2711568') ('4302', None, None, None, None, None, None, None, '2711568') ('4302', '21905185', '1348983481', None, None, None, None, None, '2711568') ('4302', None, None, None, None, None, None, None, '2711568') ('4302', '21905185', '1348983479', None, None, None, None, None, '2711568') ('4302', None, None, None, None, None, None, None, '2711568') ('4302', '21905185', '1348983406', None, None, None, None, None, '2711568') ('4302', None, None, None, None, None, None, None, '2711568') ('4302', '21905185', '1348983394', None, None, None, None, None, '2711568') ('4302', None, None, None, None, None, None, None, '2711568') ('4302', '21905185', '1348983184', None, None, None, None, None, '2711568') ('4302', None, None, None, None, None, None, None, '2711568') ('4302', '21905185', '1348983182', None, None, None, None, None, '2711568') ('4302', None, None, None, None, None, None, None, '2711568') ('4302', '21905185', '1348983181', None, None, None, None, None, '2711568') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 33 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', '21905185', '1348987079', None, None, None, None, None, '2711568'), ('4302', '21905185', '1348984387', None, None, None, None, None, '2711568'), ('4302', '21905185', '1348984382', None, None, None, None, None, '2711568'), ('4302', '21905185', '1348984364', None, None, None, None, None, '2711568'), ('4302', '21905185', '1348984270', None, None, None, None, None, '2711568'), ('4302', '21905185', '1348984065', None, None, None, None, None, '2711568'), ('4302', '21905185', '1348984061', None, None, None, None, None, '2711568'), ('4302', '21905185', '1348984020', None, None, None, None, None, '2711568'), ('4302', '21905185', '1348984016', None, None, None, None, None, '2711568'), ('4302', '21905185', '1348984013', None, None, None, None, None, '2711568'), ('4302', '21905185', '1348984007', None, None, None, None, None, '2711568'), ('4302', '21905185', '1348984005', None, None, None, None, None, '2711568'), ('4302', '21905185', '1348983966', None, None, None, None, None, '2711568'), ('4302', '21905185', '1348983963', None, None, None, None, None, '2711568'), ('4302', '21905185', '1348983960', None, None, None, None, None, '2711568'), ('4302', '21905185', '1348983926', None, None, None, None, None, '2711568'), ('4302', '21905185', '1348983911', None, None, None, None, None, '2711568'), ('4302', '21905185', '1348983891', None, None, None, None, None, '2711568'), ('4302', '21905185', '1348983887', None, None, None, None, None, '2711568'), ('4302', '21905185', '1348983868', None, None, None, None, None, '2711568'), ('4302', '21905185', '1348983854', None, None, None, None, None, '2711568'), ('4302', '21905185', '1348983618', None, None, None, None, None, '2711568'), ('4302', '21905185', '1348983577', None, None, None, None, None, '2711568'), ('4302', '21905185', '1348983562', None, None, None, None, None, '2711568'), ('4302', '21905185', '1348983557', None, None, None, None, None, '2711568'), ('4302', '21905185', '1348983555', None, None, None, None, None, '2711568'), ('4302', '21905185', '1348983481', None, None, None, None, None, '2711568'), ('4302', '21905185', '1348983479', None, None, None, None, None, '2711568'), ('4302', '21905185', '1348983406', None, None, None, None, None, '2711568'), ('4302', '21905185', '1348983394', None, None, None, None, None, '2711568'), ('4302', '21905185', '1348983184', None, None, None, None, None, '2711568'), ('4302', '21905185', '1348983182', None, None, None, None, None, '2711568'), ('4302', '21905185', '1348983181', None, None, None, None, None, '2711568')] time used for this insertion : 0.5875692367553711 save_final save missing photos in datou_result : time spend for datou_step_exec : 9.084216356277466 time spend to save output : 0.5880124568939209 total time spend for step 4 : 9.672228813171387 step5:split_time_score Tue Apr 1 05:47:09 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 : ['21905185'] 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 : [('21905185',)] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (21905185) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {1348984270: {'path': 'temp/1743479220_3169730_1348984270_9069dd8ad0685c913842f4c4865d0159.jpg', 'extension': 'jpg'}, 1348984364: {'path': 'temp/1743479220_3169730_1348984364_df418cabf5d974793a6cd3796e214857.jpg', 'extension': 'jpg'}, 1348984382: {'path': 'temp/1743479220_3169730_1348984382_df856a1f9713adbf880f0b07c248ce85.jpg', 'extension': 'jpg'}, 1348984387: {'path': 'temp/1743479220_3169730_1348984387_60271885dd5b391328b1518625cb5df9.jpg', 'extension': 'jpg'}, 1348987079: {'path': 'temp/1743479220_3169730_1348987079_47269f1affcf543b9891ab56429c4d89.jpg', 'extension': 'jpg'}, 1348983887: {'path': 'temp/1743479220_3169730_1348983887_dff992709203eb4dcd8f897ebfd7813a.jpg', 'extension': 'jpg'}, 1348983891: {'path': 'temp/1743479220_3169730_1348983891_e1675291c91e8f76bdd8441851ff72ca.jpg', 'extension': 'jpg'}, 1348983911: {'path': 'temp/1743479220_3169730_1348983911_9e90b067bca60767ea0ece65553d8e75.jpg', 'extension': 'jpg'}, 1348983926: {'path': 'temp/1743479220_3169730_1348983926_b9a07ebec198b56a9f0a225d92a0d361.jpg', 'extension': 'jpg'}, 1348983960: {'path': 'temp/1743479220_3169730_1348983960_1d91850ad00d8542325a091c2df6e048.jpg', 'extension': 'jpg'}, 1348983963: {'path': 'temp/1743479220_3169730_1348983963_47274cece9861171fcf7296aeef741c1.jpg', 'extension': 'jpg'}, 1348983966: {'path': 'temp/1743479220_3169730_1348983966_33dade4a21897c8fe2c418f41250a59b.jpg', 'extension': 'jpg'}, 1348984005: {'path': 'temp/1743479220_3169730_1348984005_b1a85dffb38d409387e50275294647d9.jpg', 'extension': 'jpg'}, 1348984007: {'path': 'temp/1743479220_3169730_1348984007_0d42a8258e5bead8f8ea47291164cb3f.jpg', 'extension': 'jpg'}, 1348984013: {'path': 'temp/1743479220_3169730_1348984013_979636fa571ba09f89db995781eca9a6.jpg', 'extension': 'jpg'}, 1348984016: {'path': 'temp/1743479220_3169730_1348984016_79f0cf345cf6c22a5b78e4633c88627d.jpg', 'extension': 'jpg'}, 1348984020: {'path': 'temp/1743479220_3169730_1348984020_4feb8441fee837e960b01d40f45ea3de.jpg', 'extension': 'jpg'}, 1348984061: {'path': 'temp/1743479220_3169730_1348984061_f06e985f83933fb812ae71eb40a31904.jpg', 'extension': 'jpg'}, 1348984065: {'path': 'temp/1743479220_3169730_1348984065_a7f883fce214c4cb094ebf9a0ec6b7e8.jpg', 'extension': 'jpg'}, 1348983555: {'path': 'temp/1743479220_3169730_1348983555_8847b57a2f9477da83acf9360160b7ad.jpg', 'extension': 'jpg'}, 1348983557: {'path': 'temp/1743479220_3169730_1348983557_a80aacf3d7a9d7e68b6987eaaedca621.jpg', 'extension': 'jpg'}, 1348983562: {'path': 'temp/1743479220_3169730_1348983562_ca42d033cc5db84e6b669060aa7b1128.jpg', 'extension': 'jpg'}, 1348983577: {'path': 'temp/1743479220_3169730_1348983577_32a88c6a82e26a1631b72db5ab9dac8a.jpg', 'extension': 'jpg'}, 1348983618: {'path': 'temp/1743479220_3169730_1348983618_cc163b37e6d9df62692c4604b8ea2a27.jpg', 'extension': 'jpg'}, 1348983854: {'path': 'temp/1743479220_3169730_1348983854_8a000d300525aff2328765969792a59a.jpg', 'extension': 'jpg'}, 1348983868: {'path': 'temp/1743479220_3169730_1348983868_31954306fb9df69fbc7e76bb72d99f63.jpg', 'extension': 'jpg'}, 1348983181: {'path': 'temp/1743479220_3169730_1348983181_1c835728393f9c71a6c347b1bb0788c1.jpg', 'extension': 'jpg'}, 1348983182: {'path': 'temp/1743479220_3169730_1348983182_e859e33a6d3b793f8656d048ed054743.jpg', 'extension': 'jpg'}, 1348983184: {'path': 'temp/1743479220_3169730_1348983184_a396f63bfa93c1c286a4eba435f2808f.jpg', 'extension': 'jpg'}, 1348983394: {'path': 'temp/1743479220_3169730_1348983394_9a659a9c2a477fb07736295a8d821e97.jpg', 'extension': 'jpg'}, 1348983406: {'path': 'temp/1743479220_3169730_1348983406_8cd9ccd7d19fb2555ee7f1b81c9751e0.jpg', 'extension': 'jpg'}, 1348983479: {'path': 'temp/1743479220_3169730_1348983479_bf753bfd15a089129e4fcbe6a61ca10a.jpg', 'extension': 'jpg'}, 1348983481: {'path': 'temp/1743479220_3169730_1348983481_19139f0b12b0ec611ec76da1fea51d43.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 = 21905185; (('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 = 21905185 group by h (('11', 33),) 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=21905185 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 (21905185) 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 (21905185) AND cps.thcl in (758) order by cps.score desc LIMIT 0, 100000 ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 31032025 21905185 Nombre de photos uploadées : 33 / 23040 (0%) 31032025 21905185 Nombre de photos taguées (types de déchets): 0 / 33 (0%) 31032025 21905185 Nombre de photos taguées (volume) : 0 / 33 (0%) [{'photo_id': 1348983184, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/31/a396f63bfa93c1c286a4eba435f2808f.jpg', 'username': None, 'uploaded_at': 1743414367, 'text': 'image_31032025_11_45_04_009138m0.jpg 1e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1348983182, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/31/e859e33a6d3b793f8656d048ed054743.jpg', 'username': None, 'uploaded_at': 1743414367, 'text': 'image_31032025_11_45_14_010136m0.jpg 2e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1348983181, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/31/1c835728393f9c71a6c347b1bb0788c1.jpg', 'username': None, 'uploaded_at': 1743414367, 'text': 'image_31032025_11_45_24_010135m0.jpg 3.0000000000000004e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1348983481, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/31/19139f0b12b0ec611ec76da1fea51d43.jpg', 'username': None, 'uploaded_at': 1743414427, 'text': 'image_31032025_11_45_34_010139m0.jpg 4e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}] 0 [] elapsed_time : load_data_split_time_score 2.384185791015625e-06 elapsed_time : order_list_meta_photo_and_scores 7.62939453125e-06 ????????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.0016775131225585938 INSERT INTO `MTRPhoto`.`dashboard_entry_day` (`dashboard_place_id`, `mtr_portfolio_id`, `date`) VALUES ( 10, 21905185, '2025-03-31' ) ON DUPLICATE KEY UPDATE updated_at=NOW(); INSERT INTO `MTRPhoto`.`dashboard_run_ids` (`dashboard_entry_day`, `mtr_user_id`, `misc_info`) VALUES (1702716,979,"{}"); elapsed_time : insert_dashboard_record_day_entry 0.027157306671142578 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= 1702716 AND ded.last_run_id=dri.id AND dri.dashboard_entry_day=ded.id AND dri.id=dr.dashboard_run_id [{'dashboat_entry_day': 1702716, 'dashboard_run_id': 1713648, 'mtr_portfolio_id': 21894766, 'dashboard_result_id': 9776552, '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_P21894766_01-04-2025_05_34_34.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 21894769, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21894770, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21894771, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21894772, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21894773, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21894774, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21894775, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21894776, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21894777, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21894778, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21894779, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21894780, 'pht': 3726}}"}, {'dashboat_entry_day': 1702716, 'dashboard_run_id': 1713648, 'mtr_portfolio_id': 21895072, 'dashboard_result_id': 9776553, '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_P21895072_01-04-2025_05_35_38.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21895074, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21895075, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21895076, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21895077, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21895078, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21895079, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21895080, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21895081, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21895082, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21895083, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21895084, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21895085, 'pht': 3726}}"}, {'dashboat_entry_day': 1702716, 'dashboard_run_id': 1713648, 'mtr_portfolio_id': 21895527, 'dashboard_result_id': 9776554, '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_P21895527_01-04-2025_05_35_33.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21895531, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21895532, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21895533, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21895534, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21895535, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21895536, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21895537, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21895538, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21895539, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21895540, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21895541, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21895542, 'pht': 3726}}"}, {'dashboat_entry_day': 1702716, 'dashboard_run_id': 1713648, 'mtr_portfolio_id': 21895913, 'dashboard_result_id': 9776555, '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_P21895913_01-04-2025_05_36_02.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21895940, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21895941, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21895942, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21895943, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21895944, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21895945, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21895946, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21895947, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21895948, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21895949, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21895950, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21895951, 'pht': 3726}}"}, {'dashboat_entry_day': 1702716, 'dashboard_run_id': 1713648, 'mtr_portfolio_id': 21896296, 'dashboard_result_id': 9776556, '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_P21896296_01-04-2025_05_36_32.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21896323, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21896324, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21896325, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21896326, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21896327, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21896328, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21896329, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21896330, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21896331, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21896332, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21896333, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21896334, 'pht': 3726}}"}, {'dashboat_entry_day': 1702716, 'dashboard_run_id': 1713648, 'mtr_portfolio_id': 21896727, 'dashboard_result_id': 9776557, '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_P21896727_01-04-2025_05_37_34.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21896730, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21896731, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21896732, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21896733, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21896734, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21896735, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21896736, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21896737, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21896738, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21896739, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21896740, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21896741, 'pht': 3726}}"}, {'dashboat_entry_day': 1702716, 'dashboard_run_id': 1713648, 'mtr_portfolio_id': 21897245, 'dashboard_result_id': 9776558, '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_P21897245_01-04-2025_05_37_34.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21897277, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21897278, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21897279, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21897280, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21897281, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21897282, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21897283, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21897284, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21897285, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21897286, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21897287, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21897288, 'pht': 3726}}"}, {'dashboat_entry_day': 1702716, 'dashboard_run_id': 1713648, 'mtr_portfolio_id': 21897602, 'dashboard_result_id': 9776559, '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_P21897602_01-04-2025_05_38_02.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21897610, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21897611, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21897612, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21897613, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21897614, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21897615, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21897616, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21897617, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21897618, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21897619, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21897620, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21897621, 'pht': 3726}}"}, {'dashboat_entry_day': 1702716, 'dashboard_run_id': 1713648, 'mtr_portfolio_id': 21898451, 'dashboard_result_id': 9776560, '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_P21898451_01-04-2025_05_38_31.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 21898498, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21898499, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21898500, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21898501, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21898502, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21898503, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21898504, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21898505, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21898506, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21898507, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21898508, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21898509, 'pht': 3726}}"}, {'dashboat_entry_day': 1702716, 'dashboard_run_id': 1713648, 'mtr_portfolio_id': 21899135, 'dashboard_result_id': 9776561, '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_P21899135_01-04-2025_05_39_34.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 21899162, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21899163, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21899164, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21899165, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21899166, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21899167, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21899168, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21899169, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21899170, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21899171, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21899172, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21899173, 'pht': 3726}}"}, {'dashboat_entry_day': 1702716, 'dashboard_run_id': 1713648, 'mtr_portfolio_id': 21899830, 'dashboard_result_id': 9776562, '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_P21899830_01-04-2025_05_40_00.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21899858, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21899859, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21899860, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21899861, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21899862, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21899863, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21899864, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21899865, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21899866, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21899867, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21899868, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21899869, 'pht': 3726}}"}, {'dashboat_entry_day': 1702716, 'dashboard_run_id': 1713648, 'mtr_portfolio_id': 21901031, 'dashboard_result_id': 9776563, '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_P21901031_01-04-2025_05_40_34.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 21901034, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21901035, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21901036, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21901037, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21901038, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21901039, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21901040, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21901041, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21901042, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21901043, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21901044, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21901045, 'pht': 3726}}"}, {'dashboat_entry_day': 1702716, 'dashboard_run_id': 1713648, 'mtr_portfolio_id': 21929460, 'dashboard_result_id': 9776564, '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_P21929460_01-04-2025_05_41_32.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21929515, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21929516, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21929517, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21929518, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21929519, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21929520, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21929521, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21929522, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21929523, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21929524, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21929525, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21929526, 'pht': 3726}}"}, {'dashboat_entry_day': 1702716, 'dashboard_run_id': 1713648, 'mtr_portfolio_id': 21929461, 'dashboard_result_id': 9776565, '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_P21929461_01-04-2025_05_42_05.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21929551, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21929552, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21929553, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21929554, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21929555, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21929556, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21929557, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21929558, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21929559, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21929560, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21929561, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21929562, 'pht': 3726}}"}, {'dashboat_entry_day': 1702716, 'dashboard_run_id': 1713648, 'mtr_portfolio_id': 21901310, 'dashboard_result_id': 9776566, '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_P21901310_01-04-2025_05_42_34.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21901400, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21901401, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21901402, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21901403, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21901404, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21901405, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21901406, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21901407, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21901408, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21901409, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21901410, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21901411, 'pht': 3726}}"}, {'dashboat_entry_day': 1702716, 'dashboard_run_id': 1713648, 'mtr_portfolio_id': 21901313, 'dashboard_result_id': 9776567, '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_P21901313_01-04-2025_05_43_36.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21901388, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21901389, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21901390, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21901391, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21901392, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21901393, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21901394, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21901395, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21901396, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21901397, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21901398, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21901399, 'pht': 3726}}"}, {'dashboat_entry_day': 1702716, 'dashboard_run_id': 1713648, 'mtr_portfolio_id': 21901316, 'dashboard_result_id': 9776568, '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_P21901316_01-04-2025_05_44_03.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21901327, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21901328, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21901329, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21901330, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21901331, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21901332, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21901333, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21901334, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21901335, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21901336, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21901337, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21901338, 'pht': 3726}}"}, {'dashboat_entry_day': 1702716, 'dashboard_run_id': 1713648, 'mtr_portfolio_id': 21901611, 'dashboard_result_id': 9776583, '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_P21901611_01-04-2025_05_44_31.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21901673, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21901674, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21901675, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21901676, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21901677, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21901678, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21901679, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21901680, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21901681, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21901682, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21901683, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21901684, 'pht': 3726}}"}, {'dashboat_entry_day': 1702716, 'dashboard_run_id': 1713648, 'mtr_portfolio_id': 21902723, 'dashboard_result_id': 9776594, '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_P21902723_01-04-2025_05_45_35.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21902792, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21902793, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21902794, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21902795, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21902796, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21902797, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21902798, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21902799, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21902800, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21902801, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21902802, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21902803, 'pht': 3726}}"}, {'dashboat_entry_day': 1702716, 'dashboard_run_id': 1713648, 'mtr_portfolio_id': 21904049, 'dashboard_result_id': 9776595, '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_P21904049_01-04-2025_05_45_34.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21904106, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21904107, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21904108, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21904109, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21904110, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21904111, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21904112, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21904113, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21904114, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21904115, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21904116, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21904117, 'pht': 3726}}"}, {'dashboat_entry_day': 1702716, 'dashboard_run_id': 1713648, 'mtr_portfolio_id': 21904764, 'dashboard_result_id': 9776596, '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_P21904764_01-04-2025_05_46_00.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21904766, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21904767, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21904768, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21904769, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21904770, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21904771, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21904772, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21904773, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21904774, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21904775, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21904776, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21904777, 'pht': 3726}}"}, {'dashboat_entry_day': 1702716, 'dashboard_run_id': 1713648, 'mtr_portfolio_id': 21905185, 'dashboard_result_id': 9776597, '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_P21905185_31-03-2025_12_03_02.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21905199, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21905200, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21905201, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21905202, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21905203, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21905204, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21905205, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21905206, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21905207, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21905208, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21905209, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21905210, 'pht': 3726}}"}, {'dashboat_entry_day': 1702716, 'dashboard_run_id': 1713648, 'mtr_portfolio_id': 21905761, 'dashboard_result_id': 9776598, '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_P21905761_01-04-2025_01_01_03.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21905789, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21905790, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21905791, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21905792, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21905793, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21905794, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21905795, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21905796, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21905797, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21905798, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21905799, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21905800, 'pht': 3726}}"}, {'dashboat_entry_day': 1702716, 'dashboard_run_id': 1713648, 'mtr_portfolio_id': 21907306, 'dashboard_result_id': 9776599, '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_P21907306_31-03-2025_13_46_43.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21907309, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21907310, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21907311, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21907312, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21907313, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21907314, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21907315, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21907316, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21907317, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21907318, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21907319, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21907320, 'pht': 3726}}"}, {'dashboat_entry_day': 1702716, 'dashboard_run_id': 1713648, 'mtr_portfolio_id': 21907627, 'dashboard_result_id': 9776600, '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_P21907627_31-03-2025_14_05_31.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21907629, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21907630, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21907631, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21907632, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21907633, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21907634, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21907635, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21907636, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21907637, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21907638, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21907639, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21907640, 'pht': 3726}}"}, {'dashboat_entry_day': 1702716, 'dashboard_run_id': 1713648, 'mtr_portfolio_id': 21908086, 'dashboard_result_id': 9776601, '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_P21908086_31-03-2025_14_17_02.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21908088, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21908089, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21908090, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21908091, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21908092, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21908093, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21908094, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21908095, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21908096, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21908097, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21908098, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21908099, 'pht': 3726}}"}, {'dashboat_entry_day': 1702716, 'dashboard_run_id': 1713648, 'mtr_portfolio_id': 21908892, 'dashboard_result_id': 9776602, '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_P21908892_31-03-2025_14_33_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21908911, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21908912, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21908913, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21908914, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21908915, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21908916, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21908917, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21908918, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21908919, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21908920, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21908921, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21908922, 'pht': 3726}}"}, {'dashboat_entry_day': 1702716, 'dashboard_run_id': 1713648, 'mtr_portfolio_id': 21909447, 'dashboard_result_id': 9776603, '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_P21909447_31-03-2025_14_47_02.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 21909451, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21909452, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21909453, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21909454, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21909455, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21909456, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21909457, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21909458, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21909459, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21909460, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21909461, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21909462, 'pht': 3726}}"}, {'dashboat_entry_day': 1702716, 'dashboard_run_id': 1713648, 'mtr_portfolio_id': 21910000, 'dashboard_result_id': 9776604, '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_P21910000_31-03-2025_15_03_00.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 21910118, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21910119, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21910120, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21910121, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21910122, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21910123, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21910124, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21910125, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21910126, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21910127, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21910128, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21910129, 'pht': 3726}}"}, {'dashboat_entry_day': 1702716, 'dashboard_run_id': 1713648, 'mtr_portfolio_id': 21910689, 'dashboard_result_id': 9776605, '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_P21910689_31-03-2025_15_17_33.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21910733, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21910734, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21910735, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21910736, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21910737, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21910738, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21910739, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21910740, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21910741, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21910742, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21910743, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21910744, 'pht': 3726}}"}, {'dashboat_entry_day': 1702716, 'dashboard_run_id': 1713648, 'mtr_portfolio_id': 21911420, 'dashboard_result_id': 9776606, '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_P21911420_31-03-2025_15_32_59.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21911427, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21911428, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21911429, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21911430, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21911431, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21911432, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21911433, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21911434, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21911435, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21911436, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21911437, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21911438, 'pht': 3726}}"}, {'dashboat_entry_day': 1702716, 'dashboard_run_id': 1713648, 'mtr_portfolio_id': 21911861, 'dashboard_result_id': 9776607, '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_P21911861_31-03-2025_15_48_29.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21911935, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21911936, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21911937, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21911938, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21911939, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21911940, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21911941, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21911942, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21911943, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21911944, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21911945, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21911946, 'pht': 3726}}"}, {'dashboat_entry_day': 1702716, 'dashboard_run_id': 1713648, 'mtr_portfolio_id': 21912622, 'dashboard_result_id': 9776608, '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_P21912622_31-03-2025_16_03_01.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 21912627, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21912628, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21912629, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21912630, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21912631, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21912632, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21912633, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21912634, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21912635, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21912636, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21912637, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21912638, 'pht': 3726}}"}, {'dashboat_entry_day': 1702716, 'dashboard_run_id': 1713648, 'mtr_portfolio_id': 21913164, 'dashboard_result_id': 9776609, '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_P21913164_31-03-2025_16_17_01.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21913167, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21913168, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21913169, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21913170, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21913171, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21913172, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21913173, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21913174, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21913175, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21913176, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21913177, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21913178, 'pht': 3726}}"}, {'dashboat_entry_day': 1702716, 'dashboard_run_id': 1713648, 'mtr_portfolio_id': 21913884, 'dashboard_result_id': 9776610, '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_P21913884_31-03-2025_16_33_02.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21913888, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21913889, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21913890, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21913891, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21913892, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21913893, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21913894, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21913895, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21913896, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21913897, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21913898, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21913899, 'pht': 3726}}"}, {'dashboat_entry_day': 1702716, 'dashboard_run_id': 1713648, 'mtr_portfolio_id': 21914431, 'dashboard_result_id': 9776611, '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_P21914431_31-03-2025_16_47_01.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21914461, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21914462, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21914463, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21914464, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21914465, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21914466, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21914467, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21914468, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21914469, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21914470, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21914471, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21914472, 'pht': 3726}}"}, {'dashboat_entry_day': 1702716, 'dashboard_run_id': 1713648, 'mtr_portfolio_id': 21915225, 'dashboard_result_id': 9776612, '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_P21915225_31-03-2025_17_03_02.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 21915230, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21915231, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21915232, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21915233, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21915234, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21915235, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21915236, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21915237, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21915238, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21915239, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21915240, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21915241, 'pht': 3726}}"}, {'dashboat_entry_day': 1702716, 'dashboard_run_id': 1713648, 'mtr_portfolio_id': 21915815, 'dashboard_result_id': 9776613, '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_P21915815_31-03-2025_17_16_59.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21915818, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21915819, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21915820, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21915821, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21915822, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21915823, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21915824, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21915825, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21915826, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21915827, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21915828, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21915829, 'pht': 3726}}"}, {'dashboat_entry_day': 1702716, 'dashboard_run_id': 1713648, 'mtr_portfolio_id': 21916470, 'dashboard_result_id': 9776614, '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_P21916470_31-03-2025_17_33_02.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21916473, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21916474, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21916475, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21916476, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21916477, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21916478, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21916479, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21916480, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21916481, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21916482, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21916483, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21916484, 'pht': 3726}}"}, {'dashboat_entry_day': 1702716, 'dashboard_run_id': 1713648, 'mtr_portfolio_id': 21917495, 'dashboard_result_id': 9776615, '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_P21917495_31-03-2025_18_19_00.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21917499, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21917500, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21917501, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21917502, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21917503, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21917504, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21917505, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21917506, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21917507, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21917508, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21917509, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21917510, 'pht': 3726}}"}, {'dashboat_entry_day': 1702716, 'dashboard_run_id': 1713648, 'mtr_portfolio_id': 21918094, 'dashboard_result_id': 9776616, '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_P21918094_31-03-2025_18_33_01.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21918136, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21918137, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21918138, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21918139, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21918140, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21918141, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21918142, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21918143, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21918144, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21918145, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21918146, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21918147, 'pht': 3726}}"}, {'dashboat_entry_day': 1702716, 'dashboard_run_id': 1713648, 'mtr_portfolio_id': 21918550, 'dashboard_result_id': 9776617, '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_P21918550_31-03-2025_18_46_30.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21918621, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21918622, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21918623, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21918624, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21918625, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21918626, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21918627, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21918628, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21918630, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21918631, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21918632, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21918633, 'pht': 3726}}"}, {'dashboat_entry_day': 1702716, 'dashboard_run_id': 1713648, 'mtr_portfolio_id': 21919314, 'dashboard_result_id': 9776618, '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_P21919314_31-03-2025_19_12_31.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21919316, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21919317, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21919318, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21919319, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21919320, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21919321, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21919322, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21919323, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21919324, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21919325, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21919326, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21919327, 'pht': 3726}}"}, {'dashboat_entry_day': 1702716, 'dashboard_run_id': 1713648, 'mtr_portfolio_id': 21919984, 'dashboard_result_id': 9776619, '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_P21919984_31-03-2025_19_19_01.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21920005, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21920006, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21920007, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21920008, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21920009, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21920010, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21920011, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21920012, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21920013, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21920014, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21920015, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21920016, 'pht': 3726}}"}, {'dashboat_entry_day': 1702716, 'dashboard_run_id': 1713648, 'mtr_portfolio_id': 21920157, 'dashboard_result_id': 9776620, '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_P21920157_31-03-2025_19_32_31.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21920160, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21920161, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21920162, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21920163, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21920164, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21920165, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21920166, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21920167, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21920168, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21920169, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21920170, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21920171, 'pht': 3726}}"}, {'dashboat_entry_day': 1702716, 'dashboard_run_id': 1713648, 'mtr_portfolio_id': 21920706, 'dashboard_result_id': 9776621, '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_P21920706_31-03-2025_19_49_30.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21920710, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21920711, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21920712, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21920713, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21920714, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21920715, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21920716, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21920717, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21920718, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21920719, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21920720, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21920721, 'pht': 3726}}"}, {'dashboat_entry_day': 1702716, 'dashboard_run_id': 1713648, 'mtr_portfolio_id': 21921325, 'dashboard_result_id': 9776622, '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_P21921325_31-03-2025_20_02_58.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21921328, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21921329, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21921330, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21921331, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21921332, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21921333, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21921334, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21921335, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21921336, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21921337, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21921338, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21921339, 'pht': 3726}}"}, {'dashboat_entry_day': 1702716, 'dashboard_run_id': 1713648, 'mtr_portfolio_id': 21922020, 'dashboard_result_id': 9776623, '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_P21922020_31-03-2025_20_19_09.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21922024, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21922025, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21922026, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21922027, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21922028, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21922029, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21922030, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21922031, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21922032, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21922033, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21922034, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21922035, 'pht': 3726}}"}, {'dashboat_entry_day': 1702716, 'dashboard_run_id': 1713648, 'mtr_portfolio_id': 21922748, 'dashboard_result_id': 9776624, '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_P21922748_31-03-2025_20_33_04.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21922753, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21922754, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21922755, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21922756, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21922757, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21922758, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21922759, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21922760, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21922761, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21922762, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21922763, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21922764, 'pht': 3726}}"}, {'dashboat_entry_day': 1702716, 'dashboard_run_id': 1713648, 'mtr_portfolio_id': 21923380, 'dashboard_result_id': 9776625, '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_P21923380_31-03-2025_21_06_59.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21923395, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21923396, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21923397, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21923398, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21923399, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21923400, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21923401, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21923402, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21923403, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21923404, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21923405, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21923406, '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 = 21894766 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': 2711547, 'mtr_portfolio_id': 21894766, 'created_at': datetime.datetime(2025, 4, 1, 5, 34, 30), 'result': '0.044984553950088116', 'result_long': None, 'result_double': None}] Qualite : 0.044984553950088116 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21894766 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21894766_01-04-2025_05_34_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21894766 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_P21894766_01-04-2025_05_34_34.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 21894769, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21894770, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21894771, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21894772, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21894773, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21894774, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21894775, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21894776, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21894777, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21894778, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21894779, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21894780, 'pht': 3726}}" where mtr_portfolio_id = 21894766 and dashboard_run_id = 1713648 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`=21894766 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9776552, 0.044984553950088116, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21894766_01-04-2025_05_34_34.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 21894769, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21894770, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21894771, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21894772, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21894773, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21894774, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21894775, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21894776, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21894777, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21894778, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21894779, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21894780, '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 = 21895072 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': 2711548, 'mtr_portfolio_id': 21895072, 'created_at': datetime.datetime(2025, 4, 1, 5, 35, 33), 'result': '0.05773960793193675', 'result_long': None, 'result_double': None}] Qualite : 0.05773960793193675 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21895072 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21895072_01-04-2025_05_35_38.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21895072 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_P21895072_01-04-2025_05_35_38.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21895074, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21895075, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21895076, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21895077, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21895078, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21895079, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21895080, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21895081, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21895082, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21895083, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21895084, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21895085, 'pht': 3726}}" where mtr_portfolio_id = 21895072 and dashboard_run_id = 1713648 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`=21895072 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9776553, 0.05773960793193675, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21895072_01-04-2025_05_35_38.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21895074, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21895075, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21895076, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21895077, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21895078, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21895079, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21895080, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21895081, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21895082, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21895083, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21895084, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21895085, '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 = 21895527 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': 2711549, 'mtr_portfolio_id': 21895527, 'created_at': datetime.datetime(2025, 4, 1, 5, 35, 30), 'result': '0.055112296165831576', 'result_long': None, 'result_double': None}] Qualite : 0.055112296165831576 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21895527 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21895527_01-04-2025_05_35_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21895527 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_P21895527_01-04-2025_05_35_33.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21895531, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21895532, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21895533, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21895534, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21895535, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21895536, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21895537, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21895538, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21895539, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21895540, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21895541, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21895542, 'pht': 3726}}" where mtr_portfolio_id = 21895527 and dashboard_run_id = 1713648 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`=21895527 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9776554, 0.055112296165831576, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21895527_01-04-2025_05_35_33.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21895531, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21895532, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21895533, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21895534, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21895535, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21895536, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21895537, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21895538, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21895539, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21895540, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21895541, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21895542, '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 = 21895913 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': 2711550, 'mtr_portfolio_id': 21895913, 'created_at': datetime.datetime(2025, 4, 1, 5, 35, 59), 'result': '0.05533051010231015', 'result_long': None, 'result_double': None}] Qualite : 0.05533051010231015 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21895913 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21895913_01-04-2025_05_36_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21895913 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_P21895913_01-04-2025_05_36_02.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21895940, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21895941, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21895942, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21895943, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21895944, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21895945, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21895946, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21895947, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21895948, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21895949, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21895950, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21895951, 'pht': 3726}}" where mtr_portfolio_id = 21895913 and dashboard_run_id = 1713648 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`=21895913 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9776555, 0.05533051010231015, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21895913_01-04-2025_05_36_02.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21895940, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21895941, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21895942, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21895943, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21895944, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21895945, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21895946, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21895947, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21895948, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21895949, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21895950, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21895951, '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 = 21896296 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': 2711551, 'mtr_portfolio_id': 21896296, 'created_at': datetime.datetime(2025, 4, 1, 5, 36, 29), 'result': '0.050937691826930545', 'result_long': None, 'result_double': None}] Qualite : 0.050937691826930545 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21896296 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21896296_01-04-2025_05_36_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21896296 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_P21896296_01-04-2025_05_36_32.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21896323, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21896324, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21896325, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21896326, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21896327, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21896328, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21896329, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21896330, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21896331, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21896332, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21896333, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21896334, 'pht': 3726}}" where mtr_portfolio_id = 21896296 and dashboard_run_id = 1713648 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`=21896296 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9776556, 0.050937691826930545, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21896296_01-04-2025_05_36_32.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21896323, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21896324, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21896325, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21896326, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21896327, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21896328, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21896329, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21896330, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21896331, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21896332, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21896333, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21896334, '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 = 21896727 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': 2711552, 'mtr_portfolio_id': 21896727, 'created_at': datetime.datetime(2025, 4, 1, 5, 37, 29), 'result': '0.04773202156897764', 'result_long': None, 'result_double': None}] Qualite : 0.04773202156897764 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21896727 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21896727_01-04-2025_05_37_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21896727 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_P21896727_01-04-2025_05_37_34.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21896730, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21896731, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21896732, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21896733, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21896734, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21896735, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21896736, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21896737, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21896738, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21896739, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21896740, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21896741, 'pht': 3726}}" where mtr_portfolio_id = 21896727 and dashboard_run_id = 1713648 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`=21896727 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9776557, 0.04773202156897764, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21896727_01-04-2025_05_37_34.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21896730, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21896731, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21896732, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21896733, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21896734, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21896735, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21896736, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21896737, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21896738, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21896739, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21896740, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21896741, '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 = 21897245 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': 2711553, 'mtr_portfolio_id': 21897245, 'created_at': datetime.datetime(2025, 4, 1, 5, 37, 31), 'result': '0.04225967103313561', 'result_long': None, 'result_double': None}] Qualite : 0.04225967103313561 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21897245 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21897245_01-04-2025_05_37_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21897245 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_P21897245_01-04-2025_05_37_34.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21897277, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21897278, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21897279, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21897280, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21897281, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21897282, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21897283, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21897284, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21897285, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21897286, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21897287, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21897288, 'pht': 3726}}" where mtr_portfolio_id = 21897245 and dashboard_run_id = 1713648 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`=21897245 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9776558, 0.04225967103313561, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21897245_01-04-2025_05_37_34.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21897277, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21897278, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21897279, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21897280, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21897281, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21897282, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21897283, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21897284, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21897285, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21897286, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21897287, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21897288, '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 = 21897602 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': 2711554, 'mtr_portfolio_id': 21897602, 'created_at': datetime.datetime(2025, 4, 1, 5, 38), 'result': '0.0483811050865086', 'result_long': None, 'result_double': None}] Qualite : 0.0483811050865086 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21897602 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21897602_01-04-2025_05_38_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21897602 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_P21897602_01-04-2025_05_38_02.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21897610, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21897611, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21897612, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21897613, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21897614, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21897615, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21897616, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21897617, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21897618, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21897619, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21897620, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21897621, 'pht': 3726}}" where mtr_portfolio_id = 21897602 and dashboard_run_id = 1713648 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`=21897602 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9776559, 0.0483811050865086, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21897602_01-04-2025_05_38_02.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21897610, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21897611, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21897612, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21897613, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21897614, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21897615, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21897616, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21897617, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21897618, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21897619, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21897620, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21897621, '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 = 21898451 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': 2711555, 'mtr_portfolio_id': 21898451, 'created_at': datetime.datetime(2025, 4, 1, 5, 38, 29), 'result': '0.04369986429642039', 'result_long': None, 'result_double': None}] Qualite : 0.04369986429642039 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21898451 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21898451_01-04-2025_05_38_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21898451 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_P21898451_01-04-2025_05_38_31.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 21898498, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21898499, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21898500, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21898501, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21898502, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21898503, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21898504, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21898505, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21898506, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21898507, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21898508, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21898509, 'pht': 3726}}" where mtr_portfolio_id = 21898451 and dashboard_run_id = 1713648 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`=21898451 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9776560, 0.04369986429642039, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21898451_01-04-2025_05_38_31.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 21898498, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21898499, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21898500, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21898501, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21898502, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21898503, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21898504, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21898505, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21898506, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21898507, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21898508, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21898509, '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 = 21899135 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': 2711556, 'mtr_portfolio_id': 21899135, 'created_at': datetime.datetime(2025, 4, 1, 5, 39, 31), 'result': '0.04711329217429042', 'result_long': None, 'result_double': None}] Qualite : 0.04711329217429042 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21899135 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21899135_01-04-2025_05_39_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21899135 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_P21899135_01-04-2025_05_39_34.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 21899162, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21899163, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21899164, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21899165, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21899166, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21899167, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21899168, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21899169, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21899170, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21899171, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21899172, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21899173, 'pht': 3726}}" where mtr_portfolio_id = 21899135 and dashboard_run_id = 1713648 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`=21899135 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9776561, 0.04711329217429042, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21899135_01-04-2025_05_39_34.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 21899162, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21899163, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21899164, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21899165, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21899166, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21899167, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21899168, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21899169, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21899170, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21899171, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21899172, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21899173, '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 = 21899830 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': 2711557, 'mtr_portfolio_id': 21899830, 'created_at': datetime.datetime(2025, 4, 1, 5, 39, 57), 'result': '0.050113382220564974', 'result_long': None, 'result_double': None}] Qualite : 0.050113382220564974 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21899830 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21899830_01-04-2025_05_40_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21899830 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_P21899830_01-04-2025_05_40_00.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21899858, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21899859, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21899860, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21899861, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21899862, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21899863, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21899864, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21899865, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21899866, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21899867, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21899868, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21899869, 'pht': 3726}}" where mtr_portfolio_id = 21899830 and dashboard_run_id = 1713648 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`=21899830 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9776562, 0.050113382220564974, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21899830_01-04-2025_05_40_00.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21899858, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21899859, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21899860, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21899861, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21899862, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21899863, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21899864, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21899865, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21899866, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21899867, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21899868, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21899869, '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 = 21901031 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': 2711558, 'mtr_portfolio_id': 21901031, 'created_at': datetime.datetime(2025, 4, 1, 5, 40, 29), 'result': '0.05884572600962365', 'result_long': None, 'result_double': None}] Qualite : 0.05884572600962365 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21901031 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21901031_01-04-2025_05_40_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21901031 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_P21901031_01-04-2025_05_40_34.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 21901034, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21901035, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21901036, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21901037, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21901038, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21901039, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21901040, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21901041, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21901042, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21901043, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21901044, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21901045, 'pht': 3726}}" where mtr_portfolio_id = 21901031 and dashboard_run_id = 1713648 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`=21901031 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9776563, 0.05884572600962365, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21901031_01-04-2025_05_40_34.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 21901034, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21901035, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21901036, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21901037, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21901038, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21901039, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21901040, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21901041, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21901042, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21901043, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21901044, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21901045, '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 = 21929460 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21929460 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 21929460 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21929460 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21929460 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21929460 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21929460_01-04-2025_05_41_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21929460 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_P21929460_01-04-2025_05_41_32.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21929515, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21929516, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21929517, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21929518, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21929519, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21929520, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21929521, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21929522, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21929523, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21929524, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21929525, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21929526, 'pht': 3726}}" where mtr_portfolio_id = 21929460 and dashboard_run_id = 1713648 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 = 21929461 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': 2711560, 'mtr_portfolio_id': 21929461, 'created_at': datetime.datetime(2025, 4, 1, 5, 42), 'result': '0.0441520242547013', 'result_long': None, 'result_double': None}] Qualite : 0.0441520242547013 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21929461 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21929461_01-04-2025_05_42_05.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21929461 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_P21929461_01-04-2025_05_42_05.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21929551, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21929552, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21929553, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21929554, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21929555, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21929556, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21929557, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21929558, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21929559, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21929560, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21929561, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21929562, 'pht': 3726}}" where mtr_portfolio_id = 21929461 and dashboard_run_id = 1713648 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`=21929461 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9776565, 0.0441520242547013, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21929461_01-04-2025_05_42_05.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21929551, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21929552, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21929553, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21929554, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21929555, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21929556, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21929557, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21929558, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21929559, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21929560, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21929561, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21929562, '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 = 21901310 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': 2711561, 'mtr_portfolio_id': 21901310, 'created_at': datetime.datetime(2025, 4, 1, 5, 42, 30), 'result': '0.041323747866584534', 'result_long': None, 'result_double': None}] Qualite : 0.041323747866584534 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21901310 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21901310_01-04-2025_05_42_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21901310 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_P21901310_01-04-2025_05_42_34.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21901400, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21901401, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21901402, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21901403, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21901404, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21901405, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21901406, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21901407, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21901408, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21901409, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21901410, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21901411, 'pht': 3726}}" where mtr_portfolio_id = 21901310 and dashboard_run_id = 1713648 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`=21901310 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9776566, 0.041323747866584534, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21901310_01-04-2025_05_42_34.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21901400, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21901401, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21901402, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21901403, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21901404, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21901405, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21901406, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21901407, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21901408, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21901409, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21901410, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21901411, '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 = 21901313 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': 2711562, 'mtr_portfolio_id': 21901313, 'created_at': datetime.datetime(2025, 4, 1, 5, 43, 32), 'result': '0.039857698452281966', 'result_long': None, 'result_double': None}] Qualite : 0.039857698452281966 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21901313 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21901313_01-04-2025_05_43_36.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21901313 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_P21901313_01-04-2025_05_43_36.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21901388, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21901389, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21901390, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21901391, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21901392, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21901393, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21901394, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21901395, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21901396, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21901397, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21901398, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21901399, 'pht': 3726}}" where mtr_portfolio_id = 21901313 and dashboard_run_id = 1713648 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`=21901313 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9776567, 0.039857698452281966, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21901313_01-04-2025_05_43_36.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21901388, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21901389, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21901390, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21901391, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21901392, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21901393, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21901394, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21901395, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21901396, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21901397, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21901398, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21901399, '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 = 21901316 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': 2711563, 'mtr_portfolio_id': 21901316, 'created_at': datetime.datetime(2025, 4, 1, 5, 44), 'result': '0.05111578523701194', 'result_long': None, 'result_double': None}] Qualite : 0.05111578523701194 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21901316 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21901316_01-04-2025_05_44_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21901316 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_P21901316_01-04-2025_05_44_03.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21901327, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21901328, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21901329, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21901330, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21901331, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21901332, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21901333, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21901334, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21901335, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21901336, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21901337, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21901338, 'pht': 3726}}" where mtr_portfolio_id = 21901316 and dashboard_run_id = 1713648 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`=21901316 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9776568, 0.05111578523701194, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21901316_01-04-2025_05_44_03.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21901327, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21901328, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21901329, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21901330, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21901331, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21901332, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21901333, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21901334, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21901335, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21901336, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21901337, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21901338, '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 = 21901611 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': 2711564, 'mtr_portfolio_id': 21901611, 'created_at': datetime.datetime(2025, 4, 1, 5, 44, 29), 'result': '0.033862039669946116', 'result_long': None, 'result_double': None}] Qualite : 0.033862039669946116 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21901611 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21901611_01-04-2025_05_44_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21901611 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_P21901611_01-04-2025_05_44_31.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21901673, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21901674, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21901675, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21901676, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21901677, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21901678, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21901679, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21901680, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21901681, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21901682, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21901683, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21901684, 'pht': 3726}}" where mtr_portfolio_id = 21901611 and dashboard_run_id = 1713648 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`=21901611 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9776583, 0.033862039669946116, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21901611_01-04-2025_05_44_31.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21901673, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21901674, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21901675, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21901676, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21901677, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21901678, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21901679, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21901680, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21901681, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21901682, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21901683, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21901684, '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 = 21902723 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': 2711565, 'mtr_portfolio_id': 21902723, 'created_at': datetime.datetime(2025, 4, 1, 5, 45, 30), 'result': '0.05567897906480752', 'result_long': None, 'result_double': None}] Qualite : 0.05567897906480752 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21902723 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21902723_01-04-2025_05_45_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21902723 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_P21902723_01-04-2025_05_45_35.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21902792, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21902793, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21902794, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21902795, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21902796, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21902797, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21902798, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21902799, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21902800, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21902801, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21902802, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21902803, 'pht': 3726}}" where mtr_portfolio_id = 21902723 and dashboard_run_id = 1713648 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`=21902723 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9776594, 0.05567897906480752, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21902723_01-04-2025_05_45_35.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21902792, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21902793, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21902794, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21902795, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21902796, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21902797, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21902798, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21902799, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21902800, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21902801, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21902802, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21902803, '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 = 21904049 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': 2711566, 'mtr_portfolio_id': 21904049, 'created_at': datetime.datetime(2025, 4, 1, 5, 45, 32), 'result': '0.05819650849290726', 'result_long': None, 'result_double': None}] Qualite : 0.05819650849290726 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21904049 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21904049_01-04-2025_05_45_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21904049 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_P21904049_01-04-2025_05_45_34.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21904106, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21904107, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21904108, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21904109, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21904110, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21904111, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21904112, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21904113, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21904114, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21904115, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21904116, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21904117, 'pht': 3726}}" where mtr_portfolio_id = 21904049 and dashboard_run_id = 1713648 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`=21904049 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9776595, 0.05819650849290726, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21904049_01-04-2025_05_45_34.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21904106, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21904107, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21904108, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21904109, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21904110, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21904111, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21904112, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21904113, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21904114, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21904115, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21904116, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21904117, '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 = 21904764 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': 2711567, 'mtr_portfolio_id': 21904764, 'created_at': datetime.datetime(2025, 4, 1, 5, 45, 59), 'result': '0.03912807187820278', 'result_long': None, 'result_double': None}] Qualite : 0.03912807187820278 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21904764 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21904764_01-04-2025_05_46_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21904764 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_P21904764_01-04-2025_05_46_00.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21904766, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21904767, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21904768, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21904769, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21904770, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21904771, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21904772, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21904773, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21904774, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21904775, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21904776, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21904777, 'pht': 3726}}" where mtr_portfolio_id = 21904764 and dashboard_run_id = 1713648 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`=21904764 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9776596, 0.03912807187820278, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21904764_01-04-2025_05_46_00.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21904766, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21904767, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21904768, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21904769, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21904770, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21904771, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21904772, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21904773, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21904774, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21904775, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21904776, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21904777, '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 = 21905185 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': 2711568, 'mtr_portfolio_id': 21905185, 'created_at': datetime.datetime(2025, 4, 1, 5, 46, 59), 'result': '0.04566696661668516', 'result_long': None, 'result_double': None}] Qualite : 0.04566696661668516 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21905185 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21905185_01-04-2025_05_47_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21905185 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_P21905185_01-04-2025_05_47_01.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21905199, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21905200, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21905201, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21905202, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21905203, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21905204, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21905205, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21905206, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21905207, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21905208, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21905209, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21905210, 'pht': 3726}}" where mtr_portfolio_id = 21905185 and dashboard_run_id = 1713648 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`=21905185 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9776597, 0.04566696661668516, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21905185_01-04-2025_05_47_01.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21905199, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21905200, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21905201, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21905202, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21905203, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21905204, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21905205, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21905206, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21905207, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21905208, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21905209, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21905210, '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 = 21905761 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': 2708690, 'mtr_portfolio_id': 21905761, 'created_at': datetime.datetime(2025, 4, 1, 1, 1, 1), 'result': '0.027481713240955677', 'result_long': None, 'result_double': None}] Qualite : 0.027481713240955677 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21905761 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21905761_01-04-2025_01_01_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21905761 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_P21905761_01-04-2025_01_01_03.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21905789, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21905790, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21905791, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21905792, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21905793, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21905794, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21905795, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21905796, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21905797, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21905798, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21905799, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21905800, 'pht': 3726}}" where mtr_portfolio_id = 21905761 and dashboard_run_id = 1713648 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`=21905761 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9776598, 0.027481713240955677, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21905761_01-04-2025_01_01_03.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21905789, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21905790, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21905791, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21905792, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21905793, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21905794, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21905795, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21905796, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21905797, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21905798, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21905799, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21905800, '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 = 21907306 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': 2708971, 'mtr_portfolio_id': 21907306, 'created_at': datetime.datetime(2025, 3, 31, 13, 46, 37), 'result': '0.0510025409211988', 'result_long': None, 'result_double': None}] Qualite : 0.0510025409211988 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21907306 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21907306_31-03-2025_13_46_43.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21907306 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_P21907306_31-03-2025_13_46_43.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21907309, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21907310, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21907311, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21907312, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21907313, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21907314, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21907315, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21907316, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21907317, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21907318, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21907319, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21907320, 'pht': 3726}}" where mtr_portfolio_id = 21907306 and dashboard_run_id = 1713648 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`=21907306 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9776599, 0.0510025409211988, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21907306_31-03-2025_13_46_43.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21907309, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21907310, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21907311, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21907312, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21907313, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21907314, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21907315, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21907316, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21907317, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21907318, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21907319, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21907320, '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 = 21907627 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': 2708999, 'mtr_portfolio_id': 21907627, 'created_at': datetime.datetime(2025, 3, 31, 14, 5, 31), 'result': '0.07949287031517037', 'result_long': None, 'result_double': None}] Qualite : 0.07949287031517037 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21907627 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21907627_31-03-2025_14_05_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21907627 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_P21907627_31-03-2025_14_05_31.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21907629, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21907630, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21907631, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21907632, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21907633, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21907634, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21907635, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21907636, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21907637, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21907638, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21907639, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21907640, 'pht': 3726}}" where mtr_portfolio_id = 21907627 and dashboard_run_id = 1713648 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`=21907627 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9776600, 0.07949287031517037, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21907627_31-03-2025_14_05_31.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21907629, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21907630, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21907631, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21907632, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21907633, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21907634, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21907635, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21907636, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21907637, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21907638, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21907639, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21907640, '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 = 21908086 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': 2709061, 'mtr_portfolio_id': 21908086, 'created_at': datetime.datetime(2025, 3, 31, 14, 17, 1), 'result': '0.03995046359869548', 'result_long': None, 'result_double': None}] Qualite : 0.03995046359869548 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21908086 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21908086_31-03-2025_14_17_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21908086 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_P21908086_31-03-2025_14_17_02.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21908088, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21908089, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21908090, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21908091, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21908092, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21908093, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21908094, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21908095, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21908096, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21908097, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21908098, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21908099, 'pht': 3726}}" where mtr_portfolio_id = 21908086 and dashboard_run_id = 1713648 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`=21908086 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9776601, 0.03995046359869548, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21908086_31-03-2025_14_17_02.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21908088, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21908089, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21908090, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21908091, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21908092, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21908093, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21908094, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21908095, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21908096, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21908097, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21908098, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21908099, '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 = 21908892 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': 2709111, 'mtr_portfolio_id': 21908892, 'created_at': datetime.datetime(2025, 3, 31, 14, 33), 'result': '0.042700684942732686', 'result_long': None, 'result_double': None}] Qualite : 0.042700684942732686 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21908892 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21908892_31-03-2025_14_33_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21908892 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_P21908892_31-03-2025_14_33_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21908911, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21908912, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21908913, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21908914, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21908915, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21908916, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21908917, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21908918, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21908919, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21908920, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21908921, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21908922, 'pht': 3726}}" where mtr_portfolio_id = 21908892 and dashboard_run_id = 1713648 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`=21908892 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9776602, 0.042700684942732686, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21908892_31-03-2025_14_33_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21908911, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21908912, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21908913, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21908914, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21908915, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21908916, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21908917, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21908918, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21908919, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21908920, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21908921, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21908922, '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 = 21909447 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': 2709164, 'mtr_portfolio_id': 21909447, 'created_at': datetime.datetime(2025, 3, 31, 14, 47, 1), 'result': '0.04225638340611619', 'result_long': None, 'result_double': None}] Qualite : 0.04225638340611619 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21909447 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21909447_31-03-2025_14_47_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21909447 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_P21909447_31-03-2025_14_47_02.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 21909451, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21909452, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21909453, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21909454, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21909455, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21909456, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21909457, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21909458, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21909459, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21909460, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21909461, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21909462, 'pht': 3726}}" where mtr_portfolio_id = 21909447 and dashboard_run_id = 1713648 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`=21909447 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9776603, 0.04225638340611619, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21909447_31-03-2025_14_47_02.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 21909451, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21909452, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21909453, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21909454, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21909455, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21909456, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21909457, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21909458, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21909459, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21909460, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21909461, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21909462, '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 = 21910000 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': 2709211, 'mtr_portfolio_id': 21910000, 'created_at': datetime.datetime(2025, 3, 31, 15, 2, 59), 'result': '0.032644247813827756', 'result_long': None, 'result_double': None}] Qualite : 0.032644247813827756 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21910000 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21910000_31-03-2025_15_03_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21910000 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_P21910000_31-03-2025_15_03_00.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 21910118, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21910119, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21910120, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21910121, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21910122, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21910123, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21910124, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21910125, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21910126, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21910127, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21910128, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21910129, 'pht': 3726}}" where mtr_portfolio_id = 21910000 and dashboard_run_id = 1713648 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`=21910000 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9776604, 0.032644247813827756, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21910000_31-03-2025_15_03_00.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 21910118, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21910119, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21910120, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21910121, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21910122, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21910123, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21910124, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21910125, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21910126, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21910127, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21910128, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21910129, '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 = 21910689 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': 2709277, 'mtr_portfolio_id': 21910689, 'created_at': datetime.datetime(2025, 3, 31, 15, 17, 33), 'result': '0.031122794138091547', 'result_long': None, 'result_double': None}] Qualite : 0.031122794138091547 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21910689 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21910689_31-03-2025_15_17_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21910689 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_P21910689_31-03-2025_15_17_33.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21910733, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21910734, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21910735, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21910736, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21910737, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21910738, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21910739, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21910740, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21910741, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21910742, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21910743, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21910744, 'pht': 3726}}" where mtr_portfolio_id = 21910689 and dashboard_run_id = 1713648 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`=21910689 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9776605, 0.031122794138091547, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21910689_31-03-2025_15_17_33.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21910733, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21910734, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21910735, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21910736, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21910737, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21910738, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21910739, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21910740, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21910741, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21910742, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21910743, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21910744, '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 = 21911420 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': 2709323, 'mtr_portfolio_id': 21911420, 'created_at': datetime.datetime(2025, 3, 31, 15, 32, 58), 'result': '0.056611714205457374', 'result_long': None, 'result_double': None}] Qualite : 0.056611714205457374 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21911420 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21911420_31-03-2025_15_32_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21911420 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_P21911420_31-03-2025_15_32_59.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21911427, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21911428, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21911429, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21911430, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21911431, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21911432, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21911433, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21911434, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21911435, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21911436, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21911437, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21911438, 'pht': 3726}}" where mtr_portfolio_id = 21911420 and dashboard_run_id = 1713648 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`=21911420 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9776606, 0.056611714205457374, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21911420_31-03-2025_15_32_59.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21911427, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21911428, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21911429, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21911430, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21911431, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21911432, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21911433, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21911434, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21911435, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21911436, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21911437, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21911438, '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 = 21911861 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': 2709418, 'mtr_portfolio_id': 21911861, 'created_at': datetime.datetime(2025, 3, 31, 15, 48, 29), 'result': '0.03129860960265445', 'result_long': None, 'result_double': None}] Qualite : 0.03129860960265445 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21911861 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21911861_31-03-2025_15_48_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21911861 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_P21911861_31-03-2025_15_48_29.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21911935, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21911936, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21911937, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21911938, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21911939, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21911940, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21911941, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21911942, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21911943, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21911944, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21911945, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21911946, 'pht': 3726}}" where mtr_portfolio_id = 21911861 and dashboard_run_id = 1713648 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`=21911861 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9776607, 0.03129860960265445, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21911861_31-03-2025_15_48_29.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21911935, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21911936, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21911937, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21911938, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21911939, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21911940, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21911941, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21911942, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21911943, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21911944, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21911945, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21911946, '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 = 21912622 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': 2709477, 'mtr_portfolio_id': 21912622, 'created_at': datetime.datetime(2025, 3, 31, 16, 3), 'result': '0.05281745004942989', 'result_long': None, 'result_double': None}] Qualite : 0.05281745004942989 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21912622 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21912622_31-03-2025_16_03_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21912622 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_P21912622_31-03-2025_16_03_01.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 21912627, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21912628, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21912629, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21912630, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21912631, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21912632, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21912633, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21912634, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21912635, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21912636, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21912637, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21912638, 'pht': 3726}}" where mtr_portfolio_id = 21912622 and dashboard_run_id = 1713648 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`=21912622 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9776608, 0.05281745004942989, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21912622_31-03-2025_16_03_01.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 21912627, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21912628, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21912629, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21912630, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21912631, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21912632, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21912633, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21912634, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21912635, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21912636, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21912637, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21912638, '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 = 21913164 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': 2709543, 'mtr_portfolio_id': 21913164, 'created_at': datetime.datetime(2025, 3, 31, 16, 17), 'result': '0.03587903776507425', 'result_long': None, 'result_double': None}] Qualite : 0.03587903776507425 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21913164 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21913164_31-03-2025_16_17_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21913164 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_P21913164_31-03-2025_16_17_01.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21913167, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21913168, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21913169, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21913170, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21913171, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21913172, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21913173, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21913174, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21913175, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21913176, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21913177, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21913178, 'pht': 3726}}" where mtr_portfolio_id = 21913164 and dashboard_run_id = 1713648 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`=21913164 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9776609, 0.03587903776507425, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21913164_31-03-2025_16_17_01.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21913167, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21913168, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21913169, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21913170, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21913171, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21913172, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21913173, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21913174, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21913175, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21913176, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21913177, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21913178, '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 = 21913884 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': 2709590, 'mtr_portfolio_id': 21913884, 'created_at': datetime.datetime(2025, 3, 31, 16, 33, 1), 'result': '0.035654363824717386', 'result_long': None, 'result_double': None}] Qualite : 0.035654363824717386 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21913884 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21913884_31-03-2025_16_33_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21913884 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_P21913884_31-03-2025_16_33_02.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21913888, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21913889, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21913890, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21913891, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21913892, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21913893, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21913894, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21913895, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21913896, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21913897, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21913898, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21913899, 'pht': 3726}}" where mtr_portfolio_id = 21913884 and dashboard_run_id = 1713648 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`=21913884 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9776610, 0.035654363824717386, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21913884_31-03-2025_16_33_02.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21913888, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21913889, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21913890, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21913891, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21913892, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21913893, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21913894, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21913895, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21913896, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21913897, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21913898, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21913899, '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 = 21914431 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': 2709654, 'mtr_portfolio_id': 21914431, 'created_at': datetime.datetime(2025, 3, 31, 16, 47), 'result': '0.03604852935870458', 'result_long': None, 'result_double': None}] Qualite : 0.03604852935870458 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21914431 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21914431_31-03-2025_16_47_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21914431 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_P21914431_31-03-2025_16_47_01.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21914461, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21914462, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21914463, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21914464, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21914465, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21914466, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21914467, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21914468, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21914469, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21914470, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21914471, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21914472, 'pht': 3726}}" where mtr_portfolio_id = 21914431 and dashboard_run_id = 1713648 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`=21914431 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9776611, 0.03604852935870458, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21914431_31-03-2025_16_47_01.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21914461, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21914462, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21914463, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21914464, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21914465, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21914466, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21914467, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21914468, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21914469, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21914470, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21914471, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21914472, '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 = 21915225 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': 2709710, 'mtr_portfolio_id': 21915225, 'created_at': datetime.datetime(2025, 3, 31, 17, 3, 1), 'result': '0.03260065306735251', 'result_long': None, 'result_double': None}] Qualite : 0.03260065306735251 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21915225 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21915225_31-03-2025_17_03_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21915225 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_P21915225_31-03-2025_17_03_02.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 21915230, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21915231, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21915232, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21915233, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21915234, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21915235, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21915236, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21915237, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21915238, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21915239, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21915240, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21915241, 'pht': 3726}}" where mtr_portfolio_id = 21915225 and dashboard_run_id = 1713648 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`=21915225 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9776612, 0.03260065306735251, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21915225_31-03-2025_17_03_02.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 21915230, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21915231, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21915232, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21915233, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21915234, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21915235, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21915236, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21915237, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21915238, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21915239, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21915240, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21915241, '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 = 21915815 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': 2709773, 'mtr_portfolio_id': 21915815, 'created_at': datetime.datetime(2025, 3, 31, 17, 16, 59), 'result': '0.03571320320064125', 'result_long': None, 'result_double': None}] Qualite : 0.03571320320064125 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21915815 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21915815_31-03-2025_17_16_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21915815 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_P21915815_31-03-2025_17_16_59.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21915818, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21915819, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21915820, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21915821, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21915822, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21915823, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21915824, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21915825, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21915826, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21915827, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21915828, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21915829, 'pht': 3726}}" where mtr_portfolio_id = 21915815 and dashboard_run_id = 1713648 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`=21915815 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9776613, 0.03571320320064125, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21915815_31-03-2025_17_16_59.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21915818, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21915819, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21915820, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21915821, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21915822, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21915823, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21915824, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21915825, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21915826, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21915827, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21915828, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21915829, '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 = 21916470 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': 2709825, 'mtr_portfolio_id': 21916470, 'created_at': datetime.datetime(2025, 3, 31, 17, 33, 1), 'result': '0.04301678811216186', 'result_long': None, 'result_double': None}] Qualite : 0.04301678811216186 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21916470 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21916470_31-03-2025_17_33_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21916470 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_P21916470_31-03-2025_17_33_02.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21916473, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21916474, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21916475, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21916476, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21916477, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21916478, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21916479, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21916480, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21916481, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21916482, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21916483, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21916484, 'pht': 3726}}" where mtr_portfolio_id = 21916470 and dashboard_run_id = 1713648 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`=21916470 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9776614, 0.04301678811216186, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21916470_31-03-2025_17_33_02.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21916473, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21916474, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21916475, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21916476, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21916477, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21916478, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21916479, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21916480, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21916481, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21916482, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21916483, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21916484, '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 = 21917495 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': 2709988, 'mtr_portfolio_id': 21917495, 'created_at': datetime.datetime(2025, 3, 31, 18, 19), 'result': '0.04382491078363229', 'result_long': None, 'result_double': None}] Qualite : 0.04382491078363229 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21917495 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21917495_31-03-2025_18_19_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21917495 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_P21917495_31-03-2025_18_19_00.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21917499, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21917500, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21917501, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21917502, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21917503, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21917504, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21917505, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21917506, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21917507, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21917508, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21917509, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21917510, 'pht': 3726}}" where mtr_portfolio_id = 21917495 and dashboard_run_id = 1713648 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`=21917495 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9776615, 0.04382491078363229, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21917495_31-03-2025_18_19_00.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21917499, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21917500, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21917501, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21917502, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21917503, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21917504, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21917505, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21917506, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21917507, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21917508, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21917509, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21917510, '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 = 21918094 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': 2710027, 'mtr_portfolio_id': 21918094, 'created_at': datetime.datetime(2025, 3, 31, 18, 33, 1), 'result': '0.0626150115406201', 'result_long': None, 'result_double': None}] Qualite : 0.0626150115406201 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21918094 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21918094_31-03-2025_18_33_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21918094 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_P21918094_31-03-2025_18_33_01.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21918136, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21918137, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21918138, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21918139, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21918140, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21918141, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21918142, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21918143, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21918144, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21918145, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21918146, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21918147, 'pht': 3726}}" where mtr_portfolio_id = 21918094 and dashboard_run_id = 1713648 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`=21918094 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9776616, 0.0626150115406201, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21918094_31-03-2025_18_33_01.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21918136, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21918137, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21918138, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21918139, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21918140, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21918141, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21918142, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21918143, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21918144, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21918145, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21918146, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21918147, '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 = 21918550 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': 2710071, 'mtr_portfolio_id': 21918550, 'created_at': datetime.datetime(2025, 3, 31, 18, 46, 30), 'result': '0.05988044429187582', 'result_long': None, 'result_double': None}] Qualite : 0.05988044429187582 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21918550 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21918550_31-03-2025_18_46_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21918550 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_P21918550_31-03-2025_18_46_30.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21918621, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21918622, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21918623, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21918624, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21918625, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21918626, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21918627, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21918628, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21918630, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21918631, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21918632, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21918633, 'pht': 3726}}" where mtr_portfolio_id = 21918550 and dashboard_run_id = 1713648 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`=21918550 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9776617, 0.05988044429187582, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21918550_31-03-2025_18_46_30.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21918621, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21918622, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21918623, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21918624, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21918625, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21918626, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21918627, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21918628, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21918630, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21918631, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21918632, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21918633, '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 = 21919314 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': 2710124, 'mtr_portfolio_id': 21919314, 'created_at': datetime.datetime(2025, 3, 31, 19, 12, 31), 'result': '0.06320302812922542', 'result_long': None, 'result_double': None}] Qualite : 0.06320302812922542 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21919314 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21919314_31-03-2025_19_12_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21919314 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_P21919314_31-03-2025_19_12_31.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21919316, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21919317, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21919318, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21919319, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21919320, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21919321, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21919322, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21919323, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21919324, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21919325, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21919326, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21919327, 'pht': 3726}}" where mtr_portfolio_id = 21919314 and dashboard_run_id = 1713648 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`=21919314 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9776618, 0.06320302812922542, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21919314_31-03-2025_19_12_31.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21919316, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21919317, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21919318, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21919319, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21919320, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21919321, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21919322, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21919323, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21919324, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21919325, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21919326, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21919327, '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 = 21919984 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': 2710214, 'mtr_portfolio_id': 21919984, 'created_at': datetime.datetime(2025, 3, 31, 19, 19), 'result': '0.06856901800862131', 'result_long': None, 'result_double': None}] Qualite : 0.06856901800862131 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21919984 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21919984_31-03-2025_19_19_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21919984 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_P21919984_31-03-2025_19_19_01.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21920005, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21920006, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21920007, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21920008, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21920009, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21920010, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21920011, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21920012, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21920013, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21920014, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21920015, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21920016, 'pht': 3726}}" where mtr_portfolio_id = 21919984 and dashboard_run_id = 1713648 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`=21919984 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9776619, 0.06856901800862131, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21919984_31-03-2025_19_19_01.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21920005, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21920006, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21920007, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21920008, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21920009, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21920010, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21920011, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21920012, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21920013, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21920014, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21920015, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21920016, '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 = 21920157 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': 2710224, 'mtr_portfolio_id': 21920157, 'created_at': datetime.datetime(2025, 3, 31, 19, 32, 31), 'result': '0.04504679609204653', 'result_long': None, 'result_double': None}] Qualite : 0.04504679609204653 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21920157 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21920157_31-03-2025_19_32_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21920157 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_P21920157_31-03-2025_19_32_31.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21920160, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21920161, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21920162, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21920163, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21920164, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21920165, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21920166, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21920167, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21920168, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21920169, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21920170, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21920171, 'pht': 3726}}" where mtr_portfolio_id = 21920157 and dashboard_run_id = 1713648 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`=21920157 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9776620, 0.04504679609204653, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21920157_31-03-2025_19_32_31.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21920160, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21920161, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21920162, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21920163, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21920164, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21920165, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21920166, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21920167, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21920168, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21920169, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21920170, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21920171, '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 = 21920706 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': 2710295, 'mtr_portfolio_id': 21920706, 'created_at': datetime.datetime(2025, 3, 31, 19, 49, 29), 'result': '0.04084429568675987', 'result_long': None, 'result_double': None}] Qualite : 0.04084429568675987 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21920706 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21920706_31-03-2025_19_49_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21920706 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_P21920706_31-03-2025_19_49_30.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21920710, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21920711, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21920712, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21920713, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21920714, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21920715, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21920716, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21920717, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21920718, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21920719, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21920720, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21920721, 'pht': 3726}}" where mtr_portfolio_id = 21920706 and dashboard_run_id = 1713648 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`=21920706 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9776621, 0.04084429568675987, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21920706_31-03-2025_19_49_30.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21920710, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21920711, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21920712, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21920713, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21920714, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21920715, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21920716, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21920717, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21920718, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21920719, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21920720, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21920721, '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 = 21921325 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': 2710338, 'mtr_portfolio_id': 21921325, 'created_at': datetime.datetime(2025, 3, 31, 20, 2, 58), 'result': '0.03905935403756122', 'result_long': None, 'result_double': None}] Qualite : 0.03905935403756122 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21921325 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21921325_31-03-2025_20_02_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21921325 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_P21921325_31-03-2025_20_02_58.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21921328, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21921329, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21921330, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21921331, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21921332, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21921333, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21921334, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21921335, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21921336, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21921337, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21921338, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21921339, 'pht': 3726}}" where mtr_portfolio_id = 21921325 and dashboard_run_id = 1713648 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`=21921325 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9776622, 0.03905935403756122, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21921325_31-03-2025_20_02_58.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21921328, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21921329, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21921330, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21921331, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21921332, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21921333, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21921334, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21921335, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21921336, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21921337, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21921338, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21921339, '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 = 21922020 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': 2710400, 'mtr_portfolio_id': 21922020, 'created_at': datetime.datetime(2025, 3, 31, 20, 18, 59), 'result': '0.046184011133238764', 'result_long': None, 'result_double': None}] Qualite : 0.046184011133238764 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21922020 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21922020_31-03-2025_20_19_09.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21922020 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_P21922020_31-03-2025_20_19_09.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21922024, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21922025, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21922026, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21922027, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21922028, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21922029, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21922030, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21922031, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21922032, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21922033, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21922034, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21922035, 'pht': 3726}}" where mtr_portfolio_id = 21922020 and dashboard_run_id = 1713648 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`=21922020 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9776623, 0.046184011133238764, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21922020_31-03-2025_20_19_09.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21922024, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21922025, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21922026, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21922027, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21922028, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21922029, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21922030, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21922031, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21922032, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21922033, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21922034, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21922035, '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 = 21922748 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': 2710451, 'mtr_portfolio_id': 21922748, 'created_at': datetime.datetime(2025, 3, 31, 20, 33, 3), 'result': '0.060548517491046984', 'result_long': None, 'result_double': None}] Qualite : 0.060548517491046984 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21922748 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21922748_31-03-2025_20_33_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21922748 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_P21922748_31-03-2025_20_33_04.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21922753, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21922754, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21922755, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21922756, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21922757, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21922758, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21922759, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21922760, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21922761, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21922762, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21922763, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21922764, 'pht': 3726}}" where mtr_portfolio_id = 21922748 and dashboard_run_id = 1713648 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`=21922748 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9776624, 0.060548517491046984, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21922748_31-03-2025_20_33_04.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21922753, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21922754, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21922755, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21922756, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21922757, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21922758, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21922759, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21922760, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21922761, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21922762, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21922763, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21922764, '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 = 21923380 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': 2710507, 'mtr_portfolio_id': 21923380, 'created_at': datetime.datetime(2025, 3, 31, 21, 6, 58), 'result': '0.055452934941089146', 'result_long': None, 'result_double': None}] Qualite : 0.055452934941089146 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21923380 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21923380_31-03-2025_21_06_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21923380 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_P21923380_31-03-2025_21_06_59.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21923395, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21923396, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21923397, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21923398, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21923399, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21923400, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21923401, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21923402, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21923403, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21923404, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21923405, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21923406, 'pht': 3726}}" where mtr_portfolio_id = 21923380 and dashboard_run_id = 1713648 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`=21923380 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9776625, 0.055452934941089146, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21923380_31-03-2025_21_06_59.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21923395, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21923396, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21923397, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21923398, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21923399, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21923400, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21923401, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21923402, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21923403, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21923404, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21923405, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21923406, '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 (21894766,21895072,21895527,21895913,21896296,21896727,21897245,21897602,21898451,21899135,21899830,21901031,21929460,21929461,21901310,21901313,21901316,21901611,21902723,21904049,21904764,21905185,21905761,21907306,21907627,21908086,21908892,21909447,21910000,21910689,21911420,21911861,21912622,21913164,21913884,21914431,21915225,21915815,21916470,21917495,21918094,21918550,21919314,21919984,21920157,21920706,21921325,21922020,21922748,21923380) result : ((1348938488,), (1348938517,), (1348938520,), (1348938546,), (1348938551,), (1348938555,), (1348938559,), (1348938564,), (1348938581,), (1348938584,), (1348938585,), (1348938587,), (1348938595,), (1348938619,), (1348938621,), (1348938646,), (1348938647,), (1348938648,), (1348938649,), (1348938686,), (1348938688,), (1348938690,), (1348938692,), (1348938694,), (1348938721,), (1348938723,), (1348938725,), (1348938729,), (1348938765,), (1348938767,), (1348938789,), (1348938791,), (1348938792,), (1348938795,), (1348938798,), (1348938806,), (1348938825,), (1348938827,), (1348938830,), (1348938833,), (1348938853,), (1348938855,), (1348938858,), (1348938860,), (1348938863,), (1348938872,), (1348938900,), (1348938894,), (1348938896,), (1348938898,), (1348938920,), (1348938924,), (1348938925,), (1348938928,), (1348938931,), (1348938933,), (1348938968,), (1348938971,), (1348938974,), (1348938978,), (1348938982,), (1348938983,), (1348938998,), (1348939001,), (1348939003,), (1348939035,), (1348939037,), (1348939039,), (1348939041,), (1348939042,), (1348939045,), (1348939068,), (1348939069,), (1348939070,), (1348939102,), (1348939108,), (1348939110,), (1348939132,), (1348939133,), (1348939135,), (1348939136,), (1348939137,), (1348939171,), (1348939180,), (1348939187,), (1348939189,), (1348939191,), (1348939212,), (1348939213,), (1348939214,), (1348939215,), (1348939254,), (1348939256,), (1348939258,), (1348939260,), (1348939262,), (1348939264,), (1348939284,), (1348939285,), (1348939286,), (1348939287,), (1348939297,), (1348939442,), (1348939468,), (1348939493,), (1348940518,), (1348940539,), (1348940565,), (1348940570,), (1348940581,), (1348940592,), (1348940809,), (1348940768,), (1348940796,), (1348940839,), (1348940843,), (1348940847,), (1348940853,), (1348940857,), (1348940884,), (1348940887,), (1348940888,), (1348940893,), (1348940898,), (1348940903,), (1348940934,), (1348940939,), (1348940943,), (1348940975,), (1348940979,), (1348940984,), (1348940989,), (1348940997,), (1348941022,), (1348941026,), (1348941036,), (1348941046,), (1348941050,), (1348941056,), (1348941076,), (1348941080,), (1348941083,), (1348941087,), (1348941117,), (1348941121,), (1348941125,), (1348941129,), (1348941131,), (1348941162,), (1348941165,), (1348941167,), (1348941170,), (1348941175,), (1348941218,), (1348941227,), (1348941230,), (1348941233,), (1348941239,), (1348941270,), (1348941281,), (1348941284,), (1348941289,), (1348941299,), (1348941308,), (1348941325,), (1348941329,), (1348941331,), (1348941364,), (1348941368,), (1348941372,), (1348941376,), (1348941381,), (1348941386,), (1348941415,), (1348941421,), (1348941433,), (1348941437,), (1348941441,), (1348941445,), (1348941464,), (1348941466,), (1348941470,), (1348941473,), (1348941522,), (1348941516,), (1348941519,), (1348941556,), (1348941558,), (1348941560,), (1348941562,), (1348941603,), (1348941606,), (1348941609,), (1348941612,), (1348941658,), (1348941660,), (1348941662,), (1348941665,), (1348941710,), (1348941713,), (1348941716,), (1348941719,), (1348941723,), (1348941728,), (1348941760,), (1348941763,), (1348941765,), (1348941767,), (1348941811,), (1348941812,), (1348941814,), (1348941816,), (1348941818,), (1348941852,), (1348941853,), (1348941855,), (1348941857,), (1348941860,), (1348941900,), (1348941906,), (1348941913,), (1348941952,), (1348941954,), (1348941956,), (1348941958,), (1348941962,), (1348941965,), (1348941991,), (1348941992,), (1348942001,), (1348942010,), (1348942013,), (1348942020,), (1348942045,), (1348942047,), (1348942049,), (1348942081,), (1348942083,), (1348942084,), (1348942086,), (1348942091,), (1348942093,), (1348942117,), (1348942120,), (1348942123,), (1348942126,), (1348942156,), (1348942157,), (1348942159,), (1348942167,), (1348942212,), (1348942199,), (1348942200,), (1348942202,), (1348942204,), (1348942209,), (1348942240,), (1348942244,), (1348942246,), (1348942277,), (1348942279,), (1348942282,), (1348942285,), (1348942288,), (1348942293,), (1348942334,), (1348942342,), (1348942344,), (1348942346,), (1348942349,), (1348942353,), (1348942374,), (1348942376,), (1348942378,), (1348942410,), (1348942415,), (1348942417,), (1348942419,), (1348942444,), (1348942447,), (1348942449,), (1348942452,), (1348942494,), (1348942496,), (1348942497,), (1348942499,), (1348942503,), (1348942508,), (1348942526,), (1348942529,), (1348942532,), (1348942565,), (1348942566,), (1348942567,), (1348942568,), (1348942571,), (1348942574,), (1348942602,), (1348942604,), (1348942606,), (1348942607,), (1348942609,), (1348942613,), (1348942643,), (1348942644,), (1348942645,), (1348942647,), (1348942672,), (1348942674,), (1348942676,), (1348942678,), (1348942680,), (1348942708,), (1348942717,), (1348942726,), (1348942742,), (1348942745,), (1348942748,), (1348942770,), (1348942773,), (1348942775,), (1348942777,), (1348942826,), (1348942815,), (1348942816,), (1348942817,), (1348942818,), (1348942822,), (1348942855,), (1348942859,), (1348942863,), (1348942868,), (1348942870,), (1348942896,), (1348942897,), (1348942898,), (1348942902,), (1348942914,), (1348942917,), (1348942942,), (1348942944,), (1348942945,), (1348942948,), (1348942952,), (1348943001,), (1348943002,), (1348943038,), (1348943040,), (1348943042,), (1348943044,), (1348943047,), (1348943051,), (1348943082,), (1348943083,), (1348943088,), (1348943096,), (1348943100,), (1348943105,), (1348943127,), (1348943130,), (1348943134,), (1348943137,), (1348943177,), (1348943179,), (1348943181,), (1348943183,), (1348943188,), (1348943192,), (1348943209,), (1348943212,), (1348943215,), (1348943218,), (1348943221,), (1348943260,), (1348943266,), (1348943268,), (1348943269,), (1348943272,), (1348943299,), (1348943301,), (1348943303,), (1348943305,), (1348943309,), (1348943317,), (1348943587,), (1348943635,), (1348943676,), (1348943722,), (1348943768,), (1348944568,), (1348944592,), (1348944597,), (1348944606,), (1348944645,), (1348944674,), (1348944697,), (1348944712,), (1348944771,), (1348944748,), (1348944752,), (1348944755,), (1348944758,), (1348944763,), (1348944789,), (1348944794,), (1348944799,), (1348944802,), (1348944892,), (1348944894,), (1348944899,), (1348944940,), (1348944943,), (1348944947,), (1348945005,), (1348945009,), (1348945077,), (1348945089,), (1348945098,), (1348945104,), (1348945240,), (1348945263,), (1348945266,), (1348945551,), (1348945555,), (1348945571,), (1348945589,), (1348945729,), (1348945733,), (1348945750,), (1348945753,), (1348946210,), (1348946218,), (1348946231,), (1348946237,), (1348946310,), (1348946372,), (1348946390,), (1348946397,), (1348946403,), (1348946416,), (1348946420,), (1348946433,), (1348946517,), (1348946528,), (1348946593,), (1348946602,), (1348946606,), (1348946611,), (1348946622,), (1348946638,), (1348946749,), (1348946752,), (1348946755,), (1348946823,), (1348946826,), (1348946829,), (1348946832,), (1348946835,), (1348946839,), (1348946884,), (1348946921,), (1348945847,), (1348945857,), (1348945867,), (1348945876,), (1348945886,), (1348945895,), (1348945910,), (1348945914,), (1348945918,), (1348945922,), (1348945931,), (1348945937,), (1348945960,), (1348945965,), (1348945969,), (1348945973,), (1348945976,), (1348945979,), (1348945991,), (1348945995,), (1348946000,), (1348946008,), (1348946016,), (1348946025,), (1348946043,), (1348946045,), (1348946049,), (1348946052,), (1348946055,), (1348946059,), (1348946078,), (1348946084,), (1348946091,), (1348946098,), (1348946104,), (1348946108,), (1348946134,), (1348946138,), (1348946146,), (1348946151,), (1348946157,), (1348946163,), (1348946192,), (1348946196,), (1348946249,), (1348946259,), (1348946271,), (1348946290,), (1348946296,), (1348946322,), (1348946350,), (1348946354,), (1348946360,), (1348946368,), (1348946467,), (1348946479,), (1348946491,), (1348946509,), (1348946735,), (1348946739,), (1348946744,), (1348946768,), (1348946773,), (1348946779,), (1348946785,), (1348946790,), (1348946798,), (1348946879,), (1348946859,), (1348946864,), (1348946869,), (1348946873,), (1348946925,), (1348946931,), (1348946960,), (1348946993,), (1348947028,), (1348947038,), (1348947040,), (1348947046,), (1348947050,), (1348947057,), (1348947140,), (1348947161,), (1348947339,), (1348947347,), (1348947432,), (1348947435,), (1348947633,), (1348947787,), (1348947840,), (1348947842,), (1348947843,), (1348947898,), (1348947904,), (1348947910,), (1348947975,), (1348947987,), (1348948001,), (1348948005,), (1348948019,), (1348948086,), (1348948096,), (1348948100,), (1348948113,), (1348948117,), (1348948132,), (1348948387,), (1348948391,), (1348948395,), (1348948398,), (1348948400,), (1348948442,), (1348948444,), (1348948448,), (1348948453,), (1348948459,), (1348948514,), (1348948502,), (1348948505,), (1348948511,), (1348948639,), (1348948641,), (1348948645,), (1348948816,), (1348948844,), (1348948851,), (1348949048,), (1348949051,), (1348949055,), (1348949059,), (1348949062,), (1348949109,), (1348949114,), (1348949123,), (1348949124,), (1348949134,), (1348949206,), (1348949209,), (1348949212,), (1348949263,), (1348949264,), (1348949268,), (1348949276,), (1348949370,), (1348949373,), (1348949375,), (1348949378,), (1348949383,), (1348949574,), (1348949576,), (1348949602,), (1348949603,), (1348949654,), (1348949657,), (1348949660,), (1348949663,), (1348949711,), (1348949712,), (1348949714,), (1348949716,), (1348949720,), (1348950001,), (1348950039,), (1348950068,), (1348950099,), (1348950110,), (1348950309,), (1348950310,), (1348950321,), (1348950722,), (1348950762,), (1348950816,), (1348950849,), (1348950880,), (1348951229,), (1348951614,), (1348951677,), (1348951740,), (1348951853,), (1348951881,), (1348951438,), (1348951491,), (1348951557,), (1348951973,), (1348952017,), (1348952074,), (1348952118,), (1348952169,), (1348952814,), (1348952847,), (1348952881,), (1348952910,), (1348952951,), (1348952987,), (1348953259,), (1348953276,), (1348953313,), (1348953661,), (1348953684,), (1348953700,), (1348953707,), (1348953757,), (1348953772,), (1348953812,), (1348953817,), (1348953822,), (1348953847,), (1348953864,), (1348953878,), (1348954017,), (1348954030,), (1348954054,), (1348954081,), (1348954314,), (1348954326,), (1348954333,), (1348954352,), (1348954363,), (1348954456,), (1348954459,), (1348954463,), (1348954469,), (1348954474,), (1348954478,), (1348954567,), (1348954571,), (1348954580,), (1348954586,), (1348954595,), (1348954610,), (1348954672,), (1348954676,), (1348954681,), (1348954744,), (1348954750,), (1348954754,), (1348954842,), (1348954847,), (1348957259,), (1348960054,), (1348960168,), (1348960172,), (1348960177,), (1348960230,), (1348960233,), (1348960238,), (1348960243,), (1348960249,), (1348960366,), (1348960381,), (1348960388,), (1348960520,), (1348960522,), (1348960526,), (1348960530,), (1348960534,), (1348960563,), (1348960678,), (1348960686,), (1348960694,), (1348960706,), (1348960713,), (1348960718,), (1348960847,), (1348960851,), (1348960899,), (1348960902,), (1348960907,), (1348960910,), (1348960914,), (1348960918,), (1348960973,), (1348960981,), (1348960983,), (1348960988,), (1348960993,), (1348961027,), (1348961030,), (1348961069,), (1348961074,), (1348961079,), (1348961081,), (1348961114,), (1348961118,), (1348961122,), (1348961126,), (1348961157,), (1348961160,), (1348961165,), (1348961168,), (1348961226,), (1348961233,), (1348961242,), (1348961252,), (1348961259,), (1348961299,), (1348964131,), (1348964134,), (1348964138,), (1348964186,), (1348964189,), (1348964193,), (1348964238,), (1348964241,), (1348964245,), (1348964248,), (1348964284,), (1348964287,), (1348964292,), (1348964331,), (1348964333,), (1348964337,), (1348964341,), (1348964389,), (1348964393,), (1348964398,), (1348964401,), (1348964406,), (1348964410,), (1348964445,), (1348964450,), (1348964454,), (1348964457,), (1348964492,), (1348964497,), (1348964501,), (1348964505,), (1348964508,), (1348964515,), (1348964544,), (1348964547,), (1348964551,), (1348964555,), (1348964560,), (1348964565,), (1348964599,), (1348964602,), (1348964606,), (1348964609,), (1348964644,), (1348964646,), (1348964651,), (1348964694,), (1348964698,), (1348964702,), (1348964705,), (1348964708,), (1348964748,), (1348964749,), (1348964752,), (1348964754,), (1348964791,), (1348964794,), (1348964797,), (1348964800,), (1348964803,), (1348964806,), (1348964843,), (1348964846,), (1348964851,), (1348964853,), (1348964910,), (1348964902,), (1348964904,), (1348964907,), (1348964953,), (1348964957,), (1348964962,), (1348964965,), (1348964992,), (1348964997,), (1348965003,), (1348965007,), (1348965011,), (1348965045,), (1348965049,), (1348965088,), (1348965129,), (1348965132,), (1348965135,), (1348965139,), (1348965167,), (1348965170,), (1348965174,), (1348965178,), (1348965182,), (1348965215,), (1348965216,), (1348965221,), (1348965223,), (1348965253,), (1348965257,), (1348965261,), (1348965298,), (1348965301,), (1348965304,), (1348965307,), (1348965311,), (1348965315,), (1348965347,), (1348965350,), (1348965354,), (1348965359,), (1348965363,), (1348965367,), (1348965393,), (1348965397,), (1348965400,), (1348965434,), (1348965436,), (1348965439,), (1348965442,), (1348965445,), (1348965449,), (1348965474,), (1348965477,), (1348965481,), (1348965571,), (1348965557,), (1348965561,), (1348965566,), (1348965613,), (1348965616,), (1348965618,), (1348965650,), (1348965653,), (1348965656,), (1348965659,), (1348965662,), (1348965696,), (1348965697,), (1348965699,), (1348965701,), (1348965704,), (1348965707,), (1348965742,), (1348965743,), (1348965746,), (1348965784,), (1348965785,), (1348965787,), (1348965821,), (1348965822,), (1348965825,), (1348965828,), (1348965861,), (1348965863,), (1348965868,), (1348965871,), (1348965877,), (1348965912,), (1348965916,), (1348965918,), (1348965953,), (1348965955,), (1348965959,), (1348965962,), (1348965965,), (1348965971,), (1348966008,), (1348966010,), (1348966013,), (1348966015,), (1348966020,), (1348966025,), (1348966055,), (1348966058,), (1348966061,), (1348966064,), (1348966098,), (1348966100,), (1348966103,), (1348966106,), (1348966110,), (1348966149,), (1348966151,), (1348966155,), (1348966158,), (1348966161,), (1348966191,), (1348966193,), (1348966196,), (1348966244,), (1348966239,), (1348966282,), (1348966429,), (1348966473,), (1348966476,), (1348966479,), (1348966480,), (1348966485,), (1348966488,), (1348966550,), (1348966553,), (1348966556,), (1348966585,), (1348966746,), (1348966749,), (1348966752,), (1348966816,), (1348966818,), (1348966834,), (1348966930,), (1348966934,), (1348966950,), (1348966955,), (1348966960,), (1348967035,), (1348967038,), (1348967041,), (1348967114,), (1348967142,), (1348967170,), (1348967200,), (1348967228,), (1348967458,), (1348967459,), (1348967479,), (1348967507,), (1348967537,), (1348967555,), (1348968639,), (1348968736,), (1348968833,), (1348968922,), (1348969263,), (1348969351,), (1348969411,), (1348969472,), (1348969549,), (1348969966,), (1348969781,), (1348969809,), (1348969845,), (1348969873,), (1348969920,), (1348971090,), (1348971177,), (1348971258,), (1348971336,), (1348971400,), (1348972166,), (1348972200,), (1348972274,), (1348972352,), (1348972759,), (1348972762,), (1348972767,), (1348972772,), (1348972777,), (1348972850,), (1348972880,), (1348972911,), (1348972948,), (1348972990,), (1348973383,), (1348973417,), (1348973457,), (1348974155,), (1348974250,), (1348974745,), (1348974800,), (1348974847,), (1348974893,), (1348974936,), (1348975325,), (1348975348,), (1348975368,), (1348975396,), (1348975425,), (1348975633,), (1348975644,), (1348975670,), (1348975707,), (1348975978,), (1348976018,), (1348976068,), (1348976114,), (1348976146,), (1348977622,), (1348977707,), (1348977711,), (1348977718,), (1348977880,), (1348977889,), (1348977894,), (1348977899,), (1348978312,), (1348978366,), (1348978553,), (1348978563,), (1348978704,), (1348978708,), (1348978713,), (1348978719,), (1348978726,), (1348978730,), (1348978825,), (1348978780,), (1348978784,), (1348978790,), (1348978795,), (1348978909,), (1348978912,), (1348978921,), (1348978952,), (1348979096,), (1348979116,), (1348979142,), (1348979418,), (1348979421,), (1348979454,), (1348979499,), (1348979668,), (1348979677,), (1348979683,), (1348979689,), (1348979782,), (1348979797,), (1348979831,), (1348979855,), (1348979880,), (1348980297,), (1348980323,), (1348980372,), (1348980424,), (1348980444,), (1348980656,), (1348980658,), (1348980711,), (1348980713,), (1348980715,), (1348980761,), (1348980830,), (1348980835,), (1348980839,), (1348981084,), (1348981086,), (1348981294,), (1348981295,), (1348981339,), (1348981399,), (1348981400,), (1348981402,), (1348981444,), (1348981447,), (1348981709,), (1348981712,), (1348981799,), (1348981967,), (1348981996,), (1348982355,), (1348982807,), (1348982890,), (1348982913,), (1348983050,), (1348983076,), (1348983103,), (1348983118,), (1348983121,), (1348983186,), (1348983181,), (1348983182,), (1348983184,), (1348983394,), (1348983406,), (1348983479,), (1348983481,), (1348983555,), (1348983557,), (1348983562,), (1348983577,), (1348983618,), (1348983854,), (1348983868,), (1348983887,), (1348983891,), (1348983911,), (1348983926,), (1348983960,), (1348983963,), (1348983966,), (1348984005,), (1348984007,), (1348984013,), (1348984016,), (1348984020,), (1348984061,), (1348984065,), (1348984270,), (1348984364,), (1348984382,), (1348984387,), (1348987079,), (1348987792,), (1348987850,), (1348987907,), (1348988359,), (1348988365,), (1348988375,), (1348988407,), (1348988827,), (1348988891,), (1348988913,), (1348988972,), (1348989227,), (1348989246,), (1348989254,), (1348989735,), (1348989737,), (1348989740,), (1348989743,), (1348989747,), (1348989787,), (1348989789,), (1348989793,), (1348989862,), (1348989863,), (1348989950,), (1348989969,), (1348989990,), (1348990018,), (1348990272,), (1348990273,), (1348990275,), (1349002335,), (1349002379,), (1349002737,), (1349002739,), (1349002791,), (1349002833,), (1349002837,), (1349002841,), (1349002845,), (1349002908,), (1349002913,), (1349002916,), (1349002919,), (1349002966,), (1349002969,), (1349002973,), (1349003023,), (1349003024,), (1349003029,), (1349003032,), (1349003094,), (1349003102,), (1349003125,), (1349003127,), (1349003299,), (1349003410,), (1349003442,), (1349003445,), (1349003449,), (1349003514,), (1349003516,), (1349003534,), (1349003605,), (1349003613,), (1349003695,), (1349003707,), (1349003750,), (1349003753,), (1349003957,), (1349003960,), (1349003965,), (1349003970,), (1349004018,), (1349004020,), (1349004022,), (1349004024,), (1349004027,), (1349004054,), (1349004058,), (1349004063,), (1349004070,), (1349004104,), (1349004107,), (1349004110,), (1349004113,), (1349004117,), (1349004142,), (1349004146,), (1349004150,), (1349004153,), (1349004161,), (1349004164,), (1349004192,), (1349004202,), (1349004204,), (1349004209,), (1349004213,), (1349004237,), (1349004242,), (1349004480,), (1349004532,), (1349004584,), (1349004637,), (1349005507,), (1349005543,), (1349005594,), (1349005647,), (1349005707,), (1349005771,), (1349005911,), (1349005995,), (1349006485,), (1349006321,), (1349006350,), (1349006386,), (1349006423,), (1349006454,), (1349006586,), (1349006604,), (1349006611,), (1349006632,), (1349006678,), (1349006779,), (1349006785,), (1349006792,), (1349006797,), (1349006804,), (1349006834,), (1349006935,), (1349006940,), (1349006965,), (1349006973,), (1349006992,), (1349007098,), (1349007123,), (1349007132,), (1349007138,), (1349007151,), (1349007162,), (1349007258,), (1349007262,), (1349007281,), (1349007359,), (1349007362,), (1349007366,), (1349007372,), (1349007377,), (1349007529,), (1349007535,), (1349007548,), (1349007551,), (1349007559,), (1349007568,), (1349007646,), (1349007649,), (1349007863,), (1349007887,), (1349007903,), (1349007910,), (1349007922,), (1349007985,), (1349007987,), (1349007993,), (1349007997,), (1349008039,), (1349008041,), (1349008044,), (1349008307,), (1349008329,), (1349008410,), (1349008543,), (1349008498,), (1349008516,), (1349008680,), (1349008688,), (1349008694,), (1349008698,), (1349009042,), (1349009135,), (1349009153,), (1349009158,), (1349009178,), (1349009314,), (1349009318,), (1349009322,), (1349009325,), (1349009329,), (1349009332,), (1349009377,), (1349009379,), (1349009383,), (1349009387,), (1349009429,), (1349009484,), (1349009742,), (1349009760,), (1349009785,), (1349009929,), (1349009933,), (1349009936,), (1349009941,), (1349009948,), (1349009957,), (1349010008,), (1349010011,), (1349010015,), (1349010019,), (1349010024,), (1349010046,), (1349010050,), (1349010057,), (1349010067,), (1349010098,), (1349010102,), (1349010108,), (1349010112,), (1349010118,), (1349010162,), (1349010180,), (1349010187,), (1349010190,), (1349010194,), (1349010226,), (1349010247,), (1349010258,), (1349010424,), (1349010470,), (1349010476,), (1349010481,), (1349010486,), (1349010588,), (1349010591,), (1349010593,), (1349010601,), (1349010634,), (1349010777,), (1349010781,), (1349010784,), (1349010847,), (1349010826,), (1349010829,), (1349010832,), (1349010836,), (1349010839,), (1349010891,), (1349010893,), (1349010895,), (1349010912,), (1349010921,), (1349010929,), (1349011048,), (1349011050,), (1349011080,), (1349011161,), (1349011166,), (1349011170,), (1349011173,), (1349011202,), (1349011206,), (1349011209,), (1349011215,), (1349011224,), (1349011314,), (1349011338,), (1349011354,), (1349011366,), (1349011401,), (1349011406,), (1349011410,), (1349011417,), (1349011424,), (1349011506,), (1349011510,), (1349011533,), (1349011539,), (1349011560,), (1349011627,), (1349011631,), (1349011635,), (1349011734,), (1349011736,), (1349011739,), (1349011742,), (1349011747,), (1349011753,), (1349011787,), (1349011791,), (1349011796,), (1349011798,), (1349011802,), (1349011806,), (1349011841,), (1349011845,), (1349011848,), (1349011853,), (1349011887,), (1349011890,), (1349011945,), (1349012008,), (1349012017,), (1349012075,), (1349012065,), (1349012069,), (1349012072,), (1349012144,), (1349012172,), (1349012208,), (1349012212,), (1349012215,), (1349012273,), (1349012284,), (1349012287,), (1349012292,), (1349012296,), (1349012335,), (1349012338,), (1349012509,), (1349012512,), (1349012516,), (1349012520,), (1349012560,), (1349012568,), (1349012572,), (1349012576,), (1349012608,), (1349012610,), (1349012615,), (1349012620,), (1349012626,), (1349012631,), (1349012654,), (1349012657,), (1349012661,), (1349012664,), (1349012708,), (1349012710,), (1349012715,), (1349012717,), (1349012724,), (1349012728,), (1349012758,), (1349012763,), (1349012767,), (1349012772,), (1349012775,), (1349012806,), (1349012810,), (1349012815,), (1349012821,), (1349012871,), (1349012874,), (1349012881,), (1349012883,), (1349012889,), (1349012893,), (1349013119,), (1349013151,), (1349013213,), (1349013996,), (1349014032,), (1349014087,), (1349014131,), (1349014168,), (1349014199,), (1349014238,), (1349014257,), (1349014280,), (1349014330,), (1349014294,), (1349014299,), (1349014303,), (1349014622,), (1349014636,), (1349014642,), (1349014645,), (1349014650,), (1349014655,), (1349014793,), (1349014840,), (1349014873,), (1349014946,), (1349015181,), (1349015209,), (1349015241,), (1349015284,), (1349015648,), (1349015681,), (1349015710,), (1349015743,), (1349015778,), (1349015934,), (1349015952,), (1349015964,), (1349015968,), (1349015982,), (1349016012,), (1349016185,), (1349016232,), (1349016281,), (1349016313,), (1349016488,), (1349016499,), (1349016528,), (1349016557,), (1349016653,), (1349016691,), (1349016812,), (1349016891,), (1349016894,), (1349016906,), (1349016937,), (1349017106,), (1349017108,), (1349017147,), (1349017158,), (1349017164,), (1349017410,), (1349017414,), (1349017418,), (1349017423,), (1349017443,), (1349017503,), (1349017511,), (1349017535,), (1349017555,), (1349017597,), (1349017599,), (1349017628,), (1349017631,), (1349017635,), (1349017639,), (1349017704,), (1349017708,), (1349017713,), (1349017718,), (1349017872,), (1349017885,), (1349017894,), (1349017905,), (1349017908,), (1349017914,), (1349017958,), (1349017942,), (1349017947,), (1349017952,), (1349017998,), (1349018011,), (1349018017,), (1349018158,), (1349018169,), (1349018173,), (1349018179,), (1349018185,), (1349018269,), (1349018325,), (1349018337,), (1349018341,), (1349018531,), (1349018579,), (1349018584,), (1349018588,), (1349018657,), (1349018660,), (1349018707,), (1349018711,), (1349018718,), (1349018731,), (1349018740,), (1349018752,), (1349018768,), (1349018772,), (1349018776,), (1349018781,), (1349018785,), (1349018789,), (1349018818,), (1349018822,), (1349018827,), (1349018860,), (1349018863,), (1349018865,), (1349018869,), (1349018875,), (1349018879,), (1349018921,), (1349018924,), (1349018928,), (1349018931,), (1349018936,), (1349018981,), (1349019072,), (1349019089,), (1349019105,), (1349019109,), (1349019139,), (1349019143,), (1349019147,), (1349019152,), (1349019157,), (1349019159,), (1349019189,), (1349019193,), (1349019196,), (1349019302,), (1349019308,), (1349019313,), (1349019318,), (1349019323,), (1349019328,), (1349019384,), (1349019359,), (1349019362,), (1349019367,), (1349019371,), (1349019378,), (1349019423,), (1349019426,), (1349019430,), (1349019495,), (1349019498,), (1349019502,), (1349019505,), (1349019509,), (1349019512,), (1349019539,), (1349019541,), (1349019545,), (1349019549,), (1349019565,), (1349019738,), (1349019753,), (1349019760,), (1349019786,), (1349019911,), (1349019915,), (1349019919,), (1349019925,), (1349019954,), (1349019959,), (1349020005,), (1349020009,), (1349020038,), (1349020317,), (1349020321,), (1349020326,), (1349020340,), (1349020343,), (1349020372,), (1349020375,), (1349020381,), (1349020388,), (1349020483,), (1349020553,), (1349020558,), (1349020604,), (1349020661,), (1349020712,), (1349020716,), (1349020719,), (1349020724,), (1349020730,), (1349020938,), (1349020992,), (1349021059,), (1349021119,), (1349021143,), (1349021148,), (1349021236,), (1349021241,), (1349021254,), (1349021485,), (1349021544,), (1349021606,), (1349021700,), (1349021742,), (1349021863,), (1349021869,), (1349021872,), (1349021876,), (1349021883,), (1349021889,), (1349022005,), (1349021983,), (1349021989,), (1349021995,), (1349022055,), (1349022058,), (1349022216,), (1349022218,), (1349022221,), (1349022276,), (1349022281,), (1349022294,), (1349022507,), (1349022508,), (1349022512,), (1349022514,), (1349022519,), (1349022524,), (1349022578,), (1349022581,), (1349022585,), (1349022587,), (1349022647,), (1349022651,), (1349022655,), (1349022660,), (1349022663,), (1349022671,), (1349022708,), (1349022710,), (1349022713,), (1349022715,), (1349022721,), (1349022763,), (1349022765,), (1349022768,), (1349022813,), (1349022816,), (1349022819,), (1349022868,), (1349022870,), (1349022872,), (1349022876,), (1349022878,), (1349022882,), (1349022924,), (1349022927,), (1349022961,), (1349023059,), (1349023110,), (1349023114,), (1349023117,), (1349023119,), (1349023173,), (1349023184,), (1349023200,), (1349023217,), (1349023237,), (1349023289,), (1349023294,), (1349023300,), (1349023304,), (1349023309,), (1349023634,), (1349023563,), (1349023596,), (1349024293,), (1349024361,), (1349024417,), (1349024466,), (1349024522,), (1349025289,), (1349025376,), (1349025442,), (1349025514,), (1349025576,), (1349025628,), (1349026009,), (1349026063,), (1349026101,), (1349026162,), (1349026554,), (1349026570,), (1349026574,), (1349026579,), (1349026631,), (1349027011,), (1349027028,), (1349027060,), (1349027092,), (1349027103,), (1349027107,), (1349027248,), (1349027253,), (1349027280,), (1349027301,), (1349027597,), (1349027601,), (1349027623,), (1349027636,), (1349027721,), (1349027737,), (1349027759,), (1349027769,), (1349027983,), (1349027994,), (1349028002,), (1349028006,), (1349028136,), (1349028145,), (1349028147,), (1349028159,), (1349028173,), (1349028246,), (1349028254,), (1349028261,), (1349029259,), (1349029302,), (1349029298,), (1349029301,), (1349029382,), (1349029389,), (1349029433,), (1349029439,), (1349029448,), (1349029455,), (1349029470,), (1349029499,), (1349029611,), (1349029613,), (1349029618,), (1349029622,), (1349029631,), (1349030427,), (1349030430,), (1349030434,), (1349030439,), (1349030629,), (1349030720,), (1349030754,), (1349030758,), (1349030785,), (1349030846,), (1349031018,), (1349031194,), (1349031198,), (1349031204,), (1349031247,), (1349031253,), (1349031262,), (1349031281,), (1349031286,), (1349031320,), (1349031322,), (1349031327,), (1349031331,), (1349031337,), (1349031374,), (1349031378,), (1349031392,), (1349031399,), (1349031406,), (1349031547,), (1349031501,), (1349031505,), (1349031543,), (1349031666,), (1349031684,), (1349031692,), (1349031720,), (1349031727,), (1349031877,), (1349031883,), (1349031887,), (1349031897,), (1349031921,), (1349032055,), (1349032129,), (1349032167,), (1349032175,), (1349032282,), (1349032286,), (1349032290,), (1349032319,), (1349032468,), (1349032527,), (1349032556,), (1349032582,), (1349032610,), (1349032622,), (1349032712,), (1349032772,), (1349032791,), (1349032802,), (1349032889,), (1349032925,), (1349032959,), (1349032982,), (1349033071,), (1349033075,), (1349033330,), (1349033334,), (1349033339,), (1349033460,), (1349033463,), (1349033466,), (1349033469,), (1349033473,), (1349033491,), (1349033526,), (1349033529,), (1349033533,), (1349033537,), (1349033645,), (1349033729,), (1349033769,), (1349033807,), (1349034186,), (1349034223,), (1349034267,), (1349034307,), (1349034419,), (1349034443,), (1349034464,), (1349034468,), (1349034495,), (1349034673,), (1349034657,), (1349034660,), (1349034723,), (1349034725,), (1349034854,), (1349034922,), (1349034927,), (1349034930,), (1349034936,), (1349035034,), (1349035038,), (1349035048,), (1349035049,), (1349035084,), (1349035177,), (1349035180,), (1349035183,), (1349035186,), (1349035189,), (1349035294,), (1349035329,), (1349035414,), (1349036122,), (1349036126,), (1349036134,), (1349036139,), (1349036144,), (1349036150,), (1349036236,), (1349036238,), (1349036252,), (1349036256,), (1349036340,), (1349036346,), (1349036350,), (1349036352,), (1349036357,), (1349036496,), (1349036497,), (1349036498,), (1349036499,), (1349036503,), (1349036508,), (1349036527,), (1349036530,), (1349036535,), (1349036540,), (1349036546,), (1349036548,), (1349036553,), (1349036616,), (1349036627,), (1349036631,), (1349036636,), (1349036696,), (1349036699,), (1349036702,), (1349036704,), (1349036707,), (1349036710,), (1349037690,), (1349037744,), (1349037804,), (1349037892,), (1349037946,), (1349038071,), (1349038128,), (1349038182,), (1349038247,), (1349038617,), (1349038527,), (1349038561,), (1349038590,), (1349039246,), (1349039272,), (1349039288,), (1349039296,), (1349039304,), (1349039474,), (1349039502,), (1349039542,), (1349041085,), (1349041104,), (1349041110,), (1349041113,), (1349041124,), (1349041145,), (1349041184,), (1349041278,), (1349041315,), (1349041356,), (1349041401,), (1349041604,), (1349041637,), (1349041652,), (1349041814,), (1349041832,), (1349041836,), (1349041839,), (1349041862,), (1349041870,), (1349041955,), (1349041957,), (1349041961,), (1349041964,), (1349041967,), (1349042069,), (1349042097,), (1349042129,), (1349042147,), (1349042301,), (1349042328,), (1349042355,), (1349042372,), (1349042523,), (1349042528,), (1349042568,), (1349042574,), (1349042624,), (1349042725,), (1349042728,), (1349042733,), (1349042794,), (1349042798,), (1349042814,), (1349042829,), (1349043018,), (1349043075,), (1349043102,), (1349043128,), (1349043172,), (1349043175,), (1349043177,), (1349043181,), (1349043219,), (1349043228,), (1349043230,), (1349043233,), (1349043283,), (1349043286,), (1349043327,), (1349043331,), (1349043334,), (1349043399,), (1349043402,), (1349043405,), (1349043411,), (1349043433,), (1349043438,), (1349043841,), (1349043861,), (1349043875,), (1349043880,), (1349043979,), (1349043991,), (1349043994,), (1349044044,), (1349044049,), (1349044065,), (1349044068,), (1349044074,), (1349044162,), (1349044167,), (1349044175,), (1349044191,), (1349044202,), (1349044251,), (1349044253,), (1349044256,), (1349044263,), (1349044335,), (1349044337,), (1349044340,), (1349044349,), (1349044357,), (1349044422,), (1349049159,), (1349049192,), (1349049222,), (1349049599,), (1349049614,), (1349049619,), (1349049650,), (1349049655,), (1349049658,), (1349049828,), (1349049833,), (1349049956,), (1349049964,), (1349049969,), (1349049974,), (1349050053,), (1349050061,), (1349050093,), (1349050144,), (1349050176,), (1349050182,), (1349050204,), (1349050208,), (1349050225,), (1349050228,), (1349050278,), (1349050439,), (1349050441,), (1349050444,), (1349050447,), (1349050619,), (1349050663,), (1349050699,), (1349050731,), (1349050770,), (1349050773,), (1349050884,), (1349050902,), (1349050913,), (1349050917,), (1349051030,), (1349051035,), (1349051039,), (1349051064,), (1349051076,), (1349051083,), (1349051342,), (1349051374,), (1349051392,), (1349051398,), (1349051409,), (1349051415,), (1349051573,), (1349051578,), (1349051594,), (1349051615,), (1349051645,), (1349051725,), (1349051727,), (1349051731,), (1349051734,), (1349052437,), (1349052377,), (1349052387,), (1349052390,), (1349052397,), (1349052404,), (1349052613,), (1349052710,), (1349052716,), (1349052729,), (1349052926,), (1349052952,), (1349052974,), (1349053003,), (1349053032,), (1349053087,), (1349053197,), (1349053458,), (1349053461,), (1349053672,), (1349053688,), (1349053829,), (1349053858,), (1349053868,), (1349053891,), (1349054189,), (1349054191,), (1349054194,), (1349054196,), (1349054200,), (1349054349,), (1349054373,), (1349054406,), (1349054435,), (1349054443,), (1349054748,), (1349054785,), (1349054830,), (1349054988,), (1349054997,), (1349054999,), (1349055002,), (1349055005,), (1349055034,), (1349055036,), (1349055040,), (1349055042,), (1349055046,), (1349055048,), (1349055090,), (1349055098,), (1349055103,), (1349055106,), (1349055144,), (1349055146,), (1349055150,), (1349055214,), (1349055222,), (1349055228,), (1349055235,), (1349055244,), (1349055257,), (1349055316,), (1349055284,), (1349055287,), (1349055297,), (1349055304,), (1349055311,), (1349055408,), (1349055424,), (1349055446,), (1349055556,), (1349055561,), (1349055566,), (1349055837,), (1349055873,), (1349055880,), (1349055884,), (1349055888,), (1349055922,), (1349055929,), (1349055939,), (1349055945,), (1349056036,), (1349056039,), (1349056044,), (1349056049,), (1349056053,), (1349056063,), (1349056200,), (1349056208,), (1349056214,), (1349056225,), (1349056228,), (1349056230,), (1349056290,), (1349056293,), (1349056311,), (1349056351,), (1349056357,), (1349056398,), (1349056399,), (1349056401,), (1349056403,), (1349056502,), (1349056559,), (1349056562,), (1349056564,), (1349056569,), (1349056703,), (1349056711,), (1349056717,), (1349056721,), (1349056808,), (1349056813,), (1349056816,), (1349056831,), (1349057084,), (1349057085,), (1349057088,), (1349057112,), (1349057117,), (1349057163,), (1349057165,), (1349057169,), (1349057172,), (1349057175,), (1349057182,), (1349057240,), (1349057235,), (1349057237,), (1349057402,), (1349057429,), (1349057465,), (1349057468,), (1349057471,), (1349057547,), (1349057587,), (1349057589,), (1349057593,), (1349057596,), (1349057604,), (1349057608,), (1349057786,), (1349057797,), (1349057910,), (1349057915,), (1349057917,), (1349057921,), (1349057925,), (1349057951,), (1349057952,), (1349057954,), (1349057956,), (1349058002,), (1349058004,), (1349058007,), (1349058011,), (1349058015,), (1349058058,), (1349058059,), (1349058062,), (1349058064,), (1349058127,), (1349058131,), (1349058134,), (1349058138,), (1349058142,), (1349058172,), (1349058175,), (1349058179,), (1349058213,), (1349058219,), (1349058225,), (1349058254,), (1349058258,), (1349058262,), (1349058266,), (1349058270,), (1349058367,), (1349058396,), (1349058425,), (1349058454,), (1349058484,), (1349058517,), (1349058604,), (1349058611,), (1349058619,), (1349058624,), (1349058630,), (1349063380,), (1349063347,), (1349063425,), (1349063429,), (1349063437,), (1349063442,), (1349063474,), (1349063478,), (1349063482,), (1349063487,), (1349063494,), (1349063523,), (1349063527,), (1349063529,), (1349063585,), (1349063589,), (1349063593,), (1349063596,), (1349063603,), (1349063691,), (1349063666,), (1349063669,), (1349063672,), (1349063679,), (1349063938,), (1349063942,), (1349063947,), (1349063952,), (1349063976,), (1349064064,), (1349064067,), (1349064088,), (1349064195,), (1349064198,), (1349064202,), (1349064206,), (1349064209,), (1349064212,), (1349064254,), (1349064256,), (1349064261,), (1349064271,), (1349064274,), (1349064277,), (1349064344,), (1349064371,), (1349064385,), (1349064442,), (1349064445,), (1349064453,), (1349064456,), (1349064469,), (1349064505,), (1349064613,), (1349064615,), (1349064633,), (1349064634,), (1349064638,), (1349064640,), (1349064665,), (1349064669,), (1349064675,), (1349064808,), (1349064827,), (1349064831,), (1349064834,), (1349064839,), (1349064947,), (1349064980,), (1349064985,), (1349064990,), (1349065005,), (1349065017,), (1349065183,), (1349065214,), (1349065218,), (1349065222,), (1349065226,), (1349065316,), (1349065338,), (1349065344,), (1349065384,), (1349065431,), (1349065433,), (1349065436,), (1349065439,), (1349065443,), (1349065448,), (1349065490,), (1349065496,), (1349065501,), (1349065687,), (1349065558,), (1349065560,), (1349065564,), (1349065575,), (1349065665,), (1349065764,), (1349065779,), (1349065787,), (1349065791,), (1349065794,), (1349065887,), (1349065891,), (1349065895,), (1349066002,), (1349066011,), (1349066063,), (1349066076,), (1349066089,), (1349066195,), (1349066204,), (1349066207,), (1349066211,), (1349066215,), (1349066227,), (1349066333,), (1349066338,), (1349066346,), (1349066354,), (1349066396,), (1349066398,), (1349066412,), (1349066415,), (1349066419,), (1349066429,), (1349066505,), (1349066511,), (1349066517,), (1349066556,), (1349066559,), (1349066563,), (1349066565,), (1349066639,), (1349066746,), (1349066749,), (1349066757,), (1349066771,), (1349066797,), (1349066884,), (1349066890,), (1349066894,), (1349066917,), (1349066921,), (1349066926,), (1349066950,), (1349066953,), (1349066958,), (1349066966,), (1349067101,), (1349067105,), (1349067110,), (1349067126,), (1349067131,), (1349067225,), (1349067251,), (1349067256,), (1349067261,), (1349067265,), (1349067279,), (1349067304,), (1349067307,), (1349067313,), (1349067317,), (1349067544,), (1349067518,), (1349067524,), (1349067528,), (1349067532,), (1349067536,), (1349067675,), (1349067678,), (1349067690,), (1349067700,), (1349067711,), (1349067840,), (1349067874,), (1349067892,), (1349067920,), (1349067946,), (1349068230,), (1349068260,), (1349068290,), (1349068320,), (1349068348,), (1349068385,), (1349068413,), (1349068420,), (1349068434,), (1349068506,), (1349068509,), (1349068517,), (1349068523,), (1349068532,), (1349068565,), (1349068584,), (1349068588,), (1349068592,), (1349068598,), (1349068705,), (1349068710,), (1349068714,), (1349068718,), (1349068750,), (1349068752,), (1349068755,), (1349068760,), (1349068762,), (1349068767,), (1349068791,), (1349068794,), (1349068797,), (1349068801,), (1349068806,), (1349068841,), (1349068843,), (1349068846,), (1349068849,), (1349068855,), (1349069072,), (1349069091,), (1349069097,), (1349069100,), (1349069106,), (1349069128,), (1349069533,), (1349069567,), (1349069598,), (1349069905,), (1349069937,), (1349069973,), (1349070008,), (1349070469,), (1349070401,), (1349070432,), (1349070709,), (1349070735,), (1349070767,), (1349070804,), (1349070824,), (1349070829,), (1349070949,), (1349070956,), (1349070968,), (1349070972,), (1349070999,), (1349071005,), (1349071098,), (1349071137,), (1349071146,), (1349071153,), (1349071196,), (1349071290,), (1349071294,), (1349071297,), (1349071317,), (1349071322,), (1349071327,), (1349071370,), (1349071379,), (1349071388,), (1349071393,), (1349071397,), (1349071401,), (1349071444,), (1349071448,), (1349071452,), (1349071519,), (1349071526,), (1349071530,), (1349071534,), (1349071538,), (1349071541,), (1349071584,), (1349071592,), (1349071594,), (1349071660,), (1349071675,), (1349071688,), (1349071699,), (1349071702,), (1349071994,), (1349072026,), (1349072482,), (1349072520,), (1349072535,), (1349072542,), (1349072662,), (1349072667,), (1349072669,), (1349072671,), (1349072673,), (1349072883,), (1349072887,), (1349072892,), (1349073010,), (1349073016,), (1349073021,), (1349073043,), (1349073064,), (1349073803,), (1349073391,), (1349073417,), (1349073446,), (1349073502,), (1349073553,), (1349073871,), (1349073876,), (1349074027,), (1349074041,), (1349074044,), (1349074052,), (1349074059,), (1349074062,), (1349074208,), (1349074237,), (1349074260,), (1349074283,), (1349074309,), (1349074317,), (1349074455,), (1349074475,), (1349074478,), (1349074534,), (1349074543,), (1349074547,), (1349074550,), (1349074580,), (1349074625,), (1349074730,), (1349074734,), (1349074738,), (1349074741,), (1349074745,), (1349074805,), (1349074807,), (1349074817,), (1349074853,), (1349074858,), (1349074862,), (1349074872,), (1349074877,), (1349074881,), (1349074908,), (1349074913,), (1349074916,), (1349074919,), (1349074921,), (1349074973,), (1349075011,), (1349075023,), (1349075081,), (1349075083,), (1349075085,), (1349075087,), (1349075092,), (1349075128,), (1349075132,), (1349075136,), (1349075142,), (1349075201,), (1349075204,), (1349075205,), (1349075206,), (1349075211,), (1349075214,), (1349075267,), (1349075269,), (1349075271,), (1349075372,), (1349075354,), (1349075356,), (1349075358,), (1349075364,), (1349075368,), (1349075414,), (1349075423,), (1349075432,), (1349075438,), (1349075441,), (1349075447,), (1349075519,), (1349075522,), (1349075525,), (1349075528,), (1349075582,), (1349075586,), (1349075588,), (1349075592,), (1349075596,), (1349075599,), (1349075634,), (1349075635,), (1349075637,), (1349075639,), (1349075642,), (1349075645,), (1349075688,), (1349075691,), (1349075696,), (1349075790,), (1349075813,), (1349075822,), (1349075830,), (1349075836,), (1349075909,), (1349075947,), (1349075988,), (1349075991,), (1349076040,), (1349076048,), (1349076167,), (1349076171,), (1349076373,), (1349076375,), (1349076378,), (1349076381,), (1349076383,), (1349080940,), (1348962729,), (1348962734,), (1348962770,), (1348962773,), (1348962808,), (1348962811,), (1348962815,), (1348962851,), (1348962854,), (1348962858,), (1348962888,), (1348962894,), (1348962898,), (1348962903,), (1348962933,), (1348962936,), (1348962939,), (1348962972,), (1348962977,), (1348962982,), (1348962985,), (1348962991,), (1348963027,), (1348963031,), (1348963036,), (1348963042,), (1348963046,), (1348963080,), (1348963084,), (1348963129,), (1348963142,), (1348963145,), (1348963152,), (1348963157,), (1348963162,), (1348963191,), (1348963195,), (1348963237,), (1348963241,), (1348963246,), (1348963293,), (1348963296,), (1348963300,), (1348963304,), (1348963310,), (1348963343,), (1348963346,), (1348963351,), (1348963355,), (1348963424,), (1348963398,), (1348963401,), (1348963404,), (1348963419,), (1348963447,), (1348963452,), (1348963456,), (1348963459,), (1348963464,), (1348963495,), (1348963497,), (1348963501,), (1348963504,), (1348963509,), (1348963546,), (1348963550,), (1348963554,), (1348963558,), (1348963597,), (1348963608,), (1348963611,), (1348963615,), (1348963619,), (1348963642,), (1348963645,), (1348963649,), (1348963653,), (1348963659,), (1348963663,), (1348963694,), (1348963696,), (1348963698,), (1348963739,), (1348963741,), (1348963744,), (1348963747,), (1348963752,), (1348963756,), (1348963792,), (1348963850,), (1348963855,), (1348963944,), (1348963946,), (1348964053,), (1348964063,), (1348964089,), (1348964142,)) NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'31032025': {'nb_upload': 33, 'nb_taggue_class': 0, 'nb_taggue_densite': 0}} After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([21905185]) Inside saveOutput : final : True verbose : True saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1348987079, 1348984387, 1348984382, 1348984364, 1348984270, 1348984065, 1348984061, 1348984020, 1348984016, 1348984013, 1348984007, 1348984005, 1348983966, 1348983963, 1348983960, 1348983926, 1348983911, 1348983891, 1348983887, 1348983868, 1348983854, 1348983618, 1348983577, 1348983562, 1348983557, 1348983555, 1348983481, 1348983479, 1348983406, 1348983394, 1348983184, 1348983182, 1348983181] map_info['map_portfolio_photo'] : {21905185: [1348987079, 1348984387, 1348984382, 1348984364, 1348984270, 1348984065, 1348984061, 1348984020, 1348984016, 1348984013, 1348984007, 1348984005, 1348983966, 1348983963, 1348983960, 1348983926, 1348983911, 1348983891, 1348983887, 1348983868, 1348983854, 1348983618, 1348983577, 1348983562, 1348983557, 1348983555, 1348983481, 1348983479, 1348983406, 1348983394, 1348983184, 1348983182, 1348983181]} final : True mtd_id 4302 list_pids : [1348987079, 1348984387, 1348984382, 1348984364, 1348984270, 1348984065, 1348984061, 1348984020, 1348984016, 1348984013, 1348984007, 1348984005, 1348983966, 1348983963, 1348983960, 1348983926, 1348983911, 1348983891, 1348983887, 1348983868, 1348983854, 1348983618, 1348983577, 1348983562, 1348983557, 1348983555, 1348983481, 1348983479, 1348983406, 1348983394, 1348983184, 1348983182, 1348983181] Looping around the photos to save general results len do output : 1 /21905185Didn'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, '2711568') ('4302', '21905185', '1348987079', None, None, None, None, None, '2711568') ('4302', None, None, None, None, None, None, None, '2711568') ('4302', '21905185', '1348984387', None, None, None, None, None, '2711568') ('4302', None, None, None, None, None, None, None, '2711568') ('4302', '21905185', '1348984382', None, None, None, None, None, '2711568') ('4302', None, None, None, None, None, None, None, '2711568') ('4302', '21905185', '1348984364', None, None, None, None, None, '2711568') ('4302', None, None, None, None, None, None, None, '2711568') ('4302', '21905185', '1348984270', None, None, None, None, None, '2711568') ('4302', None, None, None, None, None, None, None, '2711568') ('4302', '21905185', '1348984065', None, None, None, None, None, '2711568') ('4302', None, None, None, None, None, None, None, '2711568') ('4302', '21905185', '1348984061', None, None, None, None, None, '2711568') ('4302', None, None, None, None, None, None, None, '2711568') ('4302', '21905185', '1348984020', None, None, None, None, None, '2711568') ('4302', None, None, None, None, None, None, None, '2711568') ('4302', '21905185', '1348984016', None, None, None, None, None, '2711568') ('4302', None, None, None, None, None, None, None, '2711568') ('4302', '21905185', '1348984013', None, None, None, None, None, '2711568') ('4302', None, None, None, None, None, None, None, '2711568') ('4302', '21905185', '1348984007', None, None, None, None, None, '2711568') ('4302', None, None, None, None, None, None, None, '2711568') ('4302', '21905185', '1348984005', None, None, None, None, None, '2711568') ('4302', None, None, None, None, None, None, None, '2711568') ('4302', '21905185', '1348983966', None, None, None, None, None, '2711568') ('4302', None, None, None, None, None, None, None, '2711568') ('4302', '21905185', '1348983963', None, None, None, None, None, '2711568') ('4302', None, None, None, None, None, None, None, '2711568') ('4302', '21905185', '1348983960', None, None, None, None, None, '2711568') ('4302', None, None, None, None, None, None, None, '2711568') ('4302', '21905185', '1348983926', None, None, None, None, None, '2711568') ('4302', None, None, None, None, None, None, None, '2711568') ('4302', '21905185', '1348983911', None, None, None, None, None, '2711568') ('4302', None, None, None, None, None, None, None, '2711568') ('4302', '21905185', '1348983891', None, None, None, None, None, '2711568') ('4302', None, None, None, None, None, None, None, '2711568') ('4302', '21905185', '1348983887', None, None, None, None, None, '2711568') ('4302', None, None, None, None, None, None, None, '2711568') ('4302', '21905185', '1348983868', None, None, None, None, None, '2711568') ('4302', None, None, None, None, None, None, None, '2711568') ('4302', '21905185', '1348983854', None, None, None, None, None, '2711568') ('4302', None, None, None, None, None, None, None, '2711568') ('4302', '21905185', '1348983618', None, None, None, None, None, '2711568') ('4302', None, None, None, None, None, None, None, '2711568') ('4302', '21905185', '1348983577', None, None, None, None, None, '2711568') ('4302', None, None, None, None, None, None, None, '2711568') ('4302', '21905185', '1348983562', None, None, None, None, None, '2711568') ('4302', None, None, None, None, None, None, None, '2711568') ('4302', '21905185', '1348983557', None, None, None, None, None, '2711568') ('4302', None, None, None, None, None, None, None, '2711568') ('4302', '21905185', '1348983555', None, None, None, None, None, '2711568') ('4302', None, None, None, None, None, None, None, '2711568') ('4302', '21905185', '1348983481', None, None, None, None, None, '2711568') ('4302', None, None, None, None, None, None, None, '2711568') ('4302', '21905185', '1348983479', None, None, None, None, None, '2711568') ('4302', None, None, None, None, None, None, None, '2711568') ('4302', '21905185', '1348983406', None, None, None, None, None, '2711568') ('4302', None, None, None, None, None, None, None, '2711568') ('4302', '21905185', '1348983394', None, None, None, None, None, '2711568') ('4302', None, None, None, None, None, None, None, '2711568') ('4302', '21905185', '1348983184', None, None, None, None, None, '2711568') ('4302', None, None, None, None, None, None, None, '2711568') ('4302', '21905185', '1348983182', None, None, None, None, None, '2711568') ('4302', None, None, None, None, None, None, None, '2711568') ('4302', '21905185', '1348983181', None, None, None, None, None, '2711568') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 34 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, '21905185', 'None', None, None, None, None, '2711568'), ('4302', '21905185', '1348987079', None, None, None, None, None, '2711568'), ('4302', '21905185', '1348984387', None, None, None, None, None, '2711568'), ('4302', '21905185', '1348984382', None, None, None, None, None, '2711568'), ('4302', '21905185', '1348984364', None, None, None, None, None, '2711568'), ('4302', '21905185', '1348984270', None, None, None, None, None, '2711568'), ('4302', '21905185', '1348984065', None, None, None, None, None, '2711568'), ('4302', '21905185', '1348984061', None, None, None, None, None, '2711568'), ('4302', '21905185', '1348984020', None, None, None, None, None, '2711568'), ('4302', '21905185', '1348984016', None, None, None, None, None, '2711568'), ('4302', '21905185', '1348984013', None, None, None, None, None, '2711568'), ('4302', '21905185', '1348984007', None, None, None, None, None, '2711568'), ('4302', '21905185', '1348984005', None, None, None, None, None, '2711568'), ('4302', '21905185', '1348983966', None, None, None, None, None, '2711568'), ('4302', '21905185', '1348983963', None, None, None, None, None, '2711568'), ('4302', '21905185', '1348983960', None, None, None, None, None, '2711568'), ('4302', '21905185', '1348983926', None, None, None, None, None, '2711568'), ('4302', '21905185', '1348983911', None, None, None, None, None, '2711568'), ('4302', '21905185', '1348983891', None, None, None, None, None, '2711568'), ('4302', '21905185', '1348983887', None, None, None, None, None, '2711568'), ('4302', '21905185', '1348983868', None, None, None, None, None, '2711568'), ('4302', '21905185', '1348983854', None, None, None, None, None, '2711568'), ('4302', '21905185', '1348983618', None, None, None, None, None, '2711568'), ('4302', '21905185', '1348983577', None, None, None, None, None, '2711568'), ('4302', '21905185', '1348983562', None, None, None, None, None, '2711568'), ('4302', '21905185', '1348983557', None, None, None, None, None, '2711568'), ('4302', '21905185', '1348983555', None, None, None, None, None, '2711568'), ('4302', '21905185', '1348983481', None, None, None, None, None, '2711568'), ('4302', '21905185', '1348983479', None, None, None, None, None, '2711568'), ('4302', '21905185', '1348983406', None, None, None, None, None, '2711568'), ('4302', '21905185', '1348983394', None, None, None, None, None, '2711568'), ('4302', '21905185', '1348983184', None, None, None, None, None, '2711568'), ('4302', '21905185', '1348983182', None, None, None, None, None, '2711568'), ('4302', '21905185', '1348983181', None, None, None, None, None, '2711568')] time used for this insertion : 0.03762936592102051 save_final save missing photos in datou_result : time spend for datou_step_exec : 4.418748617172241 time spend to save output : 0.0383610725402832 total time spend for step 5 : 4.457109689712524 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 (2711568) 2.92user 2.29system 0:18.37elapsed 28%CPU (0avgtext+0avgdata 168392maxresident)k 64096inputs+24528outputs (371major+91755minor)pagefaults 0swaps