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 : 2493906 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 (2568275) updating current state to 1 UPDATE MTRPhoto.mtr_datou_current SET state=1, hostname='marlene' WHERE id in (2568275) SELECT count(*) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20357221 AND hide_status = 0 list_input_json: [] Current got : datou_id : 4302, datou_cur_ids : ['2568275'] with mtr_portfolio_ids : ['20357221'] and first list_photo_ids : [] new path : /proc/2493906/ Name: python3 Umask: 0002 State: R (running) Tgid: 2493906 Ngid: 0 Pid: 2493906 PPid: 2493905 TracerPid: 0 Uid: 1006 1006 1006 1006 Gid: 1009 1009 1009 1009 FDSize: 64 Groups: 27 1009 1026 NStgid: 2493906 NSpid: 2493906 NSpgid: 2492206 NSsid: 2492206 VmPeak: 1106812 kB VmSize: 1106812 kB VmLck: 0 kB VmPin: 0 kB VmHWM: 97424 kB VmRSS: 97424 kB RssAnon: 59736 kB RssFile: 37688 kB RssShmem: 0 kB VmData: 865564 kB VmStk: 132 kB VmExe: 2640 kB VmLib: 130468 kB VmPTE: 604 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: 43 nonvoluntary_ctxt_switches: 101 {'Name': 'python3', 'Umask': '0002', 'State': 'R (running)', 'Tgid': '2493906', 'Ngid': '0', 'Pid': '2493906', 'PPid': '2493905', 'TracerPid': '0', 'Uid': '1006,1006,1006,1006', 'Gid': '1009,1009,1009,1009', 'FDSize': '64', 'Groups': '27 1009 1026', 'NStgid': '2493906', 'NSpid': '2493906', 'NSpgid': '2492206', 'NSsid': '2492206', 'VmPeak': '1106812 kB', 'VmSize': '1106812 kB', 'VmLck': '0 kB', 'VmPin': '0 kB', 'VmHWM': '97424 kB', 'VmRSS': '97424 kB', 'RssAnon': '59736 kB', 'RssFile': '37688 kB', 'RssShmem': '0 kB', 'VmData': '865564 kB', 'VmStk': '132 kB', 'VmExe': '2640 kB', 'VmLib': '130468 kB', 'VmPTE': '604 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': '43', 'nonvoluntary_ctxt_switches': '101'} ('datou_batch_current', '2493906', '1106812', '0', '1106812', '865564', '97424', b'', 'marlene', '2568275') 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 (20357221) 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 (2568275 ) ) 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 (20357221) AND hide_status = 0 ORDER by mtr_photo_id desc LIMIT 0, 200 list_result: [{'photo_id': 1335344483, 'portfolio_id': 20357221}, {'photo_id': 1335342109, 'portfolio_id': 20357221}, {'photo_id': 1335342106, 'portfolio_id': 20357221}, {'photo_id': 1335342104, 'portfolio_id': 20357221}, {'photo_id': 1335342097, 'portfolio_id': 20357221}, {'photo_id': 1335342092, 'portfolio_id': 20357221}, {'photo_id': 1335342089, 'portfolio_id': 20357221}, {'photo_id': 1335342019, 'portfolio_id': 20357221}, {'photo_id': 1335341954, 'portfolio_id': 20357221}, {'photo_id': 1335341859, 'portfolio_id': 20357221}, {'photo_id': 1335341850, 'portfolio_id': 20357221}, {'photo_id': 1335341847, 'portfolio_id': 20357221}, {'photo_id': 1335341749, 'portfolio_id': 20357221}, {'photo_id': 1335341745, 'portfolio_id': 20357221}, {'photo_id': 1335341731, 'portfolio_id': 20357221}, {'photo_id': 1335341730, 'portfolio_id': 20357221}, {'photo_id': 1335341728, 'portfolio_id': 20357221}, {'photo_id': 1335341727, 'portfolio_id': 20357221}, {'photo_id': 1335341723, 'portfolio_id': 20357221}, {'photo_id': 1335341720, 'portfolio_id': 20357221}, {'photo_id': 1335341714, 'portfolio_id': 20357221}, {'photo_id': 1335341713, 'portfolio_id': 20357221}, {'photo_id': 1335341709, 'portfolio_id': 20357221}, {'photo_id': 1335341708, 'portfolio_id': 20357221}, {'photo_id': 1335341690, 'portfolio_id': 20357221}, {'photo_id': 1335341671, 'portfolio_id': 20357221}, {'photo_id': 1335341668, 'portfolio_id': 20357221}, {'photo_id': 1335341665, 'portfolio_id': 20357221}, {'photo_id': 1335341664, 'portfolio_id': 20357221}, {'photo_id': 1335341661, 'portfolio_id': 20357221}, {'photo_id': 1335341654, 'portfolio_id': 20357221}, {'photo_id': 1335341652, 'portfolio_id': 20357221}, {'photo_id': 1335341646, 'portfolio_id': 20357221}, {'photo_id': 1335341644, 'portfolio_id': 20357221}, {'photo_id': 1335341623, 'portfolio_id': 20357221}, {'photo_id': 1335341619, 'portfolio_id': 20357221}, {'photo_id': 1335341503, 'portfolio_id': 20357221}, {'photo_id': 1335341499, 'portfolio_id': 20357221}, {'photo_id': 1335341498, 'portfolio_id': 20357221}, {'photo_id': 1335341495, 'portfolio_id': 20357221}, {'photo_id': 1335341492, 'portfolio_id': 20357221}, {'photo_id': 1335341489, 'portfolio_id': 20357221}, {'photo_id': 1335341067, 'portfolio_id': 20357221}, {'photo_id': 1335336391, 'portfolio_id': 20357221}, {'photo_id': 1335336388, 'portfolio_id': 20357221}] map_portfolio_id_photo_id: {20357221: [1335344483, 1335342109, 1335342106, 1335342104, 1335342097, 1335342092, 1335342089, 1335342019, 1335341954, 1335341859, 1335341850, 1335341847, 1335341749, 1335341745, 1335341731, 1335341730, 1335341728, 1335341727, 1335341723, 1335341720, 1335341714, 1335341713, 1335341709, 1335341708, 1335341690, 1335341671, 1335341668, 1335341665, 1335341664, 1335341661, 1335341654, 1335341652, 1335341646, 1335341644, 1335341623, 1335341619, 1335341503, 1335341499, 1335341498, 1335341495, 1335341492, 1335341489, 1335341067, 1335336391, 1335336388]} ##### 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.1323227882385254 #### fin chargement data Blocking on flush ? No conitnuing About to test input to load Calling datou_exec Inside datou_exec : verbose : True number of steps : 5 step1:ventilate_hashtags_in_portfolio Sat Feb 8 06:04: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 After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (20357221) 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 : 20357221 get user id for portfolio 20357221 get sub ptf for main ptf 20357221, type 3726 and hashtags ['plastique', 'environnement', 'cartonnette', 'Carton_gris', 'Carton_brun', 'kraft', 'papier', 'Teint_Dans_La_Masse', 'mal_croppe', 'autre_refus', 'flou', '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`=20357221 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('plastique','environnement','cartonnette','Carton_gris','Carton_brun','kraft','papier','Teint_Dans_La_Masse','mal_croppe','autre_refus','flou','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`=20357221 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('plastique','environnement','cartonnette','Carton_gris','Carton_brun','kraft','papier','Teint_Dans_La_Masse','mal_croppe','autre_refus','flou','metal')) AND mptpi.`min_score`=0.5 To do To do query : SELECT id FROM MTRUser.mtr_portfolios WHERE name="JRM_diff_batch__07022025_00_00_13_010240_3726_plastique_0.5_chtin_0" AND mtr_user_id=979 Creating new portfolio query : SELECT id FROM MTRUser.mtr_portfolios WHERE name="JRM_diff_batch__07022025_00_00_13_010240_3726_environnement_0.5_chtin_0" AND mtr_user_id=979 Creating new portfolio query : SELECT id FROM MTRUser.mtr_portfolios WHERE name="JRM_diff_batch__07022025_00_00_13_010240_3726_cartonnette_0.5_chtin_0" AND mtr_user_id=979 Creating new portfolio query : SELECT id FROM MTRUser.mtr_portfolios WHERE name="JRM_diff_batch__07022025_00_00_13_010240_3726_Carton_gris_0.5_chtin_0" AND mtr_user_id=979 Creating new portfolio query : SELECT id FROM MTRUser.mtr_portfolios WHERE name="JRM_diff_batch__07022025_00_00_13_010240_3726_Carton_brun_0.5_chtin_0" AND mtr_user_id=979 Creating new portfolio query : SELECT id FROM MTRUser.mtr_portfolios WHERE name="JRM_diff_batch__07022025_00_00_13_010240_3726_kraft_0.5_chtin_0" AND mtr_user_id=979 Creating new portfolio query : SELECT id FROM MTRUser.mtr_portfolios WHERE name="JRM_diff_batch__07022025_00_00_13_010240_3726_papier_0.5_chtin_0" AND mtr_user_id=979 Creating new portfolio query : SELECT id FROM MTRUser.mtr_portfolios WHERE name="JRM_diff_batch__07022025_00_00_13_010240_3726_Teint_Dans_La_Masse_0.5_chtin_0" AND mtr_user_id=979 Creating new portfolio query : SELECT id FROM MTRUser.mtr_portfolios WHERE name="JRM_diff_batch__07022025_00_00_13_010240_3726_mal_croppe_0.5_chtin_0" AND mtr_user_id=979 Creating new portfolio query : SELECT id FROM MTRUser.mtr_portfolios WHERE name="JRM_diff_batch__07022025_00_00_13_010240_3726_autre_refus_0.5_chtin_0" AND mtr_user_id=979 Creating new portfolio query : SELECT id FROM MTRUser.mtr_portfolios WHERE name="JRM_diff_batch__07022025_00_00_13_010240_3726_flou_0.5_chtin_0" AND mtr_user_id=979 Creating new portfolio query : SELECT id FROM MTRUser.mtr_portfolios WHERE name="JRM_diff_batch__07022025_00_00_13_010240_3726_metal_0.5_chtin_0" AND mtr_user_id=979 Creating new portfolio INSERT IGNORE INTO MTRPhoto.mtr_port_to_port_ids (`mtr_portfolio_id_1`, `mtr_portfolio_id_2`, `type`, `min_score`, `hashtag_id`, `mtr_user_id`) VALUES (%s,%s,%s,%s,%s,%s)[[20357221, 20357337, 3726, 0.5, 492725882, 979], [20357221, 20357338, 3726, 0.5, 493012381, 979], [20357221, 20357339, 3726, 0.5, 702398920, 979], [20357221, 20357340, 3726, 0.5, 2107753020, 979], [20357221, 20357341, 3726, 0.5, 2107753024, 979], [20357221, 20357342, 3726, 0.5, 493202403, 979], [20357221, 20357343, 3726, 0.5, 492668766, 979], [20357221, 20357344, 3726, 0.5, 2107752385, 979], [20357221, 20357345, 3726, 0.5, 2107755527, 979], [20357221, 20357346, 3726, 0.5, 2107752406, 979], [20357221, 20357347, 3726, 0.5, 492777938, 979], [20357221, 20357348, 3726, 0.5, 492628673, 979]] SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20357221 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('plastique','environnement','cartonnette','Carton_gris','Carton_brun','kraft','papier','Teint_Dans_La_Masse','mal_croppe','autre_refus','flou','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`=20357221 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('plastique','environnement','cartonnette','Carton_gris','Carton_brun','kraft','papier','Teint_Dans_La_Masse','mal_croppe','autre_refus','flou','metal')) AND mptpi.`min_score`=0.5 To do returned map {'plastique': {'main_port_id': 20357221, 'sub_port_id': 20357337, 'hashtag': 'plastique', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13039431, 'last_updated_at': datetime.datetime(2025, 2, 8, 6, 5), 'last_updated_at_desc': datetime.datetime(2025, 2, 8, 6, 5), 'last_updated_at_asc': datetime.datetime(2025, 2, 8, 6, 5)}, 'environnement': {'main_port_id': 20357221, 'sub_port_id': 20357338, 'hashtag': 'environnement', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13039432, 'last_updated_at': datetime.datetime(2025, 2, 8, 6, 5), 'last_updated_at_desc': datetime.datetime(2025, 2, 8, 6, 5), 'last_updated_at_asc': datetime.datetime(2025, 2, 8, 6, 5)}, 'cartonnette': {'main_port_id': 20357221, 'sub_port_id': 20357339, 'hashtag': 'cartonnette', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13039433, 'last_updated_at': datetime.datetime(2025, 2, 8, 6, 5), 'last_updated_at_desc': datetime.datetime(2025, 2, 8, 6, 5), 'last_updated_at_asc': datetime.datetime(2025, 2, 8, 6, 5)}, 'Carton_gris': {'main_port_id': 20357221, 'sub_port_id': 20357340, 'hashtag': 'Carton_gris', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13039434, 'last_updated_at': datetime.datetime(2025, 2, 8, 6, 5), 'last_updated_at_desc': datetime.datetime(2025, 2, 8, 6, 5), 'last_updated_at_asc': datetime.datetime(2025, 2, 8, 6, 5)}, 'Carton_brun': {'main_port_id': 20357221, 'sub_port_id': 20357341, 'hashtag': 'Carton_brun', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13039435, 'last_updated_at': datetime.datetime(2025, 2, 8, 6, 5), 'last_updated_at_desc': datetime.datetime(2025, 2, 8, 6, 5), 'last_updated_at_asc': datetime.datetime(2025, 2, 8, 6, 5)}, 'kraft': {'main_port_id': 20357221, 'sub_port_id': 20357342, 'hashtag': 'kraft', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13039436, 'last_updated_at': datetime.datetime(2025, 2, 8, 6, 5), 'last_updated_at_desc': datetime.datetime(2025, 2, 8, 6, 5), 'last_updated_at_asc': datetime.datetime(2025, 2, 8, 6, 5)}, 'papier': {'main_port_id': 20357221, 'sub_port_id': 20357343, 'hashtag': 'papier', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13039437, 'last_updated_at': datetime.datetime(2025, 2, 8, 6, 5), 'last_updated_at_desc': datetime.datetime(2025, 2, 8, 6, 5), 'last_updated_at_asc': datetime.datetime(2025, 2, 8, 6, 5)}, 'Teint_Dans_La_Masse': {'main_port_id': 20357221, 'sub_port_id': 20357344, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13039438, 'last_updated_at': datetime.datetime(2025, 2, 8, 6, 5), 'last_updated_at_desc': datetime.datetime(2025, 2, 8, 6, 5), 'last_updated_at_asc': datetime.datetime(2025, 2, 8, 6, 5)}, 'mal_croppe': {'main_port_id': 20357221, 'sub_port_id': 20357345, 'hashtag': 'mal_croppe', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13039439, 'last_updated_at': datetime.datetime(2025, 2, 8, 6, 5), 'last_updated_at_desc': datetime.datetime(2025, 2, 8, 6, 5), 'last_updated_at_asc': datetime.datetime(2025, 2, 8, 6, 5)}, 'autre_refus': {'main_port_id': 20357221, 'sub_port_id': 20357346, 'hashtag': 'autre_refus', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13039440, 'last_updated_at': datetime.datetime(2025, 2, 8, 6, 5), 'last_updated_at_desc': datetime.datetime(2025, 2, 8, 6, 5), 'last_updated_at_asc': datetime.datetime(2025, 2, 8, 6, 5)}, 'flou': {'main_port_id': 20357221, 'sub_port_id': 20357347, 'hashtag': 'flou', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13039441, 'last_updated_at': datetime.datetime(2025, 2, 8, 6, 5), 'last_updated_at_desc': datetime.datetime(2025, 2, 8, 6, 5), 'last_updated_at_asc': datetime.datetime(2025, 2, 8, 6, 5)}, 'metal': {'main_port_id': 20357221, 'sub_port_id': 20357348, 'hashtag': 'metal', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13039442, 'last_updated_at': datetime.datetime(2025, 2, 8, 6, 5), 'last_updated_at_desc': datetime.datetime(2025, 2, 8, 6, 5), 'last_updated_at_asc': datetime.datetime(2025, 2, 8, 6, 5)}} insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 20357337 , 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=20357221 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 (20357337) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20357221) result : ((1335336388,), (1335336391,), (1335341067,), (1335341489,), (1335341492,), (1335341495,), (1335341498,), (1335341499,), (1335341503,), (1335341619,), (1335341623,), (1335341644,), (1335341646,), (1335341652,), (1335341654,), (1335341661,), (1335341664,), (1335341665,), (1335341668,), (1335341671,), (1335341690,), (1335341708,), (1335341709,), (1335341713,), (1335341714,), (1335341720,), (1335341723,), (1335341727,), (1335341728,), (1335341730,), (1335341731,), (1335341745,), (1335341749,), (1335341847,), (1335341850,), (1335341859,), (1335341954,), (1335342019,), (1335342089,), (1335342092,), (1335342097,), (1335342104,), (1335342106,), (1335342109,), (1335344483,)) 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 20357338 , 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=20357221 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 (20357338) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20357221) result : ((1335336388,), (1335336391,), (1335341067,), (1335341489,), (1335341492,), (1335341495,), (1335341498,), (1335341499,), (1335341503,), (1335341619,), (1335341623,), (1335341644,), (1335341646,), (1335341652,), (1335341654,), (1335341661,), (1335341664,), (1335341665,), (1335341668,), (1335341671,), (1335341690,), (1335341708,), (1335341709,), (1335341713,), (1335341714,), (1335341720,), (1335341723,), (1335341727,), (1335341728,), (1335341730,), (1335341731,), (1335341745,), (1335341749,), (1335341847,), (1335341850,), (1335341859,), (1335341954,), (1335342019,), (1335342089,), (1335342092,), (1335342097,), (1335342104,), (1335342106,), (1335342109,), (1335344483,)) 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 20357339 , 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=20357221 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 (20357339) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20357221) result : ((1335336388,), (1335336391,), (1335341067,), (1335341489,), (1335341492,), (1335341495,), (1335341498,), (1335341499,), (1335341503,), (1335341619,), (1335341623,), (1335341644,), (1335341646,), (1335341652,), (1335341654,), (1335341661,), (1335341664,), (1335341665,), (1335341668,), (1335341671,), (1335341690,), (1335341708,), (1335341709,), (1335341713,), (1335341714,), (1335341720,), (1335341723,), (1335341727,), (1335341728,), (1335341730,), (1335341731,), (1335341745,), (1335341749,), (1335341847,), (1335341850,), (1335341859,), (1335341954,), (1335342019,), (1335342089,), (1335342092,), (1335342097,), (1335342104,), (1335342106,), (1335342109,), (1335344483,)) 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 20357340 , 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=20357221 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 (20357340) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20357221) result : ((1335336388,), (1335336391,), (1335341067,), (1335341489,), (1335341492,), (1335341495,), (1335341498,), (1335341499,), (1335341503,), (1335341619,), (1335341623,), (1335341644,), (1335341646,), (1335341652,), (1335341654,), (1335341661,), (1335341664,), (1335341665,), (1335341668,), (1335341671,), (1335341690,), (1335341708,), (1335341709,), (1335341713,), (1335341714,), (1335341720,), (1335341723,), (1335341727,), (1335341728,), (1335341730,), (1335341731,), (1335341745,), (1335341749,), (1335341847,), (1335341850,), (1335341859,), (1335341954,), (1335342019,), (1335342089,), (1335342092,), (1335342097,), (1335342104,), (1335342106,), (1335342109,), (1335344483,)) 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 20357341 , 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=20357221 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 (20357341) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20357221) result : ((1335336388,), (1335336391,), (1335341067,), (1335341489,), (1335341492,), (1335341495,), (1335341498,), (1335341499,), (1335341503,), (1335341619,), (1335341623,), (1335341644,), (1335341646,), (1335341652,), (1335341654,), (1335341661,), (1335341664,), (1335341665,), (1335341668,), (1335341671,), (1335341690,), (1335341708,), (1335341709,), (1335341713,), (1335341714,), (1335341720,), (1335341723,), (1335341727,), (1335341728,), (1335341730,), (1335341731,), (1335341745,), (1335341749,), (1335341847,), (1335341850,), (1335341859,), (1335341954,), (1335342019,), (1335342089,), (1335342092,), (1335342097,), (1335342104,), (1335342106,), (1335342109,), (1335344483,)) 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 20357342 , 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=20357221 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 (20357342) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20357221) result : ((1335336388,), (1335336391,), (1335341067,), (1335341489,), (1335341492,), (1335341495,), (1335341498,), (1335341499,), (1335341503,), (1335341619,), (1335341623,), (1335341644,), (1335341646,), (1335341652,), (1335341654,), (1335341661,), (1335341664,), (1335341665,), (1335341668,), (1335341671,), (1335341690,), (1335341708,), (1335341709,), (1335341713,), (1335341714,), (1335341720,), (1335341723,), (1335341727,), (1335341728,), (1335341730,), (1335341731,), (1335341745,), (1335341749,), (1335341847,), (1335341850,), (1335341859,), (1335341954,), (1335342019,), (1335342089,), (1335342092,), (1335342097,), (1335342104,), (1335342106,), (1335342109,), (1335344483,)) 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 20357343 , 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=20357221 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 (20357343) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20357221) result : ((1335336388,), (1335336391,), (1335341067,), (1335341489,), (1335341492,), (1335341495,), (1335341498,), (1335341499,), (1335341503,), (1335341619,), (1335341623,), (1335341644,), (1335341646,), (1335341652,), (1335341654,), (1335341661,), (1335341664,), (1335341665,), (1335341668,), (1335341671,), (1335341690,), (1335341708,), (1335341709,), (1335341713,), (1335341714,), (1335341720,), (1335341723,), (1335341727,), (1335341728,), (1335341730,), (1335341731,), (1335341745,), (1335341749,), (1335341847,), (1335341850,), (1335341859,), (1335341954,), (1335342019,), (1335342089,), (1335342092,), (1335342097,), (1335342104,), (1335342106,), (1335342109,), (1335344483,)) 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 20357344 , 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=20357221 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 (20357344) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20357221) result : ((1335336388,), (1335336391,), (1335341067,), (1335341489,), (1335341492,), (1335341495,), (1335341498,), (1335341499,), (1335341503,), (1335341619,), (1335341623,), (1335341644,), (1335341646,), (1335341652,), (1335341654,), (1335341661,), (1335341664,), (1335341665,), (1335341668,), (1335341671,), (1335341690,), (1335341708,), (1335341709,), (1335341713,), (1335341714,), (1335341720,), (1335341723,), (1335341727,), (1335341728,), (1335341730,), (1335341731,), (1335341745,), (1335341749,), (1335341847,), (1335341850,), (1335341859,), (1335341954,), (1335342019,), (1335342089,), (1335342092,), (1335342097,), (1335342104,), (1335342106,), (1335342109,), (1335344483,)) 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 20357345 , 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=20357221 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 (20357345) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20357221) result : ((1335336388,), (1335336391,), (1335341067,), (1335341489,), (1335341492,), (1335341495,), (1335341498,), (1335341499,), (1335341503,), (1335341619,), (1335341623,), (1335341644,), (1335341646,), (1335341652,), (1335341654,), (1335341661,), (1335341664,), (1335341665,), (1335341668,), (1335341671,), (1335341690,), (1335341708,), (1335341709,), (1335341713,), (1335341714,), (1335341720,), (1335341723,), (1335341727,), (1335341728,), (1335341730,), (1335341731,), (1335341745,), (1335341749,), (1335341847,), (1335341850,), (1335341859,), (1335341954,), (1335342019,), (1335342089,), (1335342092,), (1335342097,), (1335342104,), (1335342106,), (1335342109,), (1335344483,)) 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 20357346 , 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=20357221 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 (20357346) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20357221) result : ((1335336388,), (1335336391,), (1335341067,), (1335341489,), (1335341492,), (1335341495,), (1335341498,), (1335341499,), (1335341503,), (1335341619,), (1335341623,), (1335341644,), (1335341646,), (1335341652,), (1335341654,), (1335341661,), (1335341664,), (1335341665,), (1335341668,), (1335341671,), (1335341690,), (1335341708,), (1335341709,), (1335341713,), (1335341714,), (1335341720,), (1335341723,), (1335341727,), (1335341728,), (1335341730,), (1335341731,), (1335341745,), (1335341749,), (1335341847,), (1335341850,), (1335341859,), (1335341954,), (1335342019,), (1335342089,), (1335342092,), (1335342097,), (1335342104,), (1335342106,), (1335342109,), (1335344483,)) 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 20357347 , 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=20357221 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 (20357347) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20357221) result : ((1335336388,), (1335336391,), (1335341067,), (1335341489,), (1335341492,), (1335341495,), (1335341498,), (1335341499,), (1335341503,), (1335341619,), (1335341623,), (1335341644,), (1335341646,), (1335341652,), (1335341654,), (1335341661,), (1335341664,), (1335341665,), (1335341668,), (1335341671,), (1335341690,), (1335341708,), (1335341709,), (1335341713,), (1335341714,), (1335341720,), (1335341723,), (1335341727,), (1335341728,), (1335341730,), (1335341731,), (1335341745,), (1335341749,), (1335341847,), (1335341850,), (1335341859,), (1335341954,), (1335342019,), (1335342089,), (1335342092,), (1335342097,), (1335342104,), (1335342106,), (1335342109,), (1335344483,)) 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 20357348 , 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=20357221 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 (20357348) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20357221) result : ((1335336388,), (1335336391,), (1335341067,), (1335341489,), (1335341492,), (1335341495,), (1335341498,), (1335341499,), (1335341503,), (1335341619,), (1335341623,), (1335341644,), (1335341646,), (1335341652,), (1335341654,), (1335341661,), (1335341664,), (1335341665,), (1335341668,), (1335341671,), (1335341690,), (1335341708,), (1335341709,), (1335341713,), (1335341714,), (1335341720,), (1335341723,), (1335341727,), (1335341728,), (1335341730,), (1335341731,), (1335341745,), (1335341749,), (1335341847,), (1335341850,), (1335341859,), (1335341954,), (1335342019,), (1335342089,), (1335342092,), (1335342097,), (1335342104,), (1335342106,), (1335342109,), (1335344483,)) 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`=20357221 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('plastique','environnement','cartonnette','Carton_gris','Carton_brun','kraft','papier','Teint_Dans_La_Masse','mal_croppe','autre_refus','flou','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`=20357221 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('plastique','environnement','cartonnette','Carton_gris','Carton_brun','kraft','papier','Teint_Dans_La_Masse','mal_croppe','autre_refus','flou','metal')) AND mptpi.`min_score`=0.5 To do To do query : SELECT id FROM MTRUser.mtr_portfolios WHERE name="JRM_diff_batch__07022025_00_00_13_010240_4417_plastique_0.5_chtin_0" AND mtr_user_id=979 Creating new portfolio query : SELECT id FROM MTRUser.mtr_portfolios WHERE name="JRM_diff_batch__07022025_00_00_13_010240_4417_environnement_0.5_chtin_0" AND mtr_user_id=979 Creating new portfolio query : SELECT id FROM MTRUser.mtr_portfolios WHERE name="JRM_diff_batch__07022025_00_00_13_010240_4417_cartonnette_0.5_chtin_0" AND mtr_user_id=979 Creating new portfolio query : SELECT id FROM MTRUser.mtr_portfolios WHERE name="JRM_diff_batch__07022025_00_00_13_010240_4417_Carton_gris_0.5_chtin_0" AND mtr_user_id=979 Creating new portfolio query : SELECT id FROM MTRUser.mtr_portfolios WHERE name="JRM_diff_batch__07022025_00_00_13_010240_4417_Carton_brun_0.5_chtin_0" AND mtr_user_id=979 Creating new portfolio query : SELECT id FROM MTRUser.mtr_portfolios WHERE name="JRM_diff_batch__07022025_00_00_13_010240_4417_kraft_0.5_chtin_0" AND mtr_user_id=979 Creating new portfolio query : SELECT id FROM MTRUser.mtr_portfolios WHERE name="JRM_diff_batch__07022025_00_00_13_010240_4417_papier_0.5_chtin_0" AND mtr_user_id=979 Creating new portfolio query : SELECT id FROM MTRUser.mtr_portfolios WHERE name="JRM_diff_batch__07022025_00_00_13_010240_4417_Teint_Dans_La_Masse_0.5_chtin_0" AND mtr_user_id=979 Creating new portfolio query : SELECT id FROM MTRUser.mtr_portfolios WHERE name="JRM_diff_batch__07022025_00_00_13_010240_4417_mal_croppe_0.5_chtin_0" AND mtr_user_id=979 Creating new portfolio query : SELECT id FROM MTRUser.mtr_portfolios WHERE name="JRM_diff_batch__07022025_00_00_13_010240_4417_autre_refus_0.5_chtin_0" AND mtr_user_id=979 Creating new portfolio query : SELECT id FROM MTRUser.mtr_portfolios WHERE name="JRM_diff_batch__07022025_00_00_13_010240_4417_flou_0.5_chtin_0" AND mtr_user_id=979 Creating new portfolio query : SELECT id FROM MTRUser.mtr_portfolios WHERE name="JRM_diff_batch__07022025_00_00_13_010240_4417_metal_0.5_chtin_0" AND mtr_user_id=979 Creating new portfolio INSERT IGNORE INTO MTRPhoto.mtr_port_to_port_ids (`mtr_portfolio_id_1`, `mtr_portfolio_id_2`, `type`, `min_score`, `hashtag_id`, `mtr_user_id`) VALUES (%s,%s,%s,%s,%s,%s)[[20357221, 20357349, 4417, 0.5, 492725882, 979], [20357221, 20357350, 4417, 0.5, 493012381, 979], [20357221, 20357351, 4417, 0.5, 702398920, 979], [20357221, 20357352, 4417, 0.5, 2107753020, 979], [20357221, 20357353, 4417, 0.5, 2107753024, 979], [20357221, 20357354, 4417, 0.5, 493202403, 979], [20357221, 20357355, 4417, 0.5, 492668766, 979], [20357221, 20357356, 4417, 0.5, 2107752385, 979], [20357221, 20357357, 4417, 0.5, 2107755527, 979], [20357221, 20357358, 4417, 0.5, 2107752406, 979], [20357221, 20357359, 4417, 0.5, 492777938, 979], [20357221, 20357360, 4417, 0.5, 492628673, 979]] SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20357221 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('plastique','environnement','cartonnette','Carton_gris','Carton_brun','kraft','papier','Teint_Dans_La_Masse','mal_croppe','autre_refus','flou','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`=20357221 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('plastique','environnement','cartonnette','Carton_gris','Carton_brun','kraft','papier','Teint_Dans_La_Masse','mal_croppe','autre_refus','flou','metal')) AND mptpi.`min_score`=0.5 To do returned map {'plastique': {'main_port_id': 20357221, 'sub_port_id': 20357349, 'hashtag': 'plastique', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13039443, 'last_updated_at': datetime.datetime(2025, 2, 8, 6, 5, 1), 'last_updated_at_desc': datetime.datetime(2025, 2, 8, 6, 5, 1), 'last_updated_at_asc': datetime.datetime(2025, 2, 8, 6, 5, 1)}, 'environnement': {'main_port_id': 20357221, 'sub_port_id': 20357350, 'hashtag': 'environnement', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13039444, 'last_updated_at': datetime.datetime(2025, 2, 8, 6, 5, 1), 'last_updated_at_desc': datetime.datetime(2025, 2, 8, 6, 5, 1), 'last_updated_at_asc': datetime.datetime(2025, 2, 8, 6, 5, 1)}, 'cartonnette': {'main_port_id': 20357221, 'sub_port_id': 20357351, 'hashtag': 'cartonnette', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13039445, 'last_updated_at': datetime.datetime(2025, 2, 8, 6, 5, 1), 'last_updated_at_desc': datetime.datetime(2025, 2, 8, 6, 5, 1), 'last_updated_at_asc': datetime.datetime(2025, 2, 8, 6, 5, 1)}, 'Carton_gris': {'main_port_id': 20357221, 'sub_port_id': 20357352, 'hashtag': 'Carton_gris', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13039446, 'last_updated_at': datetime.datetime(2025, 2, 8, 6, 5, 1), 'last_updated_at_desc': datetime.datetime(2025, 2, 8, 6, 5, 1), 'last_updated_at_asc': datetime.datetime(2025, 2, 8, 6, 5, 1)}, 'Carton_brun': {'main_port_id': 20357221, 'sub_port_id': 20357353, 'hashtag': 'Carton_brun', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13039447, 'last_updated_at': datetime.datetime(2025, 2, 8, 6, 5, 1), 'last_updated_at_desc': datetime.datetime(2025, 2, 8, 6, 5, 1), 'last_updated_at_asc': datetime.datetime(2025, 2, 8, 6, 5, 1)}, 'kraft': {'main_port_id': 20357221, 'sub_port_id': 20357354, 'hashtag': 'kraft', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13039448, 'last_updated_at': datetime.datetime(2025, 2, 8, 6, 5, 1), 'last_updated_at_desc': datetime.datetime(2025, 2, 8, 6, 5, 1), 'last_updated_at_asc': datetime.datetime(2025, 2, 8, 6, 5, 1)}, 'papier': {'main_port_id': 20357221, 'sub_port_id': 20357355, 'hashtag': 'papier', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13039449, 'last_updated_at': datetime.datetime(2025, 2, 8, 6, 5, 1), 'last_updated_at_desc': datetime.datetime(2025, 2, 8, 6, 5, 1), 'last_updated_at_asc': datetime.datetime(2025, 2, 8, 6, 5, 1)}, 'Teint_Dans_La_Masse': {'main_port_id': 20357221, 'sub_port_id': 20357356, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13039450, 'last_updated_at': datetime.datetime(2025, 2, 8, 6, 5, 1), 'last_updated_at_desc': datetime.datetime(2025, 2, 8, 6, 5, 1), 'last_updated_at_asc': datetime.datetime(2025, 2, 8, 6, 5, 1)}, 'mal_croppe': {'main_port_id': 20357221, 'sub_port_id': 20357357, 'hashtag': 'mal_croppe', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13039451, 'last_updated_at': datetime.datetime(2025, 2, 8, 6, 5, 1), 'last_updated_at_desc': datetime.datetime(2025, 2, 8, 6, 5, 1), 'last_updated_at_asc': datetime.datetime(2025, 2, 8, 6, 5, 1)}, 'autre_refus': {'main_port_id': 20357221, 'sub_port_id': 20357358, 'hashtag': 'autre_refus', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13039452, 'last_updated_at': datetime.datetime(2025, 2, 8, 6, 5, 1), 'last_updated_at_desc': datetime.datetime(2025, 2, 8, 6, 5, 1), 'last_updated_at_asc': datetime.datetime(2025, 2, 8, 6, 5, 1)}, 'flou': {'main_port_id': 20357221, 'sub_port_id': 20357359, 'hashtag': 'flou', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13039453, 'last_updated_at': datetime.datetime(2025, 2, 8, 6, 5, 1), 'last_updated_at_desc': datetime.datetime(2025, 2, 8, 6, 5, 1), 'last_updated_at_asc': datetime.datetime(2025, 2, 8, 6, 5, 1)}, 'metal': {'main_port_id': 20357221, 'sub_port_id': 20357360, 'hashtag': 'metal', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13039454, 'last_updated_at': datetime.datetime(2025, 2, 8, 6, 5, 1), 'last_updated_at_desc': datetime.datetime(2025, 2, 8, 6, 5, 1), 'last_updated_at_asc': datetime.datetime(2025, 2, 8, 6, 5, 1)}} insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20357349,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20357337 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20357350,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20357338 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20357351,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20357339 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20357352,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20357340 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20357353,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20357341 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20357354,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20357342 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20357355,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20357343 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20357356,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20357344 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20357357,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20357345 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20357358,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20357346 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20357359,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20357347 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20357360,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20357348 lien utilise dans velours : https://www.fotonower.com/velours/20357349,20357350,20357351,20357352,20357353,20357354,20357355,20357356,20357357,20357358,20357359,20357360?tags=plastique,environnement,cartonnette,Carton_gris,Carton_brun,kraft,papier,Teint_Dans_La_Masse,mal_croppe,autre_refus,flou,metal After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([20357221]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1335344483, 1335342109, 1335342106, 1335342104, 1335342097, 1335342092, 1335342089, 1335342019, 1335341954, 1335341859, 1335341850, 1335341847, 1335341749, 1335341745, 1335341731, 1335341730, 1335341728, 1335341727, 1335341723, 1335341720, 1335341714, 1335341713, 1335341709, 1335341708, 1335341690, 1335341671, 1335341668, 1335341665, 1335341664, 1335341661, 1335341654, 1335341652, 1335341646, 1335341644, 1335341623, 1335341619, 1335341503, 1335341499, 1335341498, 1335341495, 1335341492, 1335341489, 1335341067, 1335336391, 1335336388] map_info['map_portfolio_photo'] : {20357221: [1335344483, 1335342109, 1335342106, 1335342104, 1335342097, 1335342092, 1335342089, 1335342019, 1335341954, 1335341859, 1335341850, 1335341847, 1335341749, 1335341745, 1335341731, 1335341730, 1335341728, 1335341727, 1335341723, 1335341720, 1335341714, 1335341713, 1335341709, 1335341708, 1335341690, 1335341671, 1335341668, 1335341665, 1335341664, 1335341661, 1335341654, 1335341652, 1335341646, 1335341644, 1335341623, 1335341619, 1335341503, 1335341499, 1335341498, 1335341495, 1335341492, 1335341489, 1335341067, 1335336391, 1335336388]} final : False mtd_id 4302 list_pids : [1335344483, 1335342109, 1335342106, 1335342104, 1335342097, 1335342092, 1335342089, 1335342019, 1335341954, 1335341859, 1335341850, 1335341847, 1335341749, 1335341745, 1335341731, 1335341730, 1335341728, 1335341727, 1335341723, 1335341720, 1335341714, 1335341713, 1335341709, 1335341708, 1335341690, 1335341671, 1335341668, 1335341665, 1335341664, 1335341661, 1335341654, 1335341652, 1335341646, 1335341644, 1335341623, 1335341619, 1335341503, 1335341499, 1335341498, 1335341495, 1335341492, 1335341489, 1335341067, 1335336391, 1335336388] Looping around the photos to save general results len do output : 1 /20357221. 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, '2568275') ('4302', '20357221', '1335344483', None, None, None, None, None, '2568275') ('4302', None, None, None, None, None, None, None, '2568275') ('4302', '20357221', '1335342109', None, None, None, None, None, '2568275') ('4302', None, None, None, None, None, None, None, '2568275') ('4302', '20357221', '1335342106', None, None, None, None, None, '2568275') ('4302', None, None, None, None, None, None, None, '2568275') ('4302', '20357221', '1335342104', None, None, None, None, None, '2568275') ('4302', None, None, None, None, None, None, None, '2568275') ('4302', '20357221', '1335342097', None, None, None, None, None, '2568275') ('4302', None, None, None, None, None, None, None, '2568275') ('4302', '20357221', '1335342092', None, None, None, None, None, '2568275') ('4302', None, None, None, None, None, None, None, '2568275') ('4302', '20357221', '1335342089', None, None, None, None, None, '2568275') ('4302', None, None, None, None, None, None, None, '2568275') ('4302', '20357221', '1335342019', None, None, None, None, None, '2568275') ('4302', None, None, None, None, None, None, None, '2568275') ('4302', '20357221', '1335341954', None, None, None, None, None, '2568275') ('4302', None, None, None, None, None, None, None, '2568275') ('4302', '20357221', '1335341859', None, None, None, None, None, '2568275') ('4302', None, None, None, None, None, None, None, '2568275') ('4302', '20357221', '1335341850', None, None, None, None, None, '2568275') ('4302', None, None, None, None, None, None, None, '2568275') ('4302', '20357221', '1335341847', None, None, None, None, None, '2568275') ('4302', None, None, None, None, None, None, None, '2568275') ('4302', '20357221', '1335341749', None, None, None, None, None, '2568275') ('4302', None, None, None, None, None, None, None, '2568275') ('4302', '20357221', '1335341745', None, None, None, None, None, '2568275') ('4302', None, None, None, None, None, None, None, '2568275') ('4302', '20357221', '1335341731', None, None, None, None, None, '2568275') ('4302', None, None, None, None, None, None, None, '2568275') ('4302', '20357221', '1335341730', None, None, None, None, None, '2568275') ('4302', None, None, None, None, None, None, None, '2568275') ('4302', '20357221', '1335341728', None, None, None, None, None, '2568275') ('4302', None, None, None, None, None, None, None, '2568275') ('4302', '20357221', '1335341727', None, None, None, None, None, '2568275') ('4302', None, None, None, None, None, None, None, '2568275') ('4302', '20357221', '1335341723', None, None, None, None, None, '2568275') ('4302', None, None, None, None, None, None, None, '2568275') ('4302', '20357221', '1335341720', None, None, None, None, None, '2568275') ('4302', None, None, None, None, None, None, None, '2568275') ('4302', '20357221', '1335341714', None, None, None, None, None, '2568275') ('4302', None, None, None, None, None, None, None, '2568275') ('4302', '20357221', '1335341713', None, None, None, None, None, '2568275') ('4302', None, None, None, None, None, None, None, '2568275') ('4302', '20357221', '1335341709', None, None, None, None, None, '2568275') ('4302', None, None, None, None, None, None, None, '2568275') ('4302', '20357221', '1335341708', None, None, None, None, None, '2568275') ('4302', None, None, None, None, None, None, None, '2568275') ('4302', '20357221', '1335341690', None, None, None, None, None, '2568275') ('4302', None, None, None, None, None, None, None, '2568275') ('4302', '20357221', '1335341671', None, None, None, None, None, '2568275') ('4302', None, None, None, None, None, None, None, '2568275') ('4302', '20357221', '1335341668', None, None, None, None, None, '2568275') ('4302', None, None, None, None, None, None, None, '2568275') ('4302', '20357221', '1335341665', None, None, None, None, None, '2568275') ('4302', None, None, None, None, None, None, None, '2568275') ('4302', '20357221', '1335341664', None, None, None, None, None, '2568275') ('4302', None, None, None, None, None, None, None, '2568275') ('4302', '20357221', '1335341661', None, None, None, None, None, '2568275') ('4302', None, None, None, None, None, None, None, '2568275') ('4302', '20357221', '1335341654', None, None, None, None, None, '2568275') ('4302', None, None, None, None, None, None, None, '2568275') ('4302', '20357221', '1335341652', None, None, None, None, None, '2568275') ('4302', None, None, None, None, None, None, None, '2568275') ('4302', '20357221', '1335341646', None, None, None, None, None, '2568275') ('4302', None, None, None, None, None, None, None, '2568275') ('4302', '20357221', '1335341644', None, None, None, None, None, '2568275') ('4302', None, None, None, None, None, None, None, '2568275') ('4302', '20357221', '1335341623', None, None, None, None, None, '2568275') ('4302', None, None, None, None, None, None, None, '2568275') ('4302', '20357221', '1335341619', None, None, None, None, None, '2568275') ('4302', None, None, None, None, None, None, None, '2568275') ('4302', '20357221', '1335341503', None, None, None, None, None, '2568275') ('4302', None, None, None, None, None, None, None, '2568275') ('4302', '20357221', '1335341499', None, None, None, None, None, '2568275') ('4302', None, None, None, None, None, None, None, '2568275') ('4302', '20357221', '1335341498', None, None, None, None, None, '2568275') ('4302', None, None, None, None, None, None, None, '2568275') ('4302', '20357221', '1335341495', None, None, None, None, None, '2568275') ('4302', None, None, None, None, None, None, None, '2568275') ('4302', '20357221', '1335341492', None, None, None, None, None, '2568275') ('4302', None, None, None, None, None, None, None, '2568275') ('4302', '20357221', '1335341489', None, None, None, None, None, '2568275') ('4302', None, None, None, None, None, None, None, '2568275') ('4302', '20357221', '1335341067', None, None, None, None, None, '2568275') ('4302', None, None, None, None, None, None, None, '2568275') ('4302', '20357221', '1335336391', None, None, None, None, None, '2568275') ('4302', None, None, None, None, None, None, None, '2568275') ('4302', '20357221', '1335336388', None, None, None, None, None, '2568275') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 46 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, '20357221', "{'plastique': 20357337, 'environnement': 20357338, 'cartonnette': 20357339, 'Carton_gris': 20357340, 'Carton_brun': 20357341, 'kraft': 20357342, 'papier': 20357343, 'Teint_Dans_La_Masse': 20357344, 'mal_croppe': 20357345, 'autre_refus': 20357346, 'flou': 20357347, 'metal': 20357348}", None, None, None, None, '2568275'), ('4302', '20357221', '1335344483', None, None, None, None, None, '2568275'), ('4302', '20357221', '1335342109', None, None, None, None, None, '2568275'), ('4302', '20357221', '1335342106', None, None, None, None, None, '2568275'), ('4302', '20357221', '1335342104', None, None, None, None, None, '2568275'), ('4302', '20357221', '1335342097', None, None, None, None, None, '2568275'), ('4302', '20357221', '1335342092', None, None, None, None, None, '2568275'), ('4302', '20357221', '1335342089', None, None, None, None, None, '2568275'), ('4302', '20357221', '1335342019', None, None, None, None, None, '2568275'), ('4302', '20357221', '1335341954', None, None, None, None, None, '2568275'), ('4302', '20357221', '1335341859', None, None, None, None, None, '2568275'), ('4302', '20357221', '1335341850', None, None, None, None, None, '2568275'), ('4302', '20357221', '1335341847', None, None, None, None, None, '2568275'), ('4302', '20357221', '1335341749', None, None, None, None, None, '2568275'), ('4302', '20357221', '1335341745', None, None, None, None, None, '2568275'), ('4302', '20357221', '1335341731', None, None, None, None, None, '2568275'), ('4302', '20357221', '1335341730', None, None, None, None, None, '2568275'), ('4302', '20357221', '1335341728', None, None, None, None, None, '2568275'), ('4302', '20357221', '1335341727', None, None, None, None, None, '2568275'), ('4302', '20357221', '1335341723', None, None, None, None, None, '2568275'), ('4302', '20357221', '1335341720', None, None, None, None, None, '2568275'), ('4302', '20357221', '1335341714', None, None, None, None, None, '2568275'), ('4302', '20357221', '1335341713', None, None, None, None, None, '2568275'), ('4302', '20357221', '1335341709', None, None, None, None, None, '2568275'), ('4302', '20357221', '1335341708', None, None, None, None, None, '2568275'), ('4302', '20357221', '1335341690', None, None, None, None, None, '2568275'), ('4302', '20357221', '1335341671', None, None, None, None, None, '2568275'), ('4302', '20357221', '1335341668', None, None, None, None, None, '2568275'), ('4302', '20357221', '1335341665', None, None, None, None, None, '2568275'), ('4302', '20357221', '1335341664', None, None, None, None, None, '2568275'), ('4302', '20357221', '1335341661', None, None, None, None, None, '2568275'), ('4302', '20357221', '1335341654', None, None, None, None, None, '2568275'), ('4302', '20357221', '1335341652', None, None, None, None, None, '2568275'), ('4302', '20357221', '1335341646', None, None, None, None, None, '2568275'), ('4302', '20357221', '1335341644', None, None, None, None, None, '2568275'), ('4302', '20357221', '1335341623', None, None, None, None, None, '2568275'), ('4302', '20357221', '1335341619', None, None, None, None, None, '2568275'), ('4302', '20357221', '1335341503', None, None, None, None, None, '2568275'), ('4302', '20357221', '1335341499', None, None, None, None, None, '2568275'), ('4302', '20357221', '1335341498', None, None, None, None, None, '2568275'), ('4302', '20357221', '1335341495', None, None, None, None, None, '2568275'), ('4302', '20357221', '1335341492', None, None, None, None, None, '2568275'), ('4302', '20357221', '1335341489', None, None, None, None, None, '2568275'), ('4302', '20357221', '1335341067', None, None, None, None, None, '2568275'), ('4302', '20357221', '1335336391', None, None, None, None, None, '2568275'), ('4302', '20357221', '1335336388', None, None, None, None, None, '2568275')] time used for this insertion : 0.024619579315185547 save_final save missing photos in datou_result : time spend for datou_step_exec : 2.121914863586426 time spend to save output : 0.02509164810180664 total time spend for step 1 : 2.1470065116882324 step2:final Sat Feb 8 06:05:02 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 (20357221) 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 20357221 : SELECT photo_id, hashtag_id, ratio from MTRPhoto.photo_carac_ratio where hashtag_type = 3726 and photo_id in (1335341067,1335342109,1335342106,1335336391,1335342104,1335342097,1335342092,1335342089,1335342019,1335341954,1335341859,1335341850,1335341847,1335341745,1335341749,1335341730,1335341731,1335341503,1335341499,1335341498,1335341495,1335341492,1335341489,1335341727,1335341728,1335341720,1335341723,1335341713,1335341714,1335341709,1335341708,1335341690,1335341671,1335341668,1335341665,1335341664,1335341661,1335341654,1335336388,1335341652,1335341646,1335341644,1335341623,1335341619,1335344483); After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([20357221]) Inside saveOutput : final : False verbose : True original output for save of step final : {1335344483: ('0.0',), 1335342109: ('0.0',), 1335342106: ('0.0',), 1335342104: ('0.0',), 1335342097: ('0.0',), 1335342092: ('0.0',), 1335342089: ('0.0',), 1335342019: ('0.0',), 1335341954: ('0.0',), 1335341859: ('0.0',), 1335341850: ('0.0',), 1335341847: ('0.0',), 1335341749: ('0.0',), 1335341745: ('0.0',), 1335341731: ('0.0',), 1335341730: ('0.0',), 1335341728: ('0.0',), 1335341727: ('0.0',), 1335341723: ('0.0',), 1335341720: ('0.0',), 1335341714: ('0.0',), 1335341713: ('0.0',), 1335341709: ('0.0',), 1335341708: ('0.0',), 1335341690: ('0.0',), 1335341671: ('0.0',), 1335341668: ('0.0',), 1335341665: ('0.0',), 1335341664: ('0.0',), 1335341661: ('0.0',), 1335341654: ('0.0',), 1335341652: ('0.0',), 1335341646: ('0.0',), 1335341644: ('0.0',), 1335341623: ('0.0',), 1335341619: ('0.0',), 1335341503: ('0.0',), 1335341499: ('0.0',), 1335341498: ('0.0',), 1335341495: ('0.0',), 1335341492: ('0.0',), 1335341489: ('0.0',), 1335341067: ('0.0',), 1335336391: ('0.0',), 1335336388: ('0.0',)} new output for save of step final : {1335344483: ('0.0',), 1335342109: ('0.0',), 1335342106: ('0.0',), 1335342104: ('0.0',), 1335342097: ('0.0',), 1335342092: ('0.0',), 1335342089: ('0.0',), 1335342019: ('0.0',), 1335341954: ('0.0',), 1335341859: ('0.0',), 1335341850: ('0.0',), 1335341847: ('0.0',), 1335341749: ('0.0',), 1335341745: ('0.0',), 1335341731: ('0.0',), 1335341730: ('0.0',), 1335341728: ('0.0',), 1335341727: ('0.0',), 1335341723: ('0.0',), 1335341720: ('0.0',), 1335341714: ('0.0',), 1335341713: ('0.0',), 1335341709: ('0.0',), 1335341708: ('0.0',), 1335341690: ('0.0',), 1335341671: ('0.0',), 1335341668: ('0.0',), 1335341665: ('0.0',), 1335341664: ('0.0',), 1335341661: ('0.0',), 1335341654: ('0.0',), 1335341652: ('0.0',), 1335341646: ('0.0',), 1335341644: ('0.0',), 1335341623: ('0.0',), 1335341619: ('0.0',), 1335341503: ('0.0',), 1335341499: ('0.0',), 1335341498: ('0.0',), 1335341495: ('0.0',), 1335341492: ('0.0',), 1335341489: ('0.0',), 1335341067: ('0.0',), 1335336391: ('0.0',), 1335336388: ('0.0',)} [1335344483, 1335342109, 1335342106, 1335342104, 1335342097, 1335342092, 1335342089, 1335342019, 1335341954, 1335341859, 1335341850, 1335341847, 1335341749, 1335341745, 1335341731, 1335341730, 1335341728, 1335341727, 1335341723, 1335341720, 1335341714, 1335341713, 1335341709, 1335341708, 1335341690, 1335341671, 1335341668, 1335341665, 1335341664, 1335341661, 1335341654, 1335341652, 1335341646, 1335341644, 1335341623, 1335341619, 1335341503, 1335341499, 1335341498, 1335341495, 1335341492, 1335341489, 1335341067, 1335336391, 1335336388] map_info['map_portfolio_photo'] : {20357221: [1335344483, 1335342109, 1335342106, 1335342104, 1335342097, 1335342092, 1335342089, 1335342019, 1335341954, 1335341859, 1335341850, 1335341847, 1335341749, 1335341745, 1335341731, 1335341730, 1335341728, 1335341727, 1335341723, 1335341720, 1335341714, 1335341713, 1335341709, 1335341708, 1335341690, 1335341671, 1335341668, 1335341665, 1335341664, 1335341661, 1335341654, 1335341652, 1335341646, 1335341644, 1335341623, 1335341619, 1335341503, 1335341499, 1335341498, 1335341495, 1335341492, 1335341489, 1335341067, 1335336391, 1335336388]} final : False mtd_id 4302 list_pids : [1335344483, 1335342109, 1335342106, 1335342104, 1335342097, 1335342092, 1335342089, 1335342019, 1335341954, 1335341859, 1335341850, 1335341847, 1335341749, 1335341745, 1335341731, 1335341730, 1335341728, 1335341727, 1335341723, 1335341720, 1335341714, 1335341713, 1335341709, 1335341708, 1335341690, 1335341671, 1335341668, 1335341665, 1335341664, 1335341661, 1335341654, 1335341652, 1335341646, 1335341644, 1335341623, 1335341619, 1335341503, 1335341499, 1335341498, 1335341495, 1335341492, 1335341489, 1335341067, 1335336391, 1335336388] Looping around the photos to save general results len do output : 45 /1335344483.Didn't retrieve data . /1335342109.Didn't retrieve data . /1335342106.Didn't retrieve data . /1335342104.Didn't retrieve data . /1335342097.Didn't retrieve data . /1335342092.Didn't retrieve data . /1335342089.Didn't retrieve data . /1335342019.Didn't retrieve data . /1335341954.Didn't retrieve data . /1335341859.Didn't retrieve data . /1335341850.Didn't retrieve data . /1335341847.Didn't retrieve data . /1335341749.Didn't retrieve data . /1335341745.Didn't retrieve data . /1335341731.Didn't retrieve data . /1335341730.Didn't retrieve data . /1335341728.Didn't retrieve data . /1335341727.Didn't retrieve data . /1335341723.Didn't retrieve data . /1335341720.Didn't retrieve data . /1335341714.Didn't retrieve data . /1335341713.Didn't retrieve data . /1335341709.Didn't retrieve data . /1335341708.Didn't retrieve data . /1335341690.Didn't retrieve data . /1335341671.Didn't retrieve data . /1335341668.Didn't retrieve data . /1335341665.Didn't retrieve data . /1335341664.Didn't retrieve data . /1335341661.Didn't retrieve data . /1335341654.Didn't retrieve data . /1335341652.Didn't retrieve data . /1335341646.Didn't retrieve data . /1335341644.Didn't retrieve data . /1335341623.Didn't retrieve data . /1335341619.Didn't retrieve data . /1335341503.Didn't retrieve data . /1335341499.Didn't retrieve data . /1335341498.Didn't retrieve data . /1335341495.Didn't retrieve data . /1335341492.Didn't retrieve data . /1335341489.Didn't retrieve data . /1335341067.Didn't retrieve data . /1335336391.Didn't retrieve data . /1335336388.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, '2568275') ('4302', '20357221', '1335344483', None, None, None, None, None, '2568275') ('4302', None, None, None, None, None, None, None, '2568275') ('4302', '20357221', '1335342109', None, None, None, None, None, '2568275') ('4302', None, None, None, None, None, None, None, '2568275') ('4302', '20357221', '1335342106', None, None, None, None, None, '2568275') ('4302', None, None, None, None, None, None, None, '2568275') ('4302', '20357221', '1335342104', None, None, None, None, None, '2568275') ('4302', None, None, None, None, None, None, None, '2568275') ('4302', '20357221', '1335342097', None, None, None, None, None, '2568275') ('4302', None, None, None, None, None, None, None, '2568275') ('4302', '20357221', '1335342092', None, None, None, None, None, '2568275') ('4302', None, None, None, None, None, None, None, '2568275') ('4302', '20357221', '1335342089', None, None, None, None, None, '2568275') ('4302', None, None, None, None, None, None, None, '2568275') ('4302', '20357221', '1335342019', None, None, None, None, None, '2568275') ('4302', None, None, None, None, None, None, None, '2568275') ('4302', '20357221', '1335341954', None, None, None, None, None, '2568275') ('4302', None, None, None, None, None, None, None, '2568275') ('4302', '20357221', '1335341859', None, None, None, None, None, '2568275') ('4302', None, None, None, None, None, None, None, '2568275') ('4302', '20357221', '1335341850', None, None, None, None, None, '2568275') ('4302', None, None, None, None, None, None, None, '2568275') ('4302', '20357221', '1335341847', None, None, None, None, None, '2568275') ('4302', None, None, None, None, None, None, None, '2568275') ('4302', '20357221', '1335341749', None, None, None, None, None, '2568275') ('4302', None, None, None, None, None, None, None, '2568275') ('4302', '20357221', '1335341745', None, None, None, None, None, '2568275') ('4302', None, None, None, None, None, None, None, '2568275') ('4302', '20357221', '1335341731', None, None, None, None, None, '2568275') ('4302', None, None, None, None, None, None, None, '2568275') ('4302', '20357221', '1335341730', None, None, None, None, None, '2568275') ('4302', None, None, None, None, None, None, None, '2568275') ('4302', '20357221', '1335341728', None, None, None, None, None, '2568275') ('4302', None, None, None, None, None, None, None, '2568275') ('4302', '20357221', '1335341727', None, None, None, None, None, '2568275') ('4302', None, None, None, None, None, None, None, '2568275') ('4302', '20357221', '1335341723', None, None, None, None, None, '2568275') ('4302', None, None, None, None, None, None, None, '2568275') ('4302', '20357221', '1335341720', None, None, None, None, None, '2568275') ('4302', None, None, None, None, None, None, None, '2568275') ('4302', '20357221', '1335341714', None, None, None, None, None, '2568275') ('4302', None, None, None, None, None, None, None, '2568275') ('4302', '20357221', '1335341713', None, None, None, None, None, '2568275') ('4302', None, None, None, None, None, None, None, '2568275') ('4302', '20357221', '1335341709', None, None, None, None, None, '2568275') ('4302', None, None, None, None, None, None, None, '2568275') ('4302', '20357221', '1335341708', None, None, None, None, None, '2568275') ('4302', None, None, None, None, None, None, None, '2568275') ('4302', '20357221', '1335341690', None, None, None, None, None, '2568275') ('4302', None, None, None, None, None, None, None, '2568275') ('4302', '20357221', '1335341671', None, None, None, None, None, '2568275') ('4302', None, None, None, None, None, None, None, '2568275') ('4302', '20357221', '1335341668', None, None, None, None, None, '2568275') ('4302', None, None, None, None, None, None, None, '2568275') ('4302', '20357221', '1335341665', None, None, None, None, None, '2568275') ('4302', None, None, None, None, None, None, None, '2568275') ('4302', '20357221', '1335341664', None, None, None, None, None, '2568275') ('4302', None, None, None, None, None, None, None, '2568275') ('4302', '20357221', '1335341661', None, None, None, None, None, '2568275') ('4302', None, None, None, None, None, None, None, '2568275') ('4302', '20357221', '1335341654', None, None, None, None, None, '2568275') ('4302', None, None, None, None, None, None, None, '2568275') ('4302', '20357221', '1335341652', None, None, None, None, None, '2568275') ('4302', None, None, None, None, None, None, None, '2568275') ('4302', '20357221', '1335341646', None, None, None, None, None, '2568275') ('4302', None, None, None, None, None, None, None, '2568275') ('4302', '20357221', '1335341644', None, None, None, None, None, '2568275') ('4302', None, None, None, None, None, None, None, '2568275') ('4302', '20357221', '1335341623', None, None, None, None, None, '2568275') ('4302', None, None, None, None, None, None, None, '2568275') ('4302', '20357221', '1335341619', None, None, None, None, None, '2568275') ('4302', None, None, None, None, None, None, None, '2568275') ('4302', '20357221', '1335341503', None, None, None, None, None, '2568275') ('4302', None, None, None, None, None, None, None, '2568275') ('4302', '20357221', '1335341499', None, None, None, None, None, '2568275') ('4302', None, None, None, None, None, None, None, '2568275') ('4302', '20357221', '1335341498', None, None, None, None, None, '2568275') ('4302', None, None, None, None, None, None, None, '2568275') ('4302', '20357221', '1335341495', None, None, None, None, None, '2568275') ('4302', None, None, None, None, None, None, None, '2568275') ('4302', '20357221', '1335341492', None, None, None, None, None, '2568275') ('4302', None, None, None, None, None, None, None, '2568275') ('4302', '20357221', '1335341489', None, None, None, None, None, '2568275') ('4302', None, None, None, None, None, None, None, '2568275') ('4302', '20357221', '1335341067', None, None, None, None, None, '2568275') ('4302', None, None, None, None, None, None, None, '2568275') ('4302', '20357221', '1335336391', None, None, None, None, None, '2568275') ('4302', None, None, None, None, None, None, None, '2568275') ('4302', '20357221', '1335336388', None, None, None, None, None, '2568275') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 135 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', '20357221', '1335344483', '0.0', None, None, None, None, '2568275'), ('4302', '20357221', '1335342109', '0.0', None, None, None, None, '2568275'), ('4302', '20357221', '1335342106', '0.0', None, None, None, None, '2568275'), ('4302', '20357221', '1335342104', '0.0', None, None, None, None, '2568275'), ('4302', '20357221', '1335342097', '0.0', None, None, None, None, '2568275'), ('4302', '20357221', '1335342092', '0.0', None, None, None, None, '2568275'), ('4302', '20357221', '1335342089', '0.0', None, None, None, None, '2568275'), ('4302', '20357221', '1335342019', '0.0', None, None, None, None, '2568275'), ('4302', '20357221', '1335341954', '0.0', None, None, None, None, '2568275'), ('4302', '20357221', '1335341859', '0.0', None, None, None, None, '2568275'), ('4302', '20357221', '1335341850', '0.0', None, None, None, None, '2568275'), ('4302', '20357221', '1335341847', '0.0', None, None, None, None, '2568275'), ('4302', '20357221', '1335341749', '0.0', None, None, None, None, '2568275'), ('4302', '20357221', '1335341745', '0.0', None, None, None, None, '2568275'), ('4302', '20357221', '1335341731', '0.0', None, None, None, None, '2568275'), ('4302', '20357221', '1335341730', '0.0', None, None, None, None, '2568275'), ('4302', '20357221', '1335341728', '0.0', None, None, None, None, '2568275'), ('4302', '20357221', '1335341727', '0.0', None, None, None, None, '2568275'), ('4302', '20357221', '1335341723', '0.0', None, None, None, None, '2568275'), ('4302', '20357221', '1335341720', '0.0', None, None, None, None, '2568275'), ('4302', '20357221', '1335341714', '0.0', None, None, None, None, '2568275'), ('4302', '20357221', '1335341713', '0.0', None, None, None, None, '2568275'), ('4302', '20357221', '1335341709', '0.0', None, None, None, None, '2568275'), ('4302', '20357221', '1335341708', '0.0', None, None, None, None, '2568275'), ('4302', '20357221', '1335341690', '0.0', None, None, None, None, '2568275'), ('4302', '20357221', '1335341671', '0.0', None, None, None, None, '2568275'), ('4302', '20357221', '1335341668', '0.0', None, None, None, None, '2568275'), ('4302', '20357221', '1335341665', '0.0', None, None, None, None, '2568275'), ('4302', '20357221', '1335341664', '0.0', None, None, None, None, '2568275'), ('4302', '20357221', '1335341661', '0.0', None, None, None, None, '2568275'), ('4302', '20357221', '1335341654', '0.0', None, None, None, None, '2568275'), ('4302', '20357221', '1335341652', '0.0', None, None, None, None, '2568275'), ('4302', '20357221', '1335341646', '0.0', None, None, None, None, '2568275'), ('4302', '20357221', '1335341644', '0.0', None, None, None, None, '2568275'), ('4302', '20357221', '1335341623', '0.0', None, None, None, None, '2568275'), ('4302', '20357221', '1335341619', '0.0', None, None, None, None, '2568275'), ('4302', '20357221', '1335341503', '0.0', None, None, None, None, '2568275'), ('4302', '20357221', '1335341499', '0.0', None, None, None, None, '2568275'), ('4302', '20357221', '1335341498', '0.0', None, None, None, None, '2568275'), ('4302', '20357221', '1335341495', '0.0', None, None, None, None, '2568275'), ('4302', '20357221', '1335341492', '0.0', None, None, None, None, '2568275'), ('4302', '20357221', '1335341489', '0.0', None, None, None, None, '2568275'), ('4302', '20357221', '1335341067', '0.0', None, None, None, None, '2568275'), ('4302', '20357221', '1335336391', '0.0', None, None, None, None, '2568275'), ('4302', '20357221', '1335336388', '0.0', None, None, None, None, '2568275')] time used for this insertion : 0.022563695907592773 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.01562952995300293 time spend to save output : 0.02432870864868164 total time spend for step 2 : 0.03995823860168457 step3:velours_tree Sat Feb 8 06:05:02 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 : {20357221: [{'plastique': 20357337, 'environnement': 20357338, 'cartonnette': 20357339, 'Carton_gris': 20357340, 'Carton_brun': 20357341, 'kraft': 20357342, 'papier': 20357343, 'Teint_Dans_La_Masse': 20357344, 'mal_croppe': 20357345, 'autre_refus': 20357346, 'flou': 20357347, 'metal': 20357348}]} input_args_next_step : {20357221: ()} output_args : {20357221: [{'plastique': 20357337, 'environnement': 20357338, 'cartonnette': 20357339, 'Carton_gris': 20357340, 'Carton_brun': 20357341, 'kraft': 20357342, 'papier': 20357343, 'Teint_Dans_La_Masse': 20357344, 'mal_croppe': 20357345, 'autre_refus': 20357346, 'flou': 20357347, 'metal': 20357348}]} args : 20357221 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 : ({'plastique': 20357337, 'environnement': 20357338, 'cartonnette': 20357339, 'Carton_gris': 20357340, 'Carton_brun': 20357341, 'kraft': 20357342, 'papier': 20357343, 'Teint_Dans_La_Masse': 20357344, 'mal_croppe': 20357345, 'autre_refus': 20357346, 'flou': 20357347, 'metal': 20357348},) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (20357221) 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([20357221]) 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.31437039375305176 time spend to save output : 5.6743621826171875e-05 total time spend for step 3 : 0.31442713737487793 step4:send_mail_cod Sat Feb 8 06:05:02 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 : {1335344483: ('0.0',), 1335342109: ('0.0',), 1335342106: ('0.0',), 1335342104: ('0.0',), 1335342097: ('0.0',), 1335342092: ('0.0',), 1335342089: ('0.0',), 1335342019: ('0.0',), 1335341954: ('0.0',), 1335341859: ('0.0',), 1335341850: ('0.0',), 1335341847: ('0.0',), 1335341749: ('0.0',), 1335341745: ('0.0',), 1335341731: ('0.0',), 1335341730: ('0.0',), 1335341728: ('0.0',), 1335341727: ('0.0',), 1335341723: ('0.0',), 1335341720: ('0.0',), 1335341714: ('0.0',), 1335341713: ('0.0',), 1335341709: ('0.0',), 1335341708: ('0.0',), 1335341690: ('0.0',), 1335341671: ('0.0',), 1335341668: ('0.0',), 1335341665: ('0.0',), 1335341664: ('0.0',), 1335341661: ('0.0',), 1335341654: ('0.0',), 1335341652: ('0.0',), 1335341646: ('0.0',), 1335341644: ('0.0',), 1335341623: ('0.0',), 1335341619: ('0.0',), 1335341503: ('0.0',), 1335341499: ('0.0',), 1335341498: ('0.0',), 1335341495: ('0.0',), 1335341492: ('0.0',), 1335341489: ('0.0',), 1335341067: ('0.0',), 1335336391: ('0.0',), 1335336388: ('0.0',)} input_args_next_step : {1335344483: ()} output_args : {1335344483: ('0.0',), 1335342109: ('0.0',), 1335342106: ('0.0',), 1335342104: ('0.0',), 1335342097: ('0.0',), 1335342092: ('0.0',), 1335342089: ('0.0',), 1335342019: ('0.0',), 1335341954: ('0.0',), 1335341859: ('0.0',), 1335341850: ('0.0',), 1335341847: ('0.0',), 1335341749: ('0.0',), 1335341745: ('0.0',), 1335341731: ('0.0',), 1335341730: ('0.0',), 1335341728: ('0.0',), 1335341727: ('0.0',), 1335341723: ('0.0',), 1335341720: ('0.0',), 1335341714: ('0.0',), 1335341713: ('0.0',), 1335341709: ('0.0',), 1335341708: ('0.0',), 1335341690: ('0.0',), 1335341671: ('0.0',), 1335341668: ('0.0',), 1335341665: ('0.0',), 1335341664: ('0.0',), 1335341661: ('0.0',), 1335341654: ('0.0',), 1335341652: ('0.0',), 1335341646: ('0.0',), 1335341644: ('0.0',), 1335341623: ('0.0',), 1335341619: ('0.0',), 1335341503: ('0.0',), 1335341499: ('0.0',), 1335341498: ('0.0',), 1335341495: ('0.0',), 1335341492: ('0.0',), 1335341489: ('0.0',), 1335341067: ('0.0',), 1335336391: ('0.0',), 1335336388: ('0.0',)} args : 1335344483 depend.output_id : 0 input_args_next_step : {1335344483: ('0.0',), 1335342109: ()} output_args : {1335344483: ('0.0',), 1335342109: ('0.0',), 1335342106: ('0.0',), 1335342104: ('0.0',), 1335342097: ('0.0',), 1335342092: ('0.0',), 1335342089: ('0.0',), 1335342019: ('0.0',), 1335341954: ('0.0',), 1335341859: ('0.0',), 1335341850: ('0.0',), 1335341847: ('0.0',), 1335341749: ('0.0',), 1335341745: ('0.0',), 1335341731: ('0.0',), 1335341730: ('0.0',), 1335341728: ('0.0',), 1335341727: ('0.0',), 1335341723: ('0.0',), 1335341720: ('0.0',), 1335341714: ('0.0',), 1335341713: ('0.0',), 1335341709: ('0.0',), 1335341708: ('0.0',), 1335341690: ('0.0',), 1335341671: ('0.0',), 1335341668: ('0.0',), 1335341665: ('0.0',), 1335341664: ('0.0',), 1335341661: ('0.0',), 1335341654: ('0.0',), 1335341652: ('0.0',), 1335341646: ('0.0',), 1335341644: ('0.0',), 1335341623: ('0.0',), 1335341619: ('0.0',), 1335341503: ('0.0',), 1335341499: ('0.0',), 1335341498: ('0.0',), 1335341495: ('0.0',), 1335341492: ('0.0',), 1335341489: ('0.0',), 1335341067: ('0.0',), 1335336391: ('0.0',), 1335336388: ('0.0',)} args : 1335342109 depend.output_id : 0 input_args_next_step : {1335344483: ('0.0',), 1335342109: ('0.0',), 1335342106: ()} output_args : {1335344483: ('0.0',), 1335342109: ('0.0',), 1335342106: ('0.0',), 1335342104: ('0.0',), 1335342097: ('0.0',), 1335342092: ('0.0',), 1335342089: ('0.0',), 1335342019: ('0.0',), 1335341954: ('0.0',), 1335341859: ('0.0',), 1335341850: ('0.0',), 1335341847: ('0.0',), 1335341749: ('0.0',), 1335341745: ('0.0',), 1335341731: ('0.0',), 1335341730: ('0.0',), 1335341728: ('0.0',), 1335341727: ('0.0',), 1335341723: ('0.0',), 1335341720: ('0.0',), 1335341714: ('0.0',), 1335341713: ('0.0',), 1335341709: ('0.0',), 1335341708: ('0.0',), 1335341690: ('0.0',), 1335341671: ('0.0',), 1335341668: ('0.0',), 1335341665: ('0.0',), 1335341664: ('0.0',), 1335341661: ('0.0',), 1335341654: ('0.0',), 1335341652: ('0.0',), 1335341646: ('0.0',), 1335341644: ('0.0',), 1335341623: ('0.0',), 1335341619: ('0.0',), 1335341503: ('0.0',), 1335341499: ('0.0',), 1335341498: ('0.0',), 1335341495: ('0.0',), 1335341492: ('0.0',), 1335341489: ('0.0',), 1335341067: ('0.0',), 1335336391: ('0.0',), 1335336388: ('0.0',)} args : 1335342106 depend.output_id : 0 input_args_next_step : {1335344483: ('0.0',), 1335342109: ('0.0',), 1335342106: ('0.0',), 1335342104: ()} output_args : {1335344483: ('0.0',), 1335342109: ('0.0',), 1335342106: ('0.0',), 1335342104: ('0.0',), 1335342097: ('0.0',), 1335342092: ('0.0',), 1335342089: ('0.0',), 1335342019: ('0.0',), 1335341954: ('0.0',), 1335341859: ('0.0',), 1335341850: ('0.0',), 1335341847: ('0.0',), 1335341749: ('0.0',), 1335341745: ('0.0',), 1335341731: ('0.0',), 1335341730: ('0.0',), 1335341728: ('0.0',), 1335341727: ('0.0',), 1335341723: ('0.0',), 1335341720: ('0.0',), 1335341714: ('0.0',), 1335341713: ('0.0',), 1335341709: ('0.0',), 1335341708: ('0.0',), 1335341690: ('0.0',), 1335341671: ('0.0',), 1335341668: ('0.0',), 1335341665: ('0.0',), 1335341664: ('0.0',), 1335341661: ('0.0',), 1335341654: ('0.0',), 1335341652: ('0.0',), 1335341646: ('0.0',), 1335341644: ('0.0',), 1335341623: ('0.0',), 1335341619: ('0.0',), 1335341503: ('0.0',), 1335341499: ('0.0',), 1335341498: ('0.0',), 1335341495: ('0.0',), 1335341492: ('0.0',), 1335341489: ('0.0',), 1335341067: ('0.0',), 1335336391: ('0.0',), 1335336388: ('0.0',)} args : 1335342104 depend.output_id : 0 input_args_next_step : {1335344483: ('0.0',), 1335342109: ('0.0',), 1335342106: ('0.0',), 1335342104: ('0.0',), 1335342097: ()} output_args : {1335344483: ('0.0',), 1335342109: ('0.0',), 1335342106: ('0.0',), 1335342104: ('0.0',), 1335342097: ('0.0',), 1335342092: ('0.0',), 1335342089: ('0.0',), 1335342019: ('0.0',), 1335341954: ('0.0',), 1335341859: ('0.0',), 1335341850: ('0.0',), 1335341847: ('0.0',), 1335341749: ('0.0',), 1335341745: ('0.0',), 1335341731: ('0.0',), 1335341730: ('0.0',), 1335341728: ('0.0',), 1335341727: ('0.0',), 1335341723: ('0.0',), 1335341720: ('0.0',), 1335341714: ('0.0',), 1335341713: ('0.0',), 1335341709: ('0.0',), 1335341708: ('0.0',), 1335341690: ('0.0',), 1335341671: ('0.0',), 1335341668: ('0.0',), 1335341665: ('0.0',), 1335341664: ('0.0',), 1335341661: ('0.0',), 1335341654: ('0.0',), 1335341652: ('0.0',), 1335341646: ('0.0',), 1335341644: ('0.0',), 1335341623: ('0.0',), 1335341619: ('0.0',), 1335341503: ('0.0',), 1335341499: ('0.0',), 1335341498: ('0.0',), 1335341495: ('0.0',), 1335341492: ('0.0',), 1335341489: ('0.0',), 1335341067: ('0.0',), 1335336391: ('0.0',), 1335336388: ('0.0',)} args : 1335342097 depend.output_id : 0 input_args_next_step : {1335344483: ('0.0',), 1335342109: ('0.0',), 1335342106: ('0.0',), 1335342104: ('0.0',), 1335342097: ('0.0',), 1335342092: ()} output_args : {1335344483: ('0.0',), 1335342109: ('0.0',), 1335342106: ('0.0',), 1335342104: ('0.0',), 1335342097: ('0.0',), 1335342092: ('0.0',), 1335342089: ('0.0',), 1335342019: ('0.0',), 1335341954: ('0.0',), 1335341859: ('0.0',), 1335341850: ('0.0',), 1335341847: ('0.0',), 1335341749: ('0.0',), 1335341745: ('0.0',), 1335341731: ('0.0',), 1335341730: ('0.0',), 1335341728: ('0.0',), 1335341727: ('0.0',), 1335341723: ('0.0',), 1335341720: ('0.0',), 1335341714: ('0.0',), 1335341713: ('0.0',), 1335341709: ('0.0',), 1335341708: ('0.0',), 1335341690: ('0.0',), 1335341671: ('0.0',), 1335341668: ('0.0',), 1335341665: ('0.0',), 1335341664: ('0.0',), 1335341661: ('0.0',), 1335341654: ('0.0',), 1335341652: ('0.0',), 1335341646: ('0.0',), 1335341644: ('0.0',), 1335341623: ('0.0',), 1335341619: ('0.0',), 1335341503: ('0.0',), 1335341499: ('0.0',), 1335341498: ('0.0',), 1335341495: ('0.0',), 1335341492: ('0.0',), 1335341489: ('0.0',), 1335341067: ('0.0',), 1335336391: ('0.0',), 1335336388: ('0.0',)} args : 1335342092 depend.output_id : 0 input_args_next_step : {1335344483: ('0.0',), 1335342109: ('0.0',), 1335342106: ('0.0',), 1335342104: ('0.0',), 1335342097: ('0.0',), 1335342092: ('0.0',), 1335342089: ()} output_args : {1335344483: ('0.0',), 1335342109: ('0.0',), 1335342106: ('0.0',), 1335342104: ('0.0',), 1335342097: ('0.0',), 1335342092: ('0.0',), 1335342089: ('0.0',), 1335342019: ('0.0',), 1335341954: ('0.0',), 1335341859: ('0.0',), 1335341850: ('0.0',), 1335341847: ('0.0',), 1335341749: ('0.0',), 1335341745: ('0.0',), 1335341731: ('0.0',), 1335341730: ('0.0',), 1335341728: ('0.0',), 1335341727: ('0.0',), 1335341723: ('0.0',), 1335341720: ('0.0',), 1335341714: ('0.0',), 1335341713: ('0.0',), 1335341709: ('0.0',), 1335341708: ('0.0',), 1335341690: ('0.0',), 1335341671: ('0.0',), 1335341668: ('0.0',), 1335341665: ('0.0',), 1335341664: ('0.0',), 1335341661: ('0.0',), 1335341654: ('0.0',), 1335341652: ('0.0',), 1335341646: ('0.0',), 1335341644: ('0.0',), 1335341623: ('0.0',), 1335341619: ('0.0',), 1335341503: ('0.0',), 1335341499: ('0.0',), 1335341498: ('0.0',), 1335341495: ('0.0',), 1335341492: ('0.0',), 1335341489: ('0.0',), 1335341067: ('0.0',), 1335336391: ('0.0',), 1335336388: ('0.0',)} args : 1335342089 depend.output_id : 0 input_args_next_step : {1335344483: ('0.0',), 1335342109: ('0.0',), 1335342106: ('0.0',), 1335342104: ('0.0',), 1335342097: ('0.0',), 1335342092: ('0.0',), 1335342089: ('0.0',), 1335342019: ()} output_args : {1335344483: ('0.0',), 1335342109: ('0.0',), 1335342106: ('0.0',), 1335342104: ('0.0',), 1335342097: ('0.0',), 1335342092: ('0.0',), 1335342089: ('0.0',), 1335342019: ('0.0',), 1335341954: ('0.0',), 1335341859: ('0.0',), 1335341850: ('0.0',), 1335341847: ('0.0',), 1335341749: ('0.0',), 1335341745: ('0.0',), 1335341731: ('0.0',), 1335341730: ('0.0',), 1335341728: ('0.0',), 1335341727: ('0.0',), 1335341723: ('0.0',), 1335341720: ('0.0',), 1335341714: ('0.0',), 1335341713: ('0.0',), 1335341709: ('0.0',), 1335341708: ('0.0',), 1335341690: ('0.0',), 1335341671: ('0.0',), 1335341668: ('0.0',), 1335341665: ('0.0',), 1335341664: ('0.0',), 1335341661: ('0.0',), 1335341654: ('0.0',), 1335341652: ('0.0',), 1335341646: ('0.0',), 1335341644: ('0.0',), 1335341623: ('0.0',), 1335341619: ('0.0',), 1335341503: ('0.0',), 1335341499: ('0.0',), 1335341498: ('0.0',), 1335341495: ('0.0',), 1335341492: ('0.0',), 1335341489: ('0.0',), 1335341067: ('0.0',), 1335336391: ('0.0',), 1335336388: ('0.0',)} args : 1335342019 depend.output_id : 0 input_args_next_step : {1335344483: ('0.0',), 1335342109: ('0.0',), 1335342106: ('0.0',), 1335342104: ('0.0',), 1335342097: ('0.0',), 1335342092: ('0.0',), 1335342089: ('0.0',), 1335342019: ('0.0',), 1335341954: ()} output_args : {1335344483: ('0.0',), 1335342109: ('0.0',), 1335342106: ('0.0',), 1335342104: ('0.0',), 1335342097: ('0.0',), 1335342092: ('0.0',), 1335342089: ('0.0',), 1335342019: ('0.0',), 1335341954: ('0.0',), 1335341859: ('0.0',), 1335341850: ('0.0',), 1335341847: ('0.0',), 1335341749: ('0.0',), 1335341745: ('0.0',), 1335341731: ('0.0',), 1335341730: ('0.0',), 1335341728: ('0.0',), 1335341727: ('0.0',), 1335341723: ('0.0',), 1335341720: ('0.0',), 1335341714: ('0.0',), 1335341713: ('0.0',), 1335341709: ('0.0',), 1335341708: ('0.0',), 1335341690: ('0.0',), 1335341671: ('0.0',), 1335341668: ('0.0',), 1335341665: ('0.0',), 1335341664: ('0.0',), 1335341661: ('0.0',), 1335341654: ('0.0',), 1335341652: ('0.0',), 1335341646: ('0.0',), 1335341644: ('0.0',), 1335341623: ('0.0',), 1335341619: ('0.0',), 1335341503: ('0.0',), 1335341499: ('0.0',), 1335341498: ('0.0',), 1335341495: ('0.0',), 1335341492: ('0.0',), 1335341489: ('0.0',), 1335341067: ('0.0',), 1335336391: ('0.0',), 1335336388: ('0.0',)} args : 1335341954 depend.output_id : 0 input_args_next_step : {1335344483: ('0.0',), 1335342109: ('0.0',), 1335342106: ('0.0',), 1335342104: ('0.0',), 1335342097: ('0.0',), 1335342092: ('0.0',), 1335342089: ('0.0',), 1335342019: ('0.0',), 1335341954: ('0.0',), 1335341859: ()} output_args : {1335344483: ('0.0',), 1335342109: ('0.0',), 1335342106: ('0.0',), 1335342104: ('0.0',), 1335342097: ('0.0',), 1335342092: ('0.0',), 1335342089: ('0.0',), 1335342019: ('0.0',), 1335341954: ('0.0',), 1335341859: ('0.0',), 1335341850: ('0.0',), 1335341847: ('0.0',), 1335341749: ('0.0',), 1335341745: ('0.0',), 1335341731: ('0.0',), 1335341730: ('0.0',), 1335341728: ('0.0',), 1335341727: ('0.0',), 1335341723: ('0.0',), 1335341720: ('0.0',), 1335341714: ('0.0',), 1335341713: ('0.0',), 1335341709: ('0.0',), 1335341708: ('0.0',), 1335341690: ('0.0',), 1335341671: ('0.0',), 1335341668: ('0.0',), 1335341665: ('0.0',), 1335341664: ('0.0',), 1335341661: ('0.0',), 1335341654: ('0.0',), 1335341652: ('0.0',), 1335341646: ('0.0',), 1335341644: ('0.0',), 1335341623: ('0.0',), 1335341619: ('0.0',), 1335341503: ('0.0',), 1335341499: ('0.0',), 1335341498: ('0.0',), 1335341495: ('0.0',), 1335341492: ('0.0',), 1335341489: ('0.0',), 1335341067: ('0.0',), 1335336391: ('0.0',), 1335336388: ('0.0',)} args : 1335341859 depend.output_id : 0 input_args_next_step : {1335344483: ('0.0',), 1335342109: ('0.0',), 1335342106: ('0.0',), 1335342104: ('0.0',), 1335342097: ('0.0',), 1335342092: ('0.0',), 1335342089: ('0.0',), 1335342019: ('0.0',), 1335341954: ('0.0',), 1335341859: ('0.0',), 1335341850: ()} output_args : {1335344483: ('0.0',), 1335342109: ('0.0',), 1335342106: ('0.0',), 1335342104: ('0.0',), 1335342097: ('0.0',), 1335342092: ('0.0',), 1335342089: ('0.0',), 1335342019: ('0.0',), 1335341954: ('0.0',), 1335341859: ('0.0',), 1335341850: ('0.0',), 1335341847: ('0.0',), 1335341749: ('0.0',), 1335341745: ('0.0',), 1335341731: ('0.0',), 1335341730: ('0.0',), 1335341728: ('0.0',), 1335341727: ('0.0',), 1335341723: ('0.0',), 1335341720: ('0.0',), 1335341714: ('0.0',), 1335341713: ('0.0',), 1335341709: ('0.0',), 1335341708: ('0.0',), 1335341690: ('0.0',), 1335341671: ('0.0',), 1335341668: ('0.0',), 1335341665: ('0.0',), 1335341664: ('0.0',), 1335341661: ('0.0',), 1335341654: ('0.0',), 1335341652: ('0.0',), 1335341646: ('0.0',), 1335341644: ('0.0',), 1335341623: ('0.0',), 1335341619: ('0.0',), 1335341503: ('0.0',), 1335341499: ('0.0',), 1335341498: ('0.0',), 1335341495: ('0.0',), 1335341492: ('0.0',), 1335341489: ('0.0',), 1335341067: ('0.0',), 1335336391: ('0.0',), 1335336388: ('0.0',)} args : 1335341850 depend.output_id : 0 input_args_next_step : {1335344483: ('0.0',), 1335342109: ('0.0',), 1335342106: ('0.0',), 1335342104: ('0.0',), 1335342097: ('0.0',), 1335342092: ('0.0',), 1335342089: ('0.0',), 1335342019: ('0.0',), 1335341954: ('0.0',), 1335341859: ('0.0',), 1335341850: ('0.0',), 1335341847: ()} output_args : {1335344483: ('0.0',), 1335342109: ('0.0',), 1335342106: ('0.0',), 1335342104: ('0.0',), 1335342097: ('0.0',), 1335342092: ('0.0',), 1335342089: ('0.0',), 1335342019: ('0.0',), 1335341954: ('0.0',), 1335341859: ('0.0',), 1335341850: ('0.0',), 1335341847: ('0.0',), 1335341749: ('0.0',), 1335341745: ('0.0',), 1335341731: ('0.0',), 1335341730: ('0.0',), 1335341728: ('0.0',), 1335341727: ('0.0',), 1335341723: ('0.0',), 1335341720: ('0.0',), 1335341714: ('0.0',), 1335341713: ('0.0',), 1335341709: ('0.0',), 1335341708: ('0.0',), 1335341690: ('0.0',), 1335341671: ('0.0',), 1335341668: ('0.0',), 1335341665: ('0.0',), 1335341664: ('0.0',), 1335341661: ('0.0',), 1335341654: ('0.0',), 1335341652: ('0.0',), 1335341646: ('0.0',), 1335341644: ('0.0',), 1335341623: ('0.0',), 1335341619: ('0.0',), 1335341503: ('0.0',), 1335341499: ('0.0',), 1335341498: ('0.0',), 1335341495: ('0.0',), 1335341492: ('0.0',), 1335341489: ('0.0',), 1335341067: ('0.0',), 1335336391: ('0.0',), 1335336388: ('0.0',)} args : 1335341847 depend.output_id : 0 input_args_next_step : {1335344483: ('0.0',), 1335342109: ('0.0',), 1335342106: ('0.0',), 1335342104: ('0.0',), 1335342097: ('0.0',), 1335342092: ('0.0',), 1335342089: ('0.0',), 1335342019: ('0.0',), 1335341954: ('0.0',), 1335341859: ('0.0',), 1335341850: ('0.0',), 1335341847: ('0.0',), 1335341749: ()} output_args : {1335344483: ('0.0',), 1335342109: ('0.0',), 1335342106: ('0.0',), 1335342104: ('0.0',), 1335342097: ('0.0',), 1335342092: ('0.0',), 1335342089: ('0.0',), 1335342019: ('0.0',), 1335341954: ('0.0',), 1335341859: ('0.0',), 1335341850: ('0.0',), 1335341847: ('0.0',), 1335341749: ('0.0',), 1335341745: ('0.0',), 1335341731: ('0.0',), 1335341730: ('0.0',), 1335341728: ('0.0',), 1335341727: ('0.0',), 1335341723: ('0.0',), 1335341720: ('0.0',), 1335341714: ('0.0',), 1335341713: ('0.0',), 1335341709: ('0.0',), 1335341708: ('0.0',), 1335341690: ('0.0',), 1335341671: ('0.0',), 1335341668: ('0.0',), 1335341665: ('0.0',), 1335341664: ('0.0',), 1335341661: ('0.0',), 1335341654: ('0.0',), 1335341652: ('0.0',), 1335341646: ('0.0',), 1335341644: ('0.0',), 1335341623: ('0.0',), 1335341619: ('0.0',), 1335341503: ('0.0',), 1335341499: ('0.0',), 1335341498: ('0.0',), 1335341495: ('0.0',), 1335341492: ('0.0',), 1335341489: ('0.0',), 1335341067: ('0.0',), 1335336391: ('0.0',), 1335336388: ('0.0',)} args : 1335341749 depend.output_id : 0 input_args_next_step : {1335344483: ('0.0',), 1335342109: ('0.0',), 1335342106: ('0.0',), 1335342104: ('0.0',), 1335342097: ('0.0',), 1335342092: ('0.0',), 1335342089: ('0.0',), 1335342019: ('0.0',), 1335341954: ('0.0',), 1335341859: ('0.0',), 1335341850: ('0.0',), 1335341847: ('0.0',), 1335341749: ('0.0',), 1335341745: ()} output_args : {1335344483: ('0.0',), 1335342109: ('0.0',), 1335342106: ('0.0',), 1335342104: ('0.0',), 1335342097: ('0.0',), 1335342092: ('0.0',), 1335342089: ('0.0',), 1335342019: ('0.0',), 1335341954: ('0.0',), 1335341859: ('0.0',), 1335341850: ('0.0',), 1335341847: ('0.0',), 1335341749: ('0.0',), 1335341745: ('0.0',), 1335341731: ('0.0',), 1335341730: ('0.0',), 1335341728: ('0.0',), 1335341727: ('0.0',), 1335341723: ('0.0',), 1335341720: ('0.0',), 1335341714: ('0.0',), 1335341713: ('0.0',), 1335341709: ('0.0',), 1335341708: ('0.0',), 1335341690: ('0.0',), 1335341671: ('0.0',), 1335341668: ('0.0',), 1335341665: ('0.0',), 1335341664: ('0.0',), 1335341661: ('0.0',), 1335341654: ('0.0',), 1335341652: ('0.0',), 1335341646: ('0.0',), 1335341644: ('0.0',), 1335341623: ('0.0',), 1335341619: ('0.0',), 1335341503: ('0.0',), 1335341499: ('0.0',), 1335341498: ('0.0',), 1335341495: ('0.0',), 1335341492: ('0.0',), 1335341489: ('0.0',), 1335341067: ('0.0',), 1335336391: ('0.0',), 1335336388: ('0.0',)} args : 1335341745 depend.output_id : 0 input_args_next_step : {1335344483: ('0.0',), 1335342109: ('0.0',), 1335342106: ('0.0',), 1335342104: ('0.0',), 1335342097: ('0.0',), 1335342092: ('0.0',), 1335342089: ('0.0',), 1335342019: ('0.0',), 1335341954: ('0.0',), 1335341859: ('0.0',), 1335341850: ('0.0',), 1335341847: ('0.0',), 1335341749: ('0.0',), 1335341745: ('0.0',), 1335341731: ()} output_args : {1335344483: ('0.0',), 1335342109: ('0.0',), 1335342106: ('0.0',), 1335342104: ('0.0',), 1335342097: ('0.0',), 1335342092: ('0.0',), 1335342089: ('0.0',), 1335342019: ('0.0',), 1335341954: ('0.0',), 1335341859: ('0.0',), 1335341850: ('0.0',), 1335341847: ('0.0',), 1335341749: ('0.0',), 1335341745: ('0.0',), 1335341731: ('0.0',), 1335341730: ('0.0',), 1335341728: ('0.0',), 1335341727: ('0.0',), 1335341723: ('0.0',), 1335341720: ('0.0',), 1335341714: ('0.0',), 1335341713: ('0.0',), 1335341709: ('0.0',), 1335341708: ('0.0',), 1335341690: ('0.0',), 1335341671: ('0.0',), 1335341668: ('0.0',), 1335341665: ('0.0',), 1335341664: ('0.0',), 1335341661: ('0.0',), 1335341654: ('0.0',), 1335341652: ('0.0',), 1335341646: ('0.0',), 1335341644: ('0.0',), 1335341623: ('0.0',), 1335341619: ('0.0',), 1335341503: ('0.0',), 1335341499: ('0.0',), 1335341498: ('0.0',), 1335341495: ('0.0',), 1335341492: ('0.0',), 1335341489: ('0.0',), 1335341067: ('0.0',), 1335336391: ('0.0',), 1335336388: ('0.0',)} args : 1335341731 depend.output_id : 0 input_args_next_step : {1335344483: ('0.0',), 1335342109: ('0.0',), 1335342106: ('0.0',), 1335342104: ('0.0',), 1335342097: ('0.0',), 1335342092: ('0.0',), 1335342089: ('0.0',), 1335342019: ('0.0',), 1335341954: ('0.0',), 1335341859: ('0.0',), 1335341850: ('0.0',), 1335341847: ('0.0',), 1335341749: ('0.0',), 1335341745: ('0.0',), 1335341731: ('0.0',), 1335341730: ()} output_args : {1335344483: ('0.0',), 1335342109: ('0.0',), 1335342106: ('0.0',), 1335342104: ('0.0',), 1335342097: ('0.0',), 1335342092: ('0.0',), 1335342089: ('0.0',), 1335342019: ('0.0',), 1335341954: ('0.0',), 1335341859: ('0.0',), 1335341850: ('0.0',), 1335341847: ('0.0',), 1335341749: ('0.0',), 1335341745: ('0.0',), 1335341731: ('0.0',), 1335341730: ('0.0',), 1335341728: ('0.0',), 1335341727: ('0.0',), 1335341723: ('0.0',), 1335341720: ('0.0',), 1335341714: ('0.0',), 1335341713: ('0.0',), 1335341709: ('0.0',), 1335341708: ('0.0',), 1335341690: ('0.0',), 1335341671: ('0.0',), 1335341668: ('0.0',), 1335341665: ('0.0',), 1335341664: ('0.0',), 1335341661: ('0.0',), 1335341654: ('0.0',), 1335341652: ('0.0',), 1335341646: ('0.0',), 1335341644: ('0.0',), 1335341623: ('0.0',), 1335341619: ('0.0',), 1335341503: ('0.0',), 1335341499: ('0.0',), 1335341498: ('0.0',), 1335341495: ('0.0',), 1335341492: ('0.0',), 1335341489: ('0.0',), 1335341067: ('0.0',), 1335336391: ('0.0',), 1335336388: ('0.0',)} args : 1335341730 depend.output_id : 0 input_args_next_step : {1335344483: ('0.0',), 1335342109: ('0.0',), 1335342106: ('0.0',), 1335342104: ('0.0',), 1335342097: ('0.0',), 1335342092: ('0.0',), 1335342089: ('0.0',), 1335342019: ('0.0',), 1335341954: ('0.0',), 1335341859: ('0.0',), 1335341850: ('0.0',), 1335341847: ('0.0',), 1335341749: ('0.0',), 1335341745: ('0.0',), 1335341731: ('0.0',), 1335341730: ('0.0',), 1335341728: ()} output_args : {1335344483: ('0.0',), 1335342109: ('0.0',), 1335342106: ('0.0',), 1335342104: ('0.0',), 1335342097: ('0.0',), 1335342092: ('0.0',), 1335342089: ('0.0',), 1335342019: ('0.0',), 1335341954: ('0.0',), 1335341859: ('0.0',), 1335341850: ('0.0',), 1335341847: ('0.0',), 1335341749: ('0.0',), 1335341745: ('0.0',), 1335341731: ('0.0',), 1335341730: ('0.0',), 1335341728: ('0.0',), 1335341727: ('0.0',), 1335341723: ('0.0',), 1335341720: ('0.0',), 1335341714: ('0.0',), 1335341713: ('0.0',), 1335341709: ('0.0',), 1335341708: ('0.0',), 1335341690: ('0.0',), 1335341671: ('0.0',), 1335341668: ('0.0',), 1335341665: ('0.0',), 1335341664: ('0.0',), 1335341661: ('0.0',), 1335341654: ('0.0',), 1335341652: ('0.0',), 1335341646: ('0.0',), 1335341644: ('0.0',), 1335341623: ('0.0',), 1335341619: ('0.0',), 1335341503: ('0.0',), 1335341499: ('0.0',), 1335341498: ('0.0',), 1335341495: ('0.0',), 1335341492: ('0.0',), 1335341489: ('0.0',), 1335341067: ('0.0',), 1335336391: ('0.0',), 1335336388: ('0.0',)} args : 1335341728 depend.output_id : 0 input_args_next_step : {1335344483: ('0.0',), 1335342109: ('0.0',), 1335342106: ('0.0',), 1335342104: ('0.0',), 1335342097: ('0.0',), 1335342092: ('0.0',), 1335342089: ('0.0',), 1335342019: ('0.0',), 1335341954: ('0.0',), 1335341859: ('0.0',), 1335341850: ('0.0',), 1335341847: ('0.0',), 1335341749: ('0.0',), 1335341745: ('0.0',), 1335341731: ('0.0',), 1335341730: ('0.0',), 1335341728: ('0.0',), 1335341727: ()} output_args : {1335344483: ('0.0',), 1335342109: ('0.0',), 1335342106: ('0.0',), 1335342104: ('0.0',), 1335342097: ('0.0',), 1335342092: ('0.0',), 1335342089: ('0.0',), 1335342019: ('0.0',), 1335341954: ('0.0',), 1335341859: ('0.0',), 1335341850: ('0.0',), 1335341847: ('0.0',), 1335341749: ('0.0',), 1335341745: ('0.0',), 1335341731: ('0.0',), 1335341730: ('0.0',), 1335341728: ('0.0',), 1335341727: ('0.0',), 1335341723: ('0.0',), 1335341720: ('0.0',), 1335341714: ('0.0',), 1335341713: ('0.0',), 1335341709: ('0.0',), 1335341708: ('0.0',), 1335341690: ('0.0',), 1335341671: ('0.0',), 1335341668: ('0.0',), 1335341665: ('0.0',), 1335341664: ('0.0',), 1335341661: ('0.0',), 1335341654: ('0.0',), 1335341652: ('0.0',), 1335341646: ('0.0',), 1335341644: ('0.0',), 1335341623: ('0.0',), 1335341619: ('0.0',), 1335341503: ('0.0',), 1335341499: ('0.0',), 1335341498: ('0.0',), 1335341495: ('0.0',), 1335341492: ('0.0',), 1335341489: ('0.0',), 1335341067: ('0.0',), 1335336391: ('0.0',), 1335336388: ('0.0',)} args : 1335341727 depend.output_id : 0 input_args_next_step : {1335344483: ('0.0',), 1335342109: ('0.0',), 1335342106: ('0.0',), 1335342104: ('0.0',), 1335342097: ('0.0',), 1335342092: ('0.0',), 1335342089: ('0.0',), 1335342019: ('0.0',), 1335341954: ('0.0',), 1335341859: ('0.0',), 1335341850: ('0.0',), 1335341847: ('0.0',), 1335341749: ('0.0',), 1335341745: ('0.0',), 1335341731: ('0.0',), 1335341730: ('0.0',), 1335341728: ('0.0',), 1335341727: ('0.0',), 1335341723: ()} output_args : {1335344483: ('0.0',), 1335342109: ('0.0',), 1335342106: ('0.0',), 1335342104: ('0.0',), 1335342097: ('0.0',), 1335342092: ('0.0',), 1335342089: ('0.0',), 1335342019: ('0.0',), 1335341954: ('0.0',), 1335341859: ('0.0',), 1335341850: ('0.0',), 1335341847: ('0.0',), 1335341749: ('0.0',), 1335341745: ('0.0',), 1335341731: ('0.0',), 1335341730: ('0.0',), 1335341728: ('0.0',), 1335341727: ('0.0',), 1335341723: ('0.0',), 1335341720: ('0.0',), 1335341714: ('0.0',), 1335341713: ('0.0',), 1335341709: ('0.0',), 1335341708: ('0.0',), 1335341690: ('0.0',), 1335341671: ('0.0',), 1335341668: ('0.0',), 1335341665: ('0.0',), 1335341664: ('0.0',), 1335341661: ('0.0',), 1335341654: ('0.0',), 1335341652: ('0.0',), 1335341646: ('0.0',), 1335341644: ('0.0',), 1335341623: ('0.0',), 1335341619: ('0.0',), 1335341503: ('0.0',), 1335341499: ('0.0',), 1335341498: ('0.0',), 1335341495: ('0.0',), 1335341492: ('0.0',), 1335341489: ('0.0',), 1335341067: ('0.0',), 1335336391: ('0.0',), 1335336388: ('0.0',)} args : 1335341723 depend.output_id : 0 input_args_next_step : {1335344483: ('0.0',), 1335342109: ('0.0',), 1335342106: ('0.0',), 1335342104: ('0.0',), 1335342097: ('0.0',), 1335342092: ('0.0',), 1335342089: ('0.0',), 1335342019: ('0.0',), 1335341954: ('0.0',), 1335341859: ('0.0',), 1335341850: ('0.0',), 1335341847: ('0.0',), 1335341749: ('0.0',), 1335341745: ('0.0',), 1335341731: ('0.0',), 1335341730: ('0.0',), 1335341728: ('0.0',), 1335341727: ('0.0',), 1335341723: ('0.0',), 1335341720: ()} output_args : {1335344483: ('0.0',), 1335342109: ('0.0',), 1335342106: ('0.0',), 1335342104: ('0.0',), 1335342097: ('0.0',), 1335342092: ('0.0',), 1335342089: ('0.0',), 1335342019: ('0.0',), 1335341954: ('0.0',), 1335341859: ('0.0',), 1335341850: ('0.0',), 1335341847: ('0.0',), 1335341749: ('0.0',), 1335341745: ('0.0',), 1335341731: ('0.0',), 1335341730: ('0.0',), 1335341728: ('0.0',), 1335341727: ('0.0',), 1335341723: ('0.0',), 1335341720: ('0.0',), 1335341714: ('0.0',), 1335341713: ('0.0',), 1335341709: ('0.0',), 1335341708: ('0.0',), 1335341690: ('0.0',), 1335341671: ('0.0',), 1335341668: ('0.0',), 1335341665: ('0.0',), 1335341664: ('0.0',), 1335341661: ('0.0',), 1335341654: ('0.0',), 1335341652: ('0.0',), 1335341646: ('0.0',), 1335341644: ('0.0',), 1335341623: ('0.0',), 1335341619: ('0.0',), 1335341503: ('0.0',), 1335341499: ('0.0',), 1335341498: ('0.0',), 1335341495: ('0.0',), 1335341492: ('0.0',), 1335341489: ('0.0',), 1335341067: ('0.0',), 1335336391: ('0.0',), 1335336388: ('0.0',)} args : 1335341720 depend.output_id : 0 input_args_next_step : {1335344483: ('0.0',), 1335342109: ('0.0',), 1335342106: ('0.0',), 1335342104: ('0.0',), 1335342097: ('0.0',), 1335342092: ('0.0',), 1335342089: ('0.0',), 1335342019: ('0.0',), 1335341954: ('0.0',), 1335341859: ('0.0',), 1335341850: ('0.0',), 1335341847: ('0.0',), 1335341749: ('0.0',), 1335341745: ('0.0',), 1335341731: ('0.0',), 1335341730: ('0.0',), 1335341728: ('0.0',), 1335341727: ('0.0',), 1335341723: ('0.0',), 1335341720: ('0.0',), 1335341714: ()} output_args : {1335344483: ('0.0',), 1335342109: ('0.0',), 1335342106: ('0.0',), 1335342104: ('0.0',), 1335342097: ('0.0',), 1335342092: ('0.0',), 1335342089: ('0.0',), 1335342019: ('0.0',), 1335341954: ('0.0',), 1335341859: ('0.0',), 1335341850: ('0.0',), 1335341847: ('0.0',), 1335341749: ('0.0',), 1335341745: ('0.0',), 1335341731: ('0.0',), 1335341730: ('0.0',), 1335341728: ('0.0',), 1335341727: ('0.0',), 1335341723: ('0.0',), 1335341720: ('0.0',), 1335341714: ('0.0',), 1335341713: ('0.0',), 1335341709: ('0.0',), 1335341708: ('0.0',), 1335341690: ('0.0',), 1335341671: ('0.0',), 1335341668: ('0.0',), 1335341665: ('0.0',), 1335341664: ('0.0',), 1335341661: ('0.0',), 1335341654: ('0.0',), 1335341652: ('0.0',), 1335341646: ('0.0',), 1335341644: ('0.0',), 1335341623: ('0.0',), 1335341619: ('0.0',), 1335341503: ('0.0',), 1335341499: ('0.0',), 1335341498: ('0.0',), 1335341495: ('0.0',), 1335341492: ('0.0',), 1335341489: ('0.0',), 1335341067: ('0.0',), 1335336391: ('0.0',), 1335336388: ('0.0',)} args : 1335341714 depend.output_id : 0 input_args_next_step : {1335344483: ('0.0',), 1335342109: ('0.0',), 1335342106: ('0.0',), 1335342104: ('0.0',), 1335342097: ('0.0',), 1335342092: ('0.0',), 1335342089: ('0.0',), 1335342019: ('0.0',), 1335341954: ('0.0',), 1335341859: ('0.0',), 1335341850: ('0.0',), 1335341847: ('0.0',), 1335341749: ('0.0',), 1335341745: ('0.0',), 1335341731: ('0.0',), 1335341730: ('0.0',), 1335341728: ('0.0',), 1335341727: ('0.0',), 1335341723: ('0.0',), 1335341720: ('0.0',), 1335341714: ('0.0',), 1335341713: ()} output_args : {1335344483: ('0.0',), 1335342109: ('0.0',), 1335342106: ('0.0',), 1335342104: ('0.0',), 1335342097: ('0.0',), 1335342092: ('0.0',), 1335342089: ('0.0',), 1335342019: ('0.0',), 1335341954: ('0.0',), 1335341859: ('0.0',), 1335341850: ('0.0',), 1335341847: ('0.0',), 1335341749: ('0.0',), 1335341745: ('0.0',), 1335341731: ('0.0',), 1335341730: ('0.0',), 1335341728: ('0.0',), 1335341727: ('0.0',), 1335341723: ('0.0',), 1335341720: ('0.0',), 1335341714: ('0.0',), 1335341713: ('0.0',), 1335341709: ('0.0',), 1335341708: ('0.0',), 1335341690: ('0.0',), 1335341671: ('0.0',), 1335341668: ('0.0',), 1335341665: ('0.0',), 1335341664: ('0.0',), 1335341661: ('0.0',), 1335341654: ('0.0',), 1335341652: ('0.0',), 1335341646: ('0.0',), 1335341644: ('0.0',), 1335341623: ('0.0',), 1335341619: ('0.0',), 1335341503: ('0.0',), 1335341499: ('0.0',), 1335341498: ('0.0',), 1335341495: ('0.0',), 1335341492: ('0.0',), 1335341489: ('0.0',), 1335341067: ('0.0',), 1335336391: ('0.0',), 1335336388: ('0.0',)} args : 1335341713 depend.output_id : 0 input_args_next_step : {1335344483: ('0.0',), 1335342109: ('0.0',), 1335342106: ('0.0',), 1335342104: ('0.0',), 1335342097: ('0.0',), 1335342092: ('0.0',), 1335342089: ('0.0',), 1335342019: ('0.0',), 1335341954: ('0.0',), 1335341859: ('0.0',), 1335341850: ('0.0',), 1335341847: ('0.0',), 1335341749: ('0.0',), 1335341745: ('0.0',), 1335341731: ('0.0',), 1335341730: ('0.0',), 1335341728: ('0.0',), 1335341727: ('0.0',), 1335341723: ('0.0',), 1335341720: ('0.0',), 1335341714: ('0.0',), 1335341713: ('0.0',), 1335341709: ()} output_args : {1335344483: ('0.0',), 1335342109: ('0.0',), 1335342106: ('0.0',), 1335342104: ('0.0',), 1335342097: ('0.0',), 1335342092: ('0.0',), 1335342089: ('0.0',), 1335342019: ('0.0',), 1335341954: ('0.0',), 1335341859: ('0.0',), 1335341850: ('0.0',), 1335341847: ('0.0',), 1335341749: ('0.0',), 1335341745: ('0.0',), 1335341731: ('0.0',), 1335341730: ('0.0',), 1335341728: ('0.0',), 1335341727: ('0.0',), 1335341723: ('0.0',), 1335341720: ('0.0',), 1335341714: ('0.0',), 1335341713: ('0.0',), 1335341709: ('0.0',), 1335341708: ('0.0',), 1335341690: ('0.0',), 1335341671: ('0.0',), 1335341668: ('0.0',), 1335341665: ('0.0',), 1335341664: ('0.0',), 1335341661: ('0.0',), 1335341654: ('0.0',), 1335341652: ('0.0',), 1335341646: ('0.0',), 1335341644: ('0.0',), 1335341623: ('0.0',), 1335341619: ('0.0',), 1335341503: ('0.0',), 1335341499: ('0.0',), 1335341498: ('0.0',), 1335341495: ('0.0',), 1335341492: ('0.0',), 1335341489: ('0.0',), 1335341067: ('0.0',), 1335336391: ('0.0',), 1335336388: ('0.0',)} args : 1335341709 depend.output_id : 0 input_args_next_step : {1335344483: ('0.0',), 1335342109: ('0.0',), 1335342106: ('0.0',), 1335342104: ('0.0',), 1335342097: ('0.0',), 1335342092: ('0.0',), 1335342089: ('0.0',), 1335342019: ('0.0',), 1335341954: ('0.0',), 1335341859: ('0.0',), 1335341850: ('0.0',), 1335341847: ('0.0',), 1335341749: ('0.0',), 1335341745: ('0.0',), 1335341731: ('0.0',), 1335341730: ('0.0',), 1335341728: ('0.0',), 1335341727: ('0.0',), 1335341723: ('0.0',), 1335341720: ('0.0',), 1335341714: ('0.0',), 1335341713: ('0.0',), 1335341709: ('0.0',), 1335341708: ()} output_args : {1335344483: ('0.0',), 1335342109: ('0.0',), 1335342106: ('0.0',), 1335342104: ('0.0',), 1335342097: ('0.0',), 1335342092: ('0.0',), 1335342089: ('0.0',), 1335342019: ('0.0',), 1335341954: ('0.0',), 1335341859: ('0.0',), 1335341850: ('0.0',), 1335341847: ('0.0',), 1335341749: ('0.0',), 1335341745: ('0.0',), 1335341731: ('0.0',), 1335341730: ('0.0',), 1335341728: ('0.0',), 1335341727: ('0.0',), 1335341723: ('0.0',), 1335341720: ('0.0',), 1335341714: ('0.0',), 1335341713: ('0.0',), 1335341709: ('0.0',), 1335341708: ('0.0',), 1335341690: ('0.0',), 1335341671: ('0.0',), 1335341668: ('0.0',), 1335341665: ('0.0',), 1335341664: ('0.0',), 1335341661: ('0.0',), 1335341654: ('0.0',), 1335341652: ('0.0',), 1335341646: ('0.0',), 1335341644: ('0.0',), 1335341623: ('0.0',), 1335341619: ('0.0',), 1335341503: ('0.0',), 1335341499: ('0.0',), 1335341498: ('0.0',), 1335341495: ('0.0',), 1335341492: ('0.0',), 1335341489: ('0.0',), 1335341067: ('0.0',), 1335336391: ('0.0',), 1335336388: ('0.0',)} args : 1335341708 depend.output_id : 0 input_args_next_step : {1335344483: ('0.0',), 1335342109: ('0.0',), 1335342106: ('0.0',), 1335342104: ('0.0',), 1335342097: ('0.0',), 1335342092: ('0.0',), 1335342089: ('0.0',), 1335342019: ('0.0',), 1335341954: ('0.0',), 1335341859: ('0.0',), 1335341850: ('0.0',), 1335341847: ('0.0',), 1335341749: ('0.0',), 1335341745: ('0.0',), 1335341731: ('0.0',), 1335341730: ('0.0',), 1335341728: ('0.0',), 1335341727: ('0.0',), 1335341723: ('0.0',), 1335341720: ('0.0',), 1335341714: ('0.0',), 1335341713: ('0.0',), 1335341709: ('0.0',), 1335341708: ('0.0',), 1335341690: ()} output_args : {1335344483: ('0.0',), 1335342109: ('0.0',), 1335342106: ('0.0',), 1335342104: ('0.0',), 1335342097: ('0.0',), 1335342092: ('0.0',), 1335342089: ('0.0',), 1335342019: ('0.0',), 1335341954: ('0.0',), 1335341859: ('0.0',), 1335341850: ('0.0',), 1335341847: ('0.0',), 1335341749: ('0.0',), 1335341745: ('0.0',), 1335341731: ('0.0',), 1335341730: ('0.0',), 1335341728: ('0.0',), 1335341727: ('0.0',), 1335341723: ('0.0',), 1335341720: ('0.0',), 1335341714: ('0.0',), 1335341713: ('0.0',), 1335341709: ('0.0',), 1335341708: ('0.0',), 1335341690: ('0.0',), 1335341671: ('0.0',), 1335341668: ('0.0',), 1335341665: ('0.0',), 1335341664: ('0.0',), 1335341661: ('0.0',), 1335341654: ('0.0',), 1335341652: ('0.0',), 1335341646: ('0.0',), 1335341644: ('0.0',), 1335341623: ('0.0',), 1335341619: ('0.0',), 1335341503: ('0.0',), 1335341499: ('0.0',), 1335341498: ('0.0',), 1335341495: ('0.0',), 1335341492: ('0.0',), 1335341489: ('0.0',), 1335341067: ('0.0',), 1335336391: ('0.0',), 1335336388: ('0.0',)} args : 1335341690 depend.output_id : 0 input_args_next_step : {1335344483: ('0.0',), 1335342109: ('0.0',), 1335342106: ('0.0',), 1335342104: ('0.0',), 1335342097: ('0.0',), 1335342092: ('0.0',), 1335342089: ('0.0',), 1335342019: ('0.0',), 1335341954: ('0.0',), 1335341859: ('0.0',), 1335341850: ('0.0',), 1335341847: ('0.0',), 1335341749: ('0.0',), 1335341745: ('0.0',), 1335341731: ('0.0',), 1335341730: ('0.0',), 1335341728: ('0.0',), 1335341727: ('0.0',), 1335341723: ('0.0',), 1335341720: ('0.0',), 1335341714: ('0.0',), 1335341713: ('0.0',), 1335341709: ('0.0',), 1335341708: ('0.0',), 1335341690: ('0.0',), 1335341671: ()} output_args : {1335344483: ('0.0',), 1335342109: ('0.0',), 1335342106: ('0.0',), 1335342104: ('0.0',), 1335342097: ('0.0',), 1335342092: ('0.0',), 1335342089: ('0.0',), 1335342019: ('0.0',), 1335341954: ('0.0',), 1335341859: ('0.0',), 1335341850: ('0.0',), 1335341847: ('0.0',), 1335341749: ('0.0',), 1335341745: ('0.0',), 1335341731: ('0.0',), 1335341730: ('0.0',), 1335341728: ('0.0',), 1335341727: ('0.0',), 1335341723: ('0.0',), 1335341720: ('0.0',), 1335341714: ('0.0',), 1335341713: ('0.0',), 1335341709: ('0.0',), 1335341708: ('0.0',), 1335341690: ('0.0',), 1335341671: ('0.0',), 1335341668: ('0.0',), 1335341665: ('0.0',), 1335341664: ('0.0',), 1335341661: ('0.0',), 1335341654: ('0.0',), 1335341652: ('0.0',), 1335341646: ('0.0',), 1335341644: ('0.0',), 1335341623: ('0.0',), 1335341619: ('0.0',), 1335341503: ('0.0',), 1335341499: ('0.0',), 1335341498: ('0.0',), 1335341495: ('0.0',), 1335341492: ('0.0',), 1335341489: ('0.0',), 1335341067: ('0.0',), 1335336391: ('0.0',), 1335336388: ('0.0',)} args : 1335341671 depend.output_id : 0 input_args_next_step : {1335344483: ('0.0',), 1335342109: ('0.0',), 1335342106: ('0.0',), 1335342104: ('0.0',), 1335342097: ('0.0',), 1335342092: ('0.0',), 1335342089: ('0.0',), 1335342019: ('0.0',), 1335341954: ('0.0',), 1335341859: ('0.0',), 1335341850: ('0.0',), 1335341847: ('0.0',), 1335341749: ('0.0',), 1335341745: ('0.0',), 1335341731: ('0.0',), 1335341730: ('0.0',), 1335341728: ('0.0',), 1335341727: ('0.0',), 1335341723: ('0.0',), 1335341720: ('0.0',), 1335341714: ('0.0',), 1335341713: ('0.0',), 1335341709: ('0.0',), 1335341708: ('0.0',), 1335341690: ('0.0',), 1335341671: ('0.0',), 1335341668: ()} output_args : {1335344483: ('0.0',), 1335342109: ('0.0',), 1335342106: ('0.0',), 1335342104: ('0.0',), 1335342097: ('0.0',), 1335342092: ('0.0',), 1335342089: ('0.0',), 1335342019: ('0.0',), 1335341954: ('0.0',), 1335341859: ('0.0',), 1335341850: ('0.0',), 1335341847: ('0.0',), 1335341749: ('0.0',), 1335341745: ('0.0',), 1335341731: ('0.0',), 1335341730: ('0.0',), 1335341728: ('0.0',), 1335341727: ('0.0',), 1335341723: ('0.0',), 1335341720: ('0.0',), 1335341714: ('0.0',), 1335341713: ('0.0',), 1335341709: ('0.0',), 1335341708: ('0.0',), 1335341690: ('0.0',), 1335341671: ('0.0',), 1335341668: ('0.0',), 1335341665: ('0.0',), 1335341664: ('0.0',), 1335341661: ('0.0',), 1335341654: ('0.0',), 1335341652: ('0.0',), 1335341646: ('0.0',), 1335341644: ('0.0',), 1335341623: ('0.0',), 1335341619: ('0.0',), 1335341503: ('0.0',), 1335341499: ('0.0',), 1335341498: ('0.0',), 1335341495: ('0.0',), 1335341492: ('0.0',), 1335341489: ('0.0',), 1335341067: ('0.0',), 1335336391: ('0.0',), 1335336388: ('0.0',)} args : 1335341668 depend.output_id : 0 input_args_next_step : {1335344483: ('0.0',), 1335342109: ('0.0',), 1335342106: ('0.0',), 1335342104: ('0.0',), 1335342097: ('0.0',), 1335342092: ('0.0',), 1335342089: ('0.0',), 1335342019: ('0.0',), 1335341954: ('0.0',), 1335341859: ('0.0',), 1335341850: ('0.0',), 1335341847: ('0.0',), 1335341749: ('0.0',), 1335341745: ('0.0',), 1335341731: ('0.0',), 1335341730: ('0.0',), 1335341728: ('0.0',), 1335341727: ('0.0',), 1335341723: ('0.0',), 1335341720: ('0.0',), 1335341714: ('0.0',), 1335341713: ('0.0',), 1335341709: ('0.0',), 1335341708: ('0.0',), 1335341690: ('0.0',), 1335341671: ('0.0',), 1335341668: ('0.0',), 1335341665: ()} output_args : {1335344483: ('0.0',), 1335342109: ('0.0',), 1335342106: ('0.0',), 1335342104: ('0.0',), 1335342097: ('0.0',), 1335342092: ('0.0',), 1335342089: ('0.0',), 1335342019: ('0.0',), 1335341954: ('0.0',), 1335341859: ('0.0',), 1335341850: ('0.0',), 1335341847: ('0.0',), 1335341749: ('0.0',), 1335341745: ('0.0',), 1335341731: ('0.0',), 1335341730: ('0.0',), 1335341728: ('0.0',), 1335341727: ('0.0',), 1335341723: ('0.0',), 1335341720: ('0.0',), 1335341714: ('0.0',), 1335341713: ('0.0',), 1335341709: ('0.0',), 1335341708: ('0.0',), 1335341690: ('0.0',), 1335341671: ('0.0',), 1335341668: ('0.0',), 1335341665: ('0.0',), 1335341664: ('0.0',), 1335341661: ('0.0',), 1335341654: ('0.0',), 1335341652: ('0.0',), 1335341646: ('0.0',), 1335341644: ('0.0',), 1335341623: ('0.0',), 1335341619: ('0.0',), 1335341503: ('0.0',), 1335341499: ('0.0',), 1335341498: ('0.0',), 1335341495: ('0.0',), 1335341492: ('0.0',), 1335341489: ('0.0',), 1335341067: ('0.0',), 1335336391: ('0.0',), 1335336388: ('0.0',)} args : 1335341665 depend.output_id : 0 input_args_next_step : {1335344483: ('0.0',), 1335342109: ('0.0',), 1335342106: ('0.0',), 1335342104: ('0.0',), 1335342097: ('0.0',), 1335342092: ('0.0',), 1335342089: ('0.0',), 1335342019: ('0.0',), 1335341954: ('0.0',), 1335341859: ('0.0',), 1335341850: ('0.0',), 1335341847: ('0.0',), 1335341749: ('0.0',), 1335341745: ('0.0',), 1335341731: ('0.0',), 1335341730: ('0.0',), 1335341728: ('0.0',), 1335341727: ('0.0',), 1335341723: ('0.0',), 1335341720: ('0.0',), 1335341714: ('0.0',), 1335341713: ('0.0',), 1335341709: ('0.0',), 1335341708: ('0.0',), 1335341690: ('0.0',), 1335341671: ('0.0',), 1335341668: ('0.0',), 1335341665: ('0.0',), 1335341664: ()} output_args : {1335344483: ('0.0',), 1335342109: ('0.0',), 1335342106: ('0.0',), 1335342104: ('0.0',), 1335342097: ('0.0',), 1335342092: ('0.0',), 1335342089: ('0.0',), 1335342019: ('0.0',), 1335341954: ('0.0',), 1335341859: ('0.0',), 1335341850: ('0.0',), 1335341847: ('0.0',), 1335341749: ('0.0',), 1335341745: ('0.0',), 1335341731: ('0.0',), 1335341730: ('0.0',), 1335341728: ('0.0',), 1335341727: ('0.0',), 1335341723: ('0.0',), 1335341720: ('0.0',), 1335341714: ('0.0',), 1335341713: ('0.0',), 1335341709: ('0.0',), 1335341708: ('0.0',), 1335341690: ('0.0',), 1335341671: ('0.0',), 1335341668: ('0.0',), 1335341665: ('0.0',), 1335341664: ('0.0',), 1335341661: ('0.0',), 1335341654: ('0.0',), 1335341652: ('0.0',), 1335341646: ('0.0',), 1335341644: ('0.0',), 1335341623: ('0.0',), 1335341619: ('0.0',), 1335341503: ('0.0',), 1335341499: ('0.0',), 1335341498: ('0.0',), 1335341495: ('0.0',), 1335341492: ('0.0',), 1335341489: ('0.0',), 1335341067: ('0.0',), 1335336391: ('0.0',), 1335336388: ('0.0',)} args : 1335341664 depend.output_id : 0 input_args_next_step : {1335344483: ('0.0',), 1335342109: ('0.0',), 1335342106: ('0.0',), 1335342104: ('0.0',), 1335342097: ('0.0',), 1335342092: ('0.0',), 1335342089: ('0.0',), 1335342019: ('0.0',), 1335341954: ('0.0',), 1335341859: ('0.0',), 1335341850: ('0.0',), 1335341847: ('0.0',), 1335341749: ('0.0',), 1335341745: ('0.0',), 1335341731: ('0.0',), 1335341730: ('0.0',), 1335341728: ('0.0',), 1335341727: ('0.0',), 1335341723: ('0.0',), 1335341720: ('0.0',), 1335341714: ('0.0',), 1335341713: ('0.0',), 1335341709: ('0.0',), 1335341708: ('0.0',), 1335341690: ('0.0',), 1335341671: ('0.0',), 1335341668: ('0.0',), 1335341665: ('0.0',), 1335341664: ('0.0',), 1335341661: ()} output_args : {1335344483: ('0.0',), 1335342109: ('0.0',), 1335342106: ('0.0',), 1335342104: ('0.0',), 1335342097: ('0.0',), 1335342092: ('0.0',), 1335342089: ('0.0',), 1335342019: ('0.0',), 1335341954: ('0.0',), 1335341859: ('0.0',), 1335341850: ('0.0',), 1335341847: ('0.0',), 1335341749: ('0.0',), 1335341745: ('0.0',), 1335341731: ('0.0',), 1335341730: ('0.0',), 1335341728: ('0.0',), 1335341727: ('0.0',), 1335341723: ('0.0',), 1335341720: ('0.0',), 1335341714: ('0.0',), 1335341713: ('0.0',), 1335341709: ('0.0',), 1335341708: ('0.0',), 1335341690: ('0.0',), 1335341671: ('0.0',), 1335341668: ('0.0',), 1335341665: ('0.0',), 1335341664: ('0.0',), 1335341661: ('0.0',), 1335341654: ('0.0',), 1335341652: ('0.0',), 1335341646: ('0.0',), 1335341644: ('0.0',), 1335341623: ('0.0',), 1335341619: ('0.0',), 1335341503: ('0.0',), 1335341499: ('0.0',), 1335341498: ('0.0',), 1335341495: ('0.0',), 1335341492: ('0.0',), 1335341489: ('0.0',), 1335341067: ('0.0',), 1335336391: ('0.0',), 1335336388: ('0.0',)} args : 1335341661 depend.output_id : 0 input_args_next_step : {1335344483: ('0.0',), 1335342109: ('0.0',), 1335342106: ('0.0',), 1335342104: ('0.0',), 1335342097: ('0.0',), 1335342092: ('0.0',), 1335342089: ('0.0',), 1335342019: ('0.0',), 1335341954: ('0.0',), 1335341859: ('0.0',), 1335341850: ('0.0',), 1335341847: ('0.0',), 1335341749: ('0.0',), 1335341745: ('0.0',), 1335341731: ('0.0',), 1335341730: ('0.0',), 1335341728: ('0.0',), 1335341727: ('0.0',), 1335341723: ('0.0',), 1335341720: ('0.0',), 1335341714: ('0.0',), 1335341713: ('0.0',), 1335341709: ('0.0',), 1335341708: ('0.0',), 1335341690: ('0.0',), 1335341671: ('0.0',), 1335341668: ('0.0',), 1335341665: ('0.0',), 1335341664: ('0.0',), 1335341661: ('0.0',), 1335341654: ()} output_args : {1335344483: ('0.0',), 1335342109: ('0.0',), 1335342106: ('0.0',), 1335342104: ('0.0',), 1335342097: ('0.0',), 1335342092: ('0.0',), 1335342089: ('0.0',), 1335342019: ('0.0',), 1335341954: ('0.0',), 1335341859: ('0.0',), 1335341850: ('0.0',), 1335341847: ('0.0',), 1335341749: ('0.0',), 1335341745: ('0.0',), 1335341731: ('0.0',), 1335341730: ('0.0',), 1335341728: ('0.0',), 1335341727: ('0.0',), 1335341723: ('0.0',), 1335341720: ('0.0',), 1335341714: ('0.0',), 1335341713: ('0.0',), 1335341709: ('0.0',), 1335341708: ('0.0',), 1335341690: ('0.0',), 1335341671: ('0.0',), 1335341668: ('0.0',), 1335341665: ('0.0',), 1335341664: ('0.0',), 1335341661: ('0.0',), 1335341654: ('0.0',), 1335341652: ('0.0',), 1335341646: ('0.0',), 1335341644: ('0.0',), 1335341623: ('0.0',), 1335341619: ('0.0',), 1335341503: ('0.0',), 1335341499: ('0.0',), 1335341498: ('0.0',), 1335341495: ('0.0',), 1335341492: ('0.0',), 1335341489: ('0.0',), 1335341067: ('0.0',), 1335336391: ('0.0',), 1335336388: ('0.0',)} args : 1335341654 depend.output_id : 0 input_args_next_step : {1335344483: ('0.0',), 1335342109: ('0.0',), 1335342106: ('0.0',), 1335342104: ('0.0',), 1335342097: ('0.0',), 1335342092: ('0.0',), 1335342089: ('0.0',), 1335342019: ('0.0',), 1335341954: ('0.0',), 1335341859: ('0.0',), 1335341850: ('0.0',), 1335341847: ('0.0',), 1335341749: ('0.0',), 1335341745: ('0.0',), 1335341731: ('0.0',), 1335341730: ('0.0',), 1335341728: ('0.0',), 1335341727: ('0.0',), 1335341723: ('0.0',), 1335341720: ('0.0',), 1335341714: ('0.0',), 1335341713: ('0.0',), 1335341709: ('0.0',), 1335341708: ('0.0',), 1335341690: ('0.0',), 1335341671: ('0.0',), 1335341668: ('0.0',), 1335341665: ('0.0',), 1335341664: ('0.0',), 1335341661: ('0.0',), 1335341654: ('0.0',), 1335341652: ()} output_args : {1335344483: ('0.0',), 1335342109: ('0.0',), 1335342106: ('0.0',), 1335342104: ('0.0',), 1335342097: ('0.0',), 1335342092: ('0.0',), 1335342089: ('0.0',), 1335342019: ('0.0',), 1335341954: ('0.0',), 1335341859: ('0.0',), 1335341850: ('0.0',), 1335341847: ('0.0',), 1335341749: ('0.0',), 1335341745: ('0.0',), 1335341731: ('0.0',), 1335341730: ('0.0',), 1335341728: ('0.0',), 1335341727: ('0.0',), 1335341723: ('0.0',), 1335341720: ('0.0',), 1335341714: ('0.0',), 1335341713: ('0.0',), 1335341709: ('0.0',), 1335341708: ('0.0',), 1335341690: ('0.0',), 1335341671: ('0.0',), 1335341668: ('0.0',), 1335341665: ('0.0',), 1335341664: ('0.0',), 1335341661: ('0.0',), 1335341654: ('0.0',), 1335341652: ('0.0',), 1335341646: ('0.0',), 1335341644: ('0.0',), 1335341623: ('0.0',), 1335341619: ('0.0',), 1335341503: ('0.0',), 1335341499: ('0.0',), 1335341498: ('0.0',), 1335341495: ('0.0',), 1335341492: ('0.0',), 1335341489: ('0.0',), 1335341067: ('0.0',), 1335336391: ('0.0',), 1335336388: ('0.0',)} args : 1335341652 depend.output_id : 0 input_args_next_step : {1335344483: ('0.0',), 1335342109: ('0.0',), 1335342106: ('0.0',), 1335342104: ('0.0',), 1335342097: ('0.0',), 1335342092: ('0.0',), 1335342089: ('0.0',), 1335342019: ('0.0',), 1335341954: ('0.0',), 1335341859: ('0.0',), 1335341850: ('0.0',), 1335341847: ('0.0',), 1335341749: ('0.0',), 1335341745: ('0.0',), 1335341731: ('0.0',), 1335341730: ('0.0',), 1335341728: ('0.0',), 1335341727: ('0.0',), 1335341723: ('0.0',), 1335341720: ('0.0',), 1335341714: ('0.0',), 1335341713: ('0.0',), 1335341709: ('0.0',), 1335341708: ('0.0',), 1335341690: ('0.0',), 1335341671: ('0.0',), 1335341668: ('0.0',), 1335341665: ('0.0',), 1335341664: ('0.0',), 1335341661: ('0.0',), 1335341654: ('0.0',), 1335341652: ('0.0',), 1335341646: ()} output_args : {1335344483: ('0.0',), 1335342109: ('0.0',), 1335342106: ('0.0',), 1335342104: ('0.0',), 1335342097: ('0.0',), 1335342092: ('0.0',), 1335342089: ('0.0',), 1335342019: ('0.0',), 1335341954: ('0.0',), 1335341859: ('0.0',), 1335341850: ('0.0',), 1335341847: ('0.0',), 1335341749: ('0.0',), 1335341745: ('0.0',), 1335341731: ('0.0',), 1335341730: ('0.0',), 1335341728: ('0.0',), 1335341727: ('0.0',), 1335341723: ('0.0',), 1335341720: ('0.0',), 1335341714: ('0.0',), 1335341713: ('0.0',), 1335341709: ('0.0',), 1335341708: ('0.0',), 1335341690: ('0.0',), 1335341671: ('0.0',), 1335341668: ('0.0',), 1335341665: ('0.0',), 1335341664: ('0.0',), 1335341661: ('0.0',), 1335341654: ('0.0',), 1335341652: ('0.0',), 1335341646: ('0.0',), 1335341644: ('0.0',), 1335341623: ('0.0',), 1335341619: ('0.0',), 1335341503: ('0.0',), 1335341499: ('0.0',), 1335341498: ('0.0',), 1335341495: ('0.0',), 1335341492: ('0.0',), 1335341489: ('0.0',), 1335341067: ('0.0',), 1335336391: ('0.0',), 1335336388: ('0.0',)} args : 1335341646 depend.output_id : 0 input_args_next_step : {1335344483: ('0.0',), 1335342109: ('0.0',), 1335342106: ('0.0',), 1335342104: ('0.0',), 1335342097: ('0.0',), 1335342092: ('0.0',), 1335342089: ('0.0',), 1335342019: ('0.0',), 1335341954: ('0.0',), 1335341859: ('0.0',), 1335341850: ('0.0',), 1335341847: ('0.0',), 1335341749: ('0.0',), 1335341745: ('0.0',), 1335341731: ('0.0',), 1335341730: ('0.0',), 1335341728: ('0.0',), 1335341727: ('0.0',), 1335341723: ('0.0',), 1335341720: ('0.0',), 1335341714: ('0.0',), 1335341713: ('0.0',), 1335341709: ('0.0',), 1335341708: ('0.0',), 1335341690: ('0.0',), 1335341671: ('0.0',), 1335341668: ('0.0',), 1335341665: ('0.0',), 1335341664: ('0.0',), 1335341661: ('0.0',), 1335341654: ('0.0',), 1335341652: ('0.0',), 1335341646: ('0.0',), 1335341644: ()} output_args : {1335344483: ('0.0',), 1335342109: ('0.0',), 1335342106: ('0.0',), 1335342104: ('0.0',), 1335342097: ('0.0',), 1335342092: ('0.0',), 1335342089: ('0.0',), 1335342019: ('0.0',), 1335341954: ('0.0',), 1335341859: ('0.0',), 1335341850: ('0.0',), 1335341847: ('0.0',), 1335341749: ('0.0',), 1335341745: ('0.0',), 1335341731: ('0.0',), 1335341730: ('0.0',), 1335341728: ('0.0',), 1335341727: ('0.0',), 1335341723: ('0.0',), 1335341720: ('0.0',), 1335341714: ('0.0',), 1335341713: ('0.0',), 1335341709: ('0.0',), 1335341708: ('0.0',), 1335341690: ('0.0',), 1335341671: ('0.0',), 1335341668: ('0.0',), 1335341665: ('0.0',), 1335341664: ('0.0',), 1335341661: ('0.0',), 1335341654: ('0.0',), 1335341652: ('0.0',), 1335341646: ('0.0',), 1335341644: ('0.0',), 1335341623: ('0.0',), 1335341619: ('0.0',), 1335341503: ('0.0',), 1335341499: ('0.0',), 1335341498: ('0.0',), 1335341495: ('0.0',), 1335341492: ('0.0',), 1335341489: ('0.0',), 1335341067: ('0.0',), 1335336391: ('0.0',), 1335336388: ('0.0',)} args : 1335341644 depend.output_id : 0 input_args_next_step : {1335344483: ('0.0',), 1335342109: ('0.0',), 1335342106: ('0.0',), 1335342104: ('0.0',), 1335342097: ('0.0',), 1335342092: ('0.0',), 1335342089: ('0.0',), 1335342019: ('0.0',), 1335341954: ('0.0',), 1335341859: ('0.0',), 1335341850: ('0.0',), 1335341847: ('0.0',), 1335341749: ('0.0',), 1335341745: ('0.0',), 1335341731: ('0.0',), 1335341730: ('0.0',), 1335341728: ('0.0',), 1335341727: ('0.0',), 1335341723: ('0.0',), 1335341720: ('0.0',), 1335341714: ('0.0',), 1335341713: ('0.0',), 1335341709: ('0.0',), 1335341708: ('0.0',), 1335341690: ('0.0',), 1335341671: ('0.0',), 1335341668: ('0.0',), 1335341665: ('0.0',), 1335341664: ('0.0',), 1335341661: ('0.0',), 1335341654: ('0.0',), 1335341652: ('0.0',), 1335341646: ('0.0',), 1335341644: ('0.0',), 1335341623: ()} output_args : {1335344483: ('0.0',), 1335342109: ('0.0',), 1335342106: ('0.0',), 1335342104: ('0.0',), 1335342097: ('0.0',), 1335342092: ('0.0',), 1335342089: ('0.0',), 1335342019: ('0.0',), 1335341954: ('0.0',), 1335341859: ('0.0',), 1335341850: ('0.0',), 1335341847: ('0.0',), 1335341749: ('0.0',), 1335341745: ('0.0',), 1335341731: ('0.0',), 1335341730: ('0.0',), 1335341728: ('0.0',), 1335341727: ('0.0',), 1335341723: ('0.0',), 1335341720: ('0.0',), 1335341714: ('0.0',), 1335341713: ('0.0',), 1335341709: ('0.0',), 1335341708: ('0.0',), 1335341690: ('0.0',), 1335341671: ('0.0',), 1335341668: ('0.0',), 1335341665: ('0.0',), 1335341664: ('0.0',), 1335341661: ('0.0',), 1335341654: ('0.0',), 1335341652: ('0.0',), 1335341646: ('0.0',), 1335341644: ('0.0',), 1335341623: ('0.0',), 1335341619: ('0.0',), 1335341503: ('0.0',), 1335341499: ('0.0',), 1335341498: ('0.0',), 1335341495: ('0.0',), 1335341492: ('0.0',), 1335341489: ('0.0',), 1335341067: ('0.0',), 1335336391: ('0.0',), 1335336388: ('0.0',)} args : 1335341623 depend.output_id : 0 input_args_next_step : {1335344483: ('0.0',), 1335342109: ('0.0',), 1335342106: ('0.0',), 1335342104: ('0.0',), 1335342097: ('0.0',), 1335342092: ('0.0',), 1335342089: ('0.0',), 1335342019: ('0.0',), 1335341954: ('0.0',), 1335341859: ('0.0',), 1335341850: ('0.0',), 1335341847: ('0.0',), 1335341749: ('0.0',), 1335341745: ('0.0',), 1335341731: ('0.0',), 1335341730: ('0.0',), 1335341728: ('0.0',), 1335341727: ('0.0',), 1335341723: ('0.0',), 1335341720: ('0.0',), 1335341714: ('0.0',), 1335341713: ('0.0',), 1335341709: ('0.0',), 1335341708: ('0.0',), 1335341690: ('0.0',), 1335341671: ('0.0',), 1335341668: ('0.0',), 1335341665: ('0.0',), 1335341664: ('0.0',), 1335341661: ('0.0',), 1335341654: ('0.0',), 1335341652: ('0.0',), 1335341646: ('0.0',), 1335341644: ('0.0',), 1335341623: ('0.0',), 1335341619: ()} output_args : {1335344483: ('0.0',), 1335342109: ('0.0',), 1335342106: ('0.0',), 1335342104: ('0.0',), 1335342097: ('0.0',), 1335342092: ('0.0',), 1335342089: ('0.0',), 1335342019: ('0.0',), 1335341954: ('0.0',), 1335341859: ('0.0',), 1335341850: ('0.0',), 1335341847: ('0.0',), 1335341749: ('0.0',), 1335341745: ('0.0',), 1335341731: ('0.0',), 1335341730: ('0.0',), 1335341728: ('0.0',), 1335341727: ('0.0',), 1335341723: ('0.0',), 1335341720: ('0.0',), 1335341714: ('0.0',), 1335341713: ('0.0',), 1335341709: ('0.0',), 1335341708: ('0.0',), 1335341690: ('0.0',), 1335341671: ('0.0',), 1335341668: ('0.0',), 1335341665: ('0.0',), 1335341664: ('0.0',), 1335341661: ('0.0',), 1335341654: ('0.0',), 1335341652: ('0.0',), 1335341646: ('0.0',), 1335341644: ('0.0',), 1335341623: ('0.0',), 1335341619: ('0.0',), 1335341503: ('0.0',), 1335341499: ('0.0',), 1335341498: ('0.0',), 1335341495: ('0.0',), 1335341492: ('0.0',), 1335341489: ('0.0',), 1335341067: ('0.0',), 1335336391: ('0.0',), 1335336388: ('0.0',)} args : 1335341619 depend.output_id : 0 input_args_next_step : {1335344483: ('0.0',), 1335342109: ('0.0',), 1335342106: ('0.0',), 1335342104: ('0.0',), 1335342097: ('0.0',), 1335342092: ('0.0',), 1335342089: ('0.0',), 1335342019: ('0.0',), 1335341954: ('0.0',), 1335341859: ('0.0',), 1335341850: ('0.0',), 1335341847: ('0.0',), 1335341749: ('0.0',), 1335341745: ('0.0',), 1335341731: ('0.0',), 1335341730: ('0.0',), 1335341728: ('0.0',), 1335341727: ('0.0',), 1335341723: ('0.0',), 1335341720: ('0.0',), 1335341714: ('0.0',), 1335341713: ('0.0',), 1335341709: ('0.0',), 1335341708: ('0.0',), 1335341690: ('0.0',), 1335341671: ('0.0',), 1335341668: ('0.0',), 1335341665: ('0.0',), 1335341664: ('0.0',), 1335341661: ('0.0',), 1335341654: ('0.0',), 1335341652: ('0.0',), 1335341646: ('0.0',), 1335341644: ('0.0',), 1335341623: ('0.0',), 1335341619: ('0.0',), 1335341503: ()} output_args : {1335344483: ('0.0',), 1335342109: ('0.0',), 1335342106: ('0.0',), 1335342104: ('0.0',), 1335342097: ('0.0',), 1335342092: ('0.0',), 1335342089: ('0.0',), 1335342019: ('0.0',), 1335341954: ('0.0',), 1335341859: ('0.0',), 1335341850: ('0.0',), 1335341847: ('0.0',), 1335341749: ('0.0',), 1335341745: ('0.0',), 1335341731: ('0.0',), 1335341730: ('0.0',), 1335341728: ('0.0',), 1335341727: ('0.0',), 1335341723: ('0.0',), 1335341720: ('0.0',), 1335341714: ('0.0',), 1335341713: ('0.0',), 1335341709: ('0.0',), 1335341708: ('0.0',), 1335341690: ('0.0',), 1335341671: ('0.0',), 1335341668: ('0.0',), 1335341665: ('0.0',), 1335341664: ('0.0',), 1335341661: ('0.0',), 1335341654: ('0.0',), 1335341652: ('0.0',), 1335341646: ('0.0',), 1335341644: ('0.0',), 1335341623: ('0.0',), 1335341619: ('0.0',), 1335341503: ('0.0',), 1335341499: ('0.0',), 1335341498: ('0.0',), 1335341495: ('0.0',), 1335341492: ('0.0',), 1335341489: ('0.0',), 1335341067: ('0.0',), 1335336391: ('0.0',), 1335336388: ('0.0',)} args : 1335341503 depend.output_id : 0 input_args_next_step : {1335344483: ('0.0',), 1335342109: ('0.0',), 1335342106: ('0.0',), 1335342104: ('0.0',), 1335342097: ('0.0',), 1335342092: ('0.0',), 1335342089: ('0.0',), 1335342019: ('0.0',), 1335341954: ('0.0',), 1335341859: ('0.0',), 1335341850: ('0.0',), 1335341847: ('0.0',), 1335341749: ('0.0',), 1335341745: ('0.0',), 1335341731: ('0.0',), 1335341730: ('0.0',), 1335341728: ('0.0',), 1335341727: ('0.0',), 1335341723: ('0.0',), 1335341720: ('0.0',), 1335341714: ('0.0',), 1335341713: ('0.0',), 1335341709: ('0.0',), 1335341708: ('0.0',), 1335341690: ('0.0',), 1335341671: ('0.0',), 1335341668: ('0.0',), 1335341665: ('0.0',), 1335341664: ('0.0',), 1335341661: ('0.0',), 1335341654: ('0.0',), 1335341652: ('0.0',), 1335341646: ('0.0',), 1335341644: ('0.0',), 1335341623: ('0.0',), 1335341619: ('0.0',), 1335341503: ('0.0',), 1335341499: ()} output_args : {1335344483: ('0.0',), 1335342109: ('0.0',), 1335342106: ('0.0',), 1335342104: ('0.0',), 1335342097: ('0.0',), 1335342092: ('0.0',), 1335342089: ('0.0',), 1335342019: ('0.0',), 1335341954: ('0.0',), 1335341859: ('0.0',), 1335341850: ('0.0',), 1335341847: ('0.0',), 1335341749: ('0.0',), 1335341745: ('0.0',), 1335341731: ('0.0',), 1335341730: ('0.0',), 1335341728: ('0.0',), 1335341727: ('0.0',), 1335341723: ('0.0',), 1335341720: ('0.0',), 1335341714: ('0.0',), 1335341713: ('0.0',), 1335341709: ('0.0',), 1335341708: ('0.0',), 1335341690: ('0.0',), 1335341671: ('0.0',), 1335341668: ('0.0',), 1335341665: ('0.0',), 1335341664: ('0.0',), 1335341661: ('0.0',), 1335341654: ('0.0',), 1335341652: ('0.0',), 1335341646: ('0.0',), 1335341644: ('0.0',), 1335341623: ('0.0',), 1335341619: ('0.0',), 1335341503: ('0.0',), 1335341499: ('0.0',), 1335341498: ('0.0',), 1335341495: ('0.0',), 1335341492: ('0.0',), 1335341489: ('0.0',), 1335341067: ('0.0',), 1335336391: ('0.0',), 1335336388: ('0.0',)} args : 1335341499 depend.output_id : 0 input_args_next_step : {1335344483: ('0.0',), 1335342109: ('0.0',), 1335342106: ('0.0',), 1335342104: ('0.0',), 1335342097: ('0.0',), 1335342092: ('0.0',), 1335342089: ('0.0',), 1335342019: ('0.0',), 1335341954: ('0.0',), 1335341859: ('0.0',), 1335341850: ('0.0',), 1335341847: ('0.0',), 1335341749: ('0.0',), 1335341745: ('0.0',), 1335341731: ('0.0',), 1335341730: ('0.0',), 1335341728: ('0.0',), 1335341727: ('0.0',), 1335341723: ('0.0',), 1335341720: ('0.0',), 1335341714: ('0.0',), 1335341713: ('0.0',), 1335341709: ('0.0',), 1335341708: ('0.0',), 1335341690: ('0.0',), 1335341671: ('0.0',), 1335341668: ('0.0',), 1335341665: ('0.0',), 1335341664: ('0.0',), 1335341661: ('0.0',), 1335341654: ('0.0',), 1335341652: ('0.0',), 1335341646: ('0.0',), 1335341644: ('0.0',), 1335341623: ('0.0',), 1335341619: ('0.0',), 1335341503: ('0.0',), 1335341499: ('0.0',), 1335341498: ()} output_args : {1335344483: ('0.0',), 1335342109: ('0.0',), 1335342106: ('0.0',), 1335342104: ('0.0',), 1335342097: ('0.0',), 1335342092: ('0.0',), 1335342089: ('0.0',), 1335342019: ('0.0',), 1335341954: ('0.0',), 1335341859: ('0.0',), 1335341850: ('0.0',), 1335341847: ('0.0',), 1335341749: ('0.0',), 1335341745: ('0.0',), 1335341731: ('0.0',), 1335341730: ('0.0',), 1335341728: ('0.0',), 1335341727: ('0.0',), 1335341723: ('0.0',), 1335341720: ('0.0',), 1335341714: ('0.0',), 1335341713: ('0.0',), 1335341709: ('0.0',), 1335341708: ('0.0',), 1335341690: ('0.0',), 1335341671: ('0.0',), 1335341668: ('0.0',), 1335341665: ('0.0',), 1335341664: ('0.0',), 1335341661: ('0.0',), 1335341654: ('0.0',), 1335341652: ('0.0',), 1335341646: ('0.0',), 1335341644: ('0.0',), 1335341623: ('0.0',), 1335341619: ('0.0',), 1335341503: ('0.0',), 1335341499: ('0.0',), 1335341498: ('0.0',), 1335341495: ('0.0',), 1335341492: ('0.0',), 1335341489: ('0.0',), 1335341067: ('0.0',), 1335336391: ('0.0',), 1335336388: ('0.0',)} args : 1335341498 depend.output_id : 0 input_args_next_step : {1335344483: ('0.0',), 1335342109: ('0.0',), 1335342106: ('0.0',), 1335342104: ('0.0',), 1335342097: ('0.0',), 1335342092: ('0.0',), 1335342089: ('0.0',), 1335342019: ('0.0',), 1335341954: ('0.0',), 1335341859: ('0.0',), 1335341850: ('0.0',), 1335341847: ('0.0',), 1335341749: ('0.0',), 1335341745: ('0.0',), 1335341731: ('0.0',), 1335341730: ('0.0',), 1335341728: ('0.0',), 1335341727: ('0.0',), 1335341723: ('0.0',), 1335341720: ('0.0',), 1335341714: ('0.0',), 1335341713: ('0.0',), 1335341709: ('0.0',), 1335341708: ('0.0',), 1335341690: ('0.0',), 1335341671: ('0.0',), 1335341668: ('0.0',), 1335341665: ('0.0',), 1335341664: ('0.0',), 1335341661: ('0.0',), 1335341654: ('0.0',), 1335341652: ('0.0',), 1335341646: ('0.0',), 1335341644: ('0.0',), 1335341623: ('0.0',), 1335341619: ('0.0',), 1335341503: ('0.0',), 1335341499: ('0.0',), 1335341498: ('0.0',), 1335341495: ()} output_args : {1335344483: ('0.0',), 1335342109: ('0.0',), 1335342106: ('0.0',), 1335342104: ('0.0',), 1335342097: ('0.0',), 1335342092: ('0.0',), 1335342089: ('0.0',), 1335342019: ('0.0',), 1335341954: ('0.0',), 1335341859: ('0.0',), 1335341850: ('0.0',), 1335341847: ('0.0',), 1335341749: ('0.0',), 1335341745: ('0.0',), 1335341731: ('0.0',), 1335341730: ('0.0',), 1335341728: ('0.0',), 1335341727: ('0.0',), 1335341723: ('0.0',), 1335341720: ('0.0',), 1335341714: ('0.0',), 1335341713: ('0.0',), 1335341709: ('0.0',), 1335341708: ('0.0',), 1335341690: ('0.0',), 1335341671: ('0.0',), 1335341668: ('0.0',), 1335341665: ('0.0',), 1335341664: ('0.0',), 1335341661: ('0.0',), 1335341654: ('0.0',), 1335341652: ('0.0',), 1335341646: ('0.0',), 1335341644: ('0.0',), 1335341623: ('0.0',), 1335341619: ('0.0',), 1335341503: ('0.0',), 1335341499: ('0.0',), 1335341498: ('0.0',), 1335341495: ('0.0',), 1335341492: ('0.0',), 1335341489: ('0.0',), 1335341067: ('0.0',), 1335336391: ('0.0',), 1335336388: ('0.0',)} args : 1335341495 depend.output_id : 0 input_args_next_step : {1335344483: ('0.0',), 1335342109: ('0.0',), 1335342106: ('0.0',), 1335342104: ('0.0',), 1335342097: ('0.0',), 1335342092: ('0.0',), 1335342089: ('0.0',), 1335342019: ('0.0',), 1335341954: ('0.0',), 1335341859: ('0.0',), 1335341850: ('0.0',), 1335341847: ('0.0',), 1335341749: ('0.0',), 1335341745: ('0.0',), 1335341731: ('0.0',), 1335341730: ('0.0',), 1335341728: ('0.0',), 1335341727: ('0.0',), 1335341723: ('0.0',), 1335341720: ('0.0',), 1335341714: ('0.0',), 1335341713: ('0.0',), 1335341709: ('0.0',), 1335341708: ('0.0',), 1335341690: ('0.0',), 1335341671: ('0.0',), 1335341668: ('0.0',), 1335341665: ('0.0',), 1335341664: ('0.0',), 1335341661: ('0.0',), 1335341654: ('0.0',), 1335341652: ('0.0',), 1335341646: ('0.0',), 1335341644: ('0.0',), 1335341623: ('0.0',), 1335341619: ('0.0',), 1335341503: ('0.0',), 1335341499: ('0.0',), 1335341498: ('0.0',), 1335341495: ('0.0',), 1335341492: ()} output_args : {1335344483: ('0.0',), 1335342109: ('0.0',), 1335342106: ('0.0',), 1335342104: ('0.0',), 1335342097: ('0.0',), 1335342092: ('0.0',), 1335342089: ('0.0',), 1335342019: ('0.0',), 1335341954: ('0.0',), 1335341859: ('0.0',), 1335341850: ('0.0',), 1335341847: ('0.0',), 1335341749: ('0.0',), 1335341745: ('0.0',), 1335341731: ('0.0',), 1335341730: ('0.0',), 1335341728: ('0.0',), 1335341727: ('0.0',), 1335341723: ('0.0',), 1335341720: ('0.0',), 1335341714: ('0.0',), 1335341713: ('0.0',), 1335341709: ('0.0',), 1335341708: ('0.0',), 1335341690: ('0.0',), 1335341671: ('0.0',), 1335341668: ('0.0',), 1335341665: ('0.0',), 1335341664: ('0.0',), 1335341661: ('0.0',), 1335341654: ('0.0',), 1335341652: ('0.0',), 1335341646: ('0.0',), 1335341644: ('0.0',), 1335341623: ('0.0',), 1335341619: ('0.0',), 1335341503: ('0.0',), 1335341499: ('0.0',), 1335341498: ('0.0',), 1335341495: ('0.0',), 1335341492: ('0.0',), 1335341489: ('0.0',), 1335341067: ('0.0',), 1335336391: ('0.0',), 1335336388: ('0.0',)} args : 1335341492 depend.output_id : 0 input_args_next_step : {1335344483: ('0.0',), 1335342109: ('0.0',), 1335342106: ('0.0',), 1335342104: ('0.0',), 1335342097: ('0.0',), 1335342092: ('0.0',), 1335342089: ('0.0',), 1335342019: ('0.0',), 1335341954: ('0.0',), 1335341859: ('0.0',), 1335341850: ('0.0',), 1335341847: ('0.0',), 1335341749: ('0.0',), 1335341745: ('0.0',), 1335341731: ('0.0',), 1335341730: ('0.0',), 1335341728: ('0.0',), 1335341727: ('0.0',), 1335341723: ('0.0',), 1335341720: ('0.0',), 1335341714: ('0.0',), 1335341713: ('0.0',), 1335341709: ('0.0',), 1335341708: ('0.0',), 1335341690: ('0.0',), 1335341671: ('0.0',), 1335341668: ('0.0',), 1335341665: ('0.0',), 1335341664: ('0.0',), 1335341661: ('0.0',), 1335341654: ('0.0',), 1335341652: ('0.0',), 1335341646: ('0.0',), 1335341644: ('0.0',), 1335341623: ('0.0',), 1335341619: ('0.0',), 1335341503: ('0.0',), 1335341499: ('0.0',), 1335341498: ('0.0',), 1335341495: ('0.0',), 1335341492: ('0.0',), 1335341489: ()} output_args : {1335344483: ('0.0',), 1335342109: ('0.0',), 1335342106: ('0.0',), 1335342104: ('0.0',), 1335342097: ('0.0',), 1335342092: ('0.0',), 1335342089: ('0.0',), 1335342019: ('0.0',), 1335341954: ('0.0',), 1335341859: ('0.0',), 1335341850: ('0.0',), 1335341847: ('0.0',), 1335341749: ('0.0',), 1335341745: ('0.0',), 1335341731: ('0.0',), 1335341730: ('0.0',), 1335341728: ('0.0',), 1335341727: ('0.0',), 1335341723: ('0.0',), 1335341720: ('0.0',), 1335341714: ('0.0',), 1335341713: ('0.0',), 1335341709: ('0.0',), 1335341708: ('0.0',), 1335341690: ('0.0',), 1335341671: ('0.0',), 1335341668: ('0.0',), 1335341665: ('0.0',), 1335341664: ('0.0',), 1335341661: ('0.0',), 1335341654: ('0.0',), 1335341652: ('0.0',), 1335341646: ('0.0',), 1335341644: ('0.0',), 1335341623: ('0.0',), 1335341619: ('0.0',), 1335341503: ('0.0',), 1335341499: ('0.0',), 1335341498: ('0.0',), 1335341495: ('0.0',), 1335341492: ('0.0',), 1335341489: ('0.0',), 1335341067: ('0.0',), 1335336391: ('0.0',), 1335336388: ('0.0',)} args : 1335341489 depend.output_id : 0 input_args_next_step : {1335344483: ('0.0',), 1335342109: ('0.0',), 1335342106: ('0.0',), 1335342104: ('0.0',), 1335342097: ('0.0',), 1335342092: ('0.0',), 1335342089: ('0.0',), 1335342019: ('0.0',), 1335341954: ('0.0',), 1335341859: ('0.0',), 1335341850: ('0.0',), 1335341847: ('0.0',), 1335341749: ('0.0',), 1335341745: ('0.0',), 1335341731: ('0.0',), 1335341730: ('0.0',), 1335341728: ('0.0',), 1335341727: ('0.0',), 1335341723: ('0.0',), 1335341720: ('0.0',), 1335341714: ('0.0',), 1335341713: ('0.0',), 1335341709: ('0.0',), 1335341708: ('0.0',), 1335341690: ('0.0',), 1335341671: ('0.0',), 1335341668: ('0.0',), 1335341665: ('0.0',), 1335341664: ('0.0',), 1335341661: ('0.0',), 1335341654: ('0.0',), 1335341652: ('0.0',), 1335341646: ('0.0',), 1335341644: ('0.0',), 1335341623: ('0.0',), 1335341619: ('0.0',), 1335341503: ('0.0',), 1335341499: ('0.0',), 1335341498: ('0.0',), 1335341495: ('0.0',), 1335341492: ('0.0',), 1335341489: ('0.0',), 1335341067: ()} output_args : {1335344483: ('0.0',), 1335342109: ('0.0',), 1335342106: ('0.0',), 1335342104: ('0.0',), 1335342097: ('0.0',), 1335342092: ('0.0',), 1335342089: ('0.0',), 1335342019: ('0.0',), 1335341954: ('0.0',), 1335341859: ('0.0',), 1335341850: ('0.0',), 1335341847: ('0.0',), 1335341749: ('0.0',), 1335341745: ('0.0',), 1335341731: ('0.0',), 1335341730: ('0.0',), 1335341728: ('0.0',), 1335341727: ('0.0',), 1335341723: ('0.0',), 1335341720: ('0.0',), 1335341714: ('0.0',), 1335341713: ('0.0',), 1335341709: ('0.0',), 1335341708: ('0.0',), 1335341690: ('0.0',), 1335341671: ('0.0',), 1335341668: ('0.0',), 1335341665: ('0.0',), 1335341664: ('0.0',), 1335341661: ('0.0',), 1335341654: ('0.0',), 1335341652: ('0.0',), 1335341646: ('0.0',), 1335341644: ('0.0',), 1335341623: ('0.0',), 1335341619: ('0.0',), 1335341503: ('0.0',), 1335341499: ('0.0',), 1335341498: ('0.0',), 1335341495: ('0.0',), 1335341492: ('0.0',), 1335341489: ('0.0',), 1335341067: ('0.0',), 1335336391: ('0.0',), 1335336388: ('0.0',)} args : 1335341067 depend.output_id : 0 input_args_next_step : {1335344483: ('0.0',), 1335342109: ('0.0',), 1335342106: ('0.0',), 1335342104: ('0.0',), 1335342097: ('0.0',), 1335342092: ('0.0',), 1335342089: ('0.0',), 1335342019: ('0.0',), 1335341954: ('0.0',), 1335341859: ('0.0',), 1335341850: ('0.0',), 1335341847: ('0.0',), 1335341749: ('0.0',), 1335341745: ('0.0',), 1335341731: ('0.0',), 1335341730: ('0.0',), 1335341728: ('0.0',), 1335341727: ('0.0',), 1335341723: ('0.0',), 1335341720: ('0.0',), 1335341714: ('0.0',), 1335341713: ('0.0',), 1335341709: ('0.0',), 1335341708: ('0.0',), 1335341690: ('0.0',), 1335341671: ('0.0',), 1335341668: ('0.0',), 1335341665: ('0.0',), 1335341664: ('0.0',), 1335341661: ('0.0',), 1335341654: ('0.0',), 1335341652: ('0.0',), 1335341646: ('0.0',), 1335341644: ('0.0',), 1335341623: ('0.0',), 1335341619: ('0.0',), 1335341503: ('0.0',), 1335341499: ('0.0',), 1335341498: ('0.0',), 1335341495: ('0.0',), 1335341492: ('0.0',), 1335341489: ('0.0',), 1335341067: ('0.0',), 1335336391: ()} output_args : {1335344483: ('0.0',), 1335342109: ('0.0',), 1335342106: ('0.0',), 1335342104: ('0.0',), 1335342097: ('0.0',), 1335342092: ('0.0',), 1335342089: ('0.0',), 1335342019: ('0.0',), 1335341954: ('0.0',), 1335341859: ('0.0',), 1335341850: ('0.0',), 1335341847: ('0.0',), 1335341749: ('0.0',), 1335341745: ('0.0',), 1335341731: ('0.0',), 1335341730: ('0.0',), 1335341728: ('0.0',), 1335341727: ('0.0',), 1335341723: ('0.0',), 1335341720: ('0.0',), 1335341714: ('0.0',), 1335341713: ('0.0',), 1335341709: ('0.0',), 1335341708: ('0.0',), 1335341690: ('0.0',), 1335341671: ('0.0',), 1335341668: ('0.0',), 1335341665: ('0.0',), 1335341664: ('0.0',), 1335341661: ('0.0',), 1335341654: ('0.0',), 1335341652: ('0.0',), 1335341646: ('0.0',), 1335341644: ('0.0',), 1335341623: ('0.0',), 1335341619: ('0.0',), 1335341503: ('0.0',), 1335341499: ('0.0',), 1335341498: ('0.0',), 1335341495: ('0.0',), 1335341492: ('0.0',), 1335341489: ('0.0',), 1335341067: ('0.0',), 1335336391: ('0.0',), 1335336388: ('0.0',)} args : 1335336391 depend.output_id : 0 input_args_next_step : {1335344483: ('0.0',), 1335342109: ('0.0',), 1335342106: ('0.0',), 1335342104: ('0.0',), 1335342097: ('0.0',), 1335342092: ('0.0',), 1335342089: ('0.0',), 1335342019: ('0.0',), 1335341954: ('0.0',), 1335341859: ('0.0',), 1335341850: ('0.0',), 1335341847: ('0.0',), 1335341749: ('0.0',), 1335341745: ('0.0',), 1335341731: ('0.0',), 1335341730: ('0.0',), 1335341728: ('0.0',), 1335341727: ('0.0',), 1335341723: ('0.0',), 1335341720: ('0.0',), 1335341714: ('0.0',), 1335341713: ('0.0',), 1335341709: ('0.0',), 1335341708: ('0.0',), 1335341690: ('0.0',), 1335341671: ('0.0',), 1335341668: ('0.0',), 1335341665: ('0.0',), 1335341664: ('0.0',), 1335341661: ('0.0',), 1335341654: ('0.0',), 1335341652: ('0.0',), 1335341646: ('0.0',), 1335341644: ('0.0',), 1335341623: ('0.0',), 1335341619: ('0.0',), 1335341503: ('0.0',), 1335341499: ('0.0',), 1335341498: ('0.0',), 1335341495: ('0.0',), 1335341492: ('0.0',), 1335341489: ('0.0',), 1335341067: ('0.0',), 1335336391: ('0.0',), 1335336388: ()} output_args : {1335344483: ('0.0',), 1335342109: ('0.0',), 1335342106: ('0.0',), 1335342104: ('0.0',), 1335342097: ('0.0',), 1335342092: ('0.0',), 1335342089: ('0.0',), 1335342019: ('0.0',), 1335341954: ('0.0',), 1335341859: ('0.0',), 1335341850: ('0.0',), 1335341847: ('0.0',), 1335341749: ('0.0',), 1335341745: ('0.0',), 1335341731: ('0.0',), 1335341730: ('0.0',), 1335341728: ('0.0',), 1335341727: ('0.0',), 1335341723: ('0.0',), 1335341720: ('0.0',), 1335341714: ('0.0',), 1335341713: ('0.0',), 1335341709: ('0.0',), 1335341708: ('0.0',), 1335341690: ('0.0',), 1335341671: ('0.0',), 1335341668: ('0.0',), 1335341665: ('0.0',), 1335341664: ('0.0',), 1335341661: ('0.0',), 1335341654: ('0.0',), 1335341652: ('0.0',), 1335341646: ('0.0',), 1335341644: ('0.0',), 1335341623: ('0.0',), 1335341619: ('0.0',), 1335341503: ('0.0',), 1335341499: ('0.0',), 1335341498: ('0.0',), 1335341495: ('0.0',), 1335341492: ('0.0',), 1335341489: ('0.0',), 1335341067: ('0.0',), 1335336391: ('0.0',), 1335336388: ('0.0',)} args : 1335336388 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 : {20357221: [{'plastique': 20357337, 'environnement': 20357338, 'cartonnette': 20357339, 'Carton_gris': 20357340, 'Carton_brun': 20357341, 'kraft': 20357342, 'papier': 20357343, 'Teint_Dans_La_Masse': 20357344, 'mal_croppe': 20357345, 'autre_refus': 20357346, 'flou': 20357347, 'metal': 20357348}]} input_args_next_step : {1335344483: ('0.0',), 1335342109: ('0.0',), 1335342106: ('0.0',), 1335342104: ('0.0',), 1335342097: ('0.0',), 1335342092: ('0.0',), 1335342089: ('0.0',), 1335342019: ('0.0',), 1335341954: ('0.0',), 1335341859: ('0.0',), 1335341850: ('0.0',), 1335341847: ('0.0',), 1335341749: ('0.0',), 1335341745: ('0.0',), 1335341731: ('0.0',), 1335341730: ('0.0',), 1335341728: ('0.0',), 1335341727: ('0.0',), 1335341723: ('0.0',), 1335341720: ('0.0',), 1335341714: ('0.0',), 1335341713: ('0.0',), 1335341709: ('0.0',), 1335341708: ('0.0',), 1335341690: ('0.0',), 1335341671: ('0.0',), 1335341668: ('0.0',), 1335341665: ('0.0',), 1335341664: ('0.0',), 1335341661: ('0.0',), 1335341654: ('0.0',), 1335341652: ('0.0',), 1335341646: ('0.0',), 1335341644: ('0.0',), 1335341623: ('0.0',), 1335341619: ('0.0',), 1335341503: ('0.0',), 1335341499: ('0.0',), 1335341498: ('0.0',), 1335341495: ('0.0',), 1335341492: ('0.0',), 1335341489: ('0.0',), 1335341067: ('0.0',), 1335336391: ('0.0',), 1335336388: ('0.0',), 20357221: ()} output_args : {20357221: [{'plastique': 20357337, 'environnement': 20357338, 'cartonnette': 20357339, 'Carton_gris': 20357340, 'Carton_brun': 20357341, 'kraft': 20357342, 'papier': 20357343, 'Teint_Dans_La_Masse': 20357344, 'mal_croppe': 20357345, 'autre_refus': 20357346, 'flou': 20357347, 'metal': 20357348}]} args : 20357221 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 :46, first value : ('0.0',) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (20357221) 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 (1335344483,1335342109,1335342106,1335342104,1335342097,1335342092,1335342089,1335342019,1335341954,1335341859,1335341850,1335341847,1335341749,1335341745,1335341731,1335341730,1335341728,1335341727,1335341723,1335341720,1335341714,1335341713,1335341709,1335341708,1335341690,1335341671,1335341668,1335341665,1335341664,1335341661,1335341654,1335341652,1335341646,1335341644,1335341623,1335341619,1335341503,1335341499,1335341498,1335341495,1335341492,1335341489,1335341067,1335336391,1335336388) Found this number of photos: 45 ##### Call download_photos : nb_thread : 5 begin to download photo : 1335336388 begin to download photo : 1335341623 begin to download photo : 1335341690 begin to download photo : 1335341731 begin to download photo : 1335342097 download finish for photo 1335342097 begin to download photo : 1335342104 download finish for photo 1335336388 begin to download photo : 1335336391 download finish for photo 1335341623 begin to download photo : 1335341644 download finish for photo 1335341690 begin to download photo : 1335341708 download finish for photo 1335341731 begin to download photo : 1335341745 download finish for photo 1335342104 begin to download photo : 1335342106 download finish for photo 1335336391 begin to download photo : 1335341067 download finish for photo 1335341644 begin to download photo : 1335341646 download finish for photo 1335341708 begin to download photo : 1335341709 download finish for photo 1335341745 begin to download photo : 1335341749 download finish for photo 1335342106 begin to download photo : 1335342109 download finish for photo 1335341067 begin to download photo : 1335341489 download finish for photo 1335341646 begin to download photo : 1335341652 download finish for photo 1335341709 begin to download photo : 1335341713 download finish for photo 1335341749 begin to download photo : 1335341847 download finish for photo 1335342109 begin to download photo : 1335344483 download finish for photo 1335341652 begin to download photo : 1335341654 download finish for photo 1335341713 begin to download photo : 1335341714 download finish for photo 1335341489 begin to download photo : 1335341492 download finish for photo 1335344483 download finish for photo 1335341847 begin to download photo : 1335341850 download finish for photo 1335341654 begin to download photo : 1335341661 download finish for photo 1335341492 begin to download photo : 1335341495 download finish for photo 1335341714 begin to download photo : 1335341720 download finish for photo 1335341850 begin to download photo : 1335341859 download finish for photo 1335341661 begin to download photo : 1335341664 download finish for photo 1335341495 begin to download photo : 1335341498 download finish for photo 1335341664 begin to download photo : 1335341665 download finish for photo 1335341720 begin to download photo : 1335341723 download finish for photo 1335341859 begin to download photo : 1335341954 download finish for photo 1335341954 begin to download photo : 1335342019 download finish for photo 1335341498 begin to download photo : 1335341499 download finish for photo 1335341665 begin to download photo : 1335341668 download finish for photo 1335341723 begin to download photo : 1335341727 download finish for photo 1335341499 begin to download photo : 1335341503 download finish for photo 1335342019 begin to download photo : 1335342089 download finish for photo 1335341668 begin to download photo : 1335341671 download finish for photo 1335341727 begin to download photo : 1335341728 download finish for photo 1335341503 begin to download photo : 1335341619 download finish for photo 1335342089 begin to download photo : 1335342092 download finish for photo 1335341671 download finish for photo 1335341728 begin to download photo : 1335341730 download finish for photo 1335341619 download finish for photo 1335342092 download finish for photo 1335341730 we have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB ##### After download_photos imagette203573371738991104/ imagette203573391738991104/ imagette203573421738991104/ imagette203573451738991104/ imagette203573461738991104/ imagette203573471738991104/ imagette203573481738991104/ imagette203573401738991104/ imagette203573411738991104/ imagette203573441738991104/ length of list_filenames : 45 ; length of list_pids : 45 ; length of list_args : 45 results_Auto_P20357221_08-02-2025_06_05_04.pdf 20357337 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=20357337 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette203573371738991104 20357339 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=20357339 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette203573391738991104 20357342 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=20357342 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette203573421738991104 20357345 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=20357345 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette203573451738991104 20357346 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=20357346 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette203573461738991104 20357347 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=20357347 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette203573471738991104 20357348 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=20357348 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette203573481738991104 20357340 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=20357340 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette203573401738991104 20357341 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=20357341 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette203573411738991104 20357344 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=20357344 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette203573441738991104 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=20357221 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://www.fotonower.com/velours/20357349,20357350,20357351,20357352,20357353,20357354,20357355,20357356,20357357,20357358,20357359,20357360?tags=plastique,environnement,cartonnette,Carton_gris,Carton_brun,kraft,papier,Teint_Dans_La_Masse,mal_croppe,autre_refus,flou,metal your option no_mail is active, we will not send the real mail to your client args[1335344483] : ('0.0',) no score found for photo 1335344483 apple ('0.0',) We are sending mail with results at report@fotonower.com args[1335342109] : ('0.0',) no score found for photo 1335342109 apple ('0.0',) We are sending mail with results at report@fotonower.com args[1335342106] : ('0.0',) no score found for photo 1335342106 apple ('0.0',) We are sending mail with results at report@fotonower.com args[1335342104] : ('0.0',) no score found for photo 1335342104 apple ('0.0',) We are sending mail with results at report@fotonower.com args[1335342097] : ('0.0',) no score found for photo 1335342097 apple ('0.0',) We are sending mail with results at report@fotonower.com args[1335342092] : ('0.0',) no score found for photo 1335342092 apple ('0.0',) We are sending mail with results at report@fotonower.com args[1335342089] : ('0.0',) no score found for photo 1335342089 apple ('0.0',) We are sending mail with results at report@fotonower.com args[1335342019] : ('0.0',) no score found for photo 1335342019 apple ('0.0',) We are sending mail with results at report@fotonower.com args[1335341954] : ('0.0',) no score found for photo 1335341954 apple ('0.0',) We are sending mail with results at report@fotonower.com args[1335341859] : ('0.0',) no score found for photo 1335341859 apple ('0.0',) We are sending mail with results at report@fotonower.com args[1335341850] : ('0.0',) no score found for photo 1335341850 apple ('0.0',) We are sending mail with results at report@fotonower.com args[1335341847] : ('0.0',) no score found for photo 1335341847 apple ('0.0',) We are sending mail with results at report@fotonower.com args[1335341749] : ('0.0',) no score found for photo 1335341749 apple ('0.0',) We are sending mail with results at report@fotonower.com args[1335341745] : ('0.0',) no score found for photo 1335341745 apple ('0.0',) We are sending mail with results at report@fotonower.com args[1335341731] : ('0.0',) no score found for photo 1335341731 apple ('0.0',) We are sending mail with results at report@fotonower.com args[1335341730] : ('0.0',) no score found for photo 1335341730 apple ('0.0',) We are sending mail with results at report@fotonower.com args[1335341728] : ('0.0',) no score found for photo 1335341728 apple ('0.0',) We are sending mail with results at report@fotonower.com args[1335341727] : ('0.0',) no score found for photo 1335341727 apple ('0.0',) We are sending mail with results at report@fotonower.com args[1335341723] : ('0.0',) no score found for photo 1335341723 apple ('0.0',) We are sending mail with results at report@fotonower.com args[1335341720] : ('0.0',) no score found for photo 1335341720 apple ('0.0',) We are sending mail with results at report@fotonower.com args[1335341714] : ('0.0',) no score found for photo 1335341714 apple ('0.0',) We are sending mail with results at report@fotonower.com args[1335341713] : ('0.0',) no score found for photo 1335341713 apple ('0.0',) We are sending mail with results at report@fotonower.com args[1335341709] : ('0.0',) no score found for photo 1335341709 apple ('0.0',) We are sending mail with results at report@fotonower.com args[1335341708] : ('0.0',) no score found for photo 1335341708 apple ('0.0',) We are sending mail with results at report@fotonower.com args[1335341690] : ('0.0',) no score found for photo 1335341690 apple ('0.0',) We are sending mail with results at report@fotonower.com args[1335341671] : ('0.0',) no score found for photo 1335341671 apple ('0.0',) We are sending mail with results at report@fotonower.com args[1335341668] : ('0.0',) no score found for photo 1335341668 apple ('0.0',) We are sending mail with results at report@fotonower.com args[1335341665] : ('0.0',) no score found for photo 1335341665 apple ('0.0',) We are sending mail with results at report@fotonower.com args[1335341664] : ('0.0',) no score found for photo 1335341664 apple ('0.0',) We are sending mail with results at report@fotonower.com args[1335341661] : ('0.0',) no score found for photo 1335341661 apple ('0.0',) We are sending mail with results at report@fotonower.com args[1335341654] : ('0.0',) no score found for photo 1335341654 apple ('0.0',) We are sending mail with results at report@fotonower.com args[1335341652] : ('0.0',) no score found for photo 1335341652 apple ('0.0',) We are sending mail with results at report@fotonower.com args[1335341646] : ('0.0',) no score found for photo 1335341646 apple ('0.0',) We are sending mail with results at report@fotonower.com args[1335341644] : ('0.0',) no score found for photo 1335341644 apple ('0.0',) We are sending mail with results at report@fotonower.com args[1335341623] : ('0.0',) no score found for photo 1335341623 apple ('0.0',) We are sending mail with results at report@fotonower.com args[1335341619] : ('0.0',) no score found for photo 1335341619 apple ('0.0',) We are sending mail with results at report@fotonower.com args[1335341503] : ('0.0',) no score found for photo 1335341503 apple ('0.0',) We are sending mail with results at report@fotonower.com args[1335341499] : ('0.0',) no score found for photo 1335341499 apple ('0.0',) We are sending mail with results at report@fotonower.com args[1335341498] : ('0.0',) no score found for photo 1335341498 apple ('0.0',) We are sending mail with results at report@fotonower.com args[1335341495] : ('0.0',) no score found for photo 1335341495 apple ('0.0',) We are sending mail with results at report@fotonower.com args[1335341492] : ('0.0',) no score found for photo 1335341492 apple ('0.0',) We are sending mail with results at report@fotonower.com args[1335341489] : ('0.0',) no score found for photo 1335341489 apple ('0.0',) We are sending mail with results at report@fotonower.com args[1335341067] : ('0.0',) no score found for photo 1335341067 apple ('0.0',) We are sending mail with results at report@fotonower.com args[1335336391] : ('0.0',) no score found for photo 1335336391 apple ('0.0',) We are sending mail with results at report@fotonower.com args[1335336388] : ('0.0',) no score found for photo 1335336388 apple ('0.0',) We are sending mail with results at report@fotonower.com refus_total : 0.0 2022-04-13 10:29:59 0 SELECT ph.photo_id,ph.url,ph.username,ph.uploaded_at,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=20357221 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_P20357221_08-02-2025_06_05_04.pdf results_Auto_P20357221_08-02-2025_06_05_04.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20357221_08-02-2025_06_05_04.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','20357221','results_Auto_P20357221_08-02-2025_06_05_04.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20357221_08-02-2025_06_05_04.pdf','pdf','','0.34','0.0') After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([20357221]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1335344483, 1335342109, 1335342106, 1335342104, 1335342097, 1335342092, 1335342089, 1335342019, 1335341954, 1335341859, 1335341850, 1335341847, 1335341749, 1335341745, 1335341731, 1335341730, 1335341728, 1335341727, 1335341723, 1335341720, 1335341714, 1335341713, 1335341709, 1335341708, 1335341690, 1335341671, 1335341668, 1335341665, 1335341664, 1335341661, 1335341654, 1335341652, 1335341646, 1335341644, 1335341623, 1335341619, 1335341503, 1335341499, 1335341498, 1335341495, 1335341492, 1335341489, 1335341067, 1335336391, 1335336388] map_info['map_portfolio_photo'] : {20357221: [1335344483, 1335342109, 1335342106, 1335342104, 1335342097, 1335342092, 1335342089, 1335342019, 1335341954, 1335341859, 1335341850, 1335341847, 1335341749, 1335341745, 1335341731, 1335341730, 1335341728, 1335341727, 1335341723, 1335341720, 1335341714, 1335341713, 1335341709, 1335341708, 1335341690, 1335341671, 1335341668, 1335341665, 1335341664, 1335341661, 1335341654, 1335341652, 1335341646, 1335341644, 1335341623, 1335341619, 1335341503, 1335341499, 1335341498, 1335341495, 1335341492, 1335341489, 1335341067, 1335336391, 1335336388]} final : False mtd_id 4302 list_pids : [1335344483, 1335342109, 1335342106, 1335342104, 1335342097, 1335342092, 1335342089, 1335342019, 1335341954, 1335341859, 1335341850, 1335341847, 1335341749, 1335341745, 1335341731, 1335341730, 1335341728, 1335341727, 1335341723, 1335341720, 1335341714, 1335341713, 1335341709, 1335341708, 1335341690, 1335341671, 1335341668, 1335341665, 1335341664, 1335341661, 1335341654, 1335341652, 1335341646, 1335341644, 1335341623, 1335341619, 1335341503, 1335341499, 1335341498, 1335341495, 1335341492, 1335341489, 1335341067, 1335336391, 1335336388] 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, '2568275') ('4302', '20357221', '1335344483', None, None, None, None, None, '2568275') ('4302', None, None, None, None, None, None, None, '2568275') ('4302', '20357221', '1335342109', None, None, None, None, None, '2568275') ('4302', None, None, None, None, None, None, None, '2568275') ('4302', '20357221', '1335342106', None, None, None, None, None, '2568275') ('4302', None, None, None, None, None, None, None, '2568275') ('4302', '20357221', '1335342104', None, None, None, None, None, '2568275') ('4302', None, None, None, None, None, None, None, '2568275') ('4302', '20357221', '1335342097', None, None, None, None, None, '2568275') ('4302', None, None, None, None, None, None, None, '2568275') ('4302', '20357221', '1335342092', None, None, None, None, None, '2568275') ('4302', None, None, None, None, None, None, None, '2568275') ('4302', '20357221', '1335342089', None, None, None, None, None, '2568275') ('4302', None, None, None, None, None, None, None, '2568275') ('4302', '20357221', '1335342019', None, None, None, None, None, '2568275') ('4302', None, None, None, None, None, None, None, '2568275') ('4302', '20357221', '1335341954', None, None, None, None, None, '2568275') ('4302', None, None, None, None, None, None, None, '2568275') ('4302', '20357221', '1335341859', None, None, None, None, None, '2568275') ('4302', None, None, None, None, None, None, None, '2568275') ('4302', '20357221', '1335341850', None, None, None, None, None, '2568275') ('4302', None, None, None, None, None, None, None, '2568275') ('4302', '20357221', '1335341847', None, None, None, None, None, '2568275') ('4302', None, None, None, None, None, None, None, '2568275') ('4302', '20357221', '1335341749', None, None, None, None, None, '2568275') ('4302', None, None, None, None, None, None, None, '2568275') ('4302', '20357221', '1335341745', None, None, None, None, None, '2568275') ('4302', None, None, None, None, None, None, None, '2568275') ('4302', '20357221', '1335341731', None, None, None, None, None, '2568275') ('4302', None, None, None, None, None, None, None, '2568275') ('4302', '20357221', '1335341730', None, None, None, None, None, '2568275') ('4302', None, None, None, None, None, None, None, '2568275') ('4302', '20357221', '1335341728', None, None, None, None, None, '2568275') ('4302', None, None, None, None, None, None, None, '2568275') ('4302', '20357221', '1335341727', None, None, None, None, None, '2568275') ('4302', None, None, None, None, None, None, None, '2568275') ('4302', '20357221', '1335341723', None, None, None, None, None, '2568275') ('4302', None, None, None, None, None, None, None, '2568275') ('4302', '20357221', '1335341720', None, None, None, None, None, '2568275') ('4302', None, None, None, None, None, None, None, '2568275') ('4302', '20357221', '1335341714', None, None, None, None, None, '2568275') ('4302', None, None, None, None, None, None, None, '2568275') ('4302', '20357221', '1335341713', None, None, None, None, None, '2568275') ('4302', None, None, None, None, None, None, None, '2568275') ('4302', '20357221', '1335341709', None, None, None, None, None, '2568275') ('4302', None, None, None, None, None, None, None, '2568275') ('4302', '20357221', '1335341708', None, None, None, None, None, '2568275') ('4302', None, None, None, None, None, None, None, '2568275') ('4302', '20357221', '1335341690', None, None, None, None, None, '2568275') ('4302', None, None, None, None, None, None, None, '2568275') ('4302', '20357221', '1335341671', None, None, None, None, None, '2568275') ('4302', None, None, None, None, None, None, None, '2568275') ('4302', '20357221', '1335341668', None, None, None, None, None, '2568275') ('4302', None, None, None, None, None, None, None, '2568275') ('4302', '20357221', '1335341665', None, None, None, None, None, '2568275') ('4302', None, None, None, None, None, None, None, '2568275') ('4302', '20357221', '1335341664', None, None, None, None, None, '2568275') ('4302', None, None, None, None, None, None, None, '2568275') ('4302', '20357221', '1335341661', None, None, None, None, None, '2568275') ('4302', None, None, None, None, None, None, None, '2568275') ('4302', '20357221', '1335341654', None, None, None, None, None, '2568275') ('4302', None, None, None, None, None, None, None, '2568275') ('4302', '20357221', '1335341652', None, None, None, None, None, '2568275') ('4302', None, None, None, None, None, None, None, '2568275') ('4302', '20357221', '1335341646', None, None, None, None, None, '2568275') ('4302', None, None, None, None, None, None, None, '2568275') ('4302', '20357221', '1335341644', None, None, None, None, None, '2568275') ('4302', None, None, None, None, None, None, None, '2568275') ('4302', '20357221', '1335341623', None, None, None, None, None, '2568275') ('4302', None, None, None, None, None, None, None, '2568275') ('4302', '20357221', '1335341619', None, None, None, None, None, '2568275') ('4302', None, None, None, None, None, None, None, '2568275') ('4302', '20357221', '1335341503', None, None, None, None, None, '2568275') ('4302', None, None, None, None, None, None, None, '2568275') ('4302', '20357221', '1335341499', None, None, None, None, None, '2568275') ('4302', None, None, None, None, None, None, None, '2568275') ('4302', '20357221', '1335341498', None, None, None, None, None, '2568275') ('4302', None, None, None, None, None, None, None, '2568275') ('4302', '20357221', '1335341495', None, None, None, None, None, '2568275') ('4302', None, None, None, None, None, None, None, '2568275') ('4302', '20357221', '1335341492', None, None, None, None, None, '2568275') ('4302', None, None, None, None, None, None, None, '2568275') ('4302', '20357221', '1335341489', None, None, None, None, None, '2568275') ('4302', None, None, None, None, None, None, None, '2568275') ('4302', '20357221', '1335341067', None, None, None, None, None, '2568275') ('4302', None, None, None, None, None, None, None, '2568275') ('4302', '20357221', '1335336391', None, None, None, None, None, '2568275') ('4302', None, None, None, None, None, None, None, '2568275') ('4302', '20357221', '1335336388', None, None, None, None, None, '2568275') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 45 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', '20357221', '1335344483', None, None, None, None, None, '2568275'), ('4302', '20357221', '1335342109', None, None, None, None, None, '2568275'), ('4302', '20357221', '1335342106', None, None, None, None, None, '2568275'), ('4302', '20357221', '1335342104', None, None, None, None, None, '2568275'), ('4302', '20357221', '1335342097', None, None, None, None, None, '2568275'), ('4302', '20357221', '1335342092', None, None, None, None, None, '2568275'), ('4302', '20357221', '1335342089', None, None, None, None, None, '2568275'), ('4302', '20357221', '1335342019', None, None, None, None, None, '2568275'), ('4302', '20357221', '1335341954', None, None, None, None, None, '2568275'), ('4302', '20357221', '1335341859', None, None, None, None, None, '2568275'), ('4302', '20357221', '1335341850', None, None, None, None, None, '2568275'), ('4302', '20357221', '1335341847', None, None, None, None, None, '2568275'), ('4302', '20357221', '1335341749', None, None, None, None, None, '2568275'), ('4302', '20357221', '1335341745', None, None, None, None, None, '2568275'), ('4302', '20357221', '1335341731', None, None, None, None, None, '2568275'), ('4302', '20357221', '1335341730', None, None, None, None, None, '2568275'), ('4302', '20357221', '1335341728', None, None, None, None, None, '2568275'), ('4302', '20357221', '1335341727', None, None, None, None, None, '2568275'), ('4302', '20357221', '1335341723', None, None, None, None, None, '2568275'), ('4302', '20357221', '1335341720', None, None, None, None, None, '2568275'), ('4302', '20357221', '1335341714', None, None, None, None, None, '2568275'), ('4302', '20357221', '1335341713', None, None, None, None, None, '2568275'), ('4302', '20357221', '1335341709', None, None, None, None, None, '2568275'), ('4302', '20357221', '1335341708', None, None, None, None, None, '2568275'), ('4302', '20357221', '1335341690', None, None, None, None, None, '2568275'), ('4302', '20357221', '1335341671', None, None, None, None, None, '2568275'), ('4302', '20357221', '1335341668', None, None, None, None, None, '2568275'), ('4302', '20357221', '1335341665', None, None, None, None, None, '2568275'), ('4302', '20357221', '1335341664', None, None, None, None, None, '2568275'), ('4302', '20357221', '1335341661', None, None, None, None, None, '2568275'), ('4302', '20357221', '1335341654', None, None, None, None, None, '2568275'), ('4302', '20357221', '1335341652', None, None, None, None, None, '2568275'), ('4302', '20357221', '1335341646', None, None, None, None, None, '2568275'), ('4302', '20357221', '1335341644', None, None, None, None, None, '2568275'), ('4302', '20357221', '1335341623', None, None, None, None, None, '2568275'), ('4302', '20357221', '1335341619', None, None, None, None, None, '2568275'), ('4302', '20357221', '1335341503', None, None, None, None, None, '2568275'), ('4302', '20357221', '1335341499', None, None, None, None, None, '2568275'), ('4302', '20357221', '1335341498', None, None, None, None, None, '2568275'), ('4302', '20357221', '1335341495', None, None, None, None, None, '2568275'), ('4302', '20357221', '1335341492', None, None, None, None, None, '2568275'), ('4302', '20357221', '1335341489', None, None, None, None, None, '2568275'), ('4302', '20357221', '1335341067', None, None, None, None, None, '2568275'), ('4302', '20357221', '1335336391', None, None, None, None, None, '2568275'), ('4302', '20357221', '1335336388', None, None, None, None, None, '2568275')] time used for this insertion : 0.7120499610900879 save_final save missing photos in datou_result : time spend for datou_step_exec : 4.201088905334473 time spend to save output : 0.7125420570373535 total time spend for step 4 : 4.913630962371826 step5:split_time_score Sat Feb 8 06:05:07 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 : ['20357221'] 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 : [('20357221',)] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (20357221) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {1335342097: {'path': 'temp/1738991102_2493906_1335342097_6e6d01bc87f3138ca8cbd2a213b772f5.jpg', 'extension': 'jpg'}, 1335342104: {'path': 'temp/1738991102_2493906_1335342104_76730e2691eef280294b55f91024c436.jpg', 'extension': 'jpg'}, 1335342106: {'path': 'temp/1738991102_2493906_1335342106_8e3253394bcd18cf542dd082edc1eb0c.jpg', 'extension': 'jpg'}, 1335342109: {'path': 'temp/1738991102_2493906_1335342109_2aa739bdb6da62f6e7014aa7a110369f.jpg', 'extension': 'jpg'}, 1335344483: {'path': 'temp/1738991102_2493906_1335344483_00d12f0d3ae218cb2143f8b94755179d.jpg', 'extension': 'jpg'}, 1335341623: {'path': 'temp/1738991102_2493906_1335341623_207705de31c221691b0bd4a2fb86d5ab.jpg', 'extension': 'jpg'}, 1335341644: {'path': 'temp/1738991102_2493906_1335341644_6f3fef5ba7ec3560e62bccc9f924cdb1.jpg', 'extension': 'jpg'}, 1335341646: {'path': 'temp/1738991102_2493906_1335341646_f3cfeb896987e037abb22ad15f93a54d.jpg', 'extension': 'jpg'}, 1335341652: {'path': 'temp/1738991102_2493906_1335341652_7db970b0d99b3c959ab2b11d18b904bd.jpg', 'extension': 'jpg'}, 1335341654: {'path': 'temp/1738991102_2493906_1335341654_975474c6f336f5d6a7fe8894d5ab480b.jpg', 'extension': 'jpg'}, 1335341661: {'path': 'temp/1738991102_2493906_1335341661_68a3d1d898a1bcc7e2fe13b56f034afe.jpg', 'extension': 'jpg'}, 1335341664: {'path': 'temp/1738991102_2493906_1335341664_3e1e5e2e35b6591d9247acae2d11a807.jpg', 'extension': 'jpg'}, 1335341665: {'path': 'temp/1738991102_2493906_1335341665_57976f7ef1978a0ac4f5608841c2d80b.jpg', 'extension': 'jpg'}, 1335341668: {'path': 'temp/1738991102_2493906_1335341668_da2f4bb4bc7df4edbba76bba5629d6be.jpg', 'extension': 'jpg'}, 1335341671: {'path': 'temp/1738991102_2493906_1335341671_8c429b46ac7ebadfca247d65233be562.jpg', 'extension': 'jpg'}, 1335336388: {'path': 'temp/1738991102_2493906_1335336388_0028ea4f04e6889a3b195eabb21495cf.jpg', 'extension': 'jpg'}, 1335336391: {'path': 'temp/1738991102_2493906_1335336391_11912818bc389905a33747c7145f96f1.jpg', 'extension': 'jpg'}, 1335341067: {'path': 'temp/1738991102_2493906_1335341067_7ecdd8f2ca6d429b0a87ddd7ec4f891b.jpg', 'extension': 'jpg'}, 1335341489: {'path': 'temp/1738991102_2493906_1335341489_a8fbba2f2118956d84e0e8c5c48b6a92.jpg', 'extension': 'jpg'}, 1335341492: {'path': 'temp/1738991102_2493906_1335341492_74471d4a6765101bb6e9f186bca9876f.jpg', 'extension': 'jpg'}, 1335341495: {'path': 'temp/1738991102_2493906_1335341495_3bb7aa05f8b9a266178ff430051be9d6.jpg', 'extension': 'jpg'}, 1335341498: {'path': 'temp/1738991102_2493906_1335341498_69f78f0962d76a8c0bc7c098d45d4246.jpg', 'extension': 'jpg'}, 1335341499: {'path': 'temp/1738991102_2493906_1335341499_8cbb99b57e0af8c612b513f77e90084f.jpg', 'extension': 'jpg'}, 1335341503: {'path': 'temp/1738991102_2493906_1335341503_aff6e0ef78681c8ee495bb11649b82bf.jpg', 'extension': 'jpg'}, 1335341619: {'path': 'temp/1738991102_2493906_1335341619_24ba25a84927f9db4a8902c026bfad53.jpg', 'extension': 'jpg'}, 1335341731: {'path': 'temp/1738991102_2493906_1335341731_5bb5d3ba9d64d042d9a84d3056ca2be6.jpg', 'extension': 'jpg'}, 1335341745: {'path': 'temp/1738991102_2493906_1335341745_5fc91d55e7b2df1d9380f60da50b1259.jpg', 'extension': 'jpg'}, 1335341749: {'path': 'temp/1738991102_2493906_1335341749_3d1109664ea9008b98c123338a362693.jpg', 'extension': 'jpg'}, 1335341847: {'path': 'temp/1738991102_2493906_1335341847_4ba5f643e535188323d5ef6efa6ae80b.jpg', 'extension': 'jpg'}, 1335341850: {'path': 'temp/1738991102_2493906_1335341850_d3ca529df4393a4ee37335987c644a1d.jpg', 'extension': 'jpg'}, 1335341859: {'path': 'temp/1738991102_2493906_1335341859_11a6bb3aa9d44860a3d6f52f52bd5df5.jpg', 'extension': 'jpg'}, 1335341954: {'path': 'temp/1738991102_2493906_1335341954_89ab9c3227e60aace14ac48b25e8b535.jpg', 'extension': 'jpg'}, 1335342019: {'path': 'temp/1738991102_2493906_1335342019_055b97bca2b149abd076379ce35fa12d.jpg', 'extension': 'jpg'}, 1335342089: {'path': 'temp/1738991102_2493906_1335342089_1a21489adc41402c8f18056841d76980.jpg', 'extension': 'jpg'}, 1335342092: {'path': 'temp/1738991102_2493906_1335342092_b4b0dc69391e9c094743f1f5a49d036b.jpg', 'extension': 'jpg'}, 1335341690: {'path': 'temp/1738991102_2493906_1335341690_73349dbb36766a365eb10c3d04635aa6.jpg', 'extension': 'jpg'}, 1335341708: {'path': 'temp/1738991102_2493906_1335341708_3005c140db89a973946e3ab7d335bb43.jpg', 'extension': 'jpg'}, 1335341709: {'path': 'temp/1738991102_2493906_1335341709_7f05ecefa138e9ad2b0c496632931798.jpg', 'extension': 'jpg'}, 1335341713: {'path': 'temp/1738991102_2493906_1335341713_09752fe9b20a025bee30f816bd2eb0c3.jpg', 'extension': 'jpg'}, 1335341714: {'path': 'temp/1738991102_2493906_1335341714_548ffc3a7ddae16bf773c3f1e4e37836.jpg', 'extension': 'jpg'}, 1335341720: {'path': 'temp/1738991102_2493906_1335341720_b8143a57f3497f8ac110a50c075f64ea.jpg', 'extension': 'jpg'}, 1335341723: {'path': 'temp/1738991102_2493906_1335341723_0100e6591edd605d31319e6007344a0c.jpg', 'extension': 'jpg'}, 1335341727: {'path': 'temp/1738991102_2493906_1335341727_d3b9a12abe952191f1fb254e52afe18f.jpg', 'extension': 'jpg'}, 1335341728: {'path': 'temp/1738991102_2493906_1335341728_e399496654b4b5ec8239e1cee2f7eb65.jpg', 'extension': 'jpg'}, 1335341730: {'path': 'temp/1738991102_2493906_1335341730_e281b887e1bd52c3b562fd80fd041de1.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 = 20357221; (('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 = 20357221 group by h (('00', 45),) 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=20357221 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 (20357221) 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 (20357221) AND cps.thcl in (758) order by cps.score desc LIMIT 0, 100000 ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 07022025 20357221 Nombre de photos uploadées : 45 / 23040 (0%) 07022025 20357221 Nombre de photos taguées (types de déchets): 0 / 45 (0%) 07022025 20357221 Nombre de photos taguées (volume) : 0 / 45 (0%) [{'photo_id': 1335341067, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/7/7ecdd8f2ca6d429b0a87ddd7ec4f891b.jpg', 'username': None, 'uploaded_at': 1738890487, 'text': 'image_07022025_00_00_13_10240.jpg'}, {'photo_id': 1335342109, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/7/2aa739bdb6da62f6e7014aa7a110369f.jpg', 'username': None, 'uploaded_at': 1738890768, 'text': 'image_07022025_00_00_24_10161.jpg'}, {'photo_id': 1335342106, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/7/8e3253394bcd18cf542dd082edc1eb0c.jpg', 'username': None, 'uploaded_at': 1738890768, 'text': 'image_07022025_00_00_34_10149.jpg'}, {'photo_id': 1335336391, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/7/11912818bc389905a33747c7145f96f1.jpg', 'username': None, 'uploaded_at': 1738890053, 'text': 'image_07022025_00_01_04_10144.jpg'}] 0 [] elapsed_time : load_data_split_time_score 1.9073486328125e-06 elapsed_time : order_list_meta_photo_and_scores 7.152557373046875e-06 ????????????????????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.0019686222076416016 INSERT INTO `MTRPhoto`.`dashboard_entry_day` (`dashboard_place_id`, `mtr_portfolio_id`, `date`) VALUES ( 10, 20357221, '2025-02-07' ) ON DUPLICATE KEY UPDATE updated_at=NOW(); INSERT INTO `MTRPhoto`.`dashboard_run_ids` (`dashboard_entry_day`, `mtr_user_id`, `misc_info`) VALUES (1584783,979,"{}"); elapsed_time : insert_dashboard_record_day_entry 0.03506660461425781 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= 1584783 AND ded.last_run_id=dri.id AND dri.dashboard_entry_day=ded.id AND dri.id=dr.dashboard_run_id [{'dashboat_entry_day': 1584783, 'dashboard_run_id': 1595956, 'mtr_portfolio_id': 20357221, 'dashboard_result_id': 8775238, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': ''}"}, {'dashboat_entry_day': 1584783, 'dashboard_run_id': 1595956, 'mtr_portfolio_id': 20357222, 'dashboard_result_id': 8775239, '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_P20357222_08-02-2025_06_04_31.pdf'}"}, {'dashboat_entry_day': 1584783, 'dashboard_run_id': 1595956, 'mtr_portfolio_id': 20357223, 'dashboard_result_id': 8775240, '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_P20357223_08-02-2025_06_03_38.pdf'}"}, {'dashboat_entry_day': 1584783, 'dashboard_run_id': 1595956, 'mtr_portfolio_id': 20357224, 'dashboard_result_id': 8775241, '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_P20357224_08-02-2025_06_04_02.pdf'}"}, {'dashboat_entry_day': 1584783, 'dashboard_run_id': 1595956, 'mtr_portfolio_id': 20315569, 'dashboard_result_id': 8775242, '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_P20315569_07-02-2025_02_29_02.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20315599, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20315600, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20315601, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20315602, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20315603, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20315604, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20315605, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20315606, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20315607, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20315608, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20315609, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20315610, 'pht': 3726}}"}, {'dashboat_entry_day': 1584783, 'dashboard_run_id': 1595956, 'mtr_portfolio_id': 20315692, 'dashboard_result_id': 8775243, '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_P20315692_07-02-2025_02_39_28.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20315699, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20315700, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20315701, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20315702, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20315703, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20315704, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20315705, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20315706, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20315707, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20315708, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20315709, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20315710, 'pht': 3726}}"}, {'dashboat_entry_day': 1584783, 'dashboard_run_id': 1595956, 'mtr_portfolio_id': 20316024, 'dashboard_result_id': 8775244, '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_P20316024_07-02-2025_02_39_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20316077, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20316078, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20316079, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20316080, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20316081, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20316082, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20316083, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20316084, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20316085, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20316086, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20316087, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20316088, 'pht': 3726}}"}, {'dashboat_entry_day': 1584783, 'dashboard_run_id': 1595956, 'mtr_portfolio_id': 20316025, 'dashboard_result_id': 8775245, '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_P20316025_08-02-2025_06_03_03.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20316101, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20316102, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20316103, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20316104, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20316105, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20316106, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20316107, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20316108, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20316109, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20316110, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20316111, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20316112, 'pht': 3726}}"}, {'dashboat_entry_day': 1584783, 'dashboard_run_id': 1595956, 'mtr_portfolio_id': 20317438, 'dashboard_result_id': 8775246, '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_P20317438_07-02-2025_04_02_31.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20317441, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20317442, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20317443, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20317444, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20317445, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20317446, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20317447, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20317448, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20317449, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20317450, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20317451, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20317452, 'pht': 3726}}"}, {'dashboat_entry_day': 1584783, 'dashboard_run_id': 1595956, 'mtr_portfolio_id': 20317982, 'dashboard_result_id': 8775247, '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_P20317982_07-02-2025_04_16_59.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20318011, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20318012, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20318013, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20318014, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20318015, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20318016, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20318017, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20318018, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20318019, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20318020, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20318021, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20318022, 'pht': 3726}}"}, {'dashboat_entry_day': 1584783, 'dashboard_run_id': 1595956, 'mtr_portfolio_id': 20318337, 'dashboard_result_id': 8775248, '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_P20318337_07-02-2025_04_33_00.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20318363, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20318364, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20318365, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20318366, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20318367, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20318368, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20318369, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20318370, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20318371, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20318372, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20318373, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20318374, 'pht': 3726}}"}, {'dashboat_entry_day': 1584783, 'dashboard_run_id': 1595956, 'mtr_portfolio_id': 20318874, 'dashboard_result_id': 8775249, '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_P20318874_07-02-2025_05_05_01.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20318881, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20318882, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20318883, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20318884, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20318885, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20318886, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20318887, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20318888, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20318889, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20318890, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20318891, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20318892, 'pht': 3726}}"}, {'dashboat_entry_day': 1584783, 'dashboard_run_id': 1595956, 'mtr_portfolio_id': 20319461, 'dashboard_result_id': 8775250, '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_P20319461_07-02-2025_05_26_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20319479, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20319480, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20319481, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20319482, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20319483, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20319484, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20319485, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20319486, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20319487, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20319488, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20319489, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20319490, 'pht': 3726}}"}, {'dashboat_entry_day': 1584783, 'dashboard_run_id': 1595956, 'mtr_portfolio_id': 20319822, 'dashboard_result_id': 8775251, '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_P20319822_07-02-2025_05_32_31.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20319825, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20319826, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20319827, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20319828, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20319829, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20319830, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20319831, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20319832, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20319833, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20319834, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20319835, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20319836, 'pht': 3726}}"}, {'dashboat_entry_day': 1584783, 'dashboard_run_id': 1595956, 'mtr_portfolio_id': 20320244, 'dashboard_result_id': 8775252, '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_P20320244_07-02-2025_05_47_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20320245, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20320246, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20320247, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20320248, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20320249, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20320250, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20320251, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20320252, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20320253, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20320254, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20320255, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20320256, 'pht': 3726}}"}, {'dashboat_entry_day': 1584783, 'dashboard_run_id': 1595956, 'mtr_portfolio_id': 20320591, 'dashboard_result_id': 8775253, '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_P20320591_07-02-2025_06_05_29.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20320594, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20320595, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20320596, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20320597, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20320598, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20320599, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20320600, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20320601, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20320602, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20320603, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20320604, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20320605, 'pht': 3726}}"}, {'dashboat_entry_day': 1584783, 'dashboard_run_id': 1595956, 'mtr_portfolio_id': 20321063, 'dashboard_result_id': 8775254, '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_P20321063_07-02-2025_06_23_02.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20321064, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20321065, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20321066, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20321067, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20321068, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20321069, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20321070, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20321071, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20321072, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20321073, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20321074, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20321075, 'pht': 3726}}"}, {'dashboat_entry_day': 1584783, 'dashboard_run_id': 1595956, 'mtr_portfolio_id': 20321526, 'dashboard_result_id': 8775255, '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_P20321526_07-02-2025_06_32_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20321528, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20321529, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20321530, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20321531, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20321532, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20321533, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20321534, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20321535, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20321536, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20321537, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20321538, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20321539, 'pht': 3726}}"}, {'dashboat_entry_day': 1584783, 'dashboard_run_id': 1595956, 'mtr_portfolio_id': 20321945, 'dashboard_result_id': 8775256, '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_P20321945_07-02-2025_06_48_58.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20321961, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20321962, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20321963, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20321964, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20321965, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20321966, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20321967, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20321968, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20321969, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20321970, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20321971, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20321972, 'pht': 3726}}"}, {'dashboat_entry_day': 1584783, 'dashboard_run_id': 1595956, 'mtr_portfolio_id': 20322310, 'dashboard_result_id': 8775257, '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_P20322310_07-02-2025_07_22_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20322363, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20322364, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20322365, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20322366, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20322367, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20322368, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20322369, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20322370, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20322371, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20322372, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20322373, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20322374, 'pht': 3726}}"}, {'dashboat_entry_day': 1584783, 'dashboard_run_id': 1595956, 'mtr_portfolio_id': 20322943, 'dashboard_result_id': 8775258, '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_P20322943_07-02-2025_07_23_30.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20322946, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20322947, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20322948, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20322949, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20322950, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20322951, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20322952, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20322953, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20322954, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20322955, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20322956, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20322957, 'pht': 3726}}"}, {'dashboat_entry_day': 1584783, 'dashboard_run_id': 1595956, 'mtr_portfolio_id': 20323019, 'dashboard_result_id': 8775259, '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_P20323019_07-02-2025_07_32_58.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20323025, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20323026, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20323027, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20323028, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20323029, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20323030, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20323031, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20323032, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20323033, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20323034, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20323035, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20323036, 'pht': 3726}}"}, {'dashboat_entry_day': 1584783, 'dashboard_run_id': 1595956, 'mtr_portfolio_id': 20323596, 'dashboard_result_id': 8775260, '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_P20323596_07-02-2025_07_46_59.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20323601, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20323602, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20323603, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20323604, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20323605, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20323606, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20323607, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20323608, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20323609, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20323610, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20323611, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20323612, 'pht': 3726}}"}, {'dashboat_entry_day': 1584783, 'dashboard_run_id': 1595956, 'mtr_portfolio_id': 20324009, 'dashboard_result_id': 8775261, '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_P20324009_07-02-2025_08_02_31.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20324023, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20324024, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20324025, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20324026, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20324027, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20324028, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20324029, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20324030, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20324031, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20324032, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20324033, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20324034, 'pht': 3726}}"}, {'dashboat_entry_day': 1584783, 'dashboard_run_id': 1595956, 'mtr_portfolio_id': 20324595, 'dashboard_result_id': 8775262, '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_P20324595_07-02-2025_08_16_58.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20324603, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20324604, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20324605, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20324606, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20324607, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20324608, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20324609, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20324610, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20324611, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20324612, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20324613, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20324614, 'pht': 3726}}"}, {'dashboat_entry_day': 1584783, 'dashboard_run_id': 1595956, 'mtr_portfolio_id': 20325074, 'dashboard_result_id': 8775263, '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_P20325074_07-02-2025_08_33_32.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20325083, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20325084, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20325085, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20325086, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20325087, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20325088, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20325089, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20325090, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20325091, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20325092, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20325094, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20325095, 'pht': 3726}}"}, {'dashboat_entry_day': 1584783, 'dashboard_run_id': 1595956, 'mtr_portfolio_id': 20325725, 'dashboard_result_id': 8775264, '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_P20325725_07-02-2025_08_47_02.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20325758, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20325759, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20325760, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20325761, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20325762, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20325763, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20325764, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20325765, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20325766, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20325767, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20325768, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20325769, 'pht': 3726}}"}, {'dashboat_entry_day': 1584783, 'dashboard_run_id': 1595956, 'mtr_portfolio_id': 20326215, 'dashboard_result_id': 8775265, '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_P20326215_07-02-2025_09_03_27.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20326223, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20326224, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20326225, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20326226, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20326227, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20326228, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20326229, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20326230, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20326231, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20326232, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20326233, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20326234, 'pht': 3726}}"}, {'dashboat_entry_day': 1584783, 'dashboard_run_id': 1595956, 'mtr_portfolio_id': 20327948, 'dashboard_result_id': 8775266, '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_P20327948_07-02-2025_09_46_59.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20327951, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20327952, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20327953, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20327954, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20327955, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20327956, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20327957, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20327958, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20327959, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20327960, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20327961, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20327962, 'pht': 3726}}"}, {'dashboat_entry_day': 1584783, 'dashboard_run_id': 1595956, 'mtr_portfolio_id': 20328450, 'dashboard_result_id': 8775267, '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_P20328450_07-02-2025_10_02_34.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20328452, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20328453, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20328454, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20328455, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20328456, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20328457, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20328458, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20328459, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20328460, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20328461, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20328462, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20328463, 'pht': 3726}}"}, {'dashboat_entry_day': 1584783, 'dashboard_run_id': 1595956, 'mtr_portfolio_id': 20328924, 'dashboard_result_id': 8775268, '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_P20328924_07-02-2025_10_17_01.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20328929, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20328930, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20328931, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20328932, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20328933, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20328934, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20328935, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20328936, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20328937, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20328938, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20328939, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20328940, 'pht': 3726}}"}, {'dashboat_entry_day': 1584783, 'dashboard_run_id': 1595956, 'mtr_portfolio_id': 20329678, 'dashboard_result_id': 8775269, '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_P20329678_07-02-2025_10_32_57.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20329685, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20329686, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20329687, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20329688, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20329689, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20329690, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20329691, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20329692, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20329693, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20329694, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20329695, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20329696, 'pht': 3726}}"}, {'dashboat_entry_day': 1584783, 'dashboard_run_id': 1595956, 'mtr_portfolio_id': 20329897, 'dashboard_result_id': 8775270, '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_P20329897_07-02-2025_10_46_59.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20329944, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20329945, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20329946, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20329947, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20329948, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20329949, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20329950, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20329951, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20329952, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20329953, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20329954, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20329955, 'pht': 3726}}"}, {'dashboat_entry_day': 1584783, 'dashboard_run_id': 1595956, 'mtr_portfolio_id': 20330538, 'dashboard_result_id': 8775271, '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_P20330538_07-02-2025_11_02_31.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20330583, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20330584, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20330585, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20330586, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20330587, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20330588, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20330589, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20330590, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20330591, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20330592, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20330593, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20330594, 'pht': 3726}}"}, {'dashboat_entry_day': 1584783, 'dashboard_run_id': 1595956, 'mtr_portfolio_id': 20331959, 'dashboard_result_id': 8775272, '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_P20331959_07-02-2025_11_46_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20331988, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20331989, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20331990, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20331991, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20331992, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20331993, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20331994, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20331995, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20331996, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20331997, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20331998, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20331999, 'pht': 3726}}"}, {'dashboat_entry_day': 1584783, 'dashboard_run_id': 1595956, 'mtr_portfolio_id': 20332530, 'dashboard_result_id': 8775273, '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_P20332530_07-02-2025_12_07_01.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20332534, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20332535, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20332536, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20332537, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20332538, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20332539, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20332540, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20332541, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20332542, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20332543, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20332544, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20332545, 'pht': 3726}}"}, {'dashboat_entry_day': 1584783, 'dashboard_run_id': 1595956, 'mtr_portfolio_id': 20332974, 'dashboard_result_id': 8775274, '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_P20332974_07-02-2025_12_44_57.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20332984, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20332985, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20332986, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20332987, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20332988, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20332989, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20332990, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20332991, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20332992, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20332993, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20332994, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20332995, 'pht': 3726}}"}, {'dashboat_entry_day': 1584783, 'dashboard_run_id': 1595956, 'mtr_portfolio_id': 20334720, 'dashboard_result_id': 8775275, '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_P20334720_07-02-2025_13_46_59.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20334721, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20334722, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20334723, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20334724, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20334725, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20334726, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20334727, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20334728, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20334729, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20334730, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20334731, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20334732, 'pht': 3726}}"}, {'dashboat_entry_day': 1584783, 'dashboard_run_id': 1595956, 'mtr_portfolio_id': 20334954, 'dashboard_result_id': 8775276, '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_P20334954_07-02-2025_14_02_59.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20334981, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20334982, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20334983, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20334984, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20334985, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20334986, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20334987, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20334988, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20334989, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20334990, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20334991, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20334992, 'pht': 3726}}"}, {'dashboat_entry_day': 1584783, 'dashboard_run_id': 1595956, 'mtr_portfolio_id': 20335400, 'dashboard_result_id': 8775277, '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_P20335400_07-02-2025_14_18_58.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20335417, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20335418, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20335419, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20335420, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20335421, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20335422, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20335423, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20335424, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20335425, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20335426, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20335427, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20335428, 'pht': 3726}}"}, {'dashboat_entry_day': 1584783, 'dashboard_run_id': 1595956, 'mtr_portfolio_id': 20335893, 'dashboard_result_id': 8775278, '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_P20335893_07-02-2025_14_32_59.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20335951, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20335952, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20335953, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20335954, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20335955, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20335956, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20335957, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20335958, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20335959, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20335960, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20335961, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20335962, 'pht': 3726}}"}, {'dashboat_entry_day': 1584783, 'dashboard_run_id': 1595956, 'mtr_portfolio_id': 20336499, 'dashboard_result_id': 8775279, '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_P20336499_07-02-2025_14_49_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20336528, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20336529, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20336530, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20336531, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20336532, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20336533, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20336534, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20336535, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20336536, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20336537, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20336538, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20336539, 'pht': 3726}}"}, {'dashboat_entry_day': 1584783, 'dashboard_run_id': 1595956, 'mtr_portfolio_id': 20336877, 'dashboard_result_id': 8775280, '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_P20336877_07-02-2025_15_11_00.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20336893, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20336894, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20336895, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20336896, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20336897, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20336898, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20336899, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20336900, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20336901, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20336902, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20336903, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20336904, 'pht': 3726}}"}, {'dashboat_entry_day': 1584783, 'dashboard_run_id': 1595956, 'mtr_portfolio_id': 20337903, 'dashboard_result_id': 8775281, '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_P20337903_07-02-2025_15_20_34.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20337929, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20337931, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20337935, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20337940, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20337945, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20337950, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20337951, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20337952, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20337953, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20337954, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20337955, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20337956, 'pht': 3726}}"}, {'dashboat_entry_day': 1584783, 'dashboard_run_id': 1595956, 'mtr_portfolio_id': 20338212, 'dashboard_result_id': 8775282, '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_P20338212_07-02-2025_15_33_00.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20338214, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20338215, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20338216, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20338217, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20338218, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20338219, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20338220, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20338221, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20338222, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20338223, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20338224, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20338225, 'pht': 3726}}"}, {'dashboat_entry_day': 1584783, 'dashboard_run_id': 1595956, 'mtr_portfolio_id': 20338563, 'dashboard_result_id': 8775283, '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_P20338563_07-02-2025_15_49_00.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20338572, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20338573, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20338574, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20338575, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20338576, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20338577, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20338578, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20338579, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20338580, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20338581, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20338582, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20338583, 'pht': 3726}}"}, {'dashboat_entry_day': 1584783, 'dashboard_run_id': 1595956, 'mtr_portfolio_id': 20339390, 'dashboard_result_id': 8775284, '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_P20339390_07-02-2025_16_06_59.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20339428, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20339429, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20339430, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20339431, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20339432, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20339433, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20339434, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20339435, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20339436, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20339437, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20339438, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20339439, 'pht': 3726}}"}, {'dashboat_entry_day': 1584783, 'dashboard_run_id': 1595956, 'mtr_portfolio_id': 20340006, 'dashboard_result_id': 8775285, '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_P20340006_07-02-2025_16_18_57.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20340009, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20340010, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20340011, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20340012, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20340013, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20340014, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20340015, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20340016, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20340017, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20340018, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20340019, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20340020, 'pht': 3726}}"}, {'dashboat_entry_day': 1584783, 'dashboard_run_id': 1595956, 'mtr_portfolio_id': 20340339, 'dashboard_result_id': 8775286, '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_P20340339_07-02-2025_16_33_02.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20340348, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20340349, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20340350, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20340351, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20340352, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20340353, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20340354, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20340355, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20340356, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20340357, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20340358, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20340359, 'pht': 3726}}"}, {'dashboat_entry_day': 1584783, 'dashboard_run_id': 1595956, 'mtr_portfolio_id': 20341179, 'dashboard_result_id': 8775287, '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_P20341179_07-02-2025_16_46_34.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20341186, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20341187, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20341188, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20341189, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20341190, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20341191, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20341192, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20341193, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20341194, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20341195, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20341196, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20341197, 'pht': 3726}}"}, {'dashboat_entry_day': 1584783, 'dashboard_run_id': 1595956, 'mtr_portfolio_id': 20341719, 'dashboard_result_id': 8775288, '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_P20341719_07-02-2025_17_03_31.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20341735, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20341736, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20341737, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20341738, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20341739, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20341740, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20341741, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20341742, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20341743, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20341744, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20341745, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20341746, 'pht': 3726}}"}, {'dashboat_entry_day': 1584783, 'dashboard_run_id': 1595956, 'mtr_portfolio_id': 20342056, 'dashboard_result_id': 8775289, '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_P20342056_07-02-2025_17_18_59.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20342064, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20342065, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20342066, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20342067, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20342068, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20342069, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20342070, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20342071, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20342072, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20342073, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20342074, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20342075, 'pht': 3726}}"}, {'dashboat_entry_day': 1584783, 'dashboard_run_id': 1595956, 'mtr_portfolio_id': 20342262, 'dashboard_result_id': 8775290, '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_P20342262_07-02-2025_17_32_59.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20342280, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20342281, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20342282, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20342283, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20342284, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20342285, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20342286, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20342287, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20342288, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20342289, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20342290, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20342291, 'pht': 3726}}"}, {'dashboat_entry_day': 1584783, 'dashboard_run_id': 1595956, 'mtr_portfolio_id': 20343639, 'dashboard_result_id': 8775291, '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_P20343639_07-02-2025_18_18_59.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20343646, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20343647, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20343648, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20343649, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20343650, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20343651, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20343652, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20343653, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20343654, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20343655, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20343656, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20343657, 'pht': 3726}}"}, {'dashboat_entry_day': 1584783, 'dashboard_run_id': 1595956, 'mtr_portfolio_id': 20343892, 'dashboard_result_id': 8775292, '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_P20343892_07-02-2025_18_32_59.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20343909, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20343910, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20343911, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20343912, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20343913, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20343914, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20343915, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20343916, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20343917, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20343918, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20343919, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20343920, 'pht': 3726}}"}, {'dashboat_entry_day': 1584783, 'dashboard_run_id': 1595956, 'mtr_portfolio_id': 20344230, 'dashboard_result_id': 8775293, '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_P20344230_07-02-2025_18_48_57.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20344231, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20344232, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20344233, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20344234, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20344235, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20344236, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20344237, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20344238, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20344239, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20344240, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20344241, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20344242, 'pht': 3726}}"}, {'dashboat_entry_day': 1584783, 'dashboard_run_id': 1595956, 'mtr_portfolio_id': 20344666, 'dashboard_result_id': 8775294, '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_P20344666_07-02-2025_19_02_57.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20344709, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20344710, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20344711, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20344712, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20344713, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20344714, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20344715, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20344716, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20344717, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20344718, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20344719, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20344720, 'pht': 3726}}"}, {'dashboat_entry_day': 1584783, 'dashboard_run_id': 1595956, 'mtr_portfolio_id': 20345370, 'dashboard_result_id': 8775295, '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_P20345370_07-02-2025_19_17_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20345401, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20345402, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20345403, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20345404, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20345405, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20345406, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20345407, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20345408, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20345409, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20345410, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20345411, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20345412, 'pht': 3726}}"}, {'dashboat_entry_day': 1584783, 'dashboard_run_id': 1595956, 'mtr_portfolio_id': 20345968, 'dashboard_result_id': 8775296, '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_P20345968_07-02-2025_19_32_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20345976, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20345977, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20345978, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20345979, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20345980, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20345981, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20345982, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20345983, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20345984, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20345985, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20345986, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20345987, 'pht': 3726}}"}, {'dashboat_entry_day': 1584783, 'dashboard_run_id': 1595956, 'mtr_portfolio_id': 20346586, 'dashboard_result_id': 8775297, '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_P20346586_07-02-2025_19_47_03.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20346612, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20346613, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20346614, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20346615, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20346616, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20346617, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20346618, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20346619, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20346620, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20346621, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20346622, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20346623, 'pht': 3726}}"}, {'dashboat_entry_day': 1584783, 'dashboard_run_id': 1595956, 'mtr_portfolio_id': 20347070, 'dashboard_result_id': 8775298, '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_P20347070_07-02-2025_20_02_31.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20347113, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20347114, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20347115, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20347116, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20347117, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20347118, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20347119, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20347120, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20347121, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20347122, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20347123, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20347124, 'pht': 3726}}"}, {'dashboat_entry_day': 1584783, 'dashboard_run_id': 1595956, 'mtr_portfolio_id': 20347727, 'dashboard_result_id': 8775299, '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_P20347727_07-02-2025_20_18_59.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20347736, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20347737, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20347738, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20347739, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20347740, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20347741, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20347742, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20347743, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20347744, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20347745, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20347746, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20347747, 'pht': 3726}}"}, {'dashboat_entry_day': 1584783, 'dashboard_run_id': 1595956, 'mtr_portfolio_id': 20348300, 'dashboard_result_id': 8775300, '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_P20348300_07-02-2025_20_32_57.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20348424, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20348425, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20348426, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20348428, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20348429, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20348430, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20348431, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20348432, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20348433, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20348434, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20348435, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20348436, 'pht': 3726}}"}, {'dashboat_entry_day': 1584783, 'dashboard_run_id': 1595956, 'mtr_portfolio_id': 20349397, 'dashboard_result_id': 8775301, '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_P20349397_07-02-2025_21_10_58.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20349404, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20349405, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20349406, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20349407, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20349408, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20349409, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20349410, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20349411, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20349412, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20349413, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20349414, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20349415, '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 = 20357221 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 = 20357221 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 = 20357221 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20357221 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 = 20357221 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 = 20357221 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20357221_08-02-2025_06_05_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20357221 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_P20357221_08-02-2025_06_05_04.pdf'}" where mtr_portfolio_id = 20357221 and dashboard_run_id = 1595956 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20357222 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 = 20357222 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 = 20357222 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20357222 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 = 20357222 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 = 20357222 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20357222_08-02-2025_06_04_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20357222 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_P20357222_08-02-2025_06_04_31.pdf'}" where mtr_portfolio_id = 20357222 and dashboard_run_id = 1595956 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20357223 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 = 20357223 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20357223 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20357223_08-02-2025_06_03_38.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20357223 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_P20357223_08-02-2025_06_03_38.pdf'}" where mtr_portfolio_id = 20357223 and dashboard_run_id = 1595956 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20357224 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 = 20357224 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 = 20357224 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20357224 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 = 20357224 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 = 20357224 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20357224_08-02-2025_06_04_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20357224 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_P20357224_08-02-2025_06_04_02.pdf'}" where mtr_portfolio_id = 20357224 and dashboard_run_id = 1595956 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20315569 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': 2560955, 'mtr_portfolio_id': 20315569, 'created_at': datetime.datetime(2025, 2, 7, 2, 29, 1), 'result': '0.01710279502736528', 'result_long': None, 'result_double': None}] Qualite : 0.01710279502736528 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20315569 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20315569_07-02-2025_02_29_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20315569 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_P20315569_07-02-2025_02_29_02.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20315599, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20315600, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20315601, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20315602, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20315603, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20315604, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20315605, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20315606, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20315607, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20315608, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20315609, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20315610, 'pht': 3726}}" where mtr_portfolio_id = 20315569 and dashboard_run_id = 1595956 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`=20315569 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8775242, 0.01710279502736528, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20315569_07-02-2025_02_29_02.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20315599, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20315600, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20315601, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20315602, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20315603, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20315604, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20315605, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20315606, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20315607, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20315608, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20315609, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20315610, '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 = 20315692 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': 2560963, 'mtr_portfolio_id': 20315692, 'created_at': datetime.datetime(2025, 2, 7, 2, 39, 27), 'result': '0.046067199191629125', 'result_long': None, 'result_double': None}] Qualite : 0.046067199191629125 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20315692 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20315692_07-02-2025_02_39_28.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20315692 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_P20315692_07-02-2025_02_39_28.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20315699, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20315700, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20315701, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20315702, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20315703, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20315704, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20315705, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20315706, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20315707, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20315708, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20315709, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20315710, 'pht': 3726}}" where mtr_portfolio_id = 20315692 and dashboard_run_id = 1595956 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`=20315692 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8775243, 0.046067199191629125, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20315692_07-02-2025_02_39_28.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20315699, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20315700, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20315701, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20315702, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20315703, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20315704, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20315705, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20315706, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20315707, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20315708, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20315709, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20315710, '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 = 20316024 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': 2560995, 'mtr_portfolio_id': 20316024, 'created_at': datetime.datetime(2025, 2, 7, 2, 39, 58), 'result': '0.041986435057008935', 'result_long': None, 'result_double': None}] Qualite : 0.041986435057008935 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20316024 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20316024_07-02-2025_02_39_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20316024 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_P20316024_07-02-2025_02_39_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20316077, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20316078, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20316079, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20316080, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20316081, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20316082, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20316083, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20316084, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20316085, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20316086, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20316087, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20316088, 'pht': 3726}}" where mtr_portfolio_id = 20316024 and dashboard_run_id = 1595956 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`=20316024 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8775244, 0.041986435057008935, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20316024_07-02-2025_02_39_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20316077, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20316078, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20316079, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20316080, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20316081, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20316082, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20316083, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20316084, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20316085, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20316086, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20316087, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20316088, '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 = 20316025 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': 2560996, 'mtr_portfolio_id': 20316025, 'created_at': datetime.datetime(2025, 2, 8, 6, 3, 3), 'result': '0.029249015508997347', 'result_long': None, 'result_double': None}] Qualite : 0.029249015508997347 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20316025 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20316025_08-02-2025_06_03_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20316025 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_P20316025_08-02-2025_06_03_03.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20316101, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20316102, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20316103, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20316104, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20316105, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20316106, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20316107, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20316108, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20316109, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20316110, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20316111, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20316112, 'pht': 3726}}" where mtr_portfolio_id = 20316025 and dashboard_run_id = 1595956 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`=20316025 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8775245, 0.029249015508997347, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20316025_08-02-2025_06_03_03.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20316101, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20316102, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20316103, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20316104, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20316105, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20316106, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20316107, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20316108, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20316109, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20316110, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20316111, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20316112, '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 = 20317438 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': 2561100, 'mtr_portfolio_id': 20317438, 'created_at': datetime.datetime(2025, 2, 7, 4, 2, 30), 'result': '0.03455338263752863', 'result_long': None, 'result_double': None}] Qualite : 0.03455338263752863 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20317438 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20317438_07-02-2025_04_02_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20317438 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_P20317438_07-02-2025_04_02_31.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20317441, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20317442, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20317443, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20317444, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20317445, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20317446, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20317447, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20317448, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20317449, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20317450, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20317451, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20317452, 'pht': 3726}}" where mtr_portfolio_id = 20317438 and dashboard_run_id = 1595956 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`=20317438 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8775246, 0.03455338263752863, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20317438_07-02-2025_04_02_31.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20317441, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20317442, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20317443, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20317444, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20317445, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20317446, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20317447, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20317448, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20317449, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20317450, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20317451, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20317452, '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 = 20317982 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': 2561139, 'mtr_portfolio_id': 20317982, 'created_at': datetime.datetime(2025, 2, 7, 4, 16, 58), 'result': '0.032857104735288606', 'result_long': None, 'result_double': None}] Qualite : 0.032857104735288606 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20317982 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20317982_07-02-2025_04_16_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20317982 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_P20317982_07-02-2025_04_16_59.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20318011, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20318012, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20318013, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20318014, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20318015, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20318016, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20318017, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20318018, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20318019, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20318020, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20318021, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20318022, 'pht': 3726}}" where mtr_portfolio_id = 20317982 and dashboard_run_id = 1595956 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`=20317982 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8775247, 0.032857104735288606, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20317982_07-02-2025_04_16_59.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20318011, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20318012, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20318013, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20318014, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20318015, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20318016, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20318017, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20318018, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20318019, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20318020, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20318021, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20318022, '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 = 20318337 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': 2561157, 'mtr_portfolio_id': 20318337, 'created_at': datetime.datetime(2025, 2, 7, 4, 33), 'result': '0.04152238855495941', 'result_long': None, 'result_double': None}] Qualite : 0.04152238855495941 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20318337 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20318337_07-02-2025_04_33_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20318337 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_P20318337_07-02-2025_04_33_00.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20318363, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20318364, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20318365, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20318366, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20318367, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20318368, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20318369, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20318370, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20318371, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20318372, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20318373, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20318374, 'pht': 3726}}" where mtr_portfolio_id = 20318337 and dashboard_run_id = 1595956 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`=20318337 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8775248, 0.04152238855495941, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20318337_07-02-2025_04_33_00.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20318363, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20318364, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20318365, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20318366, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20318367, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20318368, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20318369, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20318370, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20318371, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20318372, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20318373, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20318374, '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 = 20318874 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': 2561182, 'mtr_portfolio_id': 20318874, 'created_at': datetime.datetime(2025, 2, 7, 5, 5), 'result': '0.04539250344944499', 'result_long': None, 'result_double': None}] Qualite : 0.04539250344944499 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20318874 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20318874_07-02-2025_05_05_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20318874 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_P20318874_07-02-2025_05_05_01.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20318881, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20318882, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20318883, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20318884, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20318885, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20318886, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20318887, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20318888, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20318889, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20318890, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20318891, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20318892, 'pht': 3726}}" where mtr_portfolio_id = 20318874 and dashboard_run_id = 1595956 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`=20318874 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8775249, 0.04539250344944499, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20318874_07-02-2025_05_05_01.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20318881, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20318882, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20318883, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20318884, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20318885, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20318886, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20318887, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20318888, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20318889, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20318890, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20318891, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20318892, '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 = 20319461 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': 2561240, 'mtr_portfolio_id': 20319461, 'created_at': datetime.datetime(2025, 2, 7, 5, 26, 58), 'result': '0.01044382739579811', 'result_long': None, 'result_double': None}] Qualite : 0.01044382739579811 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20319461 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20319461_07-02-2025_05_26_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20319461 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_P20319461_07-02-2025_05_26_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20319479, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20319480, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20319481, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20319482, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20319483, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20319484, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20319485, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20319486, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20319487, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20319488, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20319489, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20319490, 'pht': 3726}}" where mtr_portfolio_id = 20319461 and dashboard_run_id = 1595956 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`=20319461 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8775250, 0.01044382739579811, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20319461_07-02-2025_05_26_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20319479, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20319480, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20319481, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20319482, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20319483, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20319484, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20319485, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20319486, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20319487, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20319488, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20319489, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20319490, '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 = 20319822 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': 2561265, 'mtr_portfolio_id': 20319822, 'created_at': datetime.datetime(2025, 2, 7, 5, 32, 31), 'result': '0.03844202721267339', 'result_long': None, 'result_double': None}] Qualite : 0.03844202721267339 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20319822 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20319822_07-02-2025_05_32_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20319822 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_P20319822_07-02-2025_05_32_31.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20319825, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20319826, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20319827, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20319828, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20319829, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20319830, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20319831, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20319832, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20319833, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20319834, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20319835, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20319836, 'pht': 3726}}" where mtr_portfolio_id = 20319822 and dashboard_run_id = 1595956 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`=20319822 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8775251, 0.03844202721267339, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20319822_07-02-2025_05_32_31.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20319825, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20319826, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20319827, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20319828, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20319829, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20319830, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20319831, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20319832, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20319833, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20319834, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20319835, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20319836, '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 = 20320244 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': 2561410, 'mtr_portfolio_id': 20320244, 'created_at': datetime.datetime(2025, 2, 7, 5, 46, 59), 'result': '0.03112599004572641', 'result_long': None, 'result_double': None}] Qualite : 0.03112599004572641 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20320244 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20320244_07-02-2025_05_47_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20320244 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_P20320244_07-02-2025_05_47_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20320245, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20320246, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20320247, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20320248, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20320249, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20320250, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20320251, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20320252, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20320253, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20320254, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20320255, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20320256, 'pht': 3726}}" where mtr_portfolio_id = 20320244 and dashboard_run_id = 1595956 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`=20320244 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8775252, 0.03112599004572641, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20320244_07-02-2025_05_47_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20320245, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20320246, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20320247, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20320248, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20320249, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20320250, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20320251, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20320252, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20320253, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20320254, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20320255, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20320256, '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 = 20320591 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': 2561435, 'mtr_portfolio_id': 20320591, 'created_at': datetime.datetime(2025, 2, 7, 6, 5, 28), 'result': '0.039836311905120665', 'result_long': None, 'result_double': None}] Qualite : 0.039836311905120665 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20320591 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20320591_07-02-2025_06_05_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20320591 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_P20320591_07-02-2025_06_05_29.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20320594, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20320595, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20320596, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20320597, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20320598, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20320599, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20320600, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20320601, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20320602, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20320603, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20320604, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20320605, 'pht': 3726}}" where mtr_portfolio_id = 20320591 and dashboard_run_id = 1595956 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`=20320591 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8775253, 0.039836311905120665, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20320591_07-02-2025_06_05_29.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20320594, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20320595, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20320596, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20320597, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20320598, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20320599, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20320600, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20320601, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20320602, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20320603, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20320604, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20320605, '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 = 20321063 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': 2561479, 'mtr_portfolio_id': 20321063, 'created_at': datetime.datetime(2025, 2, 7, 6, 23, 1), 'result': '0.045950469882550304', 'result_long': None, 'result_double': None}] Qualite : 0.045950469882550304 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20321063 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20321063_07-02-2025_06_23_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20321063 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_P20321063_07-02-2025_06_23_02.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20321064, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20321065, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20321066, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20321067, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20321068, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20321069, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20321070, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20321071, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20321072, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20321073, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20321074, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20321075, 'pht': 3726}}" where mtr_portfolio_id = 20321063 and dashboard_run_id = 1595956 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`=20321063 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8775254, 0.045950469882550304, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20321063_07-02-2025_06_23_02.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20321064, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20321065, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20321066, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20321067, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20321068, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20321069, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20321070, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20321071, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20321072, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20321073, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20321074, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20321075, '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 = 20321526 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': 2561507, 'mtr_portfolio_id': 20321526, 'created_at': datetime.datetime(2025, 2, 7, 6, 32, 58), 'result': '0.04888521584194615', 'result_long': None, 'result_double': None}] Qualite : 0.04888521584194615 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20321526 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20321526_07-02-2025_06_32_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20321526 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_P20321526_07-02-2025_06_32_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20321528, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20321529, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20321530, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20321531, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20321532, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20321533, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20321534, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20321535, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20321536, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20321537, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20321538, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20321539, 'pht': 3726}}" where mtr_portfolio_id = 20321526 and dashboard_run_id = 1595956 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`=20321526 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8775255, 0.04888521584194615, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20321526_07-02-2025_06_32_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20321528, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20321529, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20321530, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20321531, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20321532, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20321533, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20321534, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20321535, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20321536, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20321537, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20321538, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20321539, '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 = 20321945 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': 2561556, 'mtr_portfolio_id': 20321945, 'created_at': datetime.datetime(2025, 2, 7, 6, 48, 57), 'result': '0.06380609661924626', 'result_long': None, 'result_double': None}] Qualite : 0.06380609661924626 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20321945 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20321945_07-02-2025_06_48_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20321945 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_P20321945_07-02-2025_06_48_58.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20321961, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20321962, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20321963, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20321964, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20321965, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20321966, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20321967, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20321968, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20321969, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20321970, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20321971, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20321972, 'pht': 3726}}" where mtr_portfolio_id = 20321945 and dashboard_run_id = 1595956 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`=20321945 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8775256, 0.06380609661924626, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20321945_07-02-2025_06_48_58.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20321961, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20321962, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20321963, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20321964, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20321965, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20321966, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20321967, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20321968, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20321969, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20321970, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20321971, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20321972, '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 = 20322310 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': 2561581, 'mtr_portfolio_id': 20322310, 'created_at': datetime.datetime(2025, 2, 7, 7, 22, 59), 'result': '0.04657092787778363', 'result_long': None, 'result_double': None}] Qualite : 0.04657092787778363 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20322310 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20322310_07-02-2025_07_22_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20322310 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_P20322310_07-02-2025_07_22_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20322363, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20322364, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20322365, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20322366, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20322367, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20322368, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20322369, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20322370, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20322371, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20322372, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20322373, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20322374, 'pht': 3726}}" where mtr_portfolio_id = 20322310 and dashboard_run_id = 1595956 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`=20322310 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8775257, 0.04657092787778363, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20322310_07-02-2025_07_22_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20322363, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20322364, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20322365, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20322366, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20322367, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20322368, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20322369, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20322370, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20322371, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20322372, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20322373, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20322374, '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 = 20322943 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': 2561649, 'mtr_portfolio_id': 20322943, 'created_at': datetime.datetime(2025, 2, 7, 7, 23, 29), 'result': '0.02704197444944989', 'result_long': None, 'result_double': None}] Qualite : 0.02704197444944989 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20322943 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20322943_07-02-2025_07_23_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20322943 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_P20322943_07-02-2025_07_23_30.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20322946, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20322947, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20322948, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20322949, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20322950, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20322951, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20322952, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20322953, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20322954, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20322955, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20322956, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20322957, 'pht': 3726}}" where mtr_portfolio_id = 20322943 and dashboard_run_id = 1595956 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`=20322943 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8775258, 0.02704197444944989, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20322943_07-02-2025_07_23_30.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20322946, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20322947, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20322948, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20322949, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20322950, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20322951, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20322952, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20322953, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20322954, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20322955, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20322956, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20322957, '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 = 20323019 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': 2561655, 'mtr_portfolio_id': 20323019, 'created_at': datetime.datetime(2025, 2, 7, 7, 32, 57), 'result': '0.031096395621148448', 'result_long': None, 'result_double': None}] Qualite : 0.031096395621148448 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20323019 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20323019_07-02-2025_07_32_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20323019 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_P20323019_07-02-2025_07_32_58.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20323025, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20323026, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20323027, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20323028, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20323029, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20323030, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20323031, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20323032, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20323033, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20323034, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20323035, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20323036, 'pht': 3726}}" where mtr_portfolio_id = 20323019 and dashboard_run_id = 1595956 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`=20323019 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8775259, 0.031096395621148448, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20323019_07-02-2025_07_32_58.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20323025, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20323026, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20323027, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20323028, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20323029, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20323030, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20323031, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20323032, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20323033, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20323034, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20323035, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20323036, '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 = 20323596 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': 2561694, 'mtr_portfolio_id': 20323596, 'created_at': datetime.datetime(2025, 2, 7, 7, 46, 59), 'result': '0.05076025138146329', 'result_long': None, 'result_double': None}] Qualite : 0.05076025138146329 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20323596 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20323596_07-02-2025_07_46_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20323596 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_P20323596_07-02-2025_07_46_59.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20323601, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20323602, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20323603, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20323604, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20323605, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20323606, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20323607, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20323608, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20323609, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20323610, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20323611, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20323612, 'pht': 3726}}" where mtr_portfolio_id = 20323596 and dashboard_run_id = 1595956 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`=20323596 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8775260, 0.05076025138146329, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20323596_07-02-2025_07_46_59.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20323601, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20323602, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20323603, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20323604, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20323605, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20323606, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20323607, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20323608, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20323609, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20323610, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20323611, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20323612, '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 = 20324009 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': 2561726, 'mtr_portfolio_id': 20324009, 'created_at': datetime.datetime(2025, 2, 7, 8, 2, 30), 'result': '0.0505059462516795', 'result_long': None, 'result_double': None}] Qualite : 0.0505059462516795 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20324009 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20324009_07-02-2025_08_02_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20324009 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_P20324009_07-02-2025_08_02_31.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20324023, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20324024, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20324025, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20324026, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20324027, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20324028, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20324029, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20324030, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20324031, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20324032, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20324033, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20324034, 'pht': 3726}}" where mtr_portfolio_id = 20324009 and dashboard_run_id = 1595956 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`=20324009 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8775261, 0.0505059462516795, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20324009_07-02-2025_08_02_31.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20324023, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20324024, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20324025, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20324026, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20324027, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20324028, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20324029, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20324030, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20324031, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20324032, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20324033, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20324034, '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 = 20324595 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': 2561783, 'mtr_portfolio_id': 20324595, 'created_at': datetime.datetime(2025, 2, 7, 8, 16, 58), 'result': '0.048098676741726396', 'result_long': None, 'result_double': None}] Qualite : 0.048098676741726396 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20324595 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20324595_07-02-2025_08_16_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20324595 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_P20324595_07-02-2025_08_16_58.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20324603, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20324604, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20324605, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20324606, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20324607, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20324608, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20324609, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20324610, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20324611, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20324612, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20324613, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20324614, 'pht': 3726}}" where mtr_portfolio_id = 20324595 and dashboard_run_id = 1595956 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`=20324595 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8775262, 0.048098676741726396, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20324595_07-02-2025_08_16_58.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20324603, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20324604, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20324605, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20324606, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20324607, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20324608, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20324609, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20324610, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20324611, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20324612, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20324613, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20324614, '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 = 20325074 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': 2561874, 'mtr_portfolio_id': 20325074, 'created_at': datetime.datetime(2025, 2, 7, 8, 33, 31), 'result': '0.04353647464996593', 'result_long': None, 'result_double': None}] Qualite : 0.04353647464996593 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20325074 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20325074_07-02-2025_08_33_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20325074 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_P20325074_07-02-2025_08_33_32.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20325083, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20325084, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20325085, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20325086, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20325087, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20325088, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20325089, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20325090, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20325091, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20325092, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20325094, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20325095, 'pht': 3726}}" where mtr_portfolio_id = 20325074 and dashboard_run_id = 1595956 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`=20325074 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8775263, 0.04353647464996593, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20325074_07-02-2025_08_33_32.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20325083, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20325084, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20325085, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20325086, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20325087, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20325088, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20325089, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20325090, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20325091, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20325092, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20325094, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20325095, '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 = 20325725 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': 2561966, 'mtr_portfolio_id': 20325725, 'created_at': datetime.datetime(2025, 2, 7, 8, 47, 1), 'result': '0.043658420107330044', 'result_long': None, 'result_double': None}] Qualite : 0.043658420107330044 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20325725 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20325725_07-02-2025_08_47_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20325725 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_P20325725_07-02-2025_08_47_02.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20325758, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20325759, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20325760, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20325761, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20325762, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20325763, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20325764, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20325765, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20325766, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20325767, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20325768, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20325769, 'pht': 3726}}" where mtr_portfolio_id = 20325725 and dashboard_run_id = 1595956 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`=20325725 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8775264, 0.043658420107330044, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20325725_07-02-2025_08_47_02.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20325758, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20325759, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20325760, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20325761, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20325762, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20325763, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20325764, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20325765, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20325766, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20325767, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20325768, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20325769, '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 = 20326215 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': 2562107, 'mtr_portfolio_id': 20326215, 'created_at': datetime.datetime(2025, 2, 7, 9, 3, 27), 'result': '0.059858173533595474', 'result_long': None, 'result_double': None}] Qualite : 0.059858173533595474 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20326215 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20326215_07-02-2025_09_03_27.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20326215 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_P20326215_07-02-2025_09_03_27.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20326223, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20326224, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20326225, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20326226, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20326227, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20326228, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20326229, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20326230, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20326231, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20326232, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20326233, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20326234, 'pht': 3726}}" where mtr_portfolio_id = 20326215 and dashboard_run_id = 1595956 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`=20326215 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8775265, 0.059858173533595474, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20326215_07-02-2025_09_03_27.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20326223, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20326224, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20326225, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20326226, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20326227, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20326228, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20326229, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20326230, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20326231, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20326232, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20326233, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20326234, '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 = 20327948 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': 2562427, 'mtr_portfolio_id': 20327948, 'created_at': datetime.datetime(2025, 2, 7, 9, 46, 58), 'result': '0.03978647542793224', 'result_long': None, 'result_double': None}] Qualite : 0.03978647542793224 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20327948 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20327948_07-02-2025_09_46_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20327948 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_P20327948_07-02-2025_09_46_59.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20327951, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20327952, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20327953, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20327954, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20327955, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20327956, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20327957, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20327958, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20327959, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20327960, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20327961, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20327962, 'pht': 3726}}" where mtr_portfolio_id = 20327948 and dashboard_run_id = 1595956 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`=20327948 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8775266, 0.03978647542793224, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20327948_07-02-2025_09_46_59.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20327951, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20327952, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20327953, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20327954, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20327955, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20327956, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20327957, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20327958, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20327959, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20327960, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20327961, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20327962, '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 = 20328450 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': 2562461, 'mtr_portfolio_id': 20328450, 'created_at': datetime.datetime(2025, 2, 7, 10, 2, 32), 'result': '0.045037108386477044', 'result_long': None, 'result_double': None}] Qualite : 0.045037108386477044 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20328450 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20328450_07-02-2025_10_02_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20328450 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_P20328450_07-02-2025_10_02_34.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20328452, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20328453, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20328454, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20328455, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20328456, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20328457, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20328458, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20328459, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20328460, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20328461, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20328462, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20328463, 'pht': 3726}}" where mtr_portfolio_id = 20328450 and dashboard_run_id = 1595956 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`=20328450 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8775267, 0.045037108386477044, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20328450_07-02-2025_10_02_34.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20328452, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20328453, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20328454, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20328455, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20328456, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20328457, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20328458, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20328459, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20328460, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20328461, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20328462, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20328463, '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 = 20328924 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': 2562503, 'mtr_portfolio_id': 20328924, 'created_at': datetime.datetime(2025, 2, 7, 10, 17), 'result': '0.035546290283588064', 'result_long': None, 'result_double': None}] Qualite : 0.035546290283588064 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20328924 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20328924_07-02-2025_10_17_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20328924 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_P20328924_07-02-2025_10_17_01.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20328929, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20328930, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20328931, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20328932, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20328933, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20328934, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20328935, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20328936, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20328937, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20328938, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20328939, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20328940, 'pht': 3726}}" where mtr_portfolio_id = 20328924 and dashboard_run_id = 1595956 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`=20328924 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8775268, 0.035546290283588064, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20328924_07-02-2025_10_17_01.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20328929, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20328930, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20328931, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20328932, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20328933, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20328934, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20328935, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20328936, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20328937, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20328938, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20328939, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20328940, '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 = 20329678 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': 2562557, 'mtr_portfolio_id': 20329678, 'created_at': datetime.datetime(2025, 2, 7, 10, 32, 57), 'result': '0.02811429950318194', 'result_long': None, 'result_double': None}] Qualite : 0.02811429950318194 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20329678 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20329678_07-02-2025_10_32_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20329678 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_P20329678_07-02-2025_10_32_57.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20329685, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20329686, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20329687, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20329688, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20329689, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20329690, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20329691, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20329692, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20329693, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20329694, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20329695, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20329696, 'pht': 3726}}" where mtr_portfolio_id = 20329678 and dashboard_run_id = 1595956 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`=20329678 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8775269, 0.02811429950318194, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20329678_07-02-2025_10_32_57.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20329685, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20329686, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20329687, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20329688, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20329689, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20329690, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20329691, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20329692, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20329693, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20329694, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20329695, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20329696, '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 = 20329897 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': 2562582, 'mtr_portfolio_id': 20329897, 'created_at': datetime.datetime(2025, 2, 7, 10, 46, 58), 'result': '0.02525678900687404', 'result_long': None, 'result_double': None}] Qualite : 0.02525678900687404 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20329897 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20329897_07-02-2025_10_46_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20329897 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_P20329897_07-02-2025_10_46_59.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20329944, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20329945, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20329946, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20329947, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20329948, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20329949, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20329950, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20329951, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20329952, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20329953, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20329954, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20329955, 'pht': 3726}}" where mtr_portfolio_id = 20329897 and dashboard_run_id = 1595956 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`=20329897 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8775270, 0.02525678900687404, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20329897_07-02-2025_10_46_59.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20329944, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20329945, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20329946, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20329947, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20329948, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20329949, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20329950, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20329951, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20329952, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20329953, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20329954, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20329955, '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 = 20330538 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': 2562697, 'mtr_portfolio_id': 20330538, 'created_at': datetime.datetime(2025, 2, 7, 11, 2, 30), 'result': '0.03511019176051157', 'result_long': None, 'result_double': None}] Qualite : 0.03511019176051157 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20330538 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20330538_07-02-2025_11_02_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20330538 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_P20330538_07-02-2025_11_02_31.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20330583, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20330584, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20330585, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20330586, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20330587, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20330588, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20330589, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20330590, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20330591, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20330592, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20330593, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20330594, 'pht': 3726}}" where mtr_portfolio_id = 20330538 and dashboard_run_id = 1595956 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`=20330538 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8775271, 0.03511019176051157, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20330538_07-02-2025_11_02_31.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20330583, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20330584, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20330585, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20330586, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20330587, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20330588, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20330589, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20330590, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20330591, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20330592, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20330593, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20330594, '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 = 20331959 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': 2564137, 'mtr_portfolio_id': 20331959, 'created_at': datetime.datetime(2025, 2, 7, 11, 46, 58), 'result': '0.03520284079510341', 'result_long': None, 'result_double': None}] Qualite : 0.03520284079510341 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20331959 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20331959_07-02-2025_11_46_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20331959 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_P20331959_07-02-2025_11_46_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20331988, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20331989, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20331990, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20331991, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20331992, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20331993, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20331994, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20331995, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20331996, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20331997, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20331998, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20331999, 'pht': 3726}}" where mtr_portfolio_id = 20331959 and dashboard_run_id = 1595956 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`=20331959 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8775272, 0.03520284079510341, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20331959_07-02-2025_11_46_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20331988, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20331989, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20331990, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20331991, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20331992, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20331993, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20331994, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20331995, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20331996, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20331997, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20331998, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20331999, '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 = 20332530 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': 2564183, 'mtr_portfolio_id': 20332530, 'created_at': datetime.datetime(2025, 2, 7, 12, 7), 'result': '0.05810365084858669', 'result_long': None, 'result_double': None}] Qualite : 0.05810365084858669 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20332530 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20332530_07-02-2025_12_07_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20332530 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_P20332530_07-02-2025_12_07_01.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20332534, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20332535, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20332536, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20332537, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20332538, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20332539, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20332540, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20332541, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20332542, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20332543, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20332544, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20332545, 'pht': 3726}}" where mtr_portfolio_id = 20332530 and dashboard_run_id = 1595956 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`=20332530 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8775273, 0.05810365084858669, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20332530_07-02-2025_12_07_01.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20332534, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20332535, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20332536, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20332537, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20332538, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20332539, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20332540, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20332541, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20332542, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20332543, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20332544, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20332545, '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 = 20332974 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': 2564217, 'mtr_portfolio_id': 20332974, 'created_at': datetime.datetime(2025, 2, 7, 12, 44, 57), 'result': '0.03779781876407411', 'result_long': None, 'result_double': None}] Qualite : 0.03779781876407411 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20332974 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20332974_07-02-2025_12_44_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20332974 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_P20332974_07-02-2025_12_44_57.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20332984, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20332985, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20332986, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20332987, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20332988, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20332989, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20332990, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20332991, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20332992, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20332993, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20332994, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20332995, 'pht': 3726}}" where mtr_portfolio_id = 20332974 and dashboard_run_id = 1595956 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`=20332974 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8775274, 0.03779781876407411, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20332974_07-02-2025_12_44_57.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20332984, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20332985, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20332986, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20332987, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20332988, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20332989, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20332990, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20332991, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20332992, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20332993, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20332994, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20332995, '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 = 20334720 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': 2564415, 'mtr_portfolio_id': 20334720, 'created_at': datetime.datetime(2025, 2, 7, 13, 46, 58), 'result': '0.04448295430109324', 'result_long': None, 'result_double': None}] Qualite : 0.04448295430109324 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20334720 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20334720_07-02-2025_13_46_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20334720 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_P20334720_07-02-2025_13_46_59.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20334721, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20334722, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20334723, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20334724, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20334725, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20334726, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20334727, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20334728, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20334729, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20334730, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20334731, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20334732, 'pht': 3726}}" where mtr_portfolio_id = 20334720 and dashboard_run_id = 1595956 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`=20334720 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8775275, 0.04448295430109324, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20334720_07-02-2025_13_46_59.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20334721, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20334722, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20334723, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20334724, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20334725, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20334726, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20334727, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20334728, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20334729, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20334730, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20334731, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20334732, '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 = 20334954 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': 2564441, 'mtr_portfolio_id': 20334954, 'created_at': datetime.datetime(2025, 2, 7, 14, 2, 58), 'result': '0.049352256562041105', 'result_long': None, 'result_double': None}] Qualite : 0.049352256562041105 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20334954 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20334954_07-02-2025_14_02_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20334954 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_P20334954_07-02-2025_14_02_59.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20334981, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20334982, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20334983, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20334984, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20334985, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20334986, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20334987, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20334988, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20334989, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20334990, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20334991, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20334992, 'pht': 3726}}" where mtr_portfolio_id = 20334954 and dashboard_run_id = 1595956 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`=20334954 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8775276, 0.049352256562041105, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20334954_07-02-2025_14_02_59.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20334981, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20334982, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20334983, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20334984, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20334985, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20334986, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20334987, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20334988, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20334989, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20334990, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20334991, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20334992, '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 = 20335400 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': 2564482, 'mtr_portfolio_id': 20335400, 'created_at': datetime.datetime(2025, 2, 7, 14, 18, 58), 'result': '0.03983541906813907', 'result_long': None, 'result_double': None}] Qualite : 0.03983541906813907 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20335400 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20335400_07-02-2025_14_18_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20335400 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_P20335400_07-02-2025_14_18_58.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20335417, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20335418, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20335419, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20335420, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20335421, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20335422, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20335423, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20335424, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20335425, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20335426, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20335427, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20335428, 'pht': 3726}}" where mtr_portfolio_id = 20335400 and dashboard_run_id = 1595956 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`=20335400 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8775277, 0.03983541906813907, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20335400_07-02-2025_14_18_58.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20335417, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20335418, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20335419, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20335420, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20335421, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20335422, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20335423, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20335424, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20335425, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20335426, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20335427, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20335428, '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 = 20335893 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': 2564528, 'mtr_portfolio_id': 20335893, 'created_at': datetime.datetime(2025, 2, 7, 14, 32, 58), 'result': '0.03430549937182513', 'result_long': None, 'result_double': None}] Qualite : 0.03430549937182513 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20335893 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20335893_07-02-2025_14_32_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20335893 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_P20335893_07-02-2025_14_32_59.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20335951, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20335952, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20335953, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20335954, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20335955, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20335956, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20335957, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20335958, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20335959, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20335960, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20335961, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20335962, 'pht': 3726}}" where mtr_portfolio_id = 20335893 and dashboard_run_id = 1595956 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`=20335893 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8775278, 0.03430549937182513, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20335893_07-02-2025_14_32_59.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20335951, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20335952, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20335953, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20335954, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20335955, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20335956, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20335957, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20335958, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20335959, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20335960, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20335961, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20335962, '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 = 20336499 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': 2564576, 'mtr_portfolio_id': 20336499, 'created_at': datetime.datetime(2025, 2, 7, 14, 49), 'result': '0.04279415881202916', 'result_long': None, 'result_double': None}] Qualite : 0.04279415881202916 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20336499 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20336499_07-02-2025_14_49_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20336499 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_P20336499_07-02-2025_14_49_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20336528, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20336529, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20336530, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20336531, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20336532, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20336533, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20336534, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20336535, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20336536, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20336537, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20336538, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20336539, 'pht': 3726}}" where mtr_portfolio_id = 20336499 and dashboard_run_id = 1595956 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`=20336499 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8775279, 0.04279415881202916, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20336499_07-02-2025_14_49_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20336528, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20336529, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20336530, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20336531, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20336532, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20336533, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20336534, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20336535, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20336536, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20336537, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20336538, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20336539, '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 = 20336877 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': 2564628, 'mtr_portfolio_id': 20336877, 'created_at': datetime.datetime(2025, 2, 7, 15, 10, 59), 'result': '0.022748209043018795', 'result_long': None, 'result_double': None}] Qualite : 0.022748209043018795 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20336877 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20336877_07-02-2025_15_11_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20336877 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_P20336877_07-02-2025_15_11_00.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20336893, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20336894, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20336895, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20336896, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20336897, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20336898, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20336899, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20336900, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20336901, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20336902, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20336903, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20336904, 'pht': 3726}}" where mtr_portfolio_id = 20336877 and dashboard_run_id = 1595956 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`=20336877 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8775280, 0.022748209043018795, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20336877_07-02-2025_15_11_00.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20336893, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20336894, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20336895, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20336896, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20336897, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20336898, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20336899, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20336900, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20336901, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20336902, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20336903, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20336904, '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 = 20337903 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': 2564792, 'mtr_portfolio_id': 20337903, 'created_at': datetime.datetime(2025, 2, 7, 15, 20, 34), 'result': '0.010440955800959464', 'result_long': None, 'result_double': None}] Qualite : 0.010440955800959464 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20337903 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20337903_07-02-2025_15_20_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20337903 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_P20337903_07-02-2025_15_20_34.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20337929, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20337931, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20337935, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20337940, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20337945, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20337950, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20337951, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20337952, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20337953, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20337954, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20337955, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20337956, 'pht': 3726}}" where mtr_portfolio_id = 20337903 and dashboard_run_id = 1595956 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`=20337903 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8775281, 0.010440955800959464, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20337903_07-02-2025_15_20_34.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20337929, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20337931, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20337935, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20337940, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20337945, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20337950, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20337951, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20337952, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20337953, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20337954, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20337955, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20337956, '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 = 20338212 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': 2564812, 'mtr_portfolio_id': 20338212, 'created_at': datetime.datetime(2025, 2, 7, 15, 33), 'result': '0.04257063308707382', 'result_long': None, 'result_double': None}] Qualite : 0.04257063308707382 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20338212 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20338212_07-02-2025_15_33_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20338212 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_P20338212_07-02-2025_15_33_00.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20338214, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20338215, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20338216, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20338217, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20338218, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20338219, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20338220, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20338221, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20338222, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20338223, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20338224, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20338225, 'pht': 3726}}" where mtr_portfolio_id = 20338212 and dashboard_run_id = 1595956 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`=20338212 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8775282, 0.04257063308707382, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20338212_07-02-2025_15_33_00.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20338214, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20338215, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20338216, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20338217, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20338218, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20338219, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20338220, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20338221, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20338222, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20338223, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20338224, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20338225, '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 = 20338563 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': 2564861, 'mtr_portfolio_id': 20338563, 'created_at': datetime.datetime(2025, 2, 7, 15, 48, 59), 'result': '0.03766165164144633', 'result_long': None, 'result_double': None}] Qualite : 0.03766165164144633 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20338563 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20338563_07-02-2025_15_49_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20338563 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_P20338563_07-02-2025_15_49_00.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20338572, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20338573, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20338574, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20338575, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20338576, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20338577, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20338578, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20338579, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20338580, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20338581, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20338582, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20338583, 'pht': 3726}}" where mtr_portfolio_id = 20338563 and dashboard_run_id = 1595956 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`=20338563 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8775283, 0.03766165164144633, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20338563_07-02-2025_15_49_00.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20338572, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20338573, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20338574, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20338575, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20338576, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20338577, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20338578, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20338579, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20338580, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20338581, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20338582, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20338583, '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 = 20339390 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': 2564915, 'mtr_portfolio_id': 20339390, 'created_at': datetime.datetime(2025, 2, 7, 16, 6, 59), 'result': '0.04405120693996621', 'result_long': None, 'result_double': None}] Qualite : 0.04405120693996621 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20339390 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20339390_07-02-2025_16_06_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20339390 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_P20339390_07-02-2025_16_06_59.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20339428, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20339429, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20339430, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20339431, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20339432, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20339433, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20339434, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20339435, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20339436, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20339437, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20339438, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20339439, 'pht': 3726}}" where mtr_portfolio_id = 20339390 and dashboard_run_id = 1595956 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`=20339390 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8775284, 0.04405120693996621, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20339390_07-02-2025_16_06_59.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20339428, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20339429, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20339430, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20339431, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20339432, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20339433, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20339434, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20339435, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20339436, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20339437, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20339438, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20339439, '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 = 20340006 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': 2564986, 'mtr_portfolio_id': 20340006, 'created_at': datetime.datetime(2025, 2, 7, 16, 18, 57), 'result': '0.037716373192041006', 'result_long': None, 'result_double': None}] Qualite : 0.037716373192041006 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20340006 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20340006_07-02-2025_16_18_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20340006 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_P20340006_07-02-2025_16_18_57.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20340009, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20340010, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20340011, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20340012, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20340013, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20340014, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20340015, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20340016, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20340017, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20340018, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20340019, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20340020, 'pht': 3726}}" where mtr_portfolio_id = 20340006 and dashboard_run_id = 1595956 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`=20340006 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8775285, 0.037716373192041006, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20340006_07-02-2025_16_18_57.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20340009, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20340010, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20340011, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20340012, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20340013, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20340014, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20340015, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20340016, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20340017, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20340018, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20340019, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20340020, '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 = 20340339 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': 2565011, 'mtr_portfolio_id': 20340339, 'created_at': datetime.datetime(2025, 2, 7, 16, 33, 2), 'result': '0.043779345615952765', 'result_long': None, 'result_double': None}] Qualite : 0.043779345615952765 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20340339 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20340339_07-02-2025_16_33_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20340339 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_P20340339_07-02-2025_16_33_02.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20340348, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20340349, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20340350, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20340351, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20340352, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20340353, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20340354, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20340355, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20340356, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20340357, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20340358, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20340359, 'pht': 3726}}" where mtr_portfolio_id = 20340339 and dashboard_run_id = 1595956 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`=20340339 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8775286, 0.043779345615952765, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20340339_07-02-2025_16_33_02.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20340348, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20340349, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20340350, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20340351, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20340352, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20340353, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20340354, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20340355, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20340356, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20340357, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20340358, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20340359, '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 = 20341179 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': 2565067, 'mtr_portfolio_id': 20341179, 'created_at': datetime.datetime(2025, 2, 7, 16, 46, 33), 'result': '0.039501469538361964', 'result_long': None, 'result_double': None}] Qualite : 0.039501469538361964 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20341179 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20341179_07-02-2025_16_46_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20341179 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_P20341179_07-02-2025_16_46_34.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20341186, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20341187, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20341188, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20341189, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20341190, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20341191, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20341192, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20341193, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20341194, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20341195, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20341196, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20341197, 'pht': 3726}}" where mtr_portfolio_id = 20341179 and dashboard_run_id = 1595956 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`=20341179 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8775287, 0.039501469538361964, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20341179_07-02-2025_16_46_34.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20341186, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20341187, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20341188, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20341189, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20341190, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20341191, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20341192, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20341193, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20341194, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20341195, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20341196, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20341197, '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 = 20341719 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': 2565143, 'mtr_portfolio_id': 20341719, 'created_at': datetime.datetime(2025, 2, 7, 17, 3, 30), 'result': '0.04095429880090979', 'result_long': None, 'result_double': None}] Qualite : 0.04095429880090979 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20341719 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20341719_07-02-2025_17_03_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20341719 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_P20341719_07-02-2025_17_03_31.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20341735, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20341736, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20341737, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20341738, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20341739, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20341740, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20341741, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20341742, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20341743, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20341744, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20341745, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20341746, 'pht': 3726}}" where mtr_portfolio_id = 20341719 and dashboard_run_id = 1595956 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`=20341719 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8775288, 0.04095429880090979, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20341719_07-02-2025_17_03_31.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20341735, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20341736, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20341737, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20341738, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20341739, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20341740, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20341741, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20341742, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20341743, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20341744, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20341745, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20341746, '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 = 20342056 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': 2565236, 'mtr_portfolio_id': 20342056, 'created_at': datetime.datetime(2025, 2, 7, 17, 18, 59), 'result': '0.0333572076400957', 'result_long': None, 'result_double': None}] Qualite : 0.0333572076400957 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20342056 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20342056_07-02-2025_17_18_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20342056 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_P20342056_07-02-2025_17_18_59.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20342064, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20342065, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20342066, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20342067, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20342068, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20342069, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20342070, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20342071, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20342072, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20342073, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20342074, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20342075, 'pht': 3726}}" where mtr_portfolio_id = 20342056 and dashboard_run_id = 1595956 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`=20342056 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8775289, 0.0333572076400957, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20342056_07-02-2025_17_18_59.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20342064, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20342065, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20342066, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20342067, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20342068, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20342069, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20342070, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20342071, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20342072, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20342073, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20342074, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20342075, '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 = 20342262 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': 2565334, 'mtr_portfolio_id': 20342262, 'created_at': datetime.datetime(2025, 2, 7, 17, 32, 59), 'result': '0.05320489838554412', 'result_long': None, 'result_double': None}] Qualite : 0.05320489838554412 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20342262 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20342262_07-02-2025_17_32_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20342262 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_P20342262_07-02-2025_17_32_59.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20342280, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20342281, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20342282, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20342283, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20342284, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20342285, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20342286, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20342287, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20342288, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20342289, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20342290, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20342291, 'pht': 3726}}" where mtr_portfolio_id = 20342262 and dashboard_run_id = 1595956 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`=20342262 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8775290, 0.05320489838554412, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20342262_07-02-2025_17_32_59.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20342280, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20342281, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20342282, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20342283, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20342284, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20342285, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20342286, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20342287, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20342288, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20342289, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20342290, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20342291, '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 = 20343639 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 = 20343639 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 = 20343639 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20343639 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 = 20343639 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 = 20343639 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20343639_07-02-2025_18_18_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20343639 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_P20343639_07-02-2025_18_18_59.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20343646, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20343647, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20343648, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20343649, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20343650, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20343651, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20343652, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20343653, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20343654, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20343655, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20343656, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20343657, 'pht': 3726}}" where mtr_portfolio_id = 20343639 and dashboard_run_id = 1595956 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20343892 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': 2565799, 'mtr_portfolio_id': 20343892, 'created_at': datetime.datetime(2025, 2, 7, 18, 32, 59), 'result': '0.031176818326054723', 'result_long': None, 'result_double': None}] Qualite : 0.031176818326054723 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20343892 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20343892_07-02-2025_18_32_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20343892 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_P20343892_07-02-2025_18_32_59.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20343909, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20343910, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20343911, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20343912, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20343913, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20343914, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20343915, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20343916, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20343917, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20343918, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20343919, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20343920, 'pht': 3726}}" where mtr_portfolio_id = 20343892 and dashboard_run_id = 1595956 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`=20343892 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8775292, 0.031176818326054723, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20343892_07-02-2025_18_32_59.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20343909, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20343910, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20343911, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20343912, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20343913, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20343914, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20343915, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20343916, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20343917, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20343918, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20343919, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20343920, '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 = 20344230 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': 2565947, 'mtr_portfolio_id': 20344230, 'created_at': datetime.datetime(2025, 2, 7, 18, 48, 57), 'result': '0.03734942722547355', 'result_long': None, 'result_double': None}] Qualite : 0.03734942722547355 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20344230 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20344230_07-02-2025_18_48_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20344230 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_P20344230_07-02-2025_18_48_57.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20344231, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20344232, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20344233, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20344234, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20344235, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20344236, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20344237, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20344238, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20344239, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20344240, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20344241, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20344242, 'pht': 3726}}" where mtr_portfolio_id = 20344230 and dashboard_run_id = 1595956 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`=20344230 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8775293, 0.03734942722547355, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20344230_07-02-2025_18_48_57.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20344231, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20344232, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20344233, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20344234, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20344235, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20344236, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20344237, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20344238, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20344239, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20344240, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20344241, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20344242, '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 = 20344666 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': 2566126, 'mtr_portfolio_id': 20344666, 'created_at': datetime.datetime(2025, 2, 7, 19, 2, 57), 'result': '0.027172037783226806', 'result_long': None, 'result_double': None}] Qualite : 0.027172037783226806 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20344666 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20344666_07-02-2025_19_02_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20344666 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_P20344666_07-02-2025_19_02_57.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20344709, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20344710, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20344711, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20344712, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20344713, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20344714, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20344715, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20344716, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20344717, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20344718, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20344719, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20344720, 'pht': 3726}}" where mtr_portfolio_id = 20344666 and dashboard_run_id = 1595956 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`=20344666 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8775294, 0.027172037783226806, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20344666_07-02-2025_19_02_57.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20344709, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20344710, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20344711, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20344712, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20344713, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20344714, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20344715, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20344716, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20344717, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20344718, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20344719, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20344720, '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 = 20345370 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': 2566394, 'mtr_portfolio_id': 20345370, 'created_at': datetime.datetime(2025, 2, 7, 19, 16, 59), 'result': '0.024892283304878502', 'result_long': None, 'result_double': None}] Qualite : 0.024892283304878502 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20345370 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20345370_07-02-2025_19_17_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20345370 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_P20345370_07-02-2025_19_17_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20345401, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20345402, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20345403, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20345404, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20345405, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20345406, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20345407, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20345408, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20345409, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20345410, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20345411, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20345412, 'pht': 3726}}" where mtr_portfolio_id = 20345370 and dashboard_run_id = 1595956 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`=20345370 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8775295, 0.024892283304878502, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20345370_07-02-2025_19_17_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20345401, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20345402, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20345403, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20345404, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20345405, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20345406, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20345407, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20345408, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20345409, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20345410, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20345411, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20345412, '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 = 20345968 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': 2566747, 'mtr_portfolio_id': 20345968, 'created_at': datetime.datetime(2025, 2, 7, 19, 32, 58), 'result': '0.04437706855715071', 'result_long': None, 'result_double': None}] Qualite : 0.04437706855715071 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20345968 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20345968_07-02-2025_19_32_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20345968 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_P20345968_07-02-2025_19_32_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20345976, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20345977, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20345978, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20345979, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20345980, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20345981, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20345982, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20345983, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20345984, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20345985, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20345986, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20345987, 'pht': 3726}}" where mtr_portfolio_id = 20345968 and dashboard_run_id = 1595956 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`=20345968 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8775296, 0.04437706855715071, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20345968_07-02-2025_19_32_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20345976, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20345977, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20345978, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20345979, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20345980, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20345981, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20345982, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20345983, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20345984, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20345985, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20345986, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20345987, '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 = 20346586 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': 2566946, 'mtr_portfolio_id': 20346586, 'created_at': datetime.datetime(2025, 2, 7, 19, 47, 3), 'result': '0.048045274043306524', 'result_long': None, 'result_double': None}] Qualite : 0.048045274043306524 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20346586 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20346586_07-02-2025_19_47_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20346586 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_P20346586_07-02-2025_19_47_03.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20346612, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20346613, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20346614, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20346615, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20346616, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20346617, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20346618, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20346619, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20346620, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20346621, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20346622, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20346623, 'pht': 3726}}" where mtr_portfolio_id = 20346586 and dashboard_run_id = 1595956 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`=20346586 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8775297, 0.048045274043306524, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20346586_07-02-2025_19_47_03.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20346612, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20346613, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20346614, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20346615, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20346616, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20346617, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20346618, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20346619, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20346620, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20346621, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20346622, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20346623, '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 = 20347070 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': 2567029, 'mtr_portfolio_id': 20347070, 'created_at': datetime.datetime(2025, 2, 7, 20, 2, 30), 'result': '0.04495981272032346', 'result_long': None, 'result_double': None}] Qualite : 0.04495981272032346 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20347070 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20347070_07-02-2025_20_02_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20347070 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_P20347070_07-02-2025_20_02_31.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20347113, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20347114, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20347115, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20347116, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20347117, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20347118, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20347119, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20347120, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20347121, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20347122, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20347123, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20347124, 'pht': 3726}}" where mtr_portfolio_id = 20347070 and dashboard_run_id = 1595956 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`=20347070 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8775298, 0.04495981272032346, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20347070_07-02-2025_20_02_31.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20347113, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20347114, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20347115, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20347116, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20347117, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20347118, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20347119, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20347120, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20347121, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20347122, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20347123, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20347124, '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 = 20347727 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': 2567176, 'mtr_portfolio_id': 20347727, 'created_at': datetime.datetime(2025, 2, 7, 20, 18, 59), 'result': '0.04825216038726739', 'result_long': None, 'result_double': None}] Qualite : 0.04825216038726739 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20347727 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20347727_07-02-2025_20_18_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20347727 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_P20347727_07-02-2025_20_18_59.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20347736, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20347737, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20347738, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20347739, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20347740, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20347741, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20347742, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20347743, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20347744, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20347745, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20347746, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20347747, 'pht': 3726}}" where mtr_portfolio_id = 20347727 and dashboard_run_id = 1595956 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`=20347727 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8775299, 0.04825216038726739, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20347727_07-02-2025_20_18_59.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20347736, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20347737, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20347738, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20347739, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20347740, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20347741, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20347742, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20347743, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20347744, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20347745, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20347746, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20347747, '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 = 20348300 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': 2567290, 'mtr_portfolio_id': 20348300, 'created_at': datetime.datetime(2025, 2, 7, 20, 32, 57), 'result': '0.048404273896974506', 'result_long': None, 'result_double': None}] Qualite : 0.048404273896974506 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20348300 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20348300_07-02-2025_20_32_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20348300 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_P20348300_07-02-2025_20_32_57.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20348424, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20348425, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20348426, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20348428, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20348429, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20348430, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20348431, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20348432, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20348433, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20348434, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20348435, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20348436, 'pht': 3726}}" where mtr_portfolio_id = 20348300 and dashboard_run_id = 1595956 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`=20348300 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8775300, 0.048404273896974506, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20348300_07-02-2025_20_32_57.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20348424, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20348425, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20348426, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20348428, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20348429, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20348430, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20348431, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20348432, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20348433, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20348434, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20348435, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20348436, '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 = 20349397 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': 2567425, 'mtr_portfolio_id': 20349397, 'created_at': datetime.datetime(2025, 2, 7, 21, 10, 58), 'result': '0.0488004584930215', 'result_long': None, 'result_double': None}] Qualite : 0.0488004584930215 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20349397 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20349397_07-02-2025_21_10_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20349397 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_P20349397_07-02-2025_21_10_58.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20349404, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20349405, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20349406, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20349407, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20349408, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20349409, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20349410, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20349411, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20349412, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20349413, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20349414, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20349415, 'pht': 3726}}" where mtr_portfolio_id = 20349397 and dashboard_run_id = 1595956 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`=20349397 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8775301, 0.0488004584930215, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20349397_07-02-2025_21_10_58.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20349404, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20349405, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20349406, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20349407, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20349408, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20349409, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20349410, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20349411, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20349412, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20349413, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20349414, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20349415, '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 (20357221,20357222,20357223,20357224,20315569,20315692,20316024,20316025,20317438,20317982,20318337,20318874,20319461,20319822,20320244,20320591,20321063,20321526,20321945,20322310,20322943,20323019,20323596,20324009,20324595,20325074,20325725,20326215,20327948,20328450,20328924,20329678,20329897,20330538,20331959,20332530,20332974,20334720,20334954,20335400,20335893,20336499,20336877,20337903,20338212,20338563,20339390,20340006,20340339,20341179,20341719,20342056,20342262,20343639,20343892,20344230,20344666,20345370,20345968,20346586,20347070,20347727,20348300,20349397) result : ((1335336319,), (1335336323,), (1335344495,), (1335344498,), (1335344502,), (1335344508,), (1335344512,), (1335344517,), (1335344577,), (1335344581,), (1335344600,), (1335344604,), (1335344606,), (1335344609,), (1335344614,), (1335344618,), (1335345095,), (1335345097,), (1335345183,), (1335345214,), (1335345348,), (1335345375,), (1335345527,), (1335345550,), (1335345686,), (1335345712,), (1335345866,), (1335345867,), (1335346008,), (1335346010,), (1335346016,), (1335346019,), (1335346022,), (1335346027,), (1335348017,), (1335348046,), (1335348068,), (1335348106,), (1335348325,), (1335348328,), (1335348346,), (1335348352,), (1335348365,), (1335348481,), (1335348418,), (1335348423,), (1335348427,), (1335348431,), (1335348435,), (1335348470,), (1335348478,), (1335348479,), (1335348487,), (1335348491,), (1335348494,), (1335348499,), (1335348503,), (1335348520,), (1335348523,), (1335348525,), (1335348526,), (1335348527,), (1335348533,), (1335349176,), (1335349219,), (1335349220,), (1335349222,), (1335349224,), (1335348484,), (1335348756,), (1335348842,), (1335348922,), (1335349007,), (1335349089,), (1335349228,), (1335349231,), (1335349401,), (1335349438,), (1335350040,), (1335350041,), (1335350144,), (1335350587,), (1335350593,), (1335369066,), (1335368975,), (1335369252,), (1335369253,), (1335369254,), (1335369270,), (1335369649,), (1335369685,), (1335369686,), (1335369732,), (1335369781,), (1335369788,), (1335369789,), (1335369802,), (1335369805,), (1335369850,), (1335371131,), (1335371302,), (1335371779,), (1335371788,), (1335371791,), (1335371824,), (1335372001,), (1335372066,), (1335372692,), (1335372938,), (1335373077,), (1335373196,), (1335373236,), (1335373300,), (1335373302,), (1335373305,), (1335373307,), (1335373311,), (1335373508,), (1335373385,), (1335373433,), (1335374085,), (1335374107,), (1335374111,), (1335374564,), (1335374594,), (1335374611,), (1335374835,), (1335374859,), (1335374996,), (1335374999,), (1335375002,), (1335375020,), (1335375024,), (1335375032,), (1335375062,), (1335375142,), (1335376006,), (1335376010,), (1335376014,), (1335376018,), (1335376039,), (1335376042,), (1335376556,), (1335376558,), (1335376560,), (1335376564,), (1335376568,), (1335376605,), (1335376607,), (1335376612,), (1335376616,), (1335378010,), (1335378014,), (1335378113,), (1335378118,), (1335378121,), (1335378124,), (1335378564,), (1335378211,), (1335378283,), (1335378371,), (1335379101,), (1335379136,), (1335379162,), (1335379644,), (1335379798,), (1335379848,), (1335381896,), (1335381923,), (1335381928,), (1335381933,), (1335381935,), (1335381954,), (1335381956,), (1335381974,), (1335381988,), (1335381991,), (1335381994,), (1335382044,), (1335382047,), (1335382050,), (1335382613,), (1335382687,), (1335382759,), (1335382835,), (1335383141,), (1335383145,), (1335383149,), (1335383160,), (1335383490,), (1335383471,), (1335383482,), (1335383487,), (1335383603,), (1335383626,), (1335383651,), (1335383825,), (1335383938,), (1335383947,), (1335383957,), (1335384038,), (1335384040,), (1335384047,), (1335384049,), (1335384090,), (1335384093,), (1335384096,), (1335384098,), (1335384136,), (1335384181,), (1335384184,), (1335384186,), (1335384192,), (1335384213,), (1335384216,), (1335384220,), (1335384241,), (1335384243,), (1335384245,), (1335384247,), (1335384251,), (1335384276,), (1335384279,), (1335384281,), (1335384284,), (1335384303,), (1335384332,), (1335384335,), (1335384338,), (1335384439,), (1335384448,), (1335384455,), (1335386245,), (1335392084,), (1335392082,), (1335392157,), (1335392162,), (1335394485,), (1335394531,), (1335394534,), (1335394617,), (1335395567,), (1335395621,), (1335395682,), (1335396049,), (1335397020,), (1335396954,), (1335397018,), (1335397039,), (1335397041,), (1335397043,), (1335397123,), (1335397125,), (1335397148,), (1335397190,), (1335397214,), (1335397210,), (1335397212,), (1335397604,), (1335397660,), (1335398174,), (1335398417,), (1335398419,), (1335398447,), (1335398478,), (1335398480,), (1335398482,), (1335398517,), (1335398520,), (1335398541,), (1335398544,), (1335398563,), (1335398567,), (1335398569,), (1335398643,), (1335398644,), (1335398645,), (1335398708,), (1335398709,), (1335398794,), (1335398923,), (1335399630,), (1335400290,), (1335400215,), (1335400815,), (1335400864,), (1335400902,), (1335401073,), (1335401777,), (1335401783,), (1335401823,), (1335402074,), (1335402082,), (1335402108,), (1335402538,), (1335402984,), (1335403341,), (1335403353,), (1335403355,), (1335403380,), (1335403382,), (1335403424,), (1335403425,), (1335403427,), (1335403429,), (1335403431,), (1335403531,), (1335403533,), (1335403535,), (1335403606,), (1335403609,), (1335403611,), (1335403614,), (1335403927,), (1335403932,), (1335403936,), (1335403940,), (1335404085,), (1335404105,), (1335404122,), (1335404140,), (1335404146,), (1335404239,), (1335404160,), (1335404163,), (1335404165,), (1335404191,), (1335404827,), (1335404905,), (1335404977,), (1335405048,), (1335405573,), (1335405575,), (1335405577,), (1335405579,), (1335405582,), (1335405744,), (1335405749,), (1335405751,), (1335405753,), (1335405818,), (1335407040,), (1335410525,), (1335409329,), (1335410521,), (1335410523,), (1335410958,), (1335411035,), (1335411037,), (1335411089,), (1335411123,), (1335411127,), (1335411220,), (1335411222,), (1335411224,), (1335411225,), (1335411227,), (1335411230,), (1335411270,), (1335411275,), (1335411277,), (1335411279,), (1335411440,), (1335411443,), (1335411468,), (1335411512,), (1335411528,), (1335411530,), (1335411588,), (1335411590,), (1335411592,), (1335411594,), (1335411629,), (1335411631,), (1335411633,), (1335411749,), (1335411751,), (1335411776,), (1335411829,), (1335411831,), (1335412122,), (1335412124,), (1335412126,), (1335412299,), (1335412305,), (1335412307,), (1335412328,), (1335412341,), (1335412344,), (1335412346,), (1335412368,), (1335412378,), (1335412467,), (1335412468,), (1335412469,), (1335412470,), (1335412471,), (1335412562,), (1335412569,), (1335412575,), (1335412582,), (1335412586,), (1335412781,), (1335412843,), (1335412868,), (1335412879,), (1335412952,), (1335412953,), (1335412954,), (1335412955,), (1335412958,), (1335412976,), (1335412977,), (1335413550,), (1335413615,), (1335413657,), (1335413822,), (1335413824,), (1335413826,), (1335413828,), (1335414123,), (1335414124,), (1335414125,), (1335414170,), (1335414186,), (1335414203,), (1335414205,), (1335414268,), (1335414302,), (1335414412,), (1335414403,), (1335414409,), (1335414410,), (1335414483,), (1335414484,), (1335414485,), (1335414486,), (1335414488,), (1335414872,), (1335414883,), (1335414922,), (1335414924,), (1335415055,), (1335415058,), (1335415119,), (1335415120,), (1335415172,), (1335415173,), (1335415941,), (1335415944,), (1335415945,), (1335416125,), (1335416138,), (1335416148,), (1335416151,), (1335416180,), (1335416181,), (1335416182,), (1335416214,), (1335416215,), (1335416216,), (1335416217,), (1335416240,), (1335416241,), (1335416242,), (1335416284,), (1335416287,), (1335416288,), (1335416349,), (1335416350,), (1335416386,), (1335416566,), (1335417177,), (1335421128,), (1335420084,), (1335420091,), (1335420096,), (1335420102,), (1335420109,), (1335420116,), (1335420133,), (1335420134,), (1335420135,), (1335420136,), (1335420161,), (1335420167,), (1335420172,), (1335420189,), (1335420194,), (1335420199,), (1335420202,), (1335420208,), (1335420212,), (1335420236,), (1335420241,), (1335420244,), (1335420253,), (1335420254,), (1335420256,), (1335420258,), (1335420260,), (1335420265,), (1335421001,), (1335420128,), (1335420130,), (1335420142,), (1335420147,), (1335420155,), (1335420221,), (1335420225,), (1335420233,), (1335420292,), (1335420293,), (1335420298,), (1335420299,), (1335420305,), (1335420309,), (1335420379,), (1335420387,), (1335420453,), (1335420462,), (1335420531,), (1335420534,), (1335420756,), (1335420806,), (1335420849,), (1335420916,), (1335420976,), (1335421375,), (1335421377,), (1335421381,), (1335421384,), (1335421417,), (1335421420,), (1335421426,), (1335421431,), (1335421441,), (1335421497,), (1335421500,), (1335421503,), (1335421507,), (1335421638,), (1335421642,), (1335421680,), (1335421685,), (1335421696,), (1335421699,), (1335421744,), (1335421973,), (1335422012,), (1335422016,), (1335422020,), (1335422024,), (1335422261,), (1335422095,), (1335422152,), (1335422182,), (1335422227,), (1335422344,), (1335422353,), (1335422359,), (1335422394,), (1335422398,), (1335422401,), (1335422762,), (1335422766,), (1335422815,), (1335422848,), (1335422890,), (1335422893,), (1335422897,), (1335422914,), (1335422920,), (1335422951,), (1335423036,), (1335423042,), (1335423046,), (1335423050,), (1335423077,), (1335423084,), (1335423093,), (1335423137,), (1335423149,), (1335423161,), (1335423168,), (1335423269,), (1335423273,), (1335423309,), (1335423313,), (1335423317,), (1335423322,), (1335423347,), (1335423353,), (1335423356,), (1335423360,), (1335423397,), (1335423410,), (1335423453,), (1335423456,), (1335423462,), (1335423466,), (1335423507,), (1335423508,), (1335423512,), (1335423514,), (1335423519,), (1335423548,), (1335423555,), (1335423559,), (1335423561,), (1335423565,), (1335423577,), (1335423648,), (1335423641,), (1335423643,), (1335423645,), (1335423755,), (1335423757,), (1335423760,), (1335423766,), (1335423771,), (1335423894,), (1335423907,), (1335424604,), (1335424747,), (1335424751,), (1335424754,), (1335425365,), (1335425416,), (1335425464,), (1335425548,), (1335425590,), (1335425632,), (1335426150,), (1335426365,), (1335426411,), (1335426531,), (1335426599,), (1335426692,), (1335427000,), (1335427001,), (1335427030,), (1335427032,), (1335427035,), (1335427038,), (1335427194,), (1335427270,), (1335427326,), (1335427360,), (1335427362,), (1335427375,), (1335427482,), (1335427485,), (1335427489,), (1335427492,), (1335427495,), (1335428026,), (1335428067,), (1335428109,), (1335428317,), (1335428347,), (1335428390,), (1335428442,), (1335428690,), (1335428764,), (1335428824,), (1335429949,), (1335429982,), (1335430034,), (1335430116,), (1335430136,), (1335430202,), (1335430182,), (1335430186,), (1335430191,), (1335430198,), (1335430224,), (1335430227,), (1335430230,), (1335430244,), (1335430248,), (1335430252,), (1335430277,), (1335430280,), (1335430285,), (1335430333,), (1335430337,), (1335430341,), (1335430344,), (1335430347,), (1335430376,), (1335430379,), (1335430383,), (1335430386,), (1335430388,), (1335430647,), (1335430710,), (1335430789,), (1335430813,), (1335430875,), (1335431320,), (1335431321,), (1335431325,), (1335431568,), (1335431624,), (1335431647,), (1335431651,), (1335431748,), (1335431750,), (1335431752,), (1335431761,), (1335431767,), (1335431918,), (1335431997,), (1335432066,), (1335432109,), (1335432159,), (1335432631,), (1335432632,), (1335432634,), (1335434148,), (1335434184,), (1335434186,), (1335434188,), (1335434287,), (1335434470,), (1335434559,), (1335434568,), (1335434571,), (1335434572,), (1335435075,), (1335435146,), (1335435225,), (1335435479,), (1335435481,), (1335435517,), (1335435519,), (1335435520,), (1335435523,), (1335435600,), (1335435573,), (1335435574,), (1335435644,), (1335435650,), (1335435742,), (1335435809,), (1335435812,), (1335435814,), (1335436016,), (1335436017,), (1335436019,), (1335436021,), (1335436023,), (1335436135,), (1335436215,), (1335436285,), (1335436656,), (1335436660,), (1335436744,), (1335436794,), (1335436848,), (1335436850,), (1335436874,), (1335436911,), (1335436913,), (1335436916,), (1335436918,), (1335437014,), (1335437018,), (1335437021,), (1335437024,), (1335437082,), (1335437085,), (1335437087,), (1335437143,), (1335437152,), (1335437162,), (1335437208,), (1335437209,), (1335437212,), (1335437215,), (1335437219,), (1335437240,), (1335437244,), (1335437248,), (1335437258,), (1335437262,), (1335437292,), (1335437295,), (1335437297,), (1335437299,), (1335437360,), (1335437361,), (1335437367,), (1335437371,), (1335437408,), (1335437410,), (1335438173,), (1335437751,), (1335437835,), (1335437919,), (1335437992,), (1335438067,), (1335438567,), (1335438569,), (1335438592,), (1335438603,), (1335438751,), (1335438788,), (1335438860,), (1335438989,), (1335439060,), (1335439327,), (1335439354,), (1335439356,), (1335439399,), (1335439401,), (1335439404,), (1335439456,), (1335439466,), (1335439514,), (1335439554,), (1335439811,), (1335439813,), (1335439815,), (1335439818,), (1335440168,), (1335440273,), (1335440369,), (1335440401,), (1335440552,), (1335440555,), (1335440558,), (1335440599,), (1335440601,), (1335440604,), (1335440639,), (1335440640,), (1335440643,), (1335440646,), (1335440824,), (1335440901,), (1335440923,), (1335440949,), (1335440962,), (1335441030,), (1335441032,), (1335441035,), (1335441069,), (1335441071,), (1335441073,), (1335441075,), (1335441079,), (1335441116,), (1335441119,), (1335441121,), (1335441198,), (1335441189,), (1335441193,), (1335441247,), (1335441249,), (1335441252,), (1335441255,), (1335441353,), (1335441416,), (1335441437,), (1335441510,), (1335441852,), (1335441889,), (1335441921,), (1335441966,), (1335441968,), (1335441970,), (1335441972,), (1335441974,), (1335441977,), (1335442012,), (1335442015,), (1335442018,), (1335442055,), (1335442056,), (1335442059,), (1335442116,), (1335442118,), (1335442120,), (1335442123,), (1335442552,), (1335442573,), (1335442647,), (1335442713,), (1335442726,), (1335442914,), (1335442923,), (1335442925,), (1335442927,), (1335442928,), (1335442930,), (1335442975,), (1335442977,), (1335443000,), (1335443003,), (1335443032,), (1335443039,), (1335443042,), (1335443053,), (1335443069,), (1335443078,), (1335443474,), (1335443523,), (1335443559,), (1335443603,), (1335443633,), (1335444755,), (1335444775,), (1335444793,), (1335445111,), (1335445125,), (1335445130,), (1335445164,), (1335445166,), (1335445238,), (1335454078,), (1335454122,), (1335454133,), (1335454145,), (1335454150,), (1335454180,), (1335454183,), (1335454221,), (1335454365,), (1335454368,), (1335454372,), (1335454378,), (1335454447,), (1335454713,), (1335455389,), (1335455396,), (1335455856,), (1335455888,), (1335455900,), (1335455927,), (1335456247,), (1335456251,), (1335456290,), (1335457014,), (1335457080,), (1335457153,), (1335457225,), (1335457276,), (1335457314,), (1335457430,), (1335457435,), (1335457439,), (1335457470,), (1335457537,), (1335457593,), (1335457800,), (1335457803,), (1335457845,), (1335457855,), (1335457859,), (1335457889,), (1335457892,), (1335457895,), (1335457929,), (1335457932,), (1335457936,), (1335457940,), (1335457944,), (1335458006,), (1335458010,), (1335458031,), (1335458113,), (1335458194,), (1335458987,), (1335458973,), (1335458978,), (1335458983,), (1335459380,), (1335459389,), (1335460252,), (1335460260,), (1335460391,), (1335460394,), (1335460456,), (1335460459,), (1335460529,), (1335460532,), (1335460627,), (1335460631,), (1335460634,), (1335460637,), (1335460641,), (1335460692,), (1335460694,), (1335460698,), (1335461256,), (1335461340,), (1335461583,), (1335461585,), (1335461588,), (1335461652,), (1335461654,), (1335461657,), (1335461660,), (1335461664,), (1335461671,), (1335461708,), (1335461710,), (1335461755,), (1335461768,), (1335461781,), (1335461785,), (1335461788,), (1335461789,), (1335461902,), (1335461907,), (1335461913,), (1335461919,), (1335461925,), (1335462692,), (1335462430,), (1335462517,), (1335462594,), (1335462645,), (1335462919,), (1335462955,), (1335462959,), (1335463492,), (1335463496,), (1335463499,), (1335463505,), (1335463510,), (1335463698,), (1335463701,), (1335463705,), (1335463708,), (1335463713,), (1335463715,), (1335463741,), (1335463745,), (1335463751,), (1335463755,), (1335463804,), (1335463806,), (1335463809,), (1335463812,), (1335463886,), (1335463969,), (1335464668,), (1335464706,), (1335464738,), (1335464740,), (1335464744,), (1335464746,), (1335464836,), (1335464888,), (1335464951,), (1335465033,), (1335465202,), (1335465204,), (1335465207,), (1335465209,), (1335465213,), (1335465237,), (1335465239,), (1335465242,), (1335465245,), (1335465248,), (1335465302,), (1335465304,), (1335465306,), (1335465307,), (1335465873,), (1335465915,), (1335465979,), (1335466040,), (1335466110,), (1335466148,), (1335466157,), (1335466160,), (1335466164,), (1335466516,), (1335466531,), (1335466534,), (1335466579,), (1335466632,), (1335466644,), (1335466705,), (1335466712,), (1335466716,), (1335466989,), (1335468115,), (1335468230,), (1335468362,), (1335469297,), (1335469308,), (1335469317,), (1335469321,), (1335469325,), (1335469329,), (1335469410,), (1335469411,), (1335469413,), (1335469480,), (1335469866,), (1335469932,), (1335469943,), (1335469998,), (1335470000,), (1335470002,), (1335470003,), (1335470005,), (1335470631,), (1335470700,), (1335470766,), (1335470768,), (1335470771,), (1335470773,), (1335470918,), (1335470992,), (1335471218,), (1335471220,), (1335471223,), (1335471227,), (1335471257,), (1335471259,), (1335471262,), (1335471265,), (1335471267,), (1335471323,), (1335471310,), (1335471314,), (1335471317,), (1335471846,), (1335471944,), (1335472053,), (1335472078,), (1335472081,), (1335472549,), (1335472627,), (1335472714,), (1335472791,), (1335472872,), (1335472948,), (1335473318,), (1335473322,), (1335473327,), (1335473331,), (1335473685,), (1335473696,), (1335473699,), (1335473703,), (1335473903,), (1335473905,), (1335473908,), (1335473911,), (1335473963,), (1335473979,), (1335474145,), (1335474148,), (1335474151,), (1335474159,), (1335474170,), (1335474172,), (1335474223,), (1335474231,), (1335474235,), (1335474243,), (1335474247,), (1335474285,), (1335474288,), (1335474293,), (1335474298,), (1335474304,), (1335474352,), (1335474367,), (1335474372,), (1335474375,), (1335474408,), (1335474414,), (1335475217,), (1335475260,), (1335475265,), (1335475269,), (1335475508,), (1335475537,), (1335475557,), (1335475584,), (1335475591,), (1335476069,), (1335476126,), (1335476192,), (1335476199,), (1335476203,), (1335476413,), (1335476425,), (1335476472,), (1335476550,), (1335476542,), (1335476545,), (1335476698,), (1335476774,), (1335476870,), (1335476930,), (1335477155,), (1335477177,), (1335477182,), (1335477265,), (1335477269,), (1335477272,), (1335477278,), (1335477283,), (1335477286,), (1335477342,), (1335477344,), (1335477348,), (1335477350,), (1335477355,), (1335477359,), (1335477394,), (1335477397,), (1335477401,), (1335477405,), (1335477428,), (1335477430,), (1335477434,), (1335477436,), (1335477440,), (1335477445,), (1335477463,), (1335477466,), (1335477469,), (1335477473,), (1335477480,), (1335477515,), (1335477517,), (1335477520,), (1335477548,), (1335477550,), (1335477553,), (1335477556,), (1335477559,), (1335477588,), (1335477591,), (1335477626,), (1335477629,), (1335477656,), (1335477872,), (1335477874,), (1335477877,), (1335477881,), (1335477884,), (1335478002,), (1335478007,), (1335478093,), (1335478188,), (1335479265,), (1335486864,), (1335487236,), (1335487238,), (1335487242,), (1335487248,), (1335487252,), (1335487256,), (1335487522,), (1335487594,), (1335487691,), (1335488439,), (1335488606,), (1335488610,), (1335488614,), (1335488618,), (1335488622,), (1335488696,), (1335488703,), (1335488712,), (1335488719,), (1335488755,), (1335488759,), (1335488763,), (1335488767,), (1335488797,), (1335488800,), (1335488803,), (1335488836,), (1335488841,), (1335488845,), (1335488847,), (1335488850,), (1335488903,), (1335488906,), (1335488919,), (1335489015,), (1335489062,), (1335489326,), (1335489402,), (1335489458,), (1335489906,), (1335489925,), (1335489937,), (1335489948,), (1335490076,), (1335490112,), (1335490161,), (1335490219,), (1335490312,), (1335490638,), (1335490545,), (1335490548,), (1335490562,), (1335490906,), (1335490967,), (1335493405,), (1335493783,), (1335493805,), (1335493888,), (1335493945,), (1335494039,), (1335494081,), (1335494518,), (1335494562,), (1335494615,), (1335494774,), (1335494778,), (1335494782,), (1335494786,), (1335494791,), (1335495183,), (1335495202,), (1335495575,), (1335495578,), (1335495582,), (1335495661,), (1335495664,), (1335495667,), (1335495761,), (1335495765,), (1335495775,), (1335495810,), (1335495814,), (1335495945,), (1335495952,), (1335495962,), (1335495969,), (1335495993,), (1335495994,), (1335495998,), (1335496000,), (1335496002,), (1335496003,), (1335496045,), (1335496037,), (1335496042,), (1335496080,), (1335496088,), (1335496125,), (1335496138,), (1335496146,), (1335496150,), (1335496154,), (1335496181,), (1335496186,), (1335496219,), (1335496223,), (1335496226,), (1335496229,), (1335496234,), (1335496263,), (1335496266,), (1335496271,), (1335496276,), (1335496300,), (1335496304,), (1335496308,), (1335496312,), (1335496338,), (1335496341,), (1335496345,), (1335496349,), (1335496625,), (1335496707,), (1335497549,), (1335497612,), (1335497680,), (1335497684,), (1335497689,), (1335497717,), (1335497719,), (1335497724,), (1335497727,), (1335507289,), (1335516367,), (1335516954,), (1335517498,), (1335517500,), (1335517503,), (1335517533,), (1335517538,), (1335517541,), (1335517544,), (1335517546,), (1335517585,), (1335517611,), (1335517614,), (1335517618,), (1335517654,), (1335517656,), (1335517810,), (1335517820,), (1335517823,), (1335517826,), (1335517934,), (1335517943,), (1335517953,), (1335518025,), (1335518035,), (1335518052,), (1335518068,), (1335518075,), (1335518110,), (1335518106,), (1335518232,), (1335518235,), (1335518238,), (1335518257,), (1335518363,), (1335518368,), (1335518372,), (1335518389,), (1335518396,), (1335518430,), (1335518882,), (1335518884,), (1335518904,), (1335519176,), (1335519184,), (1335519188,), (1335519361,), (1335519485,), (1335519489,), (1335519582,), (1335519584,), (1335519592,), (1335519596,), (1335519605,), (1335519644,), (1335519650,), (1335519653,), (1335519656,), (1335519692,), (1335519694,), (1335519697,), (1335519708,), (1335519736,), (1335519738,), (1335519741,), (1335519744,), (1335519746,), (1335519857,), (1335519862,), (1335519882,), (1335519890,), (1335519919,), (1335519926,), (1335520066,), (1335520096,), (1335520101,), (1335520120,), (1335520350,), (1335520358,), (1335520382,), (1335520387,), (1335520409,), (1335520411,), (1335520412,), (1335520424,), (1335520460,), (1335520452,), (1335520454,), (1335520457,), (1335520566,), (1335520568,), (1335520574,), (1335520584,), (1335520586,), (1335520611,), (1335520614,), (1335520619,), (1335520624,), (1335520648,), (1335520657,), (1335520661,), (1335520665,), (1335520669,), (1335520686,), (1335520688,), (1335520700,), (1335520707,), (1335520754,), (1335520757,), (1335520760,), (1335520763,), (1335520773,), (1335520778,), (1335520820,), (1335520832,), (1335520844,), (1335520847,), (1335520850,), (1335520894,), (1335520910,), (1335520934,), (1335521094,), (1335521234,), (1335521484,), (1335521600,), (1335521699,), (1335522222,), (1335522227,), (1335522231,), (1335522232,), (1335522234,), (1335522236,), (1335522341,), (1335522390,), (1335522394,), (1335522397,), (1335522874,), (1335522877,), (1335522880,), (1335523061,), (1335523079,), (1335523087,), (1335523102,), (1335523133,), (1335523137,), (1335523189,), (1335523191,), (1335523194,), (1335523240,), (1335523245,), (1335523250,), (1335523252,), (1335523280,), (1335523435,), (1335523411,), (1335523420,), (1335523425,), (1335523429,), (1335523434,), (1335523668,), (1335523669,), (1335523686,), (1335523688,), (1335523809,), (1335523811,), (1335523813,), (1335523815,), (1335523824,), (1335523867,), (1335523868,), (1335523870,), (1335523871,), (1335523874,), (1335523876,), (1335523915,), (1335523918,), (1335523920,), (1335523921,), (1335524117,), (1335524260,), (1335524356,), (1335524494,), (1335524586,), (1335524682,), (1335524719,), (1335524721,), (1335524724,), (1335524889,), (1335525115,), (1335525119,), (1335525123,), (1335525127,), (1335525230,), (1335525250,), (1335525261,), (1335525271,), (1335525277,), (1335525351,), (1335525356,), (1335525360,), (1335525365,), (1335525381,), (1335525784,), (1335525876,), (1335525971,), (1335526083,), (1335526368,), (1335526398,), (1335526408,), (1335526419,), (1335526529,), (1335526531,), (1335526535,), (1335526554,), (1335526574,), (1335526606,), (1335526608,), (1335526611,), (1335526750,), (1335526776,), (1335526800,), (1335526811,), (1335526825,), (1335526893,), (1335526885,), (1335526889,), (1335527015,), (1335527036,), (1335527127,), (1335527149,), (1335527301,), (1335527305,), (1335527309,), (1335527314,), (1335527318,), (1335527477,), (1335527487,), (1335527493,), (1335527651,), (1335527664,), (1335527667,), (1335527669,), (1335527706,), (1335527728,), (1335527758,), (1335527761,), (1335527767,), (1335527783,), (1335527787,), (1335527790,), (1335528008,), (1335528018,), (1335528022,), (1335528112,), (1335528116,), (1335528120,), (1335528123,), (1335528137,), (1335528182,), (1335528186,), (1335528229,), (1335528233,), (1335528241,), (1335528246,), (1335528286,), (1335528300,), (1335528312,), (1335528326,), (1335528426,), (1335528433,), (1335528438,), (1335528442,), (1335528450,), (1335528527,), (1335528529,), (1335528532,), (1335528535,), (1335528539,), (1335528568,), (1335528570,), (1335528575,), (1335528580,), (1335528630,), (1335528638,), (1335528646,), (1335528657,), (1335528706,), (1335528713,), (1335528717,), (1335528720,), (1335528724,), (1335528726,), (1335528967,), (1335528945,), (1335528949,), (1335528955,), (1335528958,), (1335528963,), (1335528991,), (1335529017,), (1335529029,), (1335529128,), (1335529130,), (1335529135,), (1335529140,), (1335529143,), (1335529174,), (1335529179,), (1335529185,), (1335529188,), (1335529190,), (1335529193,), (1335529218,), (1335529222,), (1335529227,), (1335529233,), (1335529273,), (1335529276,), (1335529280,), (1335529285,), (1335529368,), (1335529373,), (1335529427,), (1335529601,), (1335529754,), (1335530028,), (1335530030,), (1335530096,), (1335530109,), (1335530188,), (1335530240,), (1335530332,), (1335530335,), (1335530339,), (1335530582,), (1335530586,), (1335530590,), (1335530593,), (1335530597,), (1335530599,), (1335530650,), (1335530653,), (1335532751,), (1335532750,), (1335532798,), (1335532799,), (1335532801,), (1335532803,), (1335532806,), (1335532871,), (1335532873,), (1335533106,), (1335533107,), (1335533457,), (1335535679,), (1335533888,), (1335536002,), (1335536004,), (1335536007,), (1335536012,), (1335536245,), (1335536247,), (1335536249,), (1335536250,), (1335536254,), (1335536589,), (1335536603,), (1335536605,), (1335536610,), (1335536613,), (1335536616,), (1335536631,), (1335536633,), (1335536636,), (1335536639,), (1335536715,), (1335536718,), (1335536720,), (1335536722,), (1335536724,), (1335536727,), (1335536783,), (1335536784,), (1335536786,), (1335536802,), (1335536857,), (1335536877,), (1335537077,), (1335537107,), (1335537112,), (1335537124,), (1335537127,), (1335537146,), (1335537148,), (1335537152,), (1335537158,), (1335537176,), (1335537246,), (1335537247,), (1335537249,), (1335537251,), (1335537254,), (1335537282,), (1335537284,), (1335537287,), (1335537291,), (1335537345,), (1335537347,), (1335537350,), (1335537360,), (1335537373,), (1335537465,), (1335537408,), (1335537433,), (1335537443,), (1335537445,), (1335537519,), (1335537558,), (1335537737,), (1335537739,), (1335537742,), (1335537745,), (1335537748,), (1335537752,), (1335538124,), (1335538133,), (1335538143,), (1335538149,), (1335538242,), (1335538249,), (1335538519,), (1335538522,), (1335538526,), (1335538545,), (1335538587,), (1335538646,), (1335538700,), (1335538708,), (1335538752,), (1335538754,), (1335538756,), (1335538762,), (1335538764,), (1335538769,), (1335538903,), (1335538977,), (1335538992,), (1335538999,), (1335539002,), (1335539025,), (1335539029,), (1335539033,), (1335539036,), (1335539110,), (1335539115,), (1335539129,), (1335539137,), (1335539141,), (1335539145,), (1335539172,), (1335539173,), (1335539187,), (1335539272,), (1335539275,), (1335539294,), (1335539358,), (1335539389,), (1335539392,), (1335539420,), (1335539421,), (1335539423,), (1335539425,), (1335539450,), (1335539472,), (1335539476,), (1335539481,), (1335539564,), (1335539568,), (1335539581,), (1335539585,), (1335539592,), (1335539596,), (1335539724,), (1335539704,), (1335539705,), (1335539707,), (1335539709,), (1335539711,), (1335539767,), (1335539770,), (1335539775,), (1335539885,), (1335539903,), (1335539912,), (1335539935,), (1335540014,), (1335540035,), (1335540177,), (1335540180,), (1335540183,), (1335540282,), (1335540285,), (1335540432,), (1335540435,), (1335540439,), (1335540442,), (1335540444,), (1335540493,), (1335540497,), (1335542027,), (1335541864,), (1335542024,), (1335542025,), (1335542058,), (1335542098,), (1335542100,), (1335542103,), (1335542105,), (1335542110,), (1335542118,), (1335542169,), (1335542384,), (1335542554,), (1335542679,), (1335543234,), (1335543236,), (1335543239,), (1335543712,), (1335543725,), (1335543729,), (1335543792,), (1335543824,), (1335543832,), (1335544216,), (1335544219,), (1335544222,), (1335544225,), (1335544229,), (1335544232,), (1335544287,), (1335544295,), (1335544303,), (1335544391,), (1335544395,), (1335544399,), (1335544403,), (1335544407,), (1335544585,), (1335544589,), (1335544595,), (1335544600,), (1335544605,), (1335544608,), (1335544639,), (1335544644,), (1335544648,), (1335544652,), (1335544714,), (1335544684,), (1335544687,), (1335544690,), (1335544696,), (1335544703,), (1335544746,), (1335544755,), (1335544763,), (1335544765,), (1335544849,), (1335544851,), (1335544854,), (1335544907,), (1335544989,), (1335545092,), (1335545934,), (1335546022,), (1335546039,), (1335546044,), (1335546134,), (1335546139,), (1335546142,), (1335546145,), (1335546151,), (1335546222,), (1335546312,), (1335546319,), (1335546323,), (1335546329,), (1335546522,), (1335547312,), (1335547315,), (1335547329,), (1335547337,), (1335547687,), (1335547728,), (1335547845,), (1335547849,), (1335547888,), (1335548242,), (1335548318,), (1335548396,), (1335548419,), (1335548421,), (1335548423,), (1335548783,), (1335548836,), (1335548839,), (1335548842,), (1335549059,), (1335549075,), (1335549081,), (1335549087,), (1335549090,), (1335549099,), (1335549167,), (1335549170,), (1335549185,), (1335549269,), (1335549274,), (1335549291,), (1335549299,), (1335549302,), (1335549326,), (1335549330,), (1335549334,), (1335549363,), (1335549366,), (1335549371,), (1335549378,), (1335549391,), (1335549462,), (1335549444,), (1335549450,), (1335549456,), (1335549507,), (1335549509,), (1335549512,), (1335549516,), (1335549520,), (1335549523,), (1335549740,), (1335549747,), (1335549752,), (1335549769,), (1335549785,), (1335549792,), (1335549832,), (1335549834,), (1335549850,), (1335549853,), (1335549875,), (1335549977,), (1335549987,), (1335549994,), (1335550016,), (1335550026,), (1335550037,), (1335550150,), (1335550153,), (1335550161,), (1335550165,), (1335550169,), (1335550173,), (1335550233,), (1335550236,), (1335550239,), (1335550246,), (1335550281,), (1335550285,), (1335550289,), (1335550292,), (1335550295,), (1335550315,), (1335550317,), (1335550323,), (1335550372,), (1335550403,), (1335550432,), (1335550556,), (1335550562,), (1335550676,), (1335550744,), (1335551619,), (1335551699,), (1335551792,), (1335551874,), (1335551883,), (1335551886,), (1335551992,), (1335551995,), (1335551999,), (1335552003,), (1335552009,), (1335552317,), (1335552368,), (1335552395,), (1335552581,), (1335552601,), (1335552634,), (1335552650,), (1335552654,), (1335552682,), (1335552697,), (1335552712,), (1335552739,), (1335552745,), (1335552788,), (1335552772,), (1335552779,), (1335552784,), (1335552838,), (1335552841,), (1335552903,), (1335552909,), (1335552913,), (1335552917,), (1335552922,), (1335552925,), (1335552940,), (1335552943,), (1335552947,), (1335552952,), (1335552956,), (1335552983,), (1335552991,), (1335552995,), (1335553016,), (1335553029,), (1335553153,), (1335553156,), (1335553162,), (1335553165,), (1335553220,), (1335553222,), (1335553225,), (1335553299,), (1335553302,), (1335553305,), (1335553310,), (1335553316,), (1335553371,), (1335553374,), (1335553420,), (1335553430,), (1335553515,), (1335553516,), (1335553518,), (1335553520,), (1335553523,), (1335553559,), (1335553580,), (1335553584,), (1335553587,), (1335553589,), (1335553618,), (1335553620,), (1335553626,), (1335553630,), (1335553631,), (1335553672,), (1335553701,), (1335553770,), (1335553826,), (1335553852,), (1335553868,), (1335553989,), (1335553993,), (1335553997,), (1335554054,), (1335554044,), (1335554050,), (1335554086,), (1335554089,), (1335554093,), (1335554134,), (1335554138,), (1335554141,), (1335554144,), (1335554159,), (1335554194,), (1335554198,), (1335554203,), (1335554213,), (1335554217,), (1335554241,), (1335554244,), (1335554247,), (1335554276,), (1335554359,), (1335554392,), (1335554400,), (1335554408,), (1335554419,), (1335554442,), (1335554445,), (1335554448,), (1335554451,), (1335554453,), (1335554478,), (1335554484,), (1335554488,), (1335554517,), (1335554520,), (1335554524,), (1335554614,), (1335554617,), (1335554739,), (1335554743,), (1335554747,), (1335554827,), (1335554891,), (1335554893,), (1335554896,), (1335554900,), (1335554901,), (1335554929,), (1335554931,), (1335554933,), (1335554935,), (1335554989,), (1335554967,), (1335554971,), (1335554975,), (1335554978,), (1335554984,), (1335555015,), (1335555021,), (1335555027,), (1335555036,), (1335555039,), (1335555094,), (1335555096,), (1335555099,), (1335555102,), (1335555127,), (1335555130,), (1335555133,), (1335555134,), (1335555177,), (1335555179,), (1335555182,), (1335555185,), (1335555189,), (1335555259,), (1335555261,), (1335555263,), (1335555265,), (1335555931,), (1335556051,), (1335556188,), (1335556889,), (1335556925,), (1335556931,), (1335556936,), (1335556944,), (1335557010,), (1335559783,), (1335559888,), (1335560595,), (1335560613,), (1335560638,), (1335560652,), (1335560660,), (1335561273,), (1335565728,), (1335565780,), (1335565788,), (1335565790,), (1335565794,), (1335565833,), (1335565837,), (1335565841,), (1335565882,), (1335566149,), (1335566168,), (1335566177,), (1335566188,), (1335566196,), (1335566250,), (1335566253,), (1335566256,), (1335566310,), (1335566312,), (1335566314,), (1335566318,), (1335566321,), (1335566326,), (1335566638,), (1335566668,), (1335566673,), (1335566678,), (1335567492,), (1335567580,), (1335567588,), (1335567659,), (1335567663,), (1335567667,), (1335567670,), (1335567674,), (1335567678,), (1335567725,), (1335567728,), (1335567730,), (1335567733,), (1335567736,), (1335567738,), (1335567756,), (1335567758,), (1335567761,), (1335567764,), (1335567789,), (1335567793,), (1335567797,), (1335567801,), (1335567803,), (1335567829,), (1335567831,), (1335567834,), (1335567837,), (1335567858,), (1335567861,), (1335567864,), (1335567919,), (1335567894,), (1335567897,), (1335567901,), (1335567916,), (1335567946,), (1335567952,), (1335567956,), (1335567960,), (1335567965,), (1335567968,), (1335568065,), (1335568075,), (1335568087,), (1335568099,), (1335568130,), (1335568133,), (1335568139,), (1335568142,), (1335568170,), (1335568171,), (1335568173,), (1335568175,), (1335568177,), (1335568207,), (1335568208,), (1335568210,), (1335568675,), (1335568751,), (1335568830,), (1335569205,), (1335569207,), (1335569210,), (1335569248,), (1335569319,), (1335569557,), (1335569581,), (1335569620,), (1335569624,), (1335569628,), (1335569634,), (1335569665,), (1335569666,), (1335569668,), (1335569681,), (1335570535,), (1335570566,), (1335570630,), (1335570650,), (1335570652,), (1335570896,), (1335570921,), (1335570941,), (1335570944,), (1335570946,), (1335570948,), (1335570970,), (1335570972,), (1335570973,), (1335570975,), (1335571006,), (1335571007,), (1335571010,), (1335571012,), (1335571014,), (1335571016,), (1335571039,), (1335571042,), (1335571045,), (1335571048,), (1335571052,), (1335571054,), (1335571085,), (1335571074,), (1335571078,), (1335571082,), (1335571227,), (1335571253,), (1335571275,), (1335571278,), (1335571322,), (1335571325,), (1335571343,), (1335571344,), (1335571346,), (1335571367,), (1335571402,), (1335571403,), (1335571405,), (1335571407,), (1335571408,), (1335571410,), (1335571479,), (1335571532,), (1335571607,), (1335571613,), (1335571615,), (1335571654,), (1335571657,), (1335571658,), (1335571661,), (1335571726,), (1335571729,), (1335571739,), (1335571742,), (1335571747,), (1335571749,), (1335571887,), (1335571898,), (1335571911,), (1335571920,), (1335571926,), (1335571944,), (1335571946,), (1335571949,), (1335571952,), (1335571954,), (1335571961,), (1335571994,), (1335571995,), (1335571998,), (1335572001,), (1335572062,), (1335572064,), (1335572066,), (1335572068,), (1335572071,), (1335572096,), (1335572097,), (1335572099,), (1335572101,), (1335572300,), (1335572302,), (1335572304,), (1335572305,), (1335572343,), (1335572378,), (1335572379,), (1335572381,), (1335572383,), (1335572385,), (1335572430,), (1335572432,), (1335572434,), (1335572862,), (1335572717,), (1335572718,), (1335572764,), (1335572830,), (1335572840,), (1335572956,), (1335572960,), (1335572963,), (1335572968,), (1335572973,), (1335572977,), (1335572995,), (1335572996,), (1335573000,), (1335573121,), (1335573181,), (1335573318,), (1335573443,), (1335573813,), (1335573814,), (1335573816,), (1335575107,), (1335575283,), (1335575316,), (1335575320,), (1335575323,), (1335575341,), (1335575348,), (1335575351,), (1335575354,), (1335575737,), (1335575800,), (1335575831,), (1335575833,), (1335575836,), (1335575839,), (1335575940,), (1335575941,), (1335575942,), (1335575944,), (1335576338,), (1335576340,), (1335576351,), (1335576354,), (1335576357,), (1335576359,), (1335576909,), (1335576959,), (1335577026,), (1335577027,), (1335577030,), (1335577528,), (1335577541,), (1335577545,), (1335577549,), (1335577773,), (1335577775,), (1335577787,), (1335577862,), (1335577877,), (1335578184,), (1335578188,), (1335578192,), (1335578198,), (1335578205,), (1335578273,), (1335578262,), (1335578265,), (1335578269,), (1335578441,), (1335578443,), (1335578446,), (1335578449,), (1335578452,), (1335578542,), (1335578545,), (1335578552,), (1335578560,), (1335578565,), (1335578569,), (1335578603,), (1335578607,), (1335578610,), (1335578614,), (1335578640,), (1335578642,), (1335578644,), (1335578646,), (1335578649,), (1335578652,), (1335578683,), (1335578724,), (1335578726,), (1335578728,), (1335578729,), (1335578733,), (1335578754,), (1335578755,), (1335578757,), (1335578762,), (1335578816,), (1335578818,), (1335578834,), (1335578861,), (1335578868,), (1335578874,), (1335578879,), (1335578882,), (1335578885,), (1335578917,), (1335578918,), (1335578919,), (1335578921,), (1335578953,), (1335578956,), (1335579016,), (1335579018,), (1335579020,), (1335579105,), (1335579107,), (1335579109,), (1335579110,), (1335579112,), (1335579144,), (1335579151,), (1335579158,), (1335579207,), (1335579209,), (1335579212,), (1335579215,), (1335579285,), (1335579324,), (1335579386,), (1335579443,), (1335579507,), (1335579994,), (1335579981,), (1335579983,), (1335579986,), (1335580276,), (1335580280,), (1335580284,), (1335580325,), (1335580574,), (1335580640,), (1335580668,), (1335580671,), (1335580673,), (1335580711,), (1335580713,), (1335580742,), (1335580752,), (1335580755,), (1335580770,), (1335580810,), (1335580813,), (1335580816,), (1335580848,), (1335580850,), (1335580853,), (1335580856,), (1335580860,), (1335580930,), (1335581003,), (1335581076,), (1335581142,), (1335581255,), (1335581371,), (1335581964,), (1335581966,), (1335581971,), (1335582339,), (1335582340,), (1335582342,), (1335582344,), (1335582345,), (1335582440,), (1335582441,), (1335582443,), (1335582446,), (1335582448,), (1335582452,), (1335582505,), (1335582597,), (1335582600,), (1335582603,), (1335582606,), (1335582642,), (1335582644,), (1335582647,), (1335582669,), (1335582673,), (1335582676,), (1335582679,), (1335582727,), (1335582729,), (1335582734,), (1335582742,), (1335582748,), (1335582839,), (1335583842,), (1335583573,), (1335583695,), (1335583817,), (1335583927,), (1335583934,), (1335583943,), (1335583950,), (1335583963,), (1335584111,), (1335584239,), (1335584244,), (1335584247,), (1335584250,), (1335584254,), (1335584293,), (1335584305,), (1335584308,), (1335584310,), (1335584453,), (1335584455,), (1335584458,), (1335584460,), (1335584463,), (1335584495,), (1335584497,), (1335584501,), (1335584504,), (1335584505,), (1335584508,), (1335584533,), (1335584537,), (1335584540,), (1335584543,), (1335584546,), (1335584895,), (1335585068,), (1335585071,), (1335585075,), (1335585078,), (1335585081,), (1335585309,), (1335585318,), (1335585326,), (1335585329,), (1335585395,), (1335585472,), (1335585614,), (1335585687,), (1335585702,), (1335585736,), (1335585801,), (1335585805,), (1335585810,), (1335585815,), (1335585819,), (1335585822,), (1335585844,), (1335585848,), (1335585850,), (1335585879,), (1335586696,), (1335586769,), (1335586836,), (1335586906,), (1335586972,), (1335587085,), (1335587130,), (1335587133,), (1335587137,), (1335587140,), (1335587144,), (1335587540,), (1335587542,), (1335587545,), (1335587741,), (1335588322,), (1335588342,), (1335588399,), (1335588488,), (1335588579,), (1335588976,), (1335588979,), (1335588983,), (1335588992,), (1335589055,), (1335589059,), (1335589112,), (1335589120,), (1335589130,), (1335589134,), (1335589179,), (1335589183,), (1335589186,), (1335589190,), (1335589195,), (1335589223,), (1335589225,), (1335589228,), (1335589231,), (1335589235,), (1335589248,), (1335589343,), (1335589346,), (1335589352,), (1335589499,), (1335589500,), (1335589502,), (1335589504,), (1335589506,), (1335589528,), (1335589530,), (1335589532,), (1335589542,), (1335589559,), (1335589560,), (1335589605,), (1335589609,), (1335589617,), (1335589620,), (1335589817,), (1335589824,), (1335589833,), (1335589836,), (1335589839,), (1335589844,), (1335589868,), (1335589869,), (1335589871,), (1335589873,), (1335591120,), (1335591131,), (1335591137,), (1335591141,), (1335591147,), (1335591152,), (1335591162,), (1335591165,), (1335591170,), (1335591174,), (1335591179,), (1335591494,), (1335591279,), (1335591328,), (1335591423,), (1335591604,), (1335591608,), (1335591611,), (1335591634,), (1335591711,), (1335591788,), (1335591888,), (1335591892,), (1335591896,), (1335591900,), (1335591902,), (1335592258,), (1335592284,), (1335592289,), (1335592290,), (1335592293,), (1335592319,), (1335592690,), (1335592699,), (1335592723,), (1335592726,), (1335592729,), (1335592737,), (1335592790,), (1335592793,), (1335592801,), (1335592806,), (1335592811,), (1335592829,), (1335592831,), (1335592833,), (1335593295,), (1335593334,), (1335593385,), (1335593389,), (1335593393,), (1335593403,), (1335593520,), (1335593524,), (1335593532,), (1335593555,), (1335593566,), (1335593570,), (1335594558,), (1335594660,), (1335594663,), (1335594667,), (1335594685,), (1335594689,), (1335594692,), (1335594694,), (1335594701,), (1335594709,), (1335595182,), (1335595199,), (1335595240,), (1335595265,), (1335595306,), (1335595308,), (1335595313,), (1335595316,), (1335595330,), (1335595333,), (1335595364,), (1335595366,), (1335595369,), (1335595372,), (1335595374,), (1335595377,), (1335595532,), (1335595536,), (1335595542,), (1335595669,), (1335595595,), (1335595598,), (1335595602,), (1335595606,), (1335595610,), (1335595989,), (1335596146,), (1335596230,), (1335596236,), (1335596269,), (1335596350,), (1335596373,), (1335596400,), (1335596402,), (1335596413,), (1335596448,), (1335596460,), (1335596472,), (1335596475,), (1335596480,), (1335596483,), (1335596517,), (1335596522,), (1335596538,), (1335596573,), (1335596575,), (1335596578,), (1335596581,), (1335596583,), (1335596615,), (1335596618,), (1335596622,), (1335596625,), (1335596627,), (1335596663,), (1335596665,), (1335596668,), (1335596673,), (1335596799,), (1335596810,), (1335596813,), (1335596821,), (1335596828,), (1335596835,), (1335596878,), (1335596880,), (1335596883,), (1335596886,), (1335596917,), (1335596918,), (1335596920,), (1335596923,), (1335596925,), (1335596926,), (1335596955,), (1335597217,), (1335597335,), (1335597370,), (1335597375,), (1335597376,), (1335597616,), (1335597627,), (1335597634,), (1335597642,), (1335597711,), (1335597714,), (1335597716,), (1335597719,), (1335597722,), (1335597725,), (1335597765,), (1335597766,), (1335597769,), (1335597771,), (1335597772,), (1335597775,), (1335597862,), (1335597861,), (1335597984,), (1335597986,), (1335597988,), (1335597990,), (1335597993,), (1335598002,), (1335598620,), (1335598731,), (1335598748,), (1335598755,), (1335598756,), (1335598835,), (1335598881,), (1335598932,), (1335598977,), (1335599279,), (1335599280,), (1335599289,), (1335599299,), (1335599627,), (1335599628,), (1335599630,), (1335600014,), (1335600015,), (1335600020,), (1335600022,), (1335600024,), (1335600069,), (1335600070,), (1335600072,), (1335600074,), (1335600076,), (1335600079,), (1335600109,), (1335600111,), (1335600114,), (1335600165,), (1335600174,), (1335600181,), (1335600183,), (1335600186,), (1335600348,), (1335600349,), (1335600368,), (1335600406,), (1335605734,), (1335336388,), (1335336391,), (1335341067,), (1335341489,), (1335341492,), (1335341495,), (1335341498,), (1335341499,), (1335341503,), (1335341619,), (1335341623,), (1335341644,), (1335341646,), (1335341652,), (1335341654,), (1335341661,), (1335341664,), (1335341665,), (1335341668,), (1335341671,), (1335341690,), (1335341708,), (1335341709,), (1335341713,), (1335341714,), (1335341720,), (1335341723,), (1335341727,), (1335341728,), (1335341730,), (1335341731,), (1335341745,), (1335341749,), (1335341847,), (1335341850,), (1335341859,), (1335341954,), (1335342019,), (1335342089,), (1335342092,), (1335342097,), (1335342104,), (1335342106,), (1335342109,), (1335344483,), (1335336383,), (1335336386,), (1335342169,), (1335342172,), (1335342175,), (1335342178,), (1335342181,), (1335344480,), (1335336379,), (1335342115,), (1335342118,), (1335342120,), (1335342123,), (1335342147,), (1335342150,), (1335342166,), (1335342200,), (1335342206,), (1335342208,), (1335342210,), (1335342212,), (1335342215,), (1335342736,), (1335342764,), (1335342933,), (1335342977,), (1335343022,), (1335343096,), (1335343179,), (1335343249,), (1335344364,), (1335344367,), (1335344401,), (1335344402,), (1335344403,), (1335344425,), (1335344429,), (1335344433,), (1335344437,), (1335344440,), (1335344442,), (1335344450,), (1335344452,), (1335344453,), (1335344455,), (1335344457,), (1335344460,), (1335344467,), (1335344472,), (1335344477,), (1335336339,), (1335342410,), (1335342507,), (1335342586,), (1335342678,), (1335343299,), (1335343300,), (1335343302,), (1335343303,), (1335343330,), (1335343331,), (1335343333,), (1335343334,), (1335343336,), (1335343337,), (1335343339,), (1335343341,), (1335343434,), (1335343474,), (1335343555,), (1335343589,), (1335343592,), (1335343593,), (1335343775,), (1335343848,), (1335343946,), (1335344030,), (1335344079,), (1335344115,), (1335344127,), (1335344133,), (1335344172,), (1335344190,), (1335344195,), (1335344212,), (1335344297,), (1335344301,), (1335344331,), (1335344335,), (1335344340,), (1335344346,), (1335344361,), (1335344596,)) NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'07022025': {'nb_upload': 45, 'nb_taggue_class': 0, 'nb_taggue_densite': 0}} After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([20357221]) Inside saveOutput : final : True verbose : True saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1335344483, 1335342109, 1335342106, 1335342104, 1335342097, 1335342092, 1335342089, 1335342019, 1335341954, 1335341859, 1335341850, 1335341847, 1335341749, 1335341745, 1335341731, 1335341730, 1335341728, 1335341727, 1335341723, 1335341720, 1335341714, 1335341713, 1335341709, 1335341708, 1335341690, 1335341671, 1335341668, 1335341665, 1335341664, 1335341661, 1335341654, 1335341652, 1335341646, 1335341644, 1335341623, 1335341619, 1335341503, 1335341499, 1335341498, 1335341495, 1335341492, 1335341489, 1335341067, 1335336391, 1335336388] map_info['map_portfolio_photo'] : {20357221: [1335344483, 1335342109, 1335342106, 1335342104, 1335342097, 1335342092, 1335342089, 1335342019, 1335341954, 1335341859, 1335341850, 1335341847, 1335341749, 1335341745, 1335341731, 1335341730, 1335341728, 1335341727, 1335341723, 1335341720, 1335341714, 1335341713, 1335341709, 1335341708, 1335341690, 1335341671, 1335341668, 1335341665, 1335341664, 1335341661, 1335341654, 1335341652, 1335341646, 1335341644, 1335341623, 1335341619, 1335341503, 1335341499, 1335341498, 1335341495, 1335341492, 1335341489, 1335341067, 1335336391, 1335336388]} final : True mtd_id 4302 list_pids : [1335344483, 1335342109, 1335342106, 1335342104, 1335342097, 1335342092, 1335342089, 1335342019, 1335341954, 1335341859, 1335341850, 1335341847, 1335341749, 1335341745, 1335341731, 1335341730, 1335341728, 1335341727, 1335341723, 1335341720, 1335341714, 1335341713, 1335341709, 1335341708, 1335341690, 1335341671, 1335341668, 1335341665, 1335341664, 1335341661, 1335341654, 1335341652, 1335341646, 1335341644, 1335341623, 1335341619, 1335341503, 1335341499, 1335341498, 1335341495, 1335341492, 1335341489, 1335341067, 1335336391, 1335336388] Looping around the photos to save general results len do output : 1 /20357221Didn'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, '2568275') ('4302', '20357221', '1335344483', None, None, None, None, None, '2568275') ('4302', None, None, None, None, None, None, None, '2568275') ('4302', '20357221', '1335342109', None, None, None, None, None, '2568275') ('4302', None, None, None, None, None, None, None, '2568275') ('4302', '20357221', '1335342106', None, None, None, None, None, '2568275') ('4302', None, None, None, None, None, None, None, '2568275') ('4302', '20357221', '1335342104', None, None, None, None, None, '2568275') ('4302', None, None, None, None, None, None, None, '2568275') ('4302', '20357221', '1335342097', None, None, None, None, None, '2568275') ('4302', None, None, None, None, None, None, None, '2568275') ('4302', '20357221', '1335342092', None, None, None, None, None, '2568275') ('4302', None, None, None, None, None, None, None, '2568275') ('4302', '20357221', '1335342089', None, None, None, None, None, '2568275') ('4302', None, None, None, None, None, None, None, '2568275') ('4302', '20357221', '1335342019', None, None, None, None, None, '2568275') ('4302', None, None, None, None, None, None, None, '2568275') ('4302', '20357221', '1335341954', None, None, None, None, None, '2568275') ('4302', None, None, None, None, None, None, None, '2568275') ('4302', '20357221', '1335341859', None, None, None, None, None, '2568275') ('4302', None, None, None, None, None, None, None, '2568275') ('4302', '20357221', '1335341850', None, None, None, None, None, '2568275') ('4302', None, None, None, None, None, None, None, '2568275') ('4302', '20357221', '1335341847', None, None, None, None, None, '2568275') ('4302', None, None, None, None, None, None, None, '2568275') ('4302', '20357221', '1335341749', None, None, None, None, None, '2568275') ('4302', None, None, None, None, None, None, None, '2568275') ('4302', '20357221', '1335341745', None, None, None, None, None, '2568275') ('4302', None, None, None, None, None, None, None, '2568275') ('4302', '20357221', '1335341731', None, None, None, None, None, '2568275') ('4302', None, None, None, None, None, None, None, '2568275') ('4302', '20357221', '1335341730', None, None, None, None, None, '2568275') ('4302', None, None, None, None, None, None, None, '2568275') ('4302', '20357221', '1335341728', None, None, None, None, None, '2568275') ('4302', None, None, None, None, None, None, None, '2568275') ('4302', '20357221', '1335341727', None, None, None, None, None, '2568275') ('4302', None, None, None, None, None, None, None, '2568275') ('4302', '20357221', '1335341723', None, None, None, None, None, '2568275') ('4302', None, None, None, None, None, None, None, '2568275') ('4302', '20357221', '1335341720', None, None, None, None, None, '2568275') ('4302', None, None, None, None, None, None, None, '2568275') ('4302', '20357221', '1335341714', None, None, None, None, None, '2568275') ('4302', None, None, None, None, None, None, None, '2568275') ('4302', '20357221', '1335341713', None, None, None, None, None, '2568275') ('4302', None, None, None, None, None, None, None, '2568275') ('4302', '20357221', '1335341709', None, None, None, None, None, '2568275') ('4302', None, None, None, None, None, None, None, '2568275') ('4302', '20357221', '1335341708', None, None, None, None, None, '2568275') ('4302', None, None, None, None, None, None, None, '2568275') ('4302', '20357221', '1335341690', None, None, None, None, None, '2568275') ('4302', None, None, None, None, None, None, None, '2568275') ('4302', '20357221', '1335341671', None, None, None, None, None, '2568275') ('4302', None, None, None, None, None, None, None, '2568275') ('4302', '20357221', '1335341668', None, None, None, None, None, '2568275') ('4302', None, None, None, None, None, None, None, '2568275') ('4302', '20357221', '1335341665', None, None, None, None, None, '2568275') ('4302', None, None, None, None, None, None, None, '2568275') ('4302', '20357221', '1335341664', None, None, None, None, None, '2568275') ('4302', None, None, None, None, None, None, None, '2568275') ('4302', '20357221', '1335341661', None, None, None, None, None, '2568275') ('4302', None, None, None, None, None, None, None, '2568275') ('4302', '20357221', '1335341654', None, None, None, None, None, '2568275') ('4302', None, None, None, None, None, None, None, '2568275') ('4302', '20357221', '1335341652', None, None, None, None, None, '2568275') ('4302', None, None, None, None, None, None, None, '2568275') ('4302', '20357221', '1335341646', None, None, None, None, None, '2568275') ('4302', None, None, None, None, None, None, None, '2568275') ('4302', '20357221', '1335341644', None, None, None, None, None, '2568275') ('4302', None, None, None, None, None, None, None, '2568275') ('4302', '20357221', '1335341623', None, None, None, None, None, '2568275') ('4302', None, None, None, None, None, None, None, '2568275') ('4302', '20357221', '1335341619', None, None, None, None, None, '2568275') ('4302', None, None, None, None, None, None, None, '2568275') ('4302', '20357221', '1335341503', None, None, None, None, None, '2568275') ('4302', None, None, None, None, None, None, None, '2568275') ('4302', '20357221', '1335341499', None, None, None, None, None, '2568275') ('4302', None, None, None, None, None, None, None, '2568275') ('4302', '20357221', '1335341498', None, None, None, None, None, '2568275') ('4302', None, None, None, None, None, None, None, '2568275') ('4302', '20357221', '1335341495', None, None, None, None, None, '2568275') ('4302', None, None, None, None, None, None, None, '2568275') ('4302', '20357221', '1335341492', None, None, None, None, None, '2568275') ('4302', None, None, None, None, None, None, None, '2568275') ('4302', '20357221', '1335341489', None, None, None, None, None, '2568275') ('4302', None, None, None, None, None, None, None, '2568275') ('4302', '20357221', '1335341067', None, None, None, None, None, '2568275') ('4302', None, None, None, None, None, None, None, '2568275') ('4302', '20357221', '1335336391', None, None, None, None, None, '2568275') ('4302', None, None, None, None, None, None, None, '2568275') ('4302', '20357221', '1335336388', None, None, None, None, None, '2568275') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 46 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, '20357221', 'None', None, None, None, None, '2568275'), ('4302', '20357221', '1335344483', None, None, None, None, None, '2568275'), ('4302', '20357221', '1335342109', None, None, None, None, None, '2568275'), ('4302', '20357221', '1335342106', None, None, None, None, None, '2568275'), ('4302', '20357221', '1335342104', None, None, None, None, None, '2568275'), ('4302', '20357221', '1335342097', None, None, None, None, None, '2568275'), ('4302', '20357221', '1335342092', None, None, None, None, None, '2568275'), ('4302', '20357221', '1335342089', None, None, None, None, None, '2568275'), ('4302', '20357221', '1335342019', None, None, None, None, None, '2568275'), ('4302', '20357221', '1335341954', None, None, None, None, None, '2568275'), ('4302', '20357221', '1335341859', None, None, None, None, None, '2568275'), ('4302', '20357221', '1335341850', None, None, None, None, None, '2568275'), ('4302', '20357221', '1335341847', None, None, None, None, None, '2568275'), ('4302', '20357221', '1335341749', None, None, None, None, None, '2568275'), ('4302', '20357221', '1335341745', None, None, None, None, None, '2568275'), ('4302', '20357221', '1335341731', None, None, None, None, None, '2568275'), ('4302', '20357221', '1335341730', None, None, None, None, None, '2568275'), ('4302', '20357221', '1335341728', None, None, None, None, None, '2568275'), ('4302', '20357221', '1335341727', None, None, None, None, None, '2568275'), ('4302', '20357221', '1335341723', None, None, None, None, None, '2568275'), ('4302', '20357221', '1335341720', None, None, None, None, None, '2568275'), ('4302', '20357221', '1335341714', None, None, None, None, None, '2568275'), ('4302', '20357221', '1335341713', None, None, None, None, None, '2568275'), ('4302', '20357221', '1335341709', None, None, None, None, None, '2568275'), ('4302', '20357221', '1335341708', None, None, None, None, None, '2568275'), ('4302', '20357221', '1335341690', None, None, None, None, None, '2568275'), ('4302', '20357221', '1335341671', None, None, None, None, None, '2568275'), ('4302', '20357221', '1335341668', None, None, None, None, None, '2568275'), ('4302', '20357221', '1335341665', None, None, None, None, None, '2568275'), ('4302', '20357221', '1335341664', None, None, None, None, None, '2568275'), ('4302', '20357221', '1335341661', None, None, None, None, None, '2568275'), ('4302', '20357221', '1335341654', None, None, None, None, None, '2568275'), ('4302', '20357221', '1335341652', None, None, None, None, None, '2568275'), ('4302', '20357221', '1335341646', None, None, None, None, None, '2568275'), ('4302', '20357221', '1335341644', None, None, None, None, None, '2568275'), ('4302', '20357221', '1335341623', None, None, None, None, None, '2568275'), ('4302', '20357221', '1335341619', None, None, None, None, None, '2568275'), ('4302', '20357221', '1335341503', None, None, None, None, None, '2568275'), ('4302', '20357221', '1335341499', None, None, None, None, None, '2568275'), ('4302', '20357221', '1335341498', None, None, None, None, None, '2568275'), ('4302', '20357221', '1335341495', None, None, None, None, None, '2568275'), ('4302', '20357221', '1335341492', None, None, None, None, None, '2568275'), ('4302', '20357221', '1335341489', None, None, None, None, None, '2568275'), ('4302', '20357221', '1335341067', None, None, None, None, None, '2568275'), ('4302', '20357221', '1335336391', None, None, None, None, None, '2568275'), ('4302', '20357221', '1335336388', None, None, None, None, None, '2568275')] time used for this insertion : 0.41112542152404785 save_final save missing photos in datou_result : time spend for datou_step_exec : 5.143139600753784 time spend to save output : 0.41157960891723633 total time spend for step 5 : 5.5547192096710205 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 (2568275) 3.25user 2.53system 0:17.27elapsed 33%CPU (0avgtext+0avgdata 160760maxresident)k 4200inputs+27680outputs (28major+77072minor)pagefaults 0swaps