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 : 3864111 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 (2972565) updating current state to 1 UPDATE MTRPhoto.mtr_datou_current SET state=1, hostname='marlene' WHERE id in (2972565) SELECT count(*) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 23377701 AND hide_status = 0 list_input_json: [] Current got : datou_id : 4302, datou_cur_ids : ['2972565'] with mtr_portfolio_ids : ['23377701'] and first list_photo_ids : [] new path : /proc/3864111/ Name: python3 Umask: 0002 State: R (running) Tgid: 3864111 Ngid: 0 Pid: 3864111 PPid: 3864110 TracerPid: 0 Uid: 1006 1006 1006 1006 Gid: 1009 1009 1009 1009 FDSize: 64 Groups: 27 1009 1026 NStgid: 3864111 NSpid: 3864111 NSpgid: 3861239 NSsid: 3861239 VmPeak: 1107324 kB VmSize: 1107324 kB VmLck: 0 kB VmPin: 0 kB VmHWM: 99664 kB VmRSS: 99664 kB RssAnon: 60212 kB RssFile: 39452 kB RssShmem: 0 kB VmData: 866072 kB VmStk: 132 kB VmExe: 2644 kB VmLib: 130468 kB VmPTE: 596 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: 50 nonvoluntary_ctxt_switches: 96 {'Name': 'python3', 'Umask': '0002', 'State': 'R (running)', 'Tgid': '3864111', 'Ngid': '0', 'Pid': '3864111', 'PPid': '3864110', 'TracerPid': '0', 'Uid': '1006,1006,1006,1006', 'Gid': '1009,1009,1009,1009', 'FDSize': '64', 'Groups': '27 1009 1026', 'NStgid': '3864111', 'NSpid': '3864111', 'NSpgid': '3861239', 'NSsid': '3861239', 'VmPeak': '1107324 kB', 'VmSize': '1107324 kB', 'VmLck': '0 kB', 'VmPin': '0 kB', 'VmHWM': '99664 kB', 'VmRSS': '99664 kB', 'RssAnon': '60212 kB', 'RssFile': '39452 kB', 'RssShmem': '0 kB', 'VmData': '866072 kB', 'VmStk': '132 kB', 'VmExe': '2644 kB', 'VmLib': '130468 kB', 'VmPTE': '596 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': '50', 'nonvoluntary_ctxt_switches': '96'} ('datou_batch_current', '3864111', '1107324', '0', '1107324', '866072', '99664', b'', 'marlene', '2972565') 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 (23377701) 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 (2972565 ) ) 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 (23377701) AND hide_status = 0 ORDER by mtr_photo_id desc LIMIT 0, 200 list_result: [{'photo_id': 1361298920, 'portfolio_id': 23377701}, {'photo_id': 1361298862, 'portfolio_id': 23377701}, {'photo_id': 1361298859, 'portfolio_id': 23377701}, {'photo_id': 1361298857, 'portfolio_id': 23377701}, {'photo_id': 1361298854, 'portfolio_id': 23377701}, {'photo_id': 1361298850, 'portfolio_id': 23377701}, {'photo_id': 1361298817, 'portfolio_id': 23377701}, {'photo_id': 1361298815, 'portfolio_id': 23377701}, {'photo_id': 1361298812, 'portfolio_id': 23377701}, {'photo_id': 1361298809, 'portfolio_id': 23377701}, {'photo_id': 1361298805, 'portfolio_id': 23377701}, {'photo_id': 1361298798, 'portfolio_id': 23377701}, {'photo_id': 1361298765, 'portfolio_id': 23377701}, {'photo_id': 1361298761, 'portfolio_id': 23377701}, {'photo_id': 1361298757, 'portfolio_id': 23377701}, {'photo_id': 1361298753, 'portfolio_id': 23377701}, {'photo_id': 1361298747, 'portfolio_id': 23377701}, {'photo_id': 1361298712, 'portfolio_id': 23377701}, {'photo_id': 1361298708, 'portfolio_id': 23377701}, {'photo_id': 1361298700, 'portfolio_id': 23377701}, {'photo_id': 1361298695, 'portfolio_id': 23377701}, {'photo_id': 1361298622, 'portfolio_id': 23377701}, {'photo_id': 1361298612, 'portfolio_id': 23377701}, {'photo_id': 1361298593, 'portfolio_id': 23377701}, {'photo_id': 1361298575, 'portfolio_id': 23377701}, {'photo_id': 1361298528, 'portfolio_id': 23377701}, {'photo_id': 1361298524, 'portfolio_id': 23377701}, {'photo_id': 1361298516, 'portfolio_id': 23377701}, {'photo_id': 1361298511, 'portfolio_id': 23377701}, {'photo_id': 1361298508, 'portfolio_id': 23377701}, {'photo_id': 1361298504, 'portfolio_id': 23377701}, {'photo_id': 1361298475, 'portfolio_id': 23377701}, {'photo_id': 1361298471, 'portfolio_id': 23377701}, {'photo_id': 1361298467, 'portfolio_id': 23377701}, {'photo_id': 1361298463, 'portfolio_id': 23377701}, {'photo_id': 1361298460, 'portfolio_id': 23377701}, {'photo_id': 1361298440, 'portfolio_id': 23377701}, {'photo_id': 1361298436, 'portfolio_id': 23377701}, {'photo_id': 1361298432, 'portfolio_id': 23377701}, {'photo_id': 1361298427, 'portfolio_id': 23377701}, {'photo_id': 1361298424, 'portfolio_id': 23377701}, {'photo_id': 1361298416, 'portfolio_id': 23377701}, {'photo_id': 1361298268, 'portfolio_id': 23377701}, {'photo_id': 1361298148, 'portfolio_id': 23377701}, {'photo_id': 1361297866, 'portfolio_id': 23377701}] map_portfolio_id_photo_id: {23377701: [1361298920, 1361298862, 1361298859, 1361298857, 1361298854, 1361298850, 1361298817, 1361298815, 1361298812, 1361298809, 1361298805, 1361298798, 1361298765, 1361298761, 1361298757, 1361298753, 1361298747, 1361298712, 1361298708, 1361298700, 1361298695, 1361298622, 1361298612, 1361298593, 1361298575, 1361298528, 1361298524, 1361298516, 1361298511, 1361298508, 1361298504, 1361298475, 1361298471, 1361298467, 1361298463, 1361298460, 1361298440, 1361298436, 1361298432, 1361298427, 1361298424, 1361298416, 1361298268, 1361298148, 1361297866]} ##### 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.023041725158691406 #### 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 Wed May 28 05:50:58 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 (23377701) 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 : 23377701 get user id for portfolio 23377701 get sub ptf for main ptf 23377701, type 3726 and hashtags ['metal', 'plastique', 'flou', 'Carton_gris', 'autre_refus', 'mal_croppe', 'Teint_Dans_La_Masse', 'kraft', 'environnement', 'papier', 'cartonnette', 'Carton_brun'] SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23377701 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('metal','plastique','flou','Carton_gris','autre_refus','mal_croppe','Teint_Dans_La_Masse','kraft','environnement','papier','cartonnette','Carton_brun')) 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`=23377701 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('metal','plastique','flou','Carton_gris','autre_refus','mal_croppe','Teint_Dans_La_Masse','kraft','environnement','papier','cartonnette','Carton_brun')) AND mptpi.`min_score`=0.5 To do returned map {'environnement': {'main_port_id': 23377701, 'sub_port_id': 23377707, 'hashtag': 'environnement', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15594934, 'last_updated_at': datetime.datetime(2025, 5, 27, 14, 12, 57), 'last_updated_at_desc': datetime.datetime(2025, 5, 27, 14, 12, 57), 'last_updated_at_asc': datetime.datetime(2025, 5, 27, 14, 2, 56)}, 'metal': {'main_port_id': 23377701, 'sub_port_id': 23377708, 'hashtag': 'metal', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15594935, 'last_updated_at': datetime.datetime(2025, 5, 27, 14, 12, 57), 'last_updated_at_desc': datetime.datetime(2025, 5, 27, 14, 12, 57), 'last_updated_at_asc': datetime.datetime(2025, 5, 27, 14, 2, 56)}, 'Carton_gris': {'main_port_id': 23377701, 'sub_port_id': 23377709, 'hashtag': 'Carton_gris', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15594936, 'last_updated_at': datetime.datetime(2025, 5, 27, 14, 12, 57), 'last_updated_at_desc': datetime.datetime(2025, 5, 27, 14, 12, 57), 'last_updated_at_asc': datetime.datetime(2025, 5, 27, 14, 2, 56)}, 'papier': {'main_port_id': 23377701, 'sub_port_id': 23377710, 'hashtag': 'papier', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15594937, 'last_updated_at': datetime.datetime(2025, 5, 27, 14, 12, 57), 'last_updated_at_desc': datetime.datetime(2025, 5, 27, 14, 12, 57), 'last_updated_at_asc': datetime.datetime(2025, 5, 27, 14, 2, 56)}, 'Teint_Dans_La_Masse': {'main_port_id': 23377701, 'sub_port_id': 23377711, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15594938, 'last_updated_at': datetime.datetime(2025, 5, 27, 14, 12, 57), 'last_updated_at_desc': datetime.datetime(2025, 5, 27, 14, 12, 57), 'last_updated_at_asc': datetime.datetime(2025, 5, 27, 14, 2, 56)}, 'autre_refus': {'main_port_id': 23377701, 'sub_port_id': 23377712, 'hashtag': 'autre_refus', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15594939, 'last_updated_at': datetime.datetime(2025, 5, 27, 14, 12, 57), 'last_updated_at_desc': datetime.datetime(2025, 5, 27, 14, 12, 57), 'last_updated_at_asc': datetime.datetime(2025, 5, 27, 14, 2, 56)}, 'kraft': {'main_port_id': 23377701, 'sub_port_id': 23377713, 'hashtag': 'kraft', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15594940, 'last_updated_at': datetime.datetime(2025, 5, 27, 14, 12, 57), 'last_updated_at_desc': datetime.datetime(2025, 5, 27, 14, 12, 57), 'last_updated_at_asc': datetime.datetime(2025, 5, 27, 14, 2, 56)}, 'plastique': {'main_port_id': 23377701, 'sub_port_id': 23377714, 'hashtag': 'plastique', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15594941, 'last_updated_at': datetime.datetime(2025, 5, 27, 14, 12, 57), 'last_updated_at_desc': datetime.datetime(2025, 5, 27, 14, 12, 57), 'last_updated_at_asc': datetime.datetime(2025, 5, 27, 14, 2, 56)}, 'Carton_brun': {'main_port_id': 23377701, 'sub_port_id': 23377715, 'hashtag': 'Carton_brun', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15594942, 'last_updated_at': datetime.datetime(2025, 5, 27, 14, 12, 57), 'last_updated_at_desc': datetime.datetime(2025, 5, 27, 14, 12, 57), 'last_updated_at_asc': datetime.datetime(2025, 5, 27, 14, 2, 56)}, 'cartonnette': {'main_port_id': 23377701, 'sub_port_id': 23377716, 'hashtag': 'cartonnette', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15594943, 'last_updated_at': datetime.datetime(2025, 5, 27, 14, 12, 57), 'last_updated_at_desc': datetime.datetime(2025, 5, 27, 14, 12, 57), 'last_updated_at_asc': datetime.datetime(2025, 5, 27, 14, 2, 56)}, 'mal_croppe': {'main_port_id': 23377701, 'sub_port_id': 23377717, 'hashtag': 'mal_croppe', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15594944, 'last_updated_at': datetime.datetime(2025, 5, 27, 14, 12, 57), 'last_updated_at_desc': datetime.datetime(2025, 5, 27, 14, 12, 57), 'last_updated_at_asc': datetime.datetime(2025, 5, 27, 14, 2, 56)}, 'flou': {'main_port_id': 23377701, 'sub_port_id': 23377718, 'hashtag': 'flou', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15594945, 'last_updated_at': datetime.datetime(2025, 5, 27, 14, 12, 57), 'last_updated_at_desc': datetime.datetime(2025, 5, 27, 14, 12, 57), 'last_updated_at_asc': datetime.datetime(2025, 5, 27, 14, 2, 56)}} insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 23377707 , 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=23377701 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 (23377707) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (23377701) result : ((1361297866,), (1361298148,), (1361298268,), (1361298416,), (1361298424,), (1361298427,), (1361298432,), (1361298436,), (1361298440,), (1361298460,), (1361298463,), (1361298467,), (1361298471,), (1361298475,), (1361298504,), (1361298508,), (1361298511,), (1361298516,), (1361298524,), (1361298528,), (1361298575,), (1361298593,), (1361298612,), (1361298622,), (1361298695,), (1361298700,), (1361298708,), (1361298712,), (1361298747,), (1361298753,), (1361298757,), (1361298761,), (1361298765,), (1361298798,), (1361298805,), (1361298809,), (1361298812,), (1361298815,), (1361298817,), (1361298850,), (1361298854,), (1361298857,), (1361298859,), (1361298862,), (1361298920,)) 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 (1361298700) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 23377708 , 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=23377701 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 (23377708) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (23377701) result : ((1361297866,), (1361298148,), (1361298268,), (1361298416,), (1361298424,), (1361298427,), (1361298432,), (1361298436,), (1361298440,), (1361298460,), (1361298463,), (1361298467,), (1361298471,), (1361298475,), (1361298504,), (1361298508,), (1361298511,), (1361298516,), (1361298524,), (1361298528,), (1361298575,), (1361298593,), (1361298612,), (1361298622,), (1361298695,), (1361298700,), (1361298708,), (1361298712,), (1361298747,), (1361298753,), (1361298757,), (1361298761,), (1361298765,), (1361298798,), (1361298805,), (1361298809,), (1361298812,), (1361298815,), (1361298817,), (1361298850,), (1361298854,), (1361298857,), (1361298859,), (1361298862,), (1361298920,)) 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 (1361298700) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 23377709 , 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=23377701 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 (23377709) result : ((1361298515,), (1361299024,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (23377701) result : ((1361297866,), (1361298148,), (1361298268,), (1361298416,), (1361298424,), (1361298427,), (1361298432,), (1361298436,), (1361298440,), (1361298460,), (1361298463,), (1361298467,), (1361298471,), (1361298475,), (1361298504,), (1361298508,), (1361298511,), (1361298516,), (1361298524,), (1361298528,), (1361298575,), (1361298593,), (1361298612,), (1361298622,), (1361298695,), (1361298700,), (1361298708,), (1361298712,), (1361298747,), (1361298753,), (1361298757,), (1361298761,), (1361298765,), (1361298798,), (1361298805,), (1361298809,), (1361298812,), (1361298815,), (1361298817,), (1361298850,), (1361298854,), (1361298857,), (1361298859,), (1361298862,), (1361298920,)) 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 (1361298700) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 23377710 , 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=23377701 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 (23377710) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (23377701) result : ((1361297866,), (1361298148,), (1361298268,), (1361298416,), (1361298424,), (1361298427,), (1361298432,), (1361298436,), (1361298440,), (1361298460,), (1361298463,), (1361298467,), (1361298471,), (1361298475,), (1361298504,), (1361298508,), (1361298511,), (1361298516,), (1361298524,), (1361298528,), (1361298575,), (1361298593,), (1361298612,), (1361298622,), (1361298695,), (1361298700,), (1361298708,), (1361298712,), (1361298747,), (1361298753,), (1361298757,), (1361298761,), (1361298765,), (1361298798,), (1361298805,), (1361298809,), (1361298812,), (1361298815,), (1361298817,), (1361298850,), (1361298854,), (1361298857,), (1361298859,), (1361298862,), (1361298920,)) 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 (1361298700) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 23377711 , 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=23377701 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 (23377711) result : ((1361298513,), (1361298514,), (1361298705,), (1361298800,), (1361300640,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (23377701) result : ((1361297866,), (1361298148,), (1361298268,), (1361298416,), (1361298424,), (1361298427,), (1361298432,), (1361298436,), (1361298440,), (1361298460,), (1361298463,), (1361298467,), (1361298471,), (1361298475,), (1361298504,), (1361298508,), (1361298511,), (1361298516,), (1361298524,), (1361298528,), (1361298575,), (1361298593,), (1361298612,), (1361298622,), (1361298695,), (1361298700,), (1361298708,), (1361298712,), (1361298747,), (1361298753,), (1361298757,), (1361298761,), (1361298765,), (1361298798,), (1361298805,), (1361298809,), (1361298812,), (1361298815,), (1361298817,), (1361298850,), (1361298854,), (1361298857,), (1361298859,), (1361298862,), (1361298920,)) 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 (1361298700) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 23377712 , 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=23377701 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 (23377712) result : ((1361298802,), (1361299021,), (1361299022,), (1361299023,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (23377701) result : ((1361297866,), (1361298148,), (1361298268,), (1361298416,), (1361298424,), (1361298427,), (1361298432,), (1361298436,), (1361298440,), (1361298460,), (1361298463,), (1361298467,), (1361298471,), (1361298475,), (1361298504,), (1361298508,), (1361298511,), (1361298516,), (1361298524,), (1361298528,), (1361298575,), (1361298593,), (1361298612,), (1361298622,), (1361298695,), (1361298700,), (1361298708,), (1361298712,), (1361298747,), (1361298753,), (1361298757,), (1361298761,), (1361298765,), (1361298798,), (1361298805,), (1361298809,), (1361298812,), (1361298815,), (1361298817,), (1361298850,), (1361298854,), (1361298857,), (1361298859,), (1361298862,), (1361298920,)) 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 (1361298700) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 23377713 , 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=23377701 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 (23377713) result : ((1361299036,),) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (23377701) result : ((1361297866,), (1361298148,), (1361298268,), (1361298416,), (1361298424,), (1361298427,), (1361298432,), (1361298436,), (1361298440,), (1361298460,), (1361298463,), (1361298467,), (1361298471,), (1361298475,), (1361298504,), (1361298508,), (1361298511,), (1361298516,), (1361298524,), (1361298528,), (1361298575,), (1361298593,), (1361298612,), (1361298622,), (1361298695,), (1361298700,), (1361298708,), (1361298712,), (1361298747,), (1361298753,), (1361298757,), (1361298761,), (1361298765,), (1361298798,), (1361298805,), (1361298809,), (1361298812,), (1361298815,), (1361298817,), (1361298850,), (1361298854,), (1361298857,), (1361298859,), (1361298862,), (1361298920,)) 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 (1361298700) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 23377714 , 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=23377701 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 (23377714) result : ((1361298520,), (1361298521,), (1361300657,), (1361300659,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (23377701) result : ((1361297866,), (1361298148,), (1361298268,), (1361298416,), (1361298424,), (1361298427,), (1361298432,), (1361298436,), (1361298440,), (1361298460,), (1361298463,), (1361298467,), (1361298471,), (1361298475,), (1361298504,), (1361298508,), (1361298511,), (1361298516,), (1361298524,), (1361298528,), (1361298575,), (1361298593,), (1361298612,), (1361298622,), (1361298695,), (1361298700,), (1361298708,), (1361298712,), (1361298747,), (1361298753,), (1361298757,), (1361298761,), (1361298765,), (1361298798,), (1361298805,), (1361298809,), (1361298812,), (1361298815,), (1361298817,), (1361298850,), (1361298854,), (1361298857,), (1361298859,), (1361298862,), (1361298920,)) 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 (1361298700) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 23377715 , 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=23377701 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 (23377715) result : ((1361298517,), (1361298518,), (1361298707,), (1361298709,), (1361298710,), (1361298806,), (1361299031,), (1361299032,), (1361299033,), (1361299034,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (23377701) result : ((1361297866,), (1361298148,), (1361298268,), (1361298416,), (1361298424,), (1361298427,), (1361298432,), (1361298436,), (1361298440,), (1361298460,), (1361298463,), (1361298467,), (1361298471,), (1361298475,), (1361298504,), (1361298508,), (1361298511,), (1361298516,), (1361298524,), (1361298528,), (1361298575,), (1361298593,), (1361298612,), (1361298622,), (1361298695,), (1361298700,), (1361298708,), (1361298712,), (1361298747,), (1361298753,), (1361298757,), (1361298761,), (1361298765,), (1361298798,), (1361298805,), (1361298809,), (1361298812,), (1361298815,), (1361298817,), (1361298850,), (1361298854,), (1361298857,), (1361298859,), (1361298862,), (1361298920,)) 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 (1361298700) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 23377716 , 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=23377701 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 (23377716) result : ((1361298803,), (1361299026,), (1361299028,), (1361300648,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (23377701) result : ((1361297866,), (1361298148,), (1361298268,), (1361298416,), (1361298424,), (1361298427,), (1361298432,), (1361298436,), (1361298440,), (1361298460,), (1361298463,), (1361298467,), (1361298471,), (1361298475,), (1361298504,), (1361298508,), (1361298511,), (1361298516,), (1361298524,), (1361298528,), (1361298575,), (1361298593,), (1361298612,), (1361298622,), (1361298695,), (1361298700,), (1361298708,), (1361298712,), (1361298747,), (1361298753,), (1361298757,), (1361298761,), (1361298765,), (1361298798,), (1361298805,), (1361298809,), (1361298812,), (1361298815,), (1361298817,), (1361298850,), (1361298854,), (1361298857,), (1361298859,), (1361298862,), (1361298920,)) 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 (1361298700) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 23377717 , 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=23377701 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 (23377717) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (23377701) result : ((1361297866,), (1361298148,), (1361298268,), (1361298416,), (1361298424,), (1361298427,), (1361298432,), (1361298436,), (1361298440,), (1361298460,), (1361298463,), (1361298467,), (1361298471,), (1361298475,), (1361298504,), (1361298508,), (1361298511,), (1361298516,), (1361298524,), (1361298528,), (1361298575,), (1361298593,), (1361298612,), (1361298622,), (1361298695,), (1361298700,), (1361298708,), (1361298712,), (1361298747,), (1361298753,), (1361298757,), (1361298761,), (1361298765,), (1361298798,), (1361298805,), (1361298809,), (1361298812,), (1361298815,), (1361298817,), (1361298850,), (1361298854,), (1361298857,), (1361298859,), (1361298862,), (1361298920,)) 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 (1361298700) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 23377718 , 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=23377701 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 (23377718) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (23377701) result : ((1361297866,), (1361298148,), (1361298268,), (1361298416,), (1361298424,), (1361298427,), (1361298432,), (1361298436,), (1361298440,), (1361298460,), (1361298463,), (1361298467,), (1361298471,), (1361298475,), (1361298504,), (1361298508,), (1361298511,), (1361298516,), (1361298524,), (1361298528,), (1361298575,), (1361298593,), (1361298612,), (1361298622,), (1361298695,), (1361298700,), (1361298708,), (1361298712,), (1361298747,), (1361298753,), (1361298757,), (1361298761,), (1361298765,), (1361298798,), (1361298805,), (1361298809,), (1361298812,), (1361298815,), (1361298817,), (1361298850,), (1361298854,), (1361298857,), (1361298859,), (1361298862,), (1361298920,)) 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 (1361298700) and cspi.crop_hashtag_id = chi.id; 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`=23377701 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('metal','plastique','flou','Carton_gris','autre_refus','mal_croppe','Teint_Dans_La_Masse','kraft','environnement','papier','cartonnette','Carton_brun')) 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`=23377701 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('metal','plastique','flou','Carton_gris','autre_refus','mal_croppe','Teint_Dans_La_Masse','kraft','environnement','papier','cartonnette','Carton_brun')) AND mptpi.`min_score`=0.5 To do returned map {'environnement': {'main_port_id': 23377701, 'sub_port_id': 23377720, 'hashtag': 'environnement', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15594946, 'last_updated_at': datetime.datetime(2025, 5, 27, 14, 2, 57), 'last_updated_at_desc': datetime.datetime(2025, 5, 27, 14, 2, 57), 'last_updated_at_asc': datetime.datetime(2025, 5, 27, 14, 2, 57)}, 'metal': {'main_port_id': 23377701, 'sub_port_id': 23377721, 'hashtag': 'metal', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15594947, 'last_updated_at': datetime.datetime(2025, 5, 27, 14, 2, 57), 'last_updated_at_desc': datetime.datetime(2025, 5, 27, 14, 2, 57), 'last_updated_at_asc': datetime.datetime(2025, 5, 27, 14, 2, 57)}, 'Carton_gris': {'main_port_id': 23377701, 'sub_port_id': 23377722, 'hashtag': 'Carton_gris', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15594948, 'last_updated_at': datetime.datetime(2025, 5, 27, 14, 2, 57), 'last_updated_at_desc': datetime.datetime(2025, 5, 27, 14, 2, 57), 'last_updated_at_asc': datetime.datetime(2025, 5, 27, 14, 2, 57)}, 'papier': {'main_port_id': 23377701, 'sub_port_id': 23377723, 'hashtag': 'papier', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15594949, 'last_updated_at': datetime.datetime(2025, 5, 27, 14, 2, 57), 'last_updated_at_desc': datetime.datetime(2025, 5, 27, 14, 2, 57), 'last_updated_at_asc': datetime.datetime(2025, 5, 27, 14, 2, 57)}, 'Teint_Dans_La_Masse': {'main_port_id': 23377701, 'sub_port_id': 23377724, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15594950, 'last_updated_at': datetime.datetime(2025, 5, 27, 14, 2, 57), 'last_updated_at_desc': datetime.datetime(2025, 5, 27, 14, 2, 57), 'last_updated_at_asc': datetime.datetime(2025, 5, 27, 14, 2, 57)}, 'autre_refus': {'main_port_id': 23377701, 'sub_port_id': 23377725, 'hashtag': 'autre_refus', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15594951, 'last_updated_at': datetime.datetime(2025, 5, 27, 14, 2, 57), 'last_updated_at_desc': datetime.datetime(2025, 5, 27, 14, 2, 57), 'last_updated_at_asc': datetime.datetime(2025, 5, 27, 14, 2, 57)}, 'kraft': {'main_port_id': 23377701, 'sub_port_id': 23377726, 'hashtag': 'kraft', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15594952, 'last_updated_at': datetime.datetime(2025, 5, 27, 14, 2, 57), 'last_updated_at_desc': datetime.datetime(2025, 5, 27, 14, 2, 57), 'last_updated_at_asc': datetime.datetime(2025, 5, 27, 14, 2, 57)}, 'plastique': {'main_port_id': 23377701, 'sub_port_id': 23377727, 'hashtag': 'plastique', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15594953, 'last_updated_at': datetime.datetime(2025, 5, 27, 14, 2, 57), 'last_updated_at_desc': datetime.datetime(2025, 5, 27, 14, 2, 57), 'last_updated_at_asc': datetime.datetime(2025, 5, 27, 14, 2, 57)}, 'Carton_brun': {'main_port_id': 23377701, 'sub_port_id': 23377728, 'hashtag': 'Carton_brun', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15594954, 'last_updated_at': datetime.datetime(2025, 5, 27, 14, 2, 57), 'last_updated_at_desc': datetime.datetime(2025, 5, 27, 14, 2, 57), 'last_updated_at_asc': datetime.datetime(2025, 5, 27, 14, 2, 57)}, 'cartonnette': {'main_port_id': 23377701, 'sub_port_id': 23377729, 'hashtag': 'cartonnette', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15594955, 'last_updated_at': datetime.datetime(2025, 5, 27, 14, 2, 57), 'last_updated_at_desc': datetime.datetime(2025, 5, 27, 14, 2, 57), 'last_updated_at_asc': datetime.datetime(2025, 5, 27, 14, 2, 57)}, 'mal_croppe': {'main_port_id': 23377701, 'sub_port_id': 23377730, 'hashtag': 'mal_croppe', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15594956, 'last_updated_at': datetime.datetime(2025, 5, 27, 14, 2, 57), 'last_updated_at_desc': datetime.datetime(2025, 5, 27, 14, 2, 57), 'last_updated_at_asc': datetime.datetime(2025, 5, 27, 14, 2, 57)}, 'flou': {'main_port_id': 23377701, 'sub_port_id': 23377731, 'hashtag': 'flou', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15594957, 'last_updated_at': datetime.datetime(2025, 5, 27, 14, 12, 57), 'last_updated_at_desc': datetime.datetime(2025, 5, 27, 14, 12, 57), 'last_updated_at_asc': datetime.datetime(2025, 5, 27, 14, 2, 57)}} insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 23377720,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 23377707 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 23377721,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 23377708 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 23377722,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 23377709 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 23377723,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 23377710 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 23377724,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 23377711 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 23377725,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 23377712 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 23377726,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 23377713 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 23377727,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 23377714 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 23377728,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 23377715 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 23377729,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 23377716 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 23377730,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 23377717 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 23377731,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 23377718 lien utilise dans velours : https://www.fotonower.com/velours/23377720,23377721,23377722,23377723,23377724,23377725,23377726,23377727,23377728,23377729,23377730,23377731?tags=environnement,metal,Carton_gris,papier,Teint_Dans_La_Masse,autre_refus,kraft,plastique,Carton_brun,cartonnette,mal_croppe,flou After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([23377701]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1361298920, 1361298862, 1361298859, 1361298857, 1361298854, 1361298850, 1361298817, 1361298815, 1361298812, 1361298809, 1361298805, 1361298798, 1361298765, 1361298761, 1361298757, 1361298753, 1361298747, 1361298712, 1361298708, 1361298700, 1361298695, 1361298622, 1361298612, 1361298593, 1361298575, 1361298528, 1361298524, 1361298516, 1361298511, 1361298508, 1361298504, 1361298475, 1361298471, 1361298467, 1361298463, 1361298460, 1361298440, 1361298436, 1361298432, 1361298427, 1361298424, 1361298416, 1361298268, 1361298148, 1361297866] map_info['map_portfolio_photo'] : {23377701: [1361298920, 1361298862, 1361298859, 1361298857, 1361298854, 1361298850, 1361298817, 1361298815, 1361298812, 1361298809, 1361298805, 1361298798, 1361298765, 1361298761, 1361298757, 1361298753, 1361298747, 1361298712, 1361298708, 1361298700, 1361298695, 1361298622, 1361298612, 1361298593, 1361298575, 1361298528, 1361298524, 1361298516, 1361298511, 1361298508, 1361298504, 1361298475, 1361298471, 1361298467, 1361298463, 1361298460, 1361298440, 1361298436, 1361298432, 1361298427, 1361298424, 1361298416, 1361298268, 1361298148, 1361297866]} final : False mtd_id 4302 list_pids : [1361298920, 1361298862, 1361298859, 1361298857, 1361298854, 1361298850, 1361298817, 1361298815, 1361298812, 1361298809, 1361298805, 1361298798, 1361298765, 1361298761, 1361298757, 1361298753, 1361298747, 1361298712, 1361298708, 1361298700, 1361298695, 1361298622, 1361298612, 1361298593, 1361298575, 1361298528, 1361298524, 1361298516, 1361298511, 1361298508, 1361298504, 1361298475, 1361298471, 1361298467, 1361298463, 1361298460, 1361298440, 1361298436, 1361298432, 1361298427, 1361298424, 1361298416, 1361298268, 1361298148, 1361297866] Looping around the photos to save general results len do output : 1 /23377701. 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, '2972565') ('4302', '23377701', '1361298920', None, None, None, None, None, '2972565') ('4302', None, None, None, None, None, None, None, '2972565') ('4302', '23377701', '1361298862', None, None, None, None, None, '2972565') ('4302', None, None, None, None, None, None, None, '2972565') ('4302', '23377701', '1361298859', None, None, None, None, None, '2972565') ('4302', None, None, None, None, None, None, None, '2972565') ('4302', '23377701', '1361298857', None, None, None, None, None, '2972565') ('4302', None, None, None, None, None, None, None, '2972565') ('4302', '23377701', '1361298854', None, None, None, None, None, '2972565') ('4302', None, None, None, None, None, None, None, '2972565') ('4302', '23377701', '1361298850', None, None, None, None, None, '2972565') ('4302', None, None, None, None, None, None, None, '2972565') ('4302', '23377701', '1361298817', None, None, None, None, None, '2972565') ('4302', None, None, None, None, None, None, None, '2972565') ('4302', '23377701', '1361298815', None, None, None, None, None, '2972565') ('4302', None, None, None, None, None, None, None, '2972565') ('4302', '23377701', '1361298812', None, None, None, None, None, '2972565') ('4302', None, None, None, None, None, None, None, '2972565') ('4302', '23377701', '1361298809', None, None, None, None, None, '2972565') ('4302', None, None, None, None, None, None, None, '2972565') ('4302', '23377701', '1361298805', None, None, None, None, None, '2972565') ('4302', None, None, None, None, None, None, None, '2972565') ('4302', '23377701', '1361298798', None, None, None, None, None, '2972565') ('4302', None, None, None, None, None, None, None, '2972565') ('4302', '23377701', '1361298765', None, None, None, None, None, '2972565') ('4302', None, None, None, None, None, None, None, '2972565') ('4302', '23377701', '1361298761', None, None, None, None, None, '2972565') ('4302', None, None, None, None, None, None, None, '2972565') ('4302', '23377701', '1361298757', None, None, None, None, None, '2972565') ('4302', None, None, None, None, None, None, None, '2972565') ('4302', '23377701', '1361298753', None, None, None, None, None, '2972565') ('4302', None, None, None, None, None, None, None, '2972565') ('4302', '23377701', '1361298747', None, None, None, None, None, '2972565') ('4302', None, None, None, None, None, None, None, '2972565') ('4302', '23377701', '1361298712', None, None, None, None, None, '2972565') ('4302', None, None, None, None, None, None, None, '2972565') ('4302', '23377701', '1361298708', None, None, None, None, None, '2972565') ('4302', None, None, None, None, None, None, None, '2972565') ('4302', '23377701', '1361298700', None, None, None, None, None, '2972565') ('4302', None, None, None, None, None, None, None, '2972565') ('4302', '23377701', '1361298695', None, None, None, None, None, '2972565') ('4302', None, None, None, None, None, None, None, '2972565') ('4302', '23377701', '1361298622', None, None, None, None, None, '2972565') ('4302', None, None, None, None, None, None, None, '2972565') ('4302', '23377701', '1361298612', None, None, None, None, None, '2972565') ('4302', None, None, None, None, None, None, None, '2972565') ('4302', '23377701', '1361298593', None, None, None, None, None, '2972565') ('4302', None, None, None, None, None, None, None, '2972565') ('4302', '23377701', '1361298575', None, None, None, None, None, '2972565') ('4302', None, None, None, None, None, None, None, '2972565') ('4302', '23377701', '1361298528', None, None, None, None, None, '2972565') ('4302', None, None, None, None, None, None, None, '2972565') ('4302', '23377701', '1361298524', None, None, None, None, None, '2972565') ('4302', None, None, None, None, None, None, None, '2972565') ('4302', '23377701', '1361298516', None, None, None, None, None, '2972565') ('4302', None, None, None, None, None, None, None, '2972565') ('4302', '23377701', '1361298511', None, None, None, None, None, '2972565') ('4302', None, None, None, None, None, None, None, '2972565') ('4302', '23377701', '1361298508', None, None, None, None, None, '2972565') ('4302', None, None, None, None, None, None, None, '2972565') ('4302', '23377701', '1361298504', None, None, None, None, None, '2972565') ('4302', None, None, None, None, None, None, None, '2972565') ('4302', '23377701', '1361298475', None, None, None, None, None, '2972565') ('4302', None, None, None, None, None, None, None, '2972565') ('4302', '23377701', '1361298471', None, None, None, None, None, '2972565') ('4302', None, None, None, None, None, None, None, '2972565') ('4302', '23377701', '1361298467', None, None, None, None, None, '2972565') ('4302', None, None, None, None, None, None, None, '2972565') ('4302', '23377701', '1361298463', None, None, None, None, None, '2972565') ('4302', None, None, None, None, None, None, None, '2972565') ('4302', '23377701', '1361298460', None, None, None, None, None, '2972565') ('4302', None, None, None, None, None, None, None, '2972565') ('4302', '23377701', '1361298440', None, None, None, None, None, '2972565') ('4302', None, None, None, None, None, None, None, '2972565') ('4302', '23377701', '1361298436', None, None, None, None, None, '2972565') ('4302', None, None, None, None, None, None, None, '2972565') ('4302', '23377701', '1361298432', None, None, None, None, None, '2972565') ('4302', None, None, None, None, None, None, None, '2972565') ('4302', '23377701', '1361298427', None, None, None, None, None, '2972565') ('4302', None, None, None, None, None, None, None, '2972565') ('4302', '23377701', '1361298424', None, None, None, None, None, '2972565') ('4302', None, None, None, None, None, None, None, '2972565') ('4302', '23377701', '1361298416', None, None, None, None, None, '2972565') ('4302', None, None, None, None, None, None, None, '2972565') ('4302', '23377701', '1361298268', None, None, None, None, None, '2972565') ('4302', None, None, None, None, None, None, None, '2972565') ('4302', '23377701', '1361298148', None, None, None, None, None, '2972565') ('4302', None, None, None, None, None, None, None, '2972565') ('4302', '23377701', '1361297866', None, None, None, None, None, '2972565') 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, '23377701', "{'environnement': 23377707, 'metal': 23377708, 'Carton_gris': 23377709, 'papier': 23377710, 'Teint_Dans_La_Masse': 23377711, 'autre_refus': 23377712, 'kraft': 23377713, 'plastique': 23377714, 'Carton_brun': 23377715, 'cartonnette': 23377716, 'mal_croppe': 23377717, 'flou': 23377718}", None, None, None, None, '2972565'), ('4302', '23377701', '1361298920', None, None, None, None, None, '2972565'), ('4302', '23377701', '1361298862', None, None, None, None, None, '2972565'), ('4302', '23377701', '1361298859', None, None, None, None, None, '2972565'), ('4302', '23377701', '1361298857', None, None, None, None, None, '2972565'), ('4302', '23377701', '1361298854', None, None, None, None, None, '2972565'), ('4302', '23377701', '1361298850', None, None, None, None, None, '2972565'), ('4302', '23377701', '1361298817', None, None, None, None, None, '2972565'), ('4302', '23377701', '1361298815', None, None, None, None, None, '2972565'), ('4302', '23377701', '1361298812', None, None, None, None, None, '2972565'), ('4302', '23377701', '1361298809', None, None, None, None, None, '2972565'), ('4302', '23377701', '1361298805', None, None, None, None, None, '2972565'), ('4302', '23377701', '1361298798', None, None, None, None, None, '2972565'), ('4302', '23377701', '1361298765', None, None, None, None, None, '2972565'), ('4302', '23377701', '1361298761', None, None, None, None, None, '2972565'), ('4302', '23377701', '1361298757', None, None, None, None, None, '2972565'), ('4302', '23377701', '1361298753', None, None, None, None, None, '2972565'), ('4302', '23377701', '1361298747', None, None, None, None, None, '2972565'), ('4302', '23377701', '1361298712', None, None, None, None, None, '2972565'), ('4302', '23377701', '1361298708', None, None, None, None, None, '2972565'), ('4302', '23377701', '1361298700', None, None, None, None, None, '2972565'), ('4302', '23377701', '1361298695', None, None, None, None, None, '2972565'), ('4302', '23377701', '1361298622', None, None, None, None, None, '2972565'), ('4302', '23377701', '1361298612', None, None, None, None, None, '2972565'), ('4302', '23377701', '1361298593', None, None, None, None, None, '2972565'), ('4302', '23377701', '1361298575', None, None, None, None, None, '2972565'), ('4302', '23377701', '1361298528', None, None, None, None, None, '2972565'), ('4302', '23377701', '1361298524', None, None, None, None, None, '2972565'), ('4302', '23377701', '1361298516', None, None, None, None, None, '2972565'), ('4302', '23377701', '1361298511', None, None, None, None, None, '2972565'), ('4302', '23377701', '1361298508', None, None, None, None, None, '2972565'), ('4302', '23377701', '1361298504', None, None, None, None, None, '2972565'), ('4302', '23377701', '1361298475', None, None, None, None, None, '2972565'), ('4302', '23377701', '1361298471', None, None, None, None, None, '2972565'), ('4302', '23377701', '1361298467', None, None, None, None, None, '2972565'), ('4302', '23377701', '1361298463', None, None, None, None, None, '2972565'), ('4302', '23377701', '1361298460', None, None, None, None, None, '2972565'), ('4302', '23377701', '1361298440', None, None, None, None, None, '2972565'), ('4302', '23377701', '1361298436', None, None, None, None, None, '2972565'), ('4302', '23377701', '1361298432', None, None, None, None, None, '2972565'), ('4302', '23377701', '1361298427', None, None, None, None, None, '2972565'), ('4302', '23377701', '1361298424', None, None, None, None, None, '2972565'), ('4302', '23377701', '1361298416', None, None, None, None, None, '2972565'), ('4302', '23377701', '1361298268', None, None, None, None, None, '2972565'), ('4302', '23377701', '1361298148', None, None, None, None, None, '2972565'), ('4302', '23377701', '1361297866', None, None, None, None, None, '2972565')] time used for this insertion : 0.06649231910705566 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.531282901763916 time spend to save output : 0.06704497337341309 total time spend for step 1 : 0.5983278751373291 step2:final Wed May 28 05:50:59 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure input_args_next_step, len :0, first value : [] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (23377701) 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 23377701 : SELECT photo_id, hashtag_id, ratio from MTRPhoto.photo_carac_ratio where hashtag_type = 3726 and photo_id in (1361297866,1361298148,1361298268,1361298440,1361298436,1361298432,1361298427,1361298424,1361298416,1361298475,1361298471,1361298467,1361298463,1361298460,1361298528,1361298524,1361298516,1361298511,1361298508,1361298504,1361298622,1361298612,1361298593,1361298575,1361298712,1361298708,1361298700,1361298695,1361298765,1361298761,1361298757,1361298753,1361298747,1361298817,1361298815,1361298812,1361298809,1361298805,1361298798,1361298862,1361298859,1361298857,1361298854,1361298850,1361298920); insert ignore into MTRUser.portfolio_carac_ratio (portfolio_id, hashtag_type, hashtag_id, value) values (%s,%s,%s,%s) on DUPLICATE KEY UPDATE value=VALUES(value) After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([23377701]) Inside saveOutput : final : False verbose : True original output for save of step final : {1361298920: ('0.0603745487590364',), 1361298862: ('0.0603745487590364',), 1361298859: ('0.0603745487590364',), 1361298857: ('0.0603745487590364',), 1361298854: ('0.0603745487590364',), 1361298850: ('0.0603745487590364',), 1361298817: ('0.0603745487590364',), 1361298815: ('0.0603745487590364',), 1361298812: ('0.0603745487590364',), 1361298809: ('0.0603745487590364',), 1361298805: ('0.0603745487590364',), 1361298798: ('0.0603745487590364',), 1361298765: ('0.0603745487590364',), 1361298761: ('0.0603745487590364',), 1361298757: ('0.0603745487590364',), 1361298753: ('0.0603745487590364',), 1361298747: ('0.0603745487590364',), 1361298712: ('0.0603745487590364',), 1361298708: ('0.0603745487590364',), 1361298700: ('0.0603745487590364',), 1361298695: ('0.0603745487590364',), 1361298622: ('0.0603745487590364',), 1361298612: ('0.0603745487590364',), 1361298593: ('0.0603745487590364',), 1361298575: ('0.0603745487590364',), 1361298528: ('0.0603745487590364',), 1361298524: ('0.0603745487590364',), 1361298516: ('0.0603745487590364',), 1361298511: ('0.0603745487590364',), 1361298508: ('0.0603745487590364',), 1361298504: ('0.0603745487590364',), 1361298475: ('0.0603745487590364',), 1361298471: ('0.0603745487590364',), 1361298467: ('0.0603745487590364',), 1361298463: ('0.0603745487590364',), 1361298460: ('0.0603745487590364',), 1361298440: ('0.0603745487590364',), 1361298436: ('0.0603745487590364',), 1361298432: ('0.0603745487590364',), 1361298427: ('0.0603745487590364',), 1361298424: ('0.0603745487590364',), 1361298416: ('0.0603745487590364',), 1361298268: ('0.0603745487590364',), 1361298148: ('0.0603745487590364',), 1361297866: ('0.0603745487590364',)} new output for save of step final : {1361298920: ('0.0603745487590364',), 1361298862: ('0.0603745487590364',), 1361298859: ('0.0603745487590364',), 1361298857: ('0.0603745487590364',), 1361298854: ('0.0603745487590364',), 1361298850: ('0.0603745487590364',), 1361298817: ('0.0603745487590364',), 1361298815: ('0.0603745487590364',), 1361298812: ('0.0603745487590364',), 1361298809: ('0.0603745487590364',), 1361298805: ('0.0603745487590364',), 1361298798: ('0.0603745487590364',), 1361298765: ('0.0603745487590364',), 1361298761: ('0.0603745487590364',), 1361298757: ('0.0603745487590364',), 1361298753: ('0.0603745487590364',), 1361298747: ('0.0603745487590364',), 1361298712: ('0.0603745487590364',), 1361298708: ('0.0603745487590364',), 1361298700: ('0.0603745487590364',), 1361298695: ('0.0603745487590364',), 1361298622: ('0.0603745487590364',), 1361298612: ('0.0603745487590364',), 1361298593: ('0.0603745487590364',), 1361298575: ('0.0603745487590364',), 1361298528: ('0.0603745487590364',), 1361298524: ('0.0603745487590364',), 1361298516: ('0.0603745487590364',), 1361298511: ('0.0603745487590364',), 1361298508: ('0.0603745487590364',), 1361298504: ('0.0603745487590364',), 1361298475: ('0.0603745487590364',), 1361298471: ('0.0603745487590364',), 1361298467: ('0.0603745487590364',), 1361298463: ('0.0603745487590364',), 1361298460: ('0.0603745487590364',), 1361298440: ('0.0603745487590364',), 1361298436: ('0.0603745487590364',), 1361298432: ('0.0603745487590364',), 1361298427: ('0.0603745487590364',), 1361298424: ('0.0603745487590364',), 1361298416: ('0.0603745487590364',), 1361298268: ('0.0603745487590364',), 1361298148: ('0.0603745487590364',), 1361297866: ('0.0603745487590364',)} [1361298920, 1361298862, 1361298859, 1361298857, 1361298854, 1361298850, 1361298817, 1361298815, 1361298812, 1361298809, 1361298805, 1361298798, 1361298765, 1361298761, 1361298757, 1361298753, 1361298747, 1361298712, 1361298708, 1361298700, 1361298695, 1361298622, 1361298612, 1361298593, 1361298575, 1361298528, 1361298524, 1361298516, 1361298511, 1361298508, 1361298504, 1361298475, 1361298471, 1361298467, 1361298463, 1361298460, 1361298440, 1361298436, 1361298432, 1361298427, 1361298424, 1361298416, 1361298268, 1361298148, 1361297866] map_info['map_portfolio_photo'] : {23377701: [1361298920, 1361298862, 1361298859, 1361298857, 1361298854, 1361298850, 1361298817, 1361298815, 1361298812, 1361298809, 1361298805, 1361298798, 1361298765, 1361298761, 1361298757, 1361298753, 1361298747, 1361298712, 1361298708, 1361298700, 1361298695, 1361298622, 1361298612, 1361298593, 1361298575, 1361298528, 1361298524, 1361298516, 1361298511, 1361298508, 1361298504, 1361298475, 1361298471, 1361298467, 1361298463, 1361298460, 1361298440, 1361298436, 1361298432, 1361298427, 1361298424, 1361298416, 1361298268, 1361298148, 1361297866]} final : False mtd_id 4302 list_pids : [1361298920, 1361298862, 1361298859, 1361298857, 1361298854, 1361298850, 1361298817, 1361298815, 1361298812, 1361298809, 1361298805, 1361298798, 1361298765, 1361298761, 1361298757, 1361298753, 1361298747, 1361298712, 1361298708, 1361298700, 1361298695, 1361298622, 1361298612, 1361298593, 1361298575, 1361298528, 1361298524, 1361298516, 1361298511, 1361298508, 1361298504, 1361298475, 1361298471, 1361298467, 1361298463, 1361298460, 1361298440, 1361298436, 1361298432, 1361298427, 1361298424, 1361298416, 1361298268, 1361298148, 1361297866] Looping around the photos to save general results len do output : 45 /1361298920.Didn't retrieve data . /1361298862.Didn't retrieve data . /1361298859.Didn't retrieve data . /1361298857.Didn't retrieve data . /1361298854.Didn't retrieve data . /1361298850.Didn't retrieve data . /1361298817.Didn't retrieve data . /1361298815.Didn't retrieve data . /1361298812.Didn't retrieve data . /1361298809.Didn't retrieve data . /1361298805.Didn't retrieve data . /1361298798.Didn't retrieve data . /1361298765.Didn't retrieve data . /1361298761.Didn't retrieve data . /1361298757.Didn't retrieve data . /1361298753.Didn't retrieve data . /1361298747.Didn't retrieve data . /1361298712.Didn't retrieve data . /1361298708.Didn't retrieve data . /1361298700.Didn't retrieve data . /1361298695.Didn't retrieve data . /1361298622.Didn't retrieve data . /1361298612.Didn't retrieve data . /1361298593.Didn't retrieve data . /1361298575.Didn't retrieve data . /1361298528.Didn't retrieve data . /1361298524.Didn't retrieve data . /1361298516.Didn't retrieve data . /1361298511.Didn't retrieve data . /1361298508.Didn't retrieve data . /1361298504.Didn't retrieve data . /1361298475.Didn't retrieve data . /1361298471.Didn't retrieve data . /1361298467.Didn't retrieve data . /1361298463.Didn't retrieve data . /1361298460.Didn't retrieve data . /1361298440.Didn't retrieve data . /1361298436.Didn't retrieve data . /1361298432.Didn't retrieve data . /1361298427.Didn't retrieve data . /1361298424.Didn't retrieve data . /1361298416.Didn't retrieve data . /1361298268.Didn't retrieve data . /1361298148.Didn't retrieve data . /1361297866.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, '2972565') ('4302', '23377701', '1361298920', None, None, None, None, None, '2972565') ('4302', None, None, None, None, None, None, None, '2972565') ('4302', '23377701', '1361298862', None, None, None, None, None, '2972565') ('4302', None, None, None, None, None, None, None, '2972565') ('4302', '23377701', '1361298859', None, None, None, None, None, '2972565') ('4302', None, None, None, None, None, None, None, '2972565') ('4302', '23377701', '1361298857', None, None, None, None, None, '2972565') ('4302', None, None, None, None, None, None, None, '2972565') ('4302', '23377701', '1361298854', None, None, None, None, None, '2972565') ('4302', None, None, None, None, None, None, None, '2972565') ('4302', '23377701', '1361298850', None, None, None, None, None, '2972565') ('4302', None, None, None, None, None, None, None, '2972565') ('4302', '23377701', '1361298817', None, None, None, None, None, '2972565') ('4302', None, None, None, None, None, None, None, '2972565') ('4302', '23377701', '1361298815', None, None, None, None, None, '2972565') ('4302', None, None, None, None, None, None, None, '2972565') ('4302', '23377701', '1361298812', None, None, None, None, None, '2972565') ('4302', None, None, None, None, None, None, None, '2972565') ('4302', '23377701', '1361298809', None, None, None, None, None, '2972565') ('4302', None, None, None, None, None, None, None, '2972565') ('4302', '23377701', '1361298805', None, None, None, None, None, '2972565') ('4302', None, None, None, None, None, None, None, '2972565') ('4302', '23377701', '1361298798', None, None, None, None, None, '2972565') ('4302', None, None, None, None, None, None, None, '2972565') ('4302', '23377701', '1361298765', None, None, None, None, None, '2972565') ('4302', None, None, None, None, None, None, None, '2972565') ('4302', '23377701', '1361298761', None, None, None, None, None, '2972565') ('4302', None, None, None, None, None, None, None, '2972565') ('4302', '23377701', '1361298757', None, None, None, None, None, '2972565') ('4302', None, None, None, None, None, None, None, '2972565') ('4302', '23377701', '1361298753', None, None, None, None, None, '2972565') ('4302', None, None, None, None, None, None, None, '2972565') ('4302', '23377701', '1361298747', None, None, None, None, None, '2972565') ('4302', None, None, None, None, None, None, None, '2972565') ('4302', '23377701', '1361298712', None, None, None, None, None, '2972565') ('4302', None, None, None, None, None, None, None, '2972565') ('4302', '23377701', '1361298708', None, None, None, None, None, '2972565') ('4302', None, None, None, None, None, None, None, '2972565') ('4302', '23377701', '1361298700', None, None, None, None, None, '2972565') ('4302', None, None, None, None, None, None, None, '2972565') ('4302', '23377701', '1361298695', None, None, None, None, None, '2972565') ('4302', None, None, None, None, None, None, None, '2972565') ('4302', '23377701', '1361298622', None, None, None, None, None, '2972565') ('4302', None, None, None, None, None, None, None, '2972565') ('4302', '23377701', '1361298612', None, None, None, None, None, '2972565') ('4302', None, None, None, None, None, None, None, '2972565') ('4302', '23377701', '1361298593', None, None, None, None, None, '2972565') ('4302', None, None, None, None, None, None, None, '2972565') ('4302', '23377701', '1361298575', None, None, None, None, None, '2972565') ('4302', None, None, None, None, None, None, None, '2972565') ('4302', '23377701', '1361298528', None, None, None, None, None, '2972565') ('4302', None, None, None, None, None, None, None, '2972565') ('4302', '23377701', '1361298524', None, None, None, None, None, '2972565') ('4302', None, None, None, None, None, None, None, '2972565') ('4302', '23377701', '1361298516', None, None, None, None, None, '2972565') ('4302', None, None, None, None, None, None, None, '2972565') ('4302', '23377701', '1361298511', None, None, None, None, None, '2972565') ('4302', None, None, None, None, None, None, None, '2972565') ('4302', '23377701', '1361298508', None, None, None, None, None, '2972565') ('4302', None, None, None, None, None, None, None, '2972565') ('4302', '23377701', '1361298504', None, None, None, None, None, '2972565') ('4302', None, None, None, None, None, None, None, '2972565') ('4302', '23377701', '1361298475', None, None, None, None, None, '2972565') ('4302', None, None, None, None, None, None, None, '2972565') ('4302', '23377701', '1361298471', None, None, None, None, None, '2972565') ('4302', None, None, None, None, None, None, None, '2972565') ('4302', '23377701', '1361298467', None, None, None, None, None, '2972565') ('4302', None, None, None, None, None, None, None, '2972565') ('4302', '23377701', '1361298463', None, None, None, None, None, '2972565') ('4302', None, None, None, None, None, None, None, '2972565') ('4302', '23377701', '1361298460', None, None, None, None, None, '2972565') ('4302', None, None, None, None, None, None, None, '2972565') ('4302', '23377701', '1361298440', None, None, None, None, None, '2972565') ('4302', None, None, None, None, None, None, None, '2972565') ('4302', '23377701', '1361298436', None, None, None, None, None, '2972565') ('4302', None, None, None, None, None, None, None, '2972565') ('4302', '23377701', '1361298432', None, None, None, None, None, '2972565') ('4302', None, None, None, None, None, None, None, '2972565') ('4302', '23377701', '1361298427', None, None, None, None, None, '2972565') ('4302', None, None, None, None, None, None, None, '2972565') ('4302', '23377701', '1361298424', None, None, None, None, None, '2972565') ('4302', None, None, None, None, None, None, None, '2972565') ('4302', '23377701', '1361298416', None, None, None, None, None, '2972565') ('4302', None, None, None, None, None, None, None, '2972565') ('4302', '23377701', '1361298268', None, None, None, None, None, '2972565') ('4302', None, None, None, None, None, None, None, '2972565') ('4302', '23377701', '1361298148', None, None, None, None, None, '2972565') ('4302', None, None, None, None, None, None, None, '2972565') ('4302', '23377701', '1361297866', None, None, None, None, None, '2972565') 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', '23377701', '1361298920', '0.0603745487590364', None, None, None, None, '2972565'), ('4302', '23377701', '1361298862', '0.0603745487590364', None, None, None, None, '2972565'), ('4302', '23377701', '1361298859', '0.0603745487590364', None, None, None, None, '2972565'), ('4302', '23377701', '1361298857', '0.0603745487590364', None, None, None, None, '2972565'), ('4302', '23377701', '1361298854', '0.0603745487590364', None, None, None, None, '2972565'), ('4302', '23377701', '1361298850', '0.0603745487590364', None, None, None, None, '2972565'), ('4302', '23377701', '1361298817', '0.0603745487590364', None, None, None, None, '2972565'), ('4302', '23377701', '1361298815', '0.0603745487590364', None, None, None, None, '2972565'), ('4302', '23377701', '1361298812', '0.0603745487590364', None, None, None, None, '2972565'), ('4302', '23377701', '1361298809', '0.0603745487590364', None, None, None, None, '2972565'), ('4302', '23377701', '1361298805', '0.0603745487590364', None, None, None, None, '2972565'), ('4302', '23377701', '1361298798', '0.0603745487590364', None, None, None, None, '2972565'), ('4302', '23377701', '1361298765', '0.0603745487590364', None, None, None, None, '2972565'), ('4302', '23377701', '1361298761', '0.0603745487590364', None, None, None, None, '2972565'), ('4302', '23377701', '1361298757', '0.0603745487590364', None, None, None, None, '2972565'), ('4302', '23377701', '1361298753', '0.0603745487590364', None, None, None, None, '2972565'), ('4302', '23377701', '1361298747', '0.0603745487590364', None, None, None, None, '2972565'), ('4302', '23377701', '1361298712', '0.0603745487590364', None, None, None, None, '2972565'), ('4302', '23377701', '1361298708', '0.0603745487590364', None, None, None, None, '2972565'), ('4302', '23377701', '1361298700', '0.0603745487590364', None, None, None, None, '2972565'), ('4302', '23377701', '1361298695', '0.0603745487590364', None, None, None, None, '2972565'), ('4302', '23377701', '1361298622', '0.0603745487590364', None, None, None, None, '2972565'), ('4302', '23377701', '1361298612', '0.0603745487590364', None, None, None, None, '2972565'), ('4302', '23377701', '1361298593', '0.0603745487590364', None, None, None, None, '2972565'), ('4302', '23377701', '1361298575', '0.0603745487590364', None, None, None, None, '2972565'), ('4302', '23377701', '1361298528', '0.0603745487590364', None, None, None, None, '2972565'), ('4302', '23377701', '1361298524', '0.0603745487590364', None, None, None, None, '2972565'), ('4302', '23377701', '1361298516', '0.0603745487590364', None, None, None, None, '2972565'), ('4302', '23377701', '1361298511', '0.0603745487590364', None, None, None, None, '2972565'), ('4302', '23377701', '1361298508', '0.0603745487590364', None, None, None, None, '2972565'), ('4302', '23377701', '1361298504', '0.0603745487590364', None, None, None, None, '2972565'), ('4302', '23377701', '1361298475', '0.0603745487590364', None, None, None, None, '2972565'), ('4302', '23377701', '1361298471', '0.0603745487590364', None, None, None, None, '2972565'), ('4302', '23377701', '1361298467', '0.0603745487590364', None, None, None, None, '2972565'), ('4302', '23377701', '1361298463', '0.0603745487590364', None, None, None, None, '2972565'), ('4302', '23377701', '1361298460', '0.0603745487590364', None, None, None, None, '2972565'), ('4302', '23377701', '1361298440', '0.0603745487590364', None, None, None, None, '2972565'), ('4302', '23377701', '1361298436', '0.0603745487590364', None, None, None, None, '2972565'), ('4302', '23377701', '1361298432', '0.0603745487590364', None, None, None, None, '2972565'), ('4302', '23377701', '1361298427', '0.0603745487590364', None, None, None, None, '2972565'), ('4302', '23377701', '1361298424', '0.0603745487590364', None, None, None, None, '2972565'), ('4302', '23377701', '1361298416', '0.0603745487590364', None, None, None, None, '2972565'), ('4302', '23377701', '1361298268', '0.0603745487590364', None, None, None, None, '2972565'), ('4302', '23377701', '1361298148', '0.0603745487590364', None, None, None, None, '2972565'), ('4302', '23377701', '1361297866', '0.0603745487590364', None, None, None, None, '2972565')] time used for this insertion : 0.04825758934020996 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.07991433143615723 time spend to save output : 0.04994797706604004 total time spend for step 2 : 0.12986230850219727 step3:velours_tree Wed May 28 05:50:59 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 : {23377701: [{'environnement': 23377707, 'metal': 23377708, 'Carton_gris': 23377709, 'papier': 23377710, 'Teint_Dans_La_Masse': 23377711, 'autre_refus': 23377712, 'kraft': 23377713, 'plastique': 23377714, 'Carton_brun': 23377715, 'cartonnette': 23377716, 'mal_croppe': 23377717, 'flou': 23377718}]} input_args_next_step : {23377701: ()} output_args : {23377701: [{'environnement': 23377707, 'metal': 23377708, 'Carton_gris': 23377709, 'papier': 23377710, 'Teint_Dans_La_Masse': 23377711, 'autre_refus': 23377712, 'kraft': 23377713, 'plastique': 23377714, 'Carton_brun': 23377715, 'cartonnette': 23377716, 'mal_croppe': 23377717, 'flou': 23377718}]} args : 23377701 depend.output_id : 0 VR 22-3-18 : For now we do not clean correctly the datou structure input_args_next_step, len :1, first value : ({'environnement': 23377707, 'metal': 23377708, 'Carton_gris': 23377709, 'papier': 23377710, 'Teint_Dans_La_Masse': 23377711, 'autre_refus': 23377712, 'kraft': 23377713, 'plastique': 23377714, 'Carton_brun': 23377715, 'cartonnette': 23377716, 'mal_croppe': 23377717, 'flou': 23377718},) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (23377701) 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([23377701]) 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.30027174949645996 time spend to save output : 7.176399230957031e-05 total time spend for step 3 : 0.30034351348876953 step4:send_mail_cod Wed May 28 05:51:00 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! complete output_args for input 2 : {1361298920: ('0.0603745487590364',), 1361298862: ('0.0603745487590364',), 1361298859: ('0.0603745487590364',), 1361298857: ('0.0603745487590364',), 1361298854: ('0.0603745487590364',), 1361298850: ('0.0603745487590364',), 1361298817: ('0.0603745487590364',), 1361298815: ('0.0603745487590364',), 1361298812: ('0.0603745487590364',), 1361298809: ('0.0603745487590364',), 1361298805: ('0.0603745487590364',), 1361298798: ('0.0603745487590364',), 1361298765: ('0.0603745487590364',), 1361298761: ('0.0603745487590364',), 1361298757: ('0.0603745487590364',), 1361298753: ('0.0603745487590364',), 1361298747: ('0.0603745487590364',), 1361298712: ('0.0603745487590364',), 1361298708: ('0.0603745487590364',), 1361298700: ('0.0603745487590364',), 1361298695: ('0.0603745487590364',), 1361298622: ('0.0603745487590364',), 1361298612: ('0.0603745487590364',), 1361298593: ('0.0603745487590364',), 1361298575: ('0.0603745487590364',), 1361298528: ('0.0603745487590364',), 1361298524: ('0.0603745487590364',), 1361298516: ('0.0603745487590364',), 1361298511: ('0.0603745487590364',), 1361298508: ('0.0603745487590364',), 1361298504: ('0.0603745487590364',), 1361298475: ('0.0603745487590364',), 1361298471: ('0.0603745487590364',), 1361298467: ('0.0603745487590364',), 1361298463: ('0.0603745487590364',), 1361298460: ('0.0603745487590364',), 1361298440: ('0.0603745487590364',), 1361298436: ('0.0603745487590364',), 1361298432: ('0.0603745487590364',), 1361298427: ('0.0603745487590364',), 1361298424: ('0.0603745487590364',), 1361298416: ('0.0603745487590364',), 1361298268: ('0.0603745487590364',), 1361298148: ('0.0603745487590364',), 1361297866: ('0.0603745487590364',)} input_args_next_step : {1361298920: ()} output_args : {1361298920: ('0.0603745487590364',), 1361298862: ('0.0603745487590364',), 1361298859: ('0.0603745487590364',), 1361298857: ('0.0603745487590364',), 1361298854: ('0.0603745487590364',), 1361298850: ('0.0603745487590364',), 1361298817: ('0.0603745487590364',), 1361298815: ('0.0603745487590364',), 1361298812: ('0.0603745487590364',), 1361298809: ('0.0603745487590364',), 1361298805: ('0.0603745487590364',), 1361298798: ('0.0603745487590364',), 1361298765: ('0.0603745487590364',), 1361298761: ('0.0603745487590364',), 1361298757: ('0.0603745487590364',), 1361298753: ('0.0603745487590364',), 1361298747: ('0.0603745487590364',), 1361298712: ('0.0603745487590364',), 1361298708: ('0.0603745487590364',), 1361298700: ('0.0603745487590364',), 1361298695: ('0.0603745487590364',), 1361298622: ('0.0603745487590364',), 1361298612: ('0.0603745487590364',), 1361298593: ('0.0603745487590364',), 1361298575: ('0.0603745487590364',), 1361298528: ('0.0603745487590364',), 1361298524: ('0.0603745487590364',), 1361298516: ('0.0603745487590364',), 1361298511: ('0.0603745487590364',), 1361298508: ('0.0603745487590364',), 1361298504: ('0.0603745487590364',), 1361298475: ('0.0603745487590364',), 1361298471: ('0.0603745487590364',), 1361298467: ('0.0603745487590364',), 1361298463: ('0.0603745487590364',), 1361298460: ('0.0603745487590364',), 1361298440: ('0.0603745487590364',), 1361298436: ('0.0603745487590364',), 1361298432: ('0.0603745487590364',), 1361298427: ('0.0603745487590364',), 1361298424: ('0.0603745487590364',), 1361298416: ('0.0603745487590364',), 1361298268: ('0.0603745487590364',), 1361298148: ('0.0603745487590364',), 1361297866: ('0.0603745487590364',)} args : 1361298920 depend.output_id : 0 input_args_next_step : {1361298920: ('0.0603745487590364',), 1361298862: ()} output_args : {1361298920: ('0.0603745487590364',), 1361298862: ('0.0603745487590364',), 1361298859: ('0.0603745487590364',), 1361298857: ('0.0603745487590364',), 1361298854: ('0.0603745487590364',), 1361298850: ('0.0603745487590364',), 1361298817: ('0.0603745487590364',), 1361298815: ('0.0603745487590364',), 1361298812: ('0.0603745487590364',), 1361298809: ('0.0603745487590364',), 1361298805: ('0.0603745487590364',), 1361298798: ('0.0603745487590364',), 1361298765: ('0.0603745487590364',), 1361298761: ('0.0603745487590364',), 1361298757: ('0.0603745487590364',), 1361298753: ('0.0603745487590364',), 1361298747: ('0.0603745487590364',), 1361298712: ('0.0603745487590364',), 1361298708: ('0.0603745487590364',), 1361298700: ('0.0603745487590364',), 1361298695: ('0.0603745487590364',), 1361298622: ('0.0603745487590364',), 1361298612: ('0.0603745487590364',), 1361298593: ('0.0603745487590364',), 1361298575: ('0.0603745487590364',), 1361298528: ('0.0603745487590364',), 1361298524: ('0.0603745487590364',), 1361298516: ('0.0603745487590364',), 1361298511: ('0.0603745487590364',), 1361298508: ('0.0603745487590364',), 1361298504: ('0.0603745487590364',), 1361298475: ('0.0603745487590364',), 1361298471: ('0.0603745487590364',), 1361298467: ('0.0603745487590364',), 1361298463: ('0.0603745487590364',), 1361298460: ('0.0603745487590364',), 1361298440: ('0.0603745487590364',), 1361298436: ('0.0603745487590364',), 1361298432: ('0.0603745487590364',), 1361298427: ('0.0603745487590364',), 1361298424: ('0.0603745487590364',), 1361298416: ('0.0603745487590364',), 1361298268: ('0.0603745487590364',), 1361298148: ('0.0603745487590364',), 1361297866: ('0.0603745487590364',)} args : 1361298862 depend.output_id : 0 input_args_next_step : {1361298920: ('0.0603745487590364',), 1361298862: ('0.0603745487590364',), 1361298859: ()} output_args : {1361298920: ('0.0603745487590364',), 1361298862: ('0.0603745487590364',), 1361298859: ('0.0603745487590364',), 1361298857: ('0.0603745487590364',), 1361298854: ('0.0603745487590364',), 1361298850: ('0.0603745487590364',), 1361298817: ('0.0603745487590364',), 1361298815: ('0.0603745487590364',), 1361298812: ('0.0603745487590364',), 1361298809: ('0.0603745487590364',), 1361298805: ('0.0603745487590364',), 1361298798: ('0.0603745487590364',), 1361298765: ('0.0603745487590364',), 1361298761: ('0.0603745487590364',), 1361298757: ('0.0603745487590364',), 1361298753: ('0.0603745487590364',), 1361298747: ('0.0603745487590364',), 1361298712: ('0.0603745487590364',), 1361298708: ('0.0603745487590364',), 1361298700: ('0.0603745487590364',), 1361298695: ('0.0603745487590364',), 1361298622: ('0.0603745487590364',), 1361298612: ('0.0603745487590364',), 1361298593: ('0.0603745487590364',), 1361298575: ('0.0603745487590364',), 1361298528: ('0.0603745487590364',), 1361298524: ('0.0603745487590364',), 1361298516: ('0.0603745487590364',), 1361298511: ('0.0603745487590364',), 1361298508: ('0.0603745487590364',), 1361298504: ('0.0603745487590364',), 1361298475: ('0.0603745487590364',), 1361298471: ('0.0603745487590364',), 1361298467: ('0.0603745487590364',), 1361298463: ('0.0603745487590364',), 1361298460: ('0.0603745487590364',), 1361298440: ('0.0603745487590364',), 1361298436: ('0.0603745487590364',), 1361298432: ('0.0603745487590364',), 1361298427: ('0.0603745487590364',), 1361298424: ('0.0603745487590364',), 1361298416: ('0.0603745487590364',), 1361298268: ('0.0603745487590364',), 1361298148: ('0.0603745487590364',), 1361297866: ('0.0603745487590364',)} args : 1361298859 depend.output_id : 0 input_args_next_step : {1361298920: ('0.0603745487590364',), 1361298862: ('0.0603745487590364',), 1361298859: ('0.0603745487590364',), 1361298857: ()} output_args : {1361298920: ('0.0603745487590364',), 1361298862: ('0.0603745487590364',), 1361298859: ('0.0603745487590364',), 1361298857: ('0.0603745487590364',), 1361298854: ('0.0603745487590364',), 1361298850: ('0.0603745487590364',), 1361298817: ('0.0603745487590364',), 1361298815: ('0.0603745487590364',), 1361298812: ('0.0603745487590364',), 1361298809: ('0.0603745487590364',), 1361298805: ('0.0603745487590364',), 1361298798: ('0.0603745487590364',), 1361298765: ('0.0603745487590364',), 1361298761: ('0.0603745487590364',), 1361298757: ('0.0603745487590364',), 1361298753: ('0.0603745487590364',), 1361298747: ('0.0603745487590364',), 1361298712: ('0.0603745487590364',), 1361298708: ('0.0603745487590364',), 1361298700: ('0.0603745487590364',), 1361298695: ('0.0603745487590364',), 1361298622: ('0.0603745487590364',), 1361298612: ('0.0603745487590364',), 1361298593: ('0.0603745487590364',), 1361298575: ('0.0603745487590364',), 1361298528: ('0.0603745487590364',), 1361298524: ('0.0603745487590364',), 1361298516: ('0.0603745487590364',), 1361298511: ('0.0603745487590364',), 1361298508: ('0.0603745487590364',), 1361298504: ('0.0603745487590364',), 1361298475: ('0.0603745487590364',), 1361298471: ('0.0603745487590364',), 1361298467: ('0.0603745487590364',), 1361298463: ('0.0603745487590364',), 1361298460: ('0.0603745487590364',), 1361298440: ('0.0603745487590364',), 1361298436: ('0.0603745487590364',), 1361298432: ('0.0603745487590364',), 1361298427: ('0.0603745487590364',), 1361298424: ('0.0603745487590364',), 1361298416: ('0.0603745487590364',), 1361298268: ('0.0603745487590364',), 1361298148: ('0.0603745487590364',), 1361297866: ('0.0603745487590364',)} args : 1361298857 depend.output_id : 0 input_args_next_step : {1361298920: ('0.0603745487590364',), 1361298862: ('0.0603745487590364',), 1361298859: ('0.0603745487590364',), 1361298857: ('0.0603745487590364',), 1361298854: ()} output_args : {1361298920: ('0.0603745487590364',), 1361298862: ('0.0603745487590364',), 1361298859: ('0.0603745487590364',), 1361298857: ('0.0603745487590364',), 1361298854: ('0.0603745487590364',), 1361298850: ('0.0603745487590364',), 1361298817: ('0.0603745487590364',), 1361298815: ('0.0603745487590364',), 1361298812: ('0.0603745487590364',), 1361298809: ('0.0603745487590364',), 1361298805: ('0.0603745487590364',), 1361298798: ('0.0603745487590364',), 1361298765: ('0.0603745487590364',), 1361298761: ('0.0603745487590364',), 1361298757: ('0.0603745487590364',), 1361298753: ('0.0603745487590364',), 1361298747: ('0.0603745487590364',), 1361298712: ('0.0603745487590364',), 1361298708: ('0.0603745487590364',), 1361298700: ('0.0603745487590364',), 1361298695: ('0.0603745487590364',), 1361298622: ('0.0603745487590364',), 1361298612: ('0.0603745487590364',), 1361298593: ('0.0603745487590364',), 1361298575: ('0.0603745487590364',), 1361298528: ('0.0603745487590364',), 1361298524: ('0.0603745487590364',), 1361298516: ('0.0603745487590364',), 1361298511: ('0.0603745487590364',), 1361298508: ('0.0603745487590364',), 1361298504: ('0.0603745487590364',), 1361298475: ('0.0603745487590364',), 1361298471: ('0.0603745487590364',), 1361298467: ('0.0603745487590364',), 1361298463: ('0.0603745487590364',), 1361298460: ('0.0603745487590364',), 1361298440: ('0.0603745487590364',), 1361298436: ('0.0603745487590364',), 1361298432: ('0.0603745487590364',), 1361298427: ('0.0603745487590364',), 1361298424: ('0.0603745487590364',), 1361298416: ('0.0603745487590364',), 1361298268: ('0.0603745487590364',), 1361298148: ('0.0603745487590364',), 1361297866: ('0.0603745487590364',)} args : 1361298854 depend.output_id : 0 input_args_next_step : {1361298920: ('0.0603745487590364',), 1361298862: ('0.0603745487590364',), 1361298859: ('0.0603745487590364',), 1361298857: ('0.0603745487590364',), 1361298854: ('0.0603745487590364',), 1361298850: ()} output_args : {1361298920: ('0.0603745487590364',), 1361298862: ('0.0603745487590364',), 1361298859: ('0.0603745487590364',), 1361298857: ('0.0603745487590364',), 1361298854: ('0.0603745487590364',), 1361298850: ('0.0603745487590364',), 1361298817: ('0.0603745487590364',), 1361298815: ('0.0603745487590364',), 1361298812: ('0.0603745487590364',), 1361298809: ('0.0603745487590364',), 1361298805: ('0.0603745487590364',), 1361298798: ('0.0603745487590364',), 1361298765: ('0.0603745487590364',), 1361298761: ('0.0603745487590364',), 1361298757: ('0.0603745487590364',), 1361298753: ('0.0603745487590364',), 1361298747: ('0.0603745487590364',), 1361298712: ('0.0603745487590364',), 1361298708: ('0.0603745487590364',), 1361298700: ('0.0603745487590364',), 1361298695: ('0.0603745487590364',), 1361298622: ('0.0603745487590364',), 1361298612: ('0.0603745487590364',), 1361298593: ('0.0603745487590364',), 1361298575: ('0.0603745487590364',), 1361298528: ('0.0603745487590364',), 1361298524: ('0.0603745487590364',), 1361298516: ('0.0603745487590364',), 1361298511: ('0.0603745487590364',), 1361298508: ('0.0603745487590364',), 1361298504: ('0.0603745487590364',), 1361298475: ('0.0603745487590364',), 1361298471: ('0.0603745487590364',), 1361298467: ('0.0603745487590364',), 1361298463: ('0.0603745487590364',), 1361298460: ('0.0603745487590364',), 1361298440: ('0.0603745487590364',), 1361298436: ('0.0603745487590364',), 1361298432: ('0.0603745487590364',), 1361298427: ('0.0603745487590364',), 1361298424: ('0.0603745487590364',), 1361298416: ('0.0603745487590364',), 1361298268: ('0.0603745487590364',), 1361298148: ('0.0603745487590364',), 1361297866: ('0.0603745487590364',)} args : 1361298850 depend.output_id : 0 input_args_next_step : {1361298920: ('0.0603745487590364',), 1361298862: ('0.0603745487590364',), 1361298859: ('0.0603745487590364',), 1361298857: ('0.0603745487590364',), 1361298854: ('0.0603745487590364',), 1361298850: ('0.0603745487590364',), 1361298817: ()} output_args : {1361298920: ('0.0603745487590364',), 1361298862: ('0.0603745487590364',), 1361298859: ('0.0603745487590364',), 1361298857: ('0.0603745487590364',), 1361298854: ('0.0603745487590364',), 1361298850: ('0.0603745487590364',), 1361298817: ('0.0603745487590364',), 1361298815: ('0.0603745487590364',), 1361298812: ('0.0603745487590364',), 1361298809: ('0.0603745487590364',), 1361298805: ('0.0603745487590364',), 1361298798: ('0.0603745487590364',), 1361298765: ('0.0603745487590364',), 1361298761: ('0.0603745487590364',), 1361298757: ('0.0603745487590364',), 1361298753: ('0.0603745487590364',), 1361298747: ('0.0603745487590364',), 1361298712: ('0.0603745487590364',), 1361298708: ('0.0603745487590364',), 1361298700: ('0.0603745487590364',), 1361298695: ('0.0603745487590364',), 1361298622: ('0.0603745487590364',), 1361298612: ('0.0603745487590364',), 1361298593: ('0.0603745487590364',), 1361298575: ('0.0603745487590364',), 1361298528: ('0.0603745487590364',), 1361298524: ('0.0603745487590364',), 1361298516: ('0.0603745487590364',), 1361298511: ('0.0603745487590364',), 1361298508: ('0.0603745487590364',), 1361298504: ('0.0603745487590364',), 1361298475: ('0.0603745487590364',), 1361298471: ('0.0603745487590364',), 1361298467: ('0.0603745487590364',), 1361298463: ('0.0603745487590364',), 1361298460: ('0.0603745487590364',), 1361298440: ('0.0603745487590364',), 1361298436: ('0.0603745487590364',), 1361298432: ('0.0603745487590364',), 1361298427: ('0.0603745487590364',), 1361298424: ('0.0603745487590364',), 1361298416: ('0.0603745487590364',), 1361298268: ('0.0603745487590364',), 1361298148: ('0.0603745487590364',), 1361297866: ('0.0603745487590364',)} args : 1361298817 depend.output_id : 0 input_args_next_step : {1361298920: ('0.0603745487590364',), 1361298862: ('0.0603745487590364',), 1361298859: ('0.0603745487590364',), 1361298857: ('0.0603745487590364',), 1361298854: ('0.0603745487590364',), 1361298850: ('0.0603745487590364',), 1361298817: ('0.0603745487590364',), 1361298815: ()} output_args : {1361298920: ('0.0603745487590364',), 1361298862: ('0.0603745487590364',), 1361298859: ('0.0603745487590364',), 1361298857: ('0.0603745487590364',), 1361298854: ('0.0603745487590364',), 1361298850: ('0.0603745487590364',), 1361298817: ('0.0603745487590364',), 1361298815: ('0.0603745487590364',), 1361298812: ('0.0603745487590364',), 1361298809: ('0.0603745487590364',), 1361298805: ('0.0603745487590364',), 1361298798: ('0.0603745487590364',), 1361298765: ('0.0603745487590364',), 1361298761: ('0.0603745487590364',), 1361298757: ('0.0603745487590364',), 1361298753: ('0.0603745487590364',), 1361298747: ('0.0603745487590364',), 1361298712: ('0.0603745487590364',), 1361298708: ('0.0603745487590364',), 1361298700: ('0.0603745487590364',), 1361298695: ('0.0603745487590364',), 1361298622: ('0.0603745487590364',), 1361298612: ('0.0603745487590364',), 1361298593: ('0.0603745487590364',), 1361298575: ('0.0603745487590364',), 1361298528: ('0.0603745487590364',), 1361298524: ('0.0603745487590364',), 1361298516: ('0.0603745487590364',), 1361298511: ('0.0603745487590364',), 1361298508: ('0.0603745487590364',), 1361298504: ('0.0603745487590364',), 1361298475: ('0.0603745487590364',), 1361298471: ('0.0603745487590364',), 1361298467: ('0.0603745487590364',), 1361298463: ('0.0603745487590364',), 1361298460: ('0.0603745487590364',), 1361298440: ('0.0603745487590364',), 1361298436: ('0.0603745487590364',), 1361298432: ('0.0603745487590364',), 1361298427: ('0.0603745487590364',), 1361298424: ('0.0603745487590364',), 1361298416: ('0.0603745487590364',), 1361298268: ('0.0603745487590364',), 1361298148: ('0.0603745487590364',), 1361297866: ('0.0603745487590364',)} args : 1361298815 depend.output_id : 0 input_args_next_step : {1361298920: ('0.0603745487590364',), 1361298862: ('0.0603745487590364',), 1361298859: ('0.0603745487590364',), 1361298857: ('0.0603745487590364',), 1361298854: ('0.0603745487590364',), 1361298850: ('0.0603745487590364',), 1361298817: ('0.0603745487590364',), 1361298815: ('0.0603745487590364',), 1361298812: ()} output_args : {1361298920: ('0.0603745487590364',), 1361298862: ('0.0603745487590364',), 1361298859: ('0.0603745487590364',), 1361298857: ('0.0603745487590364',), 1361298854: ('0.0603745487590364',), 1361298850: ('0.0603745487590364',), 1361298817: ('0.0603745487590364',), 1361298815: ('0.0603745487590364',), 1361298812: ('0.0603745487590364',), 1361298809: ('0.0603745487590364',), 1361298805: ('0.0603745487590364',), 1361298798: ('0.0603745487590364',), 1361298765: ('0.0603745487590364',), 1361298761: ('0.0603745487590364',), 1361298757: ('0.0603745487590364',), 1361298753: ('0.0603745487590364',), 1361298747: ('0.0603745487590364',), 1361298712: ('0.0603745487590364',), 1361298708: ('0.0603745487590364',), 1361298700: ('0.0603745487590364',), 1361298695: ('0.0603745487590364',), 1361298622: ('0.0603745487590364',), 1361298612: ('0.0603745487590364',), 1361298593: ('0.0603745487590364',), 1361298575: ('0.0603745487590364',), 1361298528: ('0.0603745487590364',), 1361298524: ('0.0603745487590364',), 1361298516: ('0.0603745487590364',), 1361298511: ('0.0603745487590364',), 1361298508: ('0.0603745487590364',), 1361298504: ('0.0603745487590364',), 1361298475: ('0.0603745487590364',), 1361298471: ('0.0603745487590364',), 1361298467: ('0.0603745487590364',), 1361298463: ('0.0603745487590364',), 1361298460: ('0.0603745487590364',), 1361298440: ('0.0603745487590364',), 1361298436: ('0.0603745487590364',), 1361298432: ('0.0603745487590364',), 1361298427: ('0.0603745487590364',), 1361298424: ('0.0603745487590364',), 1361298416: ('0.0603745487590364',), 1361298268: ('0.0603745487590364',), 1361298148: ('0.0603745487590364',), 1361297866: ('0.0603745487590364',)} args : 1361298812 depend.output_id : 0 input_args_next_step : {1361298920: ('0.0603745487590364',), 1361298862: ('0.0603745487590364',), 1361298859: ('0.0603745487590364',), 1361298857: ('0.0603745487590364',), 1361298854: ('0.0603745487590364',), 1361298850: ('0.0603745487590364',), 1361298817: ('0.0603745487590364',), 1361298815: ('0.0603745487590364',), 1361298812: ('0.0603745487590364',), 1361298809: ()} output_args : {1361298920: ('0.0603745487590364',), 1361298862: ('0.0603745487590364',), 1361298859: ('0.0603745487590364',), 1361298857: ('0.0603745487590364',), 1361298854: ('0.0603745487590364',), 1361298850: ('0.0603745487590364',), 1361298817: ('0.0603745487590364',), 1361298815: ('0.0603745487590364',), 1361298812: ('0.0603745487590364',), 1361298809: ('0.0603745487590364',), 1361298805: ('0.0603745487590364',), 1361298798: ('0.0603745487590364',), 1361298765: ('0.0603745487590364',), 1361298761: ('0.0603745487590364',), 1361298757: ('0.0603745487590364',), 1361298753: ('0.0603745487590364',), 1361298747: ('0.0603745487590364',), 1361298712: ('0.0603745487590364',), 1361298708: ('0.0603745487590364',), 1361298700: ('0.0603745487590364',), 1361298695: ('0.0603745487590364',), 1361298622: ('0.0603745487590364',), 1361298612: ('0.0603745487590364',), 1361298593: ('0.0603745487590364',), 1361298575: ('0.0603745487590364',), 1361298528: ('0.0603745487590364',), 1361298524: ('0.0603745487590364',), 1361298516: ('0.0603745487590364',), 1361298511: ('0.0603745487590364',), 1361298508: ('0.0603745487590364',), 1361298504: ('0.0603745487590364',), 1361298475: ('0.0603745487590364',), 1361298471: ('0.0603745487590364',), 1361298467: ('0.0603745487590364',), 1361298463: ('0.0603745487590364',), 1361298460: ('0.0603745487590364',), 1361298440: ('0.0603745487590364',), 1361298436: ('0.0603745487590364',), 1361298432: ('0.0603745487590364',), 1361298427: ('0.0603745487590364',), 1361298424: ('0.0603745487590364',), 1361298416: ('0.0603745487590364',), 1361298268: ('0.0603745487590364',), 1361298148: ('0.0603745487590364',), 1361297866: ('0.0603745487590364',)} args : 1361298809 depend.output_id : 0 input_args_next_step : {1361298920: ('0.0603745487590364',), 1361298862: ('0.0603745487590364',), 1361298859: ('0.0603745487590364',), 1361298857: ('0.0603745487590364',), 1361298854: ('0.0603745487590364',), 1361298850: ('0.0603745487590364',), 1361298817: ('0.0603745487590364',), 1361298815: ('0.0603745487590364',), 1361298812: ('0.0603745487590364',), 1361298809: ('0.0603745487590364',), 1361298805: ()} output_args : {1361298920: ('0.0603745487590364',), 1361298862: ('0.0603745487590364',), 1361298859: ('0.0603745487590364',), 1361298857: ('0.0603745487590364',), 1361298854: ('0.0603745487590364',), 1361298850: ('0.0603745487590364',), 1361298817: ('0.0603745487590364',), 1361298815: ('0.0603745487590364',), 1361298812: ('0.0603745487590364',), 1361298809: ('0.0603745487590364',), 1361298805: ('0.0603745487590364',), 1361298798: ('0.0603745487590364',), 1361298765: ('0.0603745487590364',), 1361298761: ('0.0603745487590364',), 1361298757: ('0.0603745487590364',), 1361298753: ('0.0603745487590364',), 1361298747: ('0.0603745487590364',), 1361298712: ('0.0603745487590364',), 1361298708: ('0.0603745487590364',), 1361298700: ('0.0603745487590364',), 1361298695: ('0.0603745487590364',), 1361298622: ('0.0603745487590364',), 1361298612: ('0.0603745487590364',), 1361298593: ('0.0603745487590364',), 1361298575: ('0.0603745487590364',), 1361298528: ('0.0603745487590364',), 1361298524: ('0.0603745487590364',), 1361298516: ('0.0603745487590364',), 1361298511: ('0.0603745487590364',), 1361298508: ('0.0603745487590364',), 1361298504: ('0.0603745487590364',), 1361298475: ('0.0603745487590364',), 1361298471: ('0.0603745487590364',), 1361298467: ('0.0603745487590364',), 1361298463: ('0.0603745487590364',), 1361298460: ('0.0603745487590364',), 1361298440: ('0.0603745487590364',), 1361298436: ('0.0603745487590364',), 1361298432: ('0.0603745487590364',), 1361298427: ('0.0603745487590364',), 1361298424: ('0.0603745487590364',), 1361298416: ('0.0603745487590364',), 1361298268: ('0.0603745487590364',), 1361298148: ('0.0603745487590364',), 1361297866: ('0.0603745487590364',)} args : 1361298805 depend.output_id : 0 input_args_next_step : {1361298920: ('0.0603745487590364',), 1361298862: ('0.0603745487590364',), 1361298859: ('0.0603745487590364',), 1361298857: ('0.0603745487590364',), 1361298854: ('0.0603745487590364',), 1361298850: ('0.0603745487590364',), 1361298817: ('0.0603745487590364',), 1361298815: ('0.0603745487590364',), 1361298812: ('0.0603745487590364',), 1361298809: ('0.0603745487590364',), 1361298805: ('0.0603745487590364',), 1361298798: ()} output_args : {1361298920: ('0.0603745487590364',), 1361298862: ('0.0603745487590364',), 1361298859: ('0.0603745487590364',), 1361298857: ('0.0603745487590364',), 1361298854: ('0.0603745487590364',), 1361298850: ('0.0603745487590364',), 1361298817: ('0.0603745487590364',), 1361298815: ('0.0603745487590364',), 1361298812: ('0.0603745487590364',), 1361298809: ('0.0603745487590364',), 1361298805: ('0.0603745487590364',), 1361298798: ('0.0603745487590364',), 1361298765: ('0.0603745487590364',), 1361298761: ('0.0603745487590364',), 1361298757: ('0.0603745487590364',), 1361298753: ('0.0603745487590364',), 1361298747: ('0.0603745487590364',), 1361298712: ('0.0603745487590364',), 1361298708: ('0.0603745487590364',), 1361298700: ('0.0603745487590364',), 1361298695: ('0.0603745487590364',), 1361298622: ('0.0603745487590364',), 1361298612: ('0.0603745487590364',), 1361298593: ('0.0603745487590364',), 1361298575: ('0.0603745487590364',), 1361298528: ('0.0603745487590364',), 1361298524: ('0.0603745487590364',), 1361298516: ('0.0603745487590364',), 1361298511: ('0.0603745487590364',), 1361298508: ('0.0603745487590364',), 1361298504: ('0.0603745487590364',), 1361298475: ('0.0603745487590364',), 1361298471: ('0.0603745487590364',), 1361298467: ('0.0603745487590364',), 1361298463: ('0.0603745487590364',), 1361298460: ('0.0603745487590364',), 1361298440: ('0.0603745487590364',), 1361298436: ('0.0603745487590364',), 1361298432: ('0.0603745487590364',), 1361298427: ('0.0603745487590364',), 1361298424: ('0.0603745487590364',), 1361298416: ('0.0603745487590364',), 1361298268: ('0.0603745487590364',), 1361298148: ('0.0603745487590364',), 1361297866: ('0.0603745487590364',)} args : 1361298798 depend.output_id : 0 input_args_next_step : {1361298920: ('0.0603745487590364',), 1361298862: ('0.0603745487590364',), 1361298859: ('0.0603745487590364',), 1361298857: ('0.0603745487590364',), 1361298854: ('0.0603745487590364',), 1361298850: ('0.0603745487590364',), 1361298817: ('0.0603745487590364',), 1361298815: ('0.0603745487590364',), 1361298812: ('0.0603745487590364',), 1361298809: ('0.0603745487590364',), 1361298805: ('0.0603745487590364',), 1361298798: ('0.0603745487590364',), 1361298765: ()} output_args : {1361298920: ('0.0603745487590364',), 1361298862: ('0.0603745487590364',), 1361298859: ('0.0603745487590364',), 1361298857: ('0.0603745487590364',), 1361298854: ('0.0603745487590364',), 1361298850: ('0.0603745487590364',), 1361298817: ('0.0603745487590364',), 1361298815: ('0.0603745487590364',), 1361298812: ('0.0603745487590364',), 1361298809: ('0.0603745487590364',), 1361298805: ('0.0603745487590364',), 1361298798: ('0.0603745487590364',), 1361298765: ('0.0603745487590364',), 1361298761: ('0.0603745487590364',), 1361298757: ('0.0603745487590364',), 1361298753: ('0.0603745487590364',), 1361298747: ('0.0603745487590364',), 1361298712: ('0.0603745487590364',), 1361298708: ('0.0603745487590364',), 1361298700: ('0.0603745487590364',), 1361298695: ('0.0603745487590364',), 1361298622: ('0.0603745487590364',), 1361298612: ('0.0603745487590364',), 1361298593: ('0.0603745487590364',), 1361298575: ('0.0603745487590364',), 1361298528: ('0.0603745487590364',), 1361298524: ('0.0603745487590364',), 1361298516: ('0.0603745487590364',), 1361298511: ('0.0603745487590364',), 1361298508: ('0.0603745487590364',), 1361298504: ('0.0603745487590364',), 1361298475: ('0.0603745487590364',), 1361298471: ('0.0603745487590364',), 1361298467: ('0.0603745487590364',), 1361298463: ('0.0603745487590364',), 1361298460: ('0.0603745487590364',), 1361298440: ('0.0603745487590364',), 1361298436: ('0.0603745487590364',), 1361298432: ('0.0603745487590364',), 1361298427: ('0.0603745487590364',), 1361298424: ('0.0603745487590364',), 1361298416: ('0.0603745487590364',), 1361298268: ('0.0603745487590364',), 1361298148: ('0.0603745487590364',), 1361297866: ('0.0603745487590364',)} args : 1361298765 depend.output_id : 0 input_args_next_step : {1361298920: ('0.0603745487590364',), 1361298862: ('0.0603745487590364',), 1361298859: ('0.0603745487590364',), 1361298857: ('0.0603745487590364',), 1361298854: ('0.0603745487590364',), 1361298850: ('0.0603745487590364',), 1361298817: ('0.0603745487590364',), 1361298815: ('0.0603745487590364',), 1361298812: ('0.0603745487590364',), 1361298809: ('0.0603745487590364',), 1361298805: ('0.0603745487590364',), 1361298798: ('0.0603745487590364',), 1361298765: ('0.0603745487590364',), 1361298761: ()} output_args : {1361298920: ('0.0603745487590364',), 1361298862: ('0.0603745487590364',), 1361298859: ('0.0603745487590364',), 1361298857: ('0.0603745487590364',), 1361298854: ('0.0603745487590364',), 1361298850: ('0.0603745487590364',), 1361298817: ('0.0603745487590364',), 1361298815: ('0.0603745487590364',), 1361298812: ('0.0603745487590364',), 1361298809: ('0.0603745487590364',), 1361298805: ('0.0603745487590364',), 1361298798: ('0.0603745487590364',), 1361298765: ('0.0603745487590364',), 1361298761: ('0.0603745487590364',), 1361298757: ('0.0603745487590364',), 1361298753: ('0.0603745487590364',), 1361298747: ('0.0603745487590364',), 1361298712: ('0.0603745487590364',), 1361298708: ('0.0603745487590364',), 1361298700: ('0.0603745487590364',), 1361298695: ('0.0603745487590364',), 1361298622: ('0.0603745487590364',), 1361298612: ('0.0603745487590364',), 1361298593: ('0.0603745487590364',), 1361298575: ('0.0603745487590364',), 1361298528: ('0.0603745487590364',), 1361298524: ('0.0603745487590364',), 1361298516: ('0.0603745487590364',), 1361298511: ('0.0603745487590364',), 1361298508: ('0.0603745487590364',), 1361298504: ('0.0603745487590364',), 1361298475: ('0.0603745487590364',), 1361298471: ('0.0603745487590364',), 1361298467: ('0.0603745487590364',), 1361298463: ('0.0603745487590364',), 1361298460: ('0.0603745487590364',), 1361298440: ('0.0603745487590364',), 1361298436: ('0.0603745487590364',), 1361298432: ('0.0603745487590364',), 1361298427: ('0.0603745487590364',), 1361298424: ('0.0603745487590364',), 1361298416: ('0.0603745487590364',), 1361298268: ('0.0603745487590364',), 1361298148: ('0.0603745487590364',), 1361297866: ('0.0603745487590364',)} args : 1361298761 depend.output_id : 0 input_args_next_step : {1361298920: ('0.0603745487590364',), 1361298862: ('0.0603745487590364',), 1361298859: ('0.0603745487590364',), 1361298857: ('0.0603745487590364',), 1361298854: ('0.0603745487590364',), 1361298850: ('0.0603745487590364',), 1361298817: ('0.0603745487590364',), 1361298815: ('0.0603745487590364',), 1361298812: ('0.0603745487590364',), 1361298809: ('0.0603745487590364',), 1361298805: ('0.0603745487590364',), 1361298798: ('0.0603745487590364',), 1361298765: ('0.0603745487590364',), 1361298761: ('0.0603745487590364',), 1361298757: ()} output_args : {1361298920: ('0.0603745487590364',), 1361298862: ('0.0603745487590364',), 1361298859: ('0.0603745487590364',), 1361298857: ('0.0603745487590364',), 1361298854: ('0.0603745487590364',), 1361298850: ('0.0603745487590364',), 1361298817: ('0.0603745487590364',), 1361298815: ('0.0603745487590364',), 1361298812: ('0.0603745487590364',), 1361298809: ('0.0603745487590364',), 1361298805: ('0.0603745487590364',), 1361298798: ('0.0603745487590364',), 1361298765: ('0.0603745487590364',), 1361298761: ('0.0603745487590364',), 1361298757: ('0.0603745487590364',), 1361298753: ('0.0603745487590364',), 1361298747: ('0.0603745487590364',), 1361298712: ('0.0603745487590364',), 1361298708: ('0.0603745487590364',), 1361298700: ('0.0603745487590364',), 1361298695: ('0.0603745487590364',), 1361298622: ('0.0603745487590364',), 1361298612: ('0.0603745487590364',), 1361298593: ('0.0603745487590364',), 1361298575: ('0.0603745487590364',), 1361298528: ('0.0603745487590364',), 1361298524: ('0.0603745487590364',), 1361298516: ('0.0603745487590364',), 1361298511: ('0.0603745487590364',), 1361298508: ('0.0603745487590364',), 1361298504: ('0.0603745487590364',), 1361298475: ('0.0603745487590364',), 1361298471: ('0.0603745487590364',), 1361298467: ('0.0603745487590364',), 1361298463: ('0.0603745487590364',), 1361298460: ('0.0603745487590364',), 1361298440: ('0.0603745487590364',), 1361298436: ('0.0603745487590364',), 1361298432: ('0.0603745487590364',), 1361298427: ('0.0603745487590364',), 1361298424: ('0.0603745487590364',), 1361298416: ('0.0603745487590364',), 1361298268: ('0.0603745487590364',), 1361298148: ('0.0603745487590364',), 1361297866: ('0.0603745487590364',)} args : 1361298757 depend.output_id : 0 input_args_next_step : {1361298920: ('0.0603745487590364',), 1361298862: ('0.0603745487590364',), 1361298859: ('0.0603745487590364',), 1361298857: ('0.0603745487590364',), 1361298854: ('0.0603745487590364',), 1361298850: ('0.0603745487590364',), 1361298817: ('0.0603745487590364',), 1361298815: ('0.0603745487590364',), 1361298812: ('0.0603745487590364',), 1361298809: ('0.0603745487590364',), 1361298805: ('0.0603745487590364',), 1361298798: ('0.0603745487590364',), 1361298765: ('0.0603745487590364',), 1361298761: ('0.0603745487590364',), 1361298757: ('0.0603745487590364',), 1361298753: ()} output_args : {1361298920: ('0.0603745487590364',), 1361298862: ('0.0603745487590364',), 1361298859: ('0.0603745487590364',), 1361298857: ('0.0603745487590364',), 1361298854: ('0.0603745487590364',), 1361298850: ('0.0603745487590364',), 1361298817: ('0.0603745487590364',), 1361298815: ('0.0603745487590364',), 1361298812: ('0.0603745487590364',), 1361298809: ('0.0603745487590364',), 1361298805: ('0.0603745487590364',), 1361298798: ('0.0603745487590364',), 1361298765: ('0.0603745487590364',), 1361298761: ('0.0603745487590364',), 1361298757: ('0.0603745487590364',), 1361298753: ('0.0603745487590364',), 1361298747: ('0.0603745487590364',), 1361298712: ('0.0603745487590364',), 1361298708: ('0.0603745487590364',), 1361298700: ('0.0603745487590364',), 1361298695: ('0.0603745487590364',), 1361298622: ('0.0603745487590364',), 1361298612: ('0.0603745487590364',), 1361298593: ('0.0603745487590364',), 1361298575: ('0.0603745487590364',), 1361298528: ('0.0603745487590364',), 1361298524: ('0.0603745487590364',), 1361298516: ('0.0603745487590364',), 1361298511: ('0.0603745487590364',), 1361298508: ('0.0603745487590364',), 1361298504: ('0.0603745487590364',), 1361298475: ('0.0603745487590364',), 1361298471: ('0.0603745487590364',), 1361298467: ('0.0603745487590364',), 1361298463: ('0.0603745487590364',), 1361298460: ('0.0603745487590364',), 1361298440: ('0.0603745487590364',), 1361298436: ('0.0603745487590364',), 1361298432: ('0.0603745487590364',), 1361298427: ('0.0603745487590364',), 1361298424: ('0.0603745487590364',), 1361298416: ('0.0603745487590364',), 1361298268: ('0.0603745487590364',), 1361298148: ('0.0603745487590364',), 1361297866: ('0.0603745487590364',)} args : 1361298753 depend.output_id : 0 input_args_next_step : {1361298920: ('0.0603745487590364',), 1361298862: ('0.0603745487590364',), 1361298859: ('0.0603745487590364',), 1361298857: ('0.0603745487590364',), 1361298854: ('0.0603745487590364',), 1361298850: ('0.0603745487590364',), 1361298817: ('0.0603745487590364',), 1361298815: ('0.0603745487590364',), 1361298812: ('0.0603745487590364',), 1361298809: ('0.0603745487590364',), 1361298805: ('0.0603745487590364',), 1361298798: ('0.0603745487590364',), 1361298765: ('0.0603745487590364',), 1361298761: ('0.0603745487590364',), 1361298757: ('0.0603745487590364',), 1361298753: ('0.0603745487590364',), 1361298747: ()} output_args : {1361298920: ('0.0603745487590364',), 1361298862: ('0.0603745487590364',), 1361298859: ('0.0603745487590364',), 1361298857: ('0.0603745487590364',), 1361298854: ('0.0603745487590364',), 1361298850: ('0.0603745487590364',), 1361298817: ('0.0603745487590364',), 1361298815: ('0.0603745487590364',), 1361298812: ('0.0603745487590364',), 1361298809: ('0.0603745487590364',), 1361298805: ('0.0603745487590364',), 1361298798: ('0.0603745487590364',), 1361298765: ('0.0603745487590364',), 1361298761: ('0.0603745487590364',), 1361298757: ('0.0603745487590364',), 1361298753: ('0.0603745487590364',), 1361298747: ('0.0603745487590364',), 1361298712: ('0.0603745487590364',), 1361298708: ('0.0603745487590364',), 1361298700: ('0.0603745487590364',), 1361298695: ('0.0603745487590364',), 1361298622: ('0.0603745487590364',), 1361298612: ('0.0603745487590364',), 1361298593: ('0.0603745487590364',), 1361298575: ('0.0603745487590364',), 1361298528: ('0.0603745487590364',), 1361298524: ('0.0603745487590364',), 1361298516: ('0.0603745487590364',), 1361298511: ('0.0603745487590364',), 1361298508: ('0.0603745487590364',), 1361298504: ('0.0603745487590364',), 1361298475: ('0.0603745487590364',), 1361298471: ('0.0603745487590364',), 1361298467: ('0.0603745487590364',), 1361298463: ('0.0603745487590364',), 1361298460: ('0.0603745487590364',), 1361298440: ('0.0603745487590364',), 1361298436: ('0.0603745487590364',), 1361298432: ('0.0603745487590364',), 1361298427: ('0.0603745487590364',), 1361298424: ('0.0603745487590364',), 1361298416: ('0.0603745487590364',), 1361298268: ('0.0603745487590364',), 1361298148: ('0.0603745487590364',), 1361297866: ('0.0603745487590364',)} args : 1361298747 depend.output_id : 0 input_args_next_step : {1361298920: ('0.0603745487590364',), 1361298862: ('0.0603745487590364',), 1361298859: ('0.0603745487590364',), 1361298857: ('0.0603745487590364',), 1361298854: ('0.0603745487590364',), 1361298850: ('0.0603745487590364',), 1361298817: ('0.0603745487590364',), 1361298815: ('0.0603745487590364',), 1361298812: ('0.0603745487590364',), 1361298809: ('0.0603745487590364',), 1361298805: ('0.0603745487590364',), 1361298798: ('0.0603745487590364',), 1361298765: ('0.0603745487590364',), 1361298761: ('0.0603745487590364',), 1361298757: ('0.0603745487590364',), 1361298753: ('0.0603745487590364',), 1361298747: ('0.0603745487590364',), 1361298712: ()} output_args : {1361298920: ('0.0603745487590364',), 1361298862: ('0.0603745487590364',), 1361298859: ('0.0603745487590364',), 1361298857: ('0.0603745487590364',), 1361298854: ('0.0603745487590364',), 1361298850: ('0.0603745487590364',), 1361298817: ('0.0603745487590364',), 1361298815: ('0.0603745487590364',), 1361298812: ('0.0603745487590364',), 1361298809: ('0.0603745487590364',), 1361298805: ('0.0603745487590364',), 1361298798: ('0.0603745487590364',), 1361298765: ('0.0603745487590364',), 1361298761: ('0.0603745487590364',), 1361298757: ('0.0603745487590364',), 1361298753: ('0.0603745487590364',), 1361298747: ('0.0603745487590364',), 1361298712: ('0.0603745487590364',), 1361298708: ('0.0603745487590364',), 1361298700: ('0.0603745487590364',), 1361298695: ('0.0603745487590364',), 1361298622: ('0.0603745487590364',), 1361298612: ('0.0603745487590364',), 1361298593: ('0.0603745487590364',), 1361298575: ('0.0603745487590364',), 1361298528: ('0.0603745487590364',), 1361298524: ('0.0603745487590364',), 1361298516: ('0.0603745487590364',), 1361298511: ('0.0603745487590364',), 1361298508: ('0.0603745487590364',), 1361298504: ('0.0603745487590364',), 1361298475: ('0.0603745487590364',), 1361298471: ('0.0603745487590364',), 1361298467: ('0.0603745487590364',), 1361298463: ('0.0603745487590364',), 1361298460: ('0.0603745487590364',), 1361298440: ('0.0603745487590364',), 1361298436: ('0.0603745487590364',), 1361298432: ('0.0603745487590364',), 1361298427: ('0.0603745487590364',), 1361298424: ('0.0603745487590364',), 1361298416: ('0.0603745487590364',), 1361298268: ('0.0603745487590364',), 1361298148: ('0.0603745487590364',), 1361297866: ('0.0603745487590364',)} args : 1361298712 depend.output_id : 0 input_args_next_step : {1361298920: ('0.0603745487590364',), 1361298862: ('0.0603745487590364',), 1361298859: ('0.0603745487590364',), 1361298857: ('0.0603745487590364',), 1361298854: ('0.0603745487590364',), 1361298850: ('0.0603745487590364',), 1361298817: ('0.0603745487590364',), 1361298815: ('0.0603745487590364',), 1361298812: ('0.0603745487590364',), 1361298809: ('0.0603745487590364',), 1361298805: ('0.0603745487590364',), 1361298798: ('0.0603745487590364',), 1361298765: ('0.0603745487590364',), 1361298761: ('0.0603745487590364',), 1361298757: ('0.0603745487590364',), 1361298753: ('0.0603745487590364',), 1361298747: ('0.0603745487590364',), 1361298712: ('0.0603745487590364',), 1361298708: ()} output_args : {1361298920: ('0.0603745487590364',), 1361298862: ('0.0603745487590364',), 1361298859: ('0.0603745487590364',), 1361298857: ('0.0603745487590364',), 1361298854: ('0.0603745487590364',), 1361298850: ('0.0603745487590364',), 1361298817: ('0.0603745487590364',), 1361298815: ('0.0603745487590364',), 1361298812: ('0.0603745487590364',), 1361298809: ('0.0603745487590364',), 1361298805: ('0.0603745487590364',), 1361298798: ('0.0603745487590364',), 1361298765: ('0.0603745487590364',), 1361298761: ('0.0603745487590364',), 1361298757: ('0.0603745487590364',), 1361298753: ('0.0603745487590364',), 1361298747: ('0.0603745487590364',), 1361298712: ('0.0603745487590364',), 1361298708: ('0.0603745487590364',), 1361298700: ('0.0603745487590364',), 1361298695: ('0.0603745487590364',), 1361298622: ('0.0603745487590364',), 1361298612: ('0.0603745487590364',), 1361298593: ('0.0603745487590364',), 1361298575: ('0.0603745487590364',), 1361298528: ('0.0603745487590364',), 1361298524: ('0.0603745487590364',), 1361298516: ('0.0603745487590364',), 1361298511: ('0.0603745487590364',), 1361298508: ('0.0603745487590364',), 1361298504: ('0.0603745487590364',), 1361298475: ('0.0603745487590364',), 1361298471: ('0.0603745487590364',), 1361298467: ('0.0603745487590364',), 1361298463: ('0.0603745487590364',), 1361298460: ('0.0603745487590364',), 1361298440: ('0.0603745487590364',), 1361298436: ('0.0603745487590364',), 1361298432: ('0.0603745487590364',), 1361298427: ('0.0603745487590364',), 1361298424: ('0.0603745487590364',), 1361298416: ('0.0603745487590364',), 1361298268: ('0.0603745487590364',), 1361298148: ('0.0603745487590364',), 1361297866: ('0.0603745487590364',)} args : 1361298708 depend.output_id : 0 input_args_next_step : {1361298920: ('0.0603745487590364',), 1361298862: ('0.0603745487590364',), 1361298859: ('0.0603745487590364',), 1361298857: ('0.0603745487590364',), 1361298854: ('0.0603745487590364',), 1361298850: ('0.0603745487590364',), 1361298817: ('0.0603745487590364',), 1361298815: ('0.0603745487590364',), 1361298812: ('0.0603745487590364',), 1361298809: ('0.0603745487590364',), 1361298805: ('0.0603745487590364',), 1361298798: ('0.0603745487590364',), 1361298765: ('0.0603745487590364',), 1361298761: ('0.0603745487590364',), 1361298757: ('0.0603745487590364',), 1361298753: ('0.0603745487590364',), 1361298747: ('0.0603745487590364',), 1361298712: ('0.0603745487590364',), 1361298708: ('0.0603745487590364',), 1361298700: ()} output_args : {1361298920: ('0.0603745487590364',), 1361298862: ('0.0603745487590364',), 1361298859: ('0.0603745487590364',), 1361298857: ('0.0603745487590364',), 1361298854: ('0.0603745487590364',), 1361298850: ('0.0603745487590364',), 1361298817: ('0.0603745487590364',), 1361298815: ('0.0603745487590364',), 1361298812: ('0.0603745487590364',), 1361298809: ('0.0603745487590364',), 1361298805: ('0.0603745487590364',), 1361298798: ('0.0603745487590364',), 1361298765: ('0.0603745487590364',), 1361298761: ('0.0603745487590364',), 1361298757: ('0.0603745487590364',), 1361298753: ('0.0603745487590364',), 1361298747: ('0.0603745487590364',), 1361298712: ('0.0603745487590364',), 1361298708: ('0.0603745487590364',), 1361298700: ('0.0603745487590364',), 1361298695: ('0.0603745487590364',), 1361298622: ('0.0603745487590364',), 1361298612: ('0.0603745487590364',), 1361298593: ('0.0603745487590364',), 1361298575: ('0.0603745487590364',), 1361298528: ('0.0603745487590364',), 1361298524: ('0.0603745487590364',), 1361298516: ('0.0603745487590364',), 1361298511: ('0.0603745487590364',), 1361298508: ('0.0603745487590364',), 1361298504: ('0.0603745487590364',), 1361298475: ('0.0603745487590364',), 1361298471: ('0.0603745487590364',), 1361298467: ('0.0603745487590364',), 1361298463: ('0.0603745487590364',), 1361298460: ('0.0603745487590364',), 1361298440: ('0.0603745487590364',), 1361298436: ('0.0603745487590364',), 1361298432: ('0.0603745487590364',), 1361298427: ('0.0603745487590364',), 1361298424: ('0.0603745487590364',), 1361298416: ('0.0603745487590364',), 1361298268: ('0.0603745487590364',), 1361298148: ('0.0603745487590364',), 1361297866: ('0.0603745487590364',)} args : 1361298700 depend.output_id : 0 input_args_next_step : {1361298920: ('0.0603745487590364',), 1361298862: ('0.0603745487590364',), 1361298859: ('0.0603745487590364',), 1361298857: ('0.0603745487590364',), 1361298854: ('0.0603745487590364',), 1361298850: ('0.0603745487590364',), 1361298817: ('0.0603745487590364',), 1361298815: ('0.0603745487590364',), 1361298812: ('0.0603745487590364',), 1361298809: ('0.0603745487590364',), 1361298805: ('0.0603745487590364',), 1361298798: ('0.0603745487590364',), 1361298765: ('0.0603745487590364',), 1361298761: ('0.0603745487590364',), 1361298757: ('0.0603745487590364',), 1361298753: ('0.0603745487590364',), 1361298747: ('0.0603745487590364',), 1361298712: ('0.0603745487590364',), 1361298708: ('0.0603745487590364',), 1361298700: ('0.0603745487590364',), 1361298695: ()} output_args : {1361298920: ('0.0603745487590364',), 1361298862: ('0.0603745487590364',), 1361298859: ('0.0603745487590364',), 1361298857: ('0.0603745487590364',), 1361298854: ('0.0603745487590364',), 1361298850: ('0.0603745487590364',), 1361298817: ('0.0603745487590364',), 1361298815: ('0.0603745487590364',), 1361298812: ('0.0603745487590364',), 1361298809: ('0.0603745487590364',), 1361298805: ('0.0603745487590364',), 1361298798: ('0.0603745487590364',), 1361298765: ('0.0603745487590364',), 1361298761: ('0.0603745487590364',), 1361298757: ('0.0603745487590364',), 1361298753: ('0.0603745487590364',), 1361298747: ('0.0603745487590364',), 1361298712: ('0.0603745487590364',), 1361298708: ('0.0603745487590364',), 1361298700: ('0.0603745487590364',), 1361298695: ('0.0603745487590364',), 1361298622: ('0.0603745487590364',), 1361298612: ('0.0603745487590364',), 1361298593: ('0.0603745487590364',), 1361298575: ('0.0603745487590364',), 1361298528: ('0.0603745487590364',), 1361298524: ('0.0603745487590364',), 1361298516: ('0.0603745487590364',), 1361298511: ('0.0603745487590364',), 1361298508: ('0.0603745487590364',), 1361298504: ('0.0603745487590364',), 1361298475: ('0.0603745487590364',), 1361298471: ('0.0603745487590364',), 1361298467: ('0.0603745487590364',), 1361298463: ('0.0603745487590364',), 1361298460: ('0.0603745487590364',), 1361298440: ('0.0603745487590364',), 1361298436: ('0.0603745487590364',), 1361298432: ('0.0603745487590364',), 1361298427: ('0.0603745487590364',), 1361298424: ('0.0603745487590364',), 1361298416: ('0.0603745487590364',), 1361298268: ('0.0603745487590364',), 1361298148: ('0.0603745487590364',), 1361297866: ('0.0603745487590364',)} args : 1361298695 depend.output_id : 0 input_args_next_step : {1361298920: ('0.0603745487590364',), 1361298862: ('0.0603745487590364',), 1361298859: ('0.0603745487590364',), 1361298857: ('0.0603745487590364',), 1361298854: ('0.0603745487590364',), 1361298850: ('0.0603745487590364',), 1361298817: ('0.0603745487590364',), 1361298815: ('0.0603745487590364',), 1361298812: ('0.0603745487590364',), 1361298809: ('0.0603745487590364',), 1361298805: ('0.0603745487590364',), 1361298798: ('0.0603745487590364',), 1361298765: ('0.0603745487590364',), 1361298761: ('0.0603745487590364',), 1361298757: ('0.0603745487590364',), 1361298753: ('0.0603745487590364',), 1361298747: ('0.0603745487590364',), 1361298712: ('0.0603745487590364',), 1361298708: ('0.0603745487590364',), 1361298700: ('0.0603745487590364',), 1361298695: ('0.0603745487590364',), 1361298622: ()} output_args : {1361298920: ('0.0603745487590364',), 1361298862: ('0.0603745487590364',), 1361298859: ('0.0603745487590364',), 1361298857: ('0.0603745487590364',), 1361298854: ('0.0603745487590364',), 1361298850: ('0.0603745487590364',), 1361298817: ('0.0603745487590364',), 1361298815: ('0.0603745487590364',), 1361298812: ('0.0603745487590364',), 1361298809: ('0.0603745487590364',), 1361298805: ('0.0603745487590364',), 1361298798: ('0.0603745487590364',), 1361298765: ('0.0603745487590364',), 1361298761: ('0.0603745487590364',), 1361298757: ('0.0603745487590364',), 1361298753: ('0.0603745487590364',), 1361298747: ('0.0603745487590364',), 1361298712: ('0.0603745487590364',), 1361298708: ('0.0603745487590364',), 1361298700: ('0.0603745487590364',), 1361298695: ('0.0603745487590364',), 1361298622: ('0.0603745487590364',), 1361298612: ('0.0603745487590364',), 1361298593: ('0.0603745487590364',), 1361298575: ('0.0603745487590364',), 1361298528: ('0.0603745487590364',), 1361298524: ('0.0603745487590364',), 1361298516: ('0.0603745487590364',), 1361298511: ('0.0603745487590364',), 1361298508: ('0.0603745487590364',), 1361298504: ('0.0603745487590364',), 1361298475: ('0.0603745487590364',), 1361298471: ('0.0603745487590364',), 1361298467: ('0.0603745487590364',), 1361298463: ('0.0603745487590364',), 1361298460: ('0.0603745487590364',), 1361298440: ('0.0603745487590364',), 1361298436: ('0.0603745487590364',), 1361298432: ('0.0603745487590364',), 1361298427: ('0.0603745487590364',), 1361298424: ('0.0603745487590364',), 1361298416: ('0.0603745487590364',), 1361298268: ('0.0603745487590364',), 1361298148: ('0.0603745487590364',), 1361297866: ('0.0603745487590364',)} args : 1361298622 depend.output_id : 0 input_args_next_step : {1361298920: ('0.0603745487590364',), 1361298862: ('0.0603745487590364',), 1361298859: ('0.0603745487590364',), 1361298857: ('0.0603745487590364',), 1361298854: ('0.0603745487590364',), 1361298850: ('0.0603745487590364',), 1361298817: ('0.0603745487590364',), 1361298815: ('0.0603745487590364',), 1361298812: ('0.0603745487590364',), 1361298809: ('0.0603745487590364',), 1361298805: ('0.0603745487590364',), 1361298798: ('0.0603745487590364',), 1361298765: ('0.0603745487590364',), 1361298761: ('0.0603745487590364',), 1361298757: ('0.0603745487590364',), 1361298753: ('0.0603745487590364',), 1361298747: ('0.0603745487590364',), 1361298712: ('0.0603745487590364',), 1361298708: ('0.0603745487590364',), 1361298700: ('0.0603745487590364',), 1361298695: ('0.0603745487590364',), 1361298622: ('0.0603745487590364',), 1361298612: ()} output_args : {1361298920: ('0.0603745487590364',), 1361298862: ('0.0603745487590364',), 1361298859: ('0.0603745487590364',), 1361298857: ('0.0603745487590364',), 1361298854: ('0.0603745487590364',), 1361298850: ('0.0603745487590364',), 1361298817: ('0.0603745487590364',), 1361298815: ('0.0603745487590364',), 1361298812: ('0.0603745487590364',), 1361298809: ('0.0603745487590364',), 1361298805: ('0.0603745487590364',), 1361298798: ('0.0603745487590364',), 1361298765: ('0.0603745487590364',), 1361298761: ('0.0603745487590364',), 1361298757: ('0.0603745487590364',), 1361298753: ('0.0603745487590364',), 1361298747: ('0.0603745487590364',), 1361298712: ('0.0603745487590364',), 1361298708: ('0.0603745487590364',), 1361298700: ('0.0603745487590364',), 1361298695: ('0.0603745487590364',), 1361298622: ('0.0603745487590364',), 1361298612: ('0.0603745487590364',), 1361298593: ('0.0603745487590364',), 1361298575: ('0.0603745487590364',), 1361298528: ('0.0603745487590364',), 1361298524: ('0.0603745487590364',), 1361298516: ('0.0603745487590364',), 1361298511: ('0.0603745487590364',), 1361298508: ('0.0603745487590364',), 1361298504: ('0.0603745487590364',), 1361298475: ('0.0603745487590364',), 1361298471: ('0.0603745487590364',), 1361298467: ('0.0603745487590364',), 1361298463: ('0.0603745487590364',), 1361298460: ('0.0603745487590364',), 1361298440: ('0.0603745487590364',), 1361298436: ('0.0603745487590364',), 1361298432: ('0.0603745487590364',), 1361298427: ('0.0603745487590364',), 1361298424: ('0.0603745487590364',), 1361298416: ('0.0603745487590364',), 1361298268: ('0.0603745487590364',), 1361298148: ('0.0603745487590364',), 1361297866: ('0.0603745487590364',)} args : 1361298612 depend.output_id : 0 input_args_next_step : {1361298920: ('0.0603745487590364',), 1361298862: ('0.0603745487590364',), 1361298859: ('0.0603745487590364',), 1361298857: ('0.0603745487590364',), 1361298854: ('0.0603745487590364',), 1361298850: ('0.0603745487590364',), 1361298817: ('0.0603745487590364',), 1361298815: ('0.0603745487590364',), 1361298812: ('0.0603745487590364',), 1361298809: ('0.0603745487590364',), 1361298805: ('0.0603745487590364',), 1361298798: ('0.0603745487590364',), 1361298765: ('0.0603745487590364',), 1361298761: ('0.0603745487590364',), 1361298757: ('0.0603745487590364',), 1361298753: ('0.0603745487590364',), 1361298747: ('0.0603745487590364',), 1361298712: ('0.0603745487590364',), 1361298708: ('0.0603745487590364',), 1361298700: ('0.0603745487590364',), 1361298695: ('0.0603745487590364',), 1361298622: ('0.0603745487590364',), 1361298612: ('0.0603745487590364',), 1361298593: ()} output_args : {1361298920: ('0.0603745487590364',), 1361298862: ('0.0603745487590364',), 1361298859: ('0.0603745487590364',), 1361298857: ('0.0603745487590364',), 1361298854: ('0.0603745487590364',), 1361298850: ('0.0603745487590364',), 1361298817: ('0.0603745487590364',), 1361298815: ('0.0603745487590364',), 1361298812: ('0.0603745487590364',), 1361298809: ('0.0603745487590364',), 1361298805: ('0.0603745487590364',), 1361298798: ('0.0603745487590364',), 1361298765: ('0.0603745487590364',), 1361298761: ('0.0603745487590364',), 1361298757: ('0.0603745487590364',), 1361298753: ('0.0603745487590364',), 1361298747: ('0.0603745487590364',), 1361298712: ('0.0603745487590364',), 1361298708: ('0.0603745487590364',), 1361298700: ('0.0603745487590364',), 1361298695: ('0.0603745487590364',), 1361298622: ('0.0603745487590364',), 1361298612: ('0.0603745487590364',), 1361298593: ('0.0603745487590364',), 1361298575: ('0.0603745487590364',), 1361298528: ('0.0603745487590364',), 1361298524: ('0.0603745487590364',), 1361298516: ('0.0603745487590364',), 1361298511: ('0.0603745487590364',), 1361298508: ('0.0603745487590364',), 1361298504: ('0.0603745487590364',), 1361298475: ('0.0603745487590364',), 1361298471: ('0.0603745487590364',), 1361298467: ('0.0603745487590364',), 1361298463: ('0.0603745487590364',), 1361298460: ('0.0603745487590364',), 1361298440: ('0.0603745487590364',), 1361298436: ('0.0603745487590364',), 1361298432: ('0.0603745487590364',), 1361298427: ('0.0603745487590364',), 1361298424: ('0.0603745487590364',), 1361298416: ('0.0603745487590364',), 1361298268: ('0.0603745487590364',), 1361298148: ('0.0603745487590364',), 1361297866: ('0.0603745487590364',)} args : 1361298593 depend.output_id : 0 input_args_next_step : {1361298920: ('0.0603745487590364',), 1361298862: ('0.0603745487590364',), 1361298859: ('0.0603745487590364',), 1361298857: ('0.0603745487590364',), 1361298854: ('0.0603745487590364',), 1361298850: ('0.0603745487590364',), 1361298817: ('0.0603745487590364',), 1361298815: ('0.0603745487590364',), 1361298812: ('0.0603745487590364',), 1361298809: ('0.0603745487590364',), 1361298805: ('0.0603745487590364',), 1361298798: ('0.0603745487590364',), 1361298765: ('0.0603745487590364',), 1361298761: ('0.0603745487590364',), 1361298757: ('0.0603745487590364',), 1361298753: ('0.0603745487590364',), 1361298747: ('0.0603745487590364',), 1361298712: ('0.0603745487590364',), 1361298708: ('0.0603745487590364',), 1361298700: ('0.0603745487590364',), 1361298695: ('0.0603745487590364',), 1361298622: ('0.0603745487590364',), 1361298612: ('0.0603745487590364',), 1361298593: ('0.0603745487590364',), 1361298575: ()} output_args : {1361298920: ('0.0603745487590364',), 1361298862: ('0.0603745487590364',), 1361298859: ('0.0603745487590364',), 1361298857: ('0.0603745487590364',), 1361298854: ('0.0603745487590364',), 1361298850: ('0.0603745487590364',), 1361298817: ('0.0603745487590364',), 1361298815: ('0.0603745487590364',), 1361298812: ('0.0603745487590364',), 1361298809: ('0.0603745487590364',), 1361298805: ('0.0603745487590364',), 1361298798: ('0.0603745487590364',), 1361298765: ('0.0603745487590364',), 1361298761: ('0.0603745487590364',), 1361298757: ('0.0603745487590364',), 1361298753: ('0.0603745487590364',), 1361298747: ('0.0603745487590364',), 1361298712: ('0.0603745487590364',), 1361298708: ('0.0603745487590364',), 1361298700: ('0.0603745487590364',), 1361298695: ('0.0603745487590364',), 1361298622: ('0.0603745487590364',), 1361298612: ('0.0603745487590364',), 1361298593: ('0.0603745487590364',), 1361298575: ('0.0603745487590364',), 1361298528: ('0.0603745487590364',), 1361298524: ('0.0603745487590364',), 1361298516: ('0.0603745487590364',), 1361298511: ('0.0603745487590364',), 1361298508: ('0.0603745487590364',), 1361298504: ('0.0603745487590364',), 1361298475: ('0.0603745487590364',), 1361298471: ('0.0603745487590364',), 1361298467: ('0.0603745487590364',), 1361298463: ('0.0603745487590364',), 1361298460: ('0.0603745487590364',), 1361298440: ('0.0603745487590364',), 1361298436: ('0.0603745487590364',), 1361298432: ('0.0603745487590364',), 1361298427: ('0.0603745487590364',), 1361298424: ('0.0603745487590364',), 1361298416: ('0.0603745487590364',), 1361298268: ('0.0603745487590364',), 1361298148: ('0.0603745487590364',), 1361297866: ('0.0603745487590364',)} args : 1361298575 depend.output_id : 0 input_args_next_step : {1361298920: ('0.0603745487590364',), 1361298862: ('0.0603745487590364',), 1361298859: ('0.0603745487590364',), 1361298857: ('0.0603745487590364',), 1361298854: ('0.0603745487590364',), 1361298850: ('0.0603745487590364',), 1361298817: ('0.0603745487590364',), 1361298815: ('0.0603745487590364',), 1361298812: ('0.0603745487590364',), 1361298809: ('0.0603745487590364',), 1361298805: ('0.0603745487590364',), 1361298798: ('0.0603745487590364',), 1361298765: ('0.0603745487590364',), 1361298761: ('0.0603745487590364',), 1361298757: ('0.0603745487590364',), 1361298753: ('0.0603745487590364',), 1361298747: ('0.0603745487590364',), 1361298712: ('0.0603745487590364',), 1361298708: ('0.0603745487590364',), 1361298700: ('0.0603745487590364',), 1361298695: ('0.0603745487590364',), 1361298622: ('0.0603745487590364',), 1361298612: ('0.0603745487590364',), 1361298593: ('0.0603745487590364',), 1361298575: ('0.0603745487590364',), 1361298528: ()} output_args : {1361298920: ('0.0603745487590364',), 1361298862: ('0.0603745487590364',), 1361298859: ('0.0603745487590364',), 1361298857: ('0.0603745487590364',), 1361298854: ('0.0603745487590364',), 1361298850: ('0.0603745487590364',), 1361298817: ('0.0603745487590364',), 1361298815: ('0.0603745487590364',), 1361298812: ('0.0603745487590364',), 1361298809: ('0.0603745487590364',), 1361298805: ('0.0603745487590364',), 1361298798: ('0.0603745487590364',), 1361298765: ('0.0603745487590364',), 1361298761: ('0.0603745487590364',), 1361298757: ('0.0603745487590364',), 1361298753: ('0.0603745487590364',), 1361298747: ('0.0603745487590364',), 1361298712: ('0.0603745487590364',), 1361298708: ('0.0603745487590364',), 1361298700: ('0.0603745487590364',), 1361298695: ('0.0603745487590364',), 1361298622: ('0.0603745487590364',), 1361298612: ('0.0603745487590364',), 1361298593: ('0.0603745487590364',), 1361298575: ('0.0603745487590364',), 1361298528: ('0.0603745487590364',), 1361298524: ('0.0603745487590364',), 1361298516: ('0.0603745487590364',), 1361298511: ('0.0603745487590364',), 1361298508: ('0.0603745487590364',), 1361298504: ('0.0603745487590364',), 1361298475: ('0.0603745487590364',), 1361298471: ('0.0603745487590364',), 1361298467: ('0.0603745487590364',), 1361298463: ('0.0603745487590364',), 1361298460: ('0.0603745487590364',), 1361298440: ('0.0603745487590364',), 1361298436: ('0.0603745487590364',), 1361298432: ('0.0603745487590364',), 1361298427: ('0.0603745487590364',), 1361298424: ('0.0603745487590364',), 1361298416: ('0.0603745487590364',), 1361298268: ('0.0603745487590364',), 1361298148: ('0.0603745487590364',), 1361297866: ('0.0603745487590364',)} args : 1361298528 depend.output_id : 0 input_args_next_step : {1361298920: ('0.0603745487590364',), 1361298862: ('0.0603745487590364',), 1361298859: ('0.0603745487590364',), 1361298857: ('0.0603745487590364',), 1361298854: ('0.0603745487590364',), 1361298850: ('0.0603745487590364',), 1361298817: ('0.0603745487590364',), 1361298815: ('0.0603745487590364',), 1361298812: ('0.0603745487590364',), 1361298809: ('0.0603745487590364',), 1361298805: ('0.0603745487590364',), 1361298798: ('0.0603745487590364',), 1361298765: ('0.0603745487590364',), 1361298761: ('0.0603745487590364',), 1361298757: ('0.0603745487590364',), 1361298753: ('0.0603745487590364',), 1361298747: ('0.0603745487590364',), 1361298712: ('0.0603745487590364',), 1361298708: ('0.0603745487590364',), 1361298700: ('0.0603745487590364',), 1361298695: ('0.0603745487590364',), 1361298622: ('0.0603745487590364',), 1361298612: ('0.0603745487590364',), 1361298593: ('0.0603745487590364',), 1361298575: ('0.0603745487590364',), 1361298528: ('0.0603745487590364',), 1361298524: ()} output_args : {1361298920: ('0.0603745487590364',), 1361298862: ('0.0603745487590364',), 1361298859: ('0.0603745487590364',), 1361298857: ('0.0603745487590364',), 1361298854: ('0.0603745487590364',), 1361298850: ('0.0603745487590364',), 1361298817: ('0.0603745487590364',), 1361298815: ('0.0603745487590364',), 1361298812: ('0.0603745487590364',), 1361298809: ('0.0603745487590364',), 1361298805: ('0.0603745487590364',), 1361298798: ('0.0603745487590364',), 1361298765: ('0.0603745487590364',), 1361298761: ('0.0603745487590364',), 1361298757: ('0.0603745487590364',), 1361298753: ('0.0603745487590364',), 1361298747: ('0.0603745487590364',), 1361298712: ('0.0603745487590364',), 1361298708: ('0.0603745487590364',), 1361298700: ('0.0603745487590364',), 1361298695: ('0.0603745487590364',), 1361298622: ('0.0603745487590364',), 1361298612: ('0.0603745487590364',), 1361298593: ('0.0603745487590364',), 1361298575: ('0.0603745487590364',), 1361298528: ('0.0603745487590364',), 1361298524: ('0.0603745487590364',), 1361298516: ('0.0603745487590364',), 1361298511: ('0.0603745487590364',), 1361298508: ('0.0603745487590364',), 1361298504: ('0.0603745487590364',), 1361298475: ('0.0603745487590364',), 1361298471: ('0.0603745487590364',), 1361298467: ('0.0603745487590364',), 1361298463: ('0.0603745487590364',), 1361298460: ('0.0603745487590364',), 1361298440: ('0.0603745487590364',), 1361298436: ('0.0603745487590364',), 1361298432: ('0.0603745487590364',), 1361298427: ('0.0603745487590364',), 1361298424: ('0.0603745487590364',), 1361298416: ('0.0603745487590364',), 1361298268: ('0.0603745487590364',), 1361298148: ('0.0603745487590364',), 1361297866: ('0.0603745487590364',)} args : 1361298524 depend.output_id : 0 input_args_next_step : {1361298920: ('0.0603745487590364',), 1361298862: ('0.0603745487590364',), 1361298859: ('0.0603745487590364',), 1361298857: ('0.0603745487590364',), 1361298854: ('0.0603745487590364',), 1361298850: ('0.0603745487590364',), 1361298817: ('0.0603745487590364',), 1361298815: ('0.0603745487590364',), 1361298812: ('0.0603745487590364',), 1361298809: ('0.0603745487590364',), 1361298805: ('0.0603745487590364',), 1361298798: ('0.0603745487590364',), 1361298765: ('0.0603745487590364',), 1361298761: ('0.0603745487590364',), 1361298757: ('0.0603745487590364',), 1361298753: ('0.0603745487590364',), 1361298747: ('0.0603745487590364',), 1361298712: ('0.0603745487590364',), 1361298708: ('0.0603745487590364',), 1361298700: ('0.0603745487590364',), 1361298695: ('0.0603745487590364',), 1361298622: ('0.0603745487590364',), 1361298612: ('0.0603745487590364',), 1361298593: ('0.0603745487590364',), 1361298575: ('0.0603745487590364',), 1361298528: ('0.0603745487590364',), 1361298524: ('0.0603745487590364',), 1361298516: ()} output_args : {1361298920: ('0.0603745487590364',), 1361298862: ('0.0603745487590364',), 1361298859: ('0.0603745487590364',), 1361298857: ('0.0603745487590364',), 1361298854: ('0.0603745487590364',), 1361298850: ('0.0603745487590364',), 1361298817: ('0.0603745487590364',), 1361298815: ('0.0603745487590364',), 1361298812: ('0.0603745487590364',), 1361298809: ('0.0603745487590364',), 1361298805: ('0.0603745487590364',), 1361298798: ('0.0603745487590364',), 1361298765: ('0.0603745487590364',), 1361298761: ('0.0603745487590364',), 1361298757: ('0.0603745487590364',), 1361298753: ('0.0603745487590364',), 1361298747: ('0.0603745487590364',), 1361298712: ('0.0603745487590364',), 1361298708: ('0.0603745487590364',), 1361298700: ('0.0603745487590364',), 1361298695: ('0.0603745487590364',), 1361298622: ('0.0603745487590364',), 1361298612: ('0.0603745487590364',), 1361298593: ('0.0603745487590364',), 1361298575: ('0.0603745487590364',), 1361298528: ('0.0603745487590364',), 1361298524: ('0.0603745487590364',), 1361298516: ('0.0603745487590364',), 1361298511: ('0.0603745487590364',), 1361298508: ('0.0603745487590364',), 1361298504: ('0.0603745487590364',), 1361298475: ('0.0603745487590364',), 1361298471: ('0.0603745487590364',), 1361298467: ('0.0603745487590364',), 1361298463: ('0.0603745487590364',), 1361298460: ('0.0603745487590364',), 1361298440: ('0.0603745487590364',), 1361298436: ('0.0603745487590364',), 1361298432: ('0.0603745487590364',), 1361298427: ('0.0603745487590364',), 1361298424: ('0.0603745487590364',), 1361298416: ('0.0603745487590364',), 1361298268: ('0.0603745487590364',), 1361298148: ('0.0603745487590364',), 1361297866: ('0.0603745487590364',)} args : 1361298516 depend.output_id : 0 input_args_next_step : {1361298920: ('0.0603745487590364',), 1361298862: ('0.0603745487590364',), 1361298859: ('0.0603745487590364',), 1361298857: ('0.0603745487590364',), 1361298854: ('0.0603745487590364',), 1361298850: ('0.0603745487590364',), 1361298817: ('0.0603745487590364',), 1361298815: ('0.0603745487590364',), 1361298812: ('0.0603745487590364',), 1361298809: ('0.0603745487590364',), 1361298805: ('0.0603745487590364',), 1361298798: ('0.0603745487590364',), 1361298765: ('0.0603745487590364',), 1361298761: ('0.0603745487590364',), 1361298757: ('0.0603745487590364',), 1361298753: ('0.0603745487590364',), 1361298747: ('0.0603745487590364',), 1361298712: ('0.0603745487590364',), 1361298708: ('0.0603745487590364',), 1361298700: ('0.0603745487590364',), 1361298695: ('0.0603745487590364',), 1361298622: ('0.0603745487590364',), 1361298612: ('0.0603745487590364',), 1361298593: ('0.0603745487590364',), 1361298575: ('0.0603745487590364',), 1361298528: ('0.0603745487590364',), 1361298524: ('0.0603745487590364',), 1361298516: ('0.0603745487590364',), 1361298511: ()} output_args : {1361298920: ('0.0603745487590364',), 1361298862: ('0.0603745487590364',), 1361298859: ('0.0603745487590364',), 1361298857: ('0.0603745487590364',), 1361298854: ('0.0603745487590364',), 1361298850: ('0.0603745487590364',), 1361298817: ('0.0603745487590364',), 1361298815: ('0.0603745487590364',), 1361298812: ('0.0603745487590364',), 1361298809: ('0.0603745487590364',), 1361298805: ('0.0603745487590364',), 1361298798: ('0.0603745487590364',), 1361298765: ('0.0603745487590364',), 1361298761: ('0.0603745487590364',), 1361298757: ('0.0603745487590364',), 1361298753: ('0.0603745487590364',), 1361298747: ('0.0603745487590364',), 1361298712: ('0.0603745487590364',), 1361298708: ('0.0603745487590364',), 1361298700: ('0.0603745487590364',), 1361298695: ('0.0603745487590364',), 1361298622: ('0.0603745487590364',), 1361298612: ('0.0603745487590364',), 1361298593: ('0.0603745487590364',), 1361298575: ('0.0603745487590364',), 1361298528: ('0.0603745487590364',), 1361298524: ('0.0603745487590364',), 1361298516: ('0.0603745487590364',), 1361298511: ('0.0603745487590364',), 1361298508: ('0.0603745487590364',), 1361298504: ('0.0603745487590364',), 1361298475: ('0.0603745487590364',), 1361298471: ('0.0603745487590364',), 1361298467: ('0.0603745487590364',), 1361298463: ('0.0603745487590364',), 1361298460: ('0.0603745487590364',), 1361298440: ('0.0603745487590364',), 1361298436: ('0.0603745487590364',), 1361298432: ('0.0603745487590364',), 1361298427: ('0.0603745487590364',), 1361298424: ('0.0603745487590364',), 1361298416: ('0.0603745487590364',), 1361298268: ('0.0603745487590364',), 1361298148: ('0.0603745487590364',), 1361297866: ('0.0603745487590364',)} args : 1361298511 depend.output_id : 0 input_args_next_step : {1361298920: ('0.0603745487590364',), 1361298862: ('0.0603745487590364',), 1361298859: ('0.0603745487590364',), 1361298857: ('0.0603745487590364',), 1361298854: ('0.0603745487590364',), 1361298850: ('0.0603745487590364',), 1361298817: ('0.0603745487590364',), 1361298815: ('0.0603745487590364',), 1361298812: ('0.0603745487590364',), 1361298809: ('0.0603745487590364',), 1361298805: ('0.0603745487590364',), 1361298798: ('0.0603745487590364',), 1361298765: ('0.0603745487590364',), 1361298761: ('0.0603745487590364',), 1361298757: ('0.0603745487590364',), 1361298753: ('0.0603745487590364',), 1361298747: ('0.0603745487590364',), 1361298712: ('0.0603745487590364',), 1361298708: ('0.0603745487590364',), 1361298700: ('0.0603745487590364',), 1361298695: ('0.0603745487590364',), 1361298622: ('0.0603745487590364',), 1361298612: ('0.0603745487590364',), 1361298593: ('0.0603745487590364',), 1361298575: ('0.0603745487590364',), 1361298528: ('0.0603745487590364',), 1361298524: ('0.0603745487590364',), 1361298516: ('0.0603745487590364',), 1361298511: ('0.0603745487590364',), 1361298508: ()} output_args : {1361298920: ('0.0603745487590364',), 1361298862: ('0.0603745487590364',), 1361298859: ('0.0603745487590364',), 1361298857: ('0.0603745487590364',), 1361298854: ('0.0603745487590364',), 1361298850: ('0.0603745487590364',), 1361298817: ('0.0603745487590364',), 1361298815: ('0.0603745487590364',), 1361298812: ('0.0603745487590364',), 1361298809: ('0.0603745487590364',), 1361298805: ('0.0603745487590364',), 1361298798: ('0.0603745487590364',), 1361298765: ('0.0603745487590364',), 1361298761: ('0.0603745487590364',), 1361298757: ('0.0603745487590364',), 1361298753: ('0.0603745487590364',), 1361298747: ('0.0603745487590364',), 1361298712: ('0.0603745487590364',), 1361298708: ('0.0603745487590364',), 1361298700: ('0.0603745487590364',), 1361298695: ('0.0603745487590364',), 1361298622: ('0.0603745487590364',), 1361298612: ('0.0603745487590364',), 1361298593: ('0.0603745487590364',), 1361298575: ('0.0603745487590364',), 1361298528: ('0.0603745487590364',), 1361298524: ('0.0603745487590364',), 1361298516: ('0.0603745487590364',), 1361298511: ('0.0603745487590364',), 1361298508: ('0.0603745487590364',), 1361298504: ('0.0603745487590364',), 1361298475: ('0.0603745487590364',), 1361298471: ('0.0603745487590364',), 1361298467: ('0.0603745487590364',), 1361298463: ('0.0603745487590364',), 1361298460: ('0.0603745487590364',), 1361298440: ('0.0603745487590364',), 1361298436: ('0.0603745487590364',), 1361298432: ('0.0603745487590364',), 1361298427: ('0.0603745487590364',), 1361298424: ('0.0603745487590364',), 1361298416: ('0.0603745487590364',), 1361298268: ('0.0603745487590364',), 1361298148: ('0.0603745487590364',), 1361297866: ('0.0603745487590364',)} args : 1361298508 depend.output_id : 0 input_args_next_step : {1361298920: ('0.0603745487590364',), 1361298862: ('0.0603745487590364',), 1361298859: ('0.0603745487590364',), 1361298857: ('0.0603745487590364',), 1361298854: ('0.0603745487590364',), 1361298850: ('0.0603745487590364',), 1361298817: ('0.0603745487590364',), 1361298815: ('0.0603745487590364',), 1361298812: ('0.0603745487590364',), 1361298809: ('0.0603745487590364',), 1361298805: ('0.0603745487590364',), 1361298798: ('0.0603745487590364',), 1361298765: ('0.0603745487590364',), 1361298761: ('0.0603745487590364',), 1361298757: ('0.0603745487590364',), 1361298753: ('0.0603745487590364',), 1361298747: ('0.0603745487590364',), 1361298712: ('0.0603745487590364',), 1361298708: ('0.0603745487590364',), 1361298700: ('0.0603745487590364',), 1361298695: ('0.0603745487590364',), 1361298622: ('0.0603745487590364',), 1361298612: ('0.0603745487590364',), 1361298593: ('0.0603745487590364',), 1361298575: ('0.0603745487590364',), 1361298528: ('0.0603745487590364',), 1361298524: ('0.0603745487590364',), 1361298516: ('0.0603745487590364',), 1361298511: ('0.0603745487590364',), 1361298508: ('0.0603745487590364',), 1361298504: ()} output_args : {1361298920: ('0.0603745487590364',), 1361298862: ('0.0603745487590364',), 1361298859: ('0.0603745487590364',), 1361298857: ('0.0603745487590364',), 1361298854: ('0.0603745487590364',), 1361298850: ('0.0603745487590364',), 1361298817: ('0.0603745487590364',), 1361298815: ('0.0603745487590364',), 1361298812: ('0.0603745487590364',), 1361298809: ('0.0603745487590364',), 1361298805: ('0.0603745487590364',), 1361298798: ('0.0603745487590364',), 1361298765: ('0.0603745487590364',), 1361298761: ('0.0603745487590364',), 1361298757: ('0.0603745487590364',), 1361298753: ('0.0603745487590364',), 1361298747: ('0.0603745487590364',), 1361298712: ('0.0603745487590364',), 1361298708: ('0.0603745487590364',), 1361298700: ('0.0603745487590364',), 1361298695: ('0.0603745487590364',), 1361298622: ('0.0603745487590364',), 1361298612: ('0.0603745487590364',), 1361298593: ('0.0603745487590364',), 1361298575: ('0.0603745487590364',), 1361298528: ('0.0603745487590364',), 1361298524: ('0.0603745487590364',), 1361298516: ('0.0603745487590364',), 1361298511: ('0.0603745487590364',), 1361298508: ('0.0603745487590364',), 1361298504: ('0.0603745487590364',), 1361298475: ('0.0603745487590364',), 1361298471: ('0.0603745487590364',), 1361298467: ('0.0603745487590364',), 1361298463: ('0.0603745487590364',), 1361298460: ('0.0603745487590364',), 1361298440: ('0.0603745487590364',), 1361298436: ('0.0603745487590364',), 1361298432: ('0.0603745487590364',), 1361298427: ('0.0603745487590364',), 1361298424: ('0.0603745487590364',), 1361298416: ('0.0603745487590364',), 1361298268: ('0.0603745487590364',), 1361298148: ('0.0603745487590364',), 1361297866: ('0.0603745487590364',)} args : 1361298504 depend.output_id : 0 input_args_next_step : {1361298920: ('0.0603745487590364',), 1361298862: ('0.0603745487590364',), 1361298859: ('0.0603745487590364',), 1361298857: ('0.0603745487590364',), 1361298854: ('0.0603745487590364',), 1361298850: ('0.0603745487590364',), 1361298817: ('0.0603745487590364',), 1361298815: ('0.0603745487590364',), 1361298812: ('0.0603745487590364',), 1361298809: ('0.0603745487590364',), 1361298805: ('0.0603745487590364',), 1361298798: ('0.0603745487590364',), 1361298765: ('0.0603745487590364',), 1361298761: ('0.0603745487590364',), 1361298757: ('0.0603745487590364',), 1361298753: ('0.0603745487590364',), 1361298747: ('0.0603745487590364',), 1361298712: ('0.0603745487590364',), 1361298708: ('0.0603745487590364',), 1361298700: ('0.0603745487590364',), 1361298695: ('0.0603745487590364',), 1361298622: ('0.0603745487590364',), 1361298612: ('0.0603745487590364',), 1361298593: ('0.0603745487590364',), 1361298575: ('0.0603745487590364',), 1361298528: ('0.0603745487590364',), 1361298524: ('0.0603745487590364',), 1361298516: ('0.0603745487590364',), 1361298511: ('0.0603745487590364',), 1361298508: ('0.0603745487590364',), 1361298504: ('0.0603745487590364',), 1361298475: ()} output_args : {1361298920: ('0.0603745487590364',), 1361298862: ('0.0603745487590364',), 1361298859: ('0.0603745487590364',), 1361298857: ('0.0603745487590364',), 1361298854: ('0.0603745487590364',), 1361298850: ('0.0603745487590364',), 1361298817: ('0.0603745487590364',), 1361298815: ('0.0603745487590364',), 1361298812: ('0.0603745487590364',), 1361298809: ('0.0603745487590364',), 1361298805: ('0.0603745487590364',), 1361298798: ('0.0603745487590364',), 1361298765: ('0.0603745487590364',), 1361298761: ('0.0603745487590364',), 1361298757: ('0.0603745487590364',), 1361298753: ('0.0603745487590364',), 1361298747: ('0.0603745487590364',), 1361298712: ('0.0603745487590364',), 1361298708: ('0.0603745487590364',), 1361298700: ('0.0603745487590364',), 1361298695: ('0.0603745487590364',), 1361298622: ('0.0603745487590364',), 1361298612: ('0.0603745487590364',), 1361298593: ('0.0603745487590364',), 1361298575: ('0.0603745487590364',), 1361298528: ('0.0603745487590364',), 1361298524: ('0.0603745487590364',), 1361298516: ('0.0603745487590364',), 1361298511: ('0.0603745487590364',), 1361298508: ('0.0603745487590364',), 1361298504: ('0.0603745487590364',), 1361298475: ('0.0603745487590364',), 1361298471: ('0.0603745487590364',), 1361298467: ('0.0603745487590364',), 1361298463: ('0.0603745487590364',), 1361298460: ('0.0603745487590364',), 1361298440: ('0.0603745487590364',), 1361298436: ('0.0603745487590364',), 1361298432: ('0.0603745487590364',), 1361298427: ('0.0603745487590364',), 1361298424: ('0.0603745487590364',), 1361298416: ('0.0603745487590364',), 1361298268: ('0.0603745487590364',), 1361298148: ('0.0603745487590364',), 1361297866: ('0.0603745487590364',)} args : 1361298475 depend.output_id : 0 input_args_next_step : {1361298920: ('0.0603745487590364',), 1361298862: ('0.0603745487590364',), 1361298859: ('0.0603745487590364',), 1361298857: ('0.0603745487590364',), 1361298854: ('0.0603745487590364',), 1361298850: ('0.0603745487590364',), 1361298817: ('0.0603745487590364',), 1361298815: ('0.0603745487590364',), 1361298812: ('0.0603745487590364',), 1361298809: ('0.0603745487590364',), 1361298805: ('0.0603745487590364',), 1361298798: ('0.0603745487590364',), 1361298765: ('0.0603745487590364',), 1361298761: ('0.0603745487590364',), 1361298757: ('0.0603745487590364',), 1361298753: ('0.0603745487590364',), 1361298747: ('0.0603745487590364',), 1361298712: ('0.0603745487590364',), 1361298708: ('0.0603745487590364',), 1361298700: ('0.0603745487590364',), 1361298695: ('0.0603745487590364',), 1361298622: ('0.0603745487590364',), 1361298612: ('0.0603745487590364',), 1361298593: ('0.0603745487590364',), 1361298575: ('0.0603745487590364',), 1361298528: ('0.0603745487590364',), 1361298524: ('0.0603745487590364',), 1361298516: ('0.0603745487590364',), 1361298511: ('0.0603745487590364',), 1361298508: ('0.0603745487590364',), 1361298504: ('0.0603745487590364',), 1361298475: ('0.0603745487590364',), 1361298471: ()} output_args : {1361298920: ('0.0603745487590364',), 1361298862: ('0.0603745487590364',), 1361298859: ('0.0603745487590364',), 1361298857: ('0.0603745487590364',), 1361298854: ('0.0603745487590364',), 1361298850: ('0.0603745487590364',), 1361298817: ('0.0603745487590364',), 1361298815: ('0.0603745487590364',), 1361298812: ('0.0603745487590364',), 1361298809: ('0.0603745487590364',), 1361298805: ('0.0603745487590364',), 1361298798: ('0.0603745487590364',), 1361298765: ('0.0603745487590364',), 1361298761: ('0.0603745487590364',), 1361298757: ('0.0603745487590364',), 1361298753: ('0.0603745487590364',), 1361298747: ('0.0603745487590364',), 1361298712: ('0.0603745487590364',), 1361298708: ('0.0603745487590364',), 1361298700: ('0.0603745487590364',), 1361298695: ('0.0603745487590364',), 1361298622: ('0.0603745487590364',), 1361298612: ('0.0603745487590364',), 1361298593: ('0.0603745487590364',), 1361298575: ('0.0603745487590364',), 1361298528: ('0.0603745487590364',), 1361298524: ('0.0603745487590364',), 1361298516: ('0.0603745487590364',), 1361298511: ('0.0603745487590364',), 1361298508: ('0.0603745487590364',), 1361298504: ('0.0603745487590364',), 1361298475: ('0.0603745487590364',), 1361298471: ('0.0603745487590364',), 1361298467: ('0.0603745487590364',), 1361298463: ('0.0603745487590364',), 1361298460: ('0.0603745487590364',), 1361298440: ('0.0603745487590364',), 1361298436: ('0.0603745487590364',), 1361298432: ('0.0603745487590364',), 1361298427: ('0.0603745487590364',), 1361298424: ('0.0603745487590364',), 1361298416: ('0.0603745487590364',), 1361298268: ('0.0603745487590364',), 1361298148: ('0.0603745487590364',), 1361297866: ('0.0603745487590364',)} args : 1361298471 depend.output_id : 0 input_args_next_step : {1361298920: ('0.0603745487590364',), 1361298862: ('0.0603745487590364',), 1361298859: ('0.0603745487590364',), 1361298857: ('0.0603745487590364',), 1361298854: ('0.0603745487590364',), 1361298850: ('0.0603745487590364',), 1361298817: ('0.0603745487590364',), 1361298815: ('0.0603745487590364',), 1361298812: ('0.0603745487590364',), 1361298809: ('0.0603745487590364',), 1361298805: ('0.0603745487590364',), 1361298798: ('0.0603745487590364',), 1361298765: ('0.0603745487590364',), 1361298761: ('0.0603745487590364',), 1361298757: ('0.0603745487590364',), 1361298753: ('0.0603745487590364',), 1361298747: ('0.0603745487590364',), 1361298712: ('0.0603745487590364',), 1361298708: ('0.0603745487590364',), 1361298700: ('0.0603745487590364',), 1361298695: ('0.0603745487590364',), 1361298622: ('0.0603745487590364',), 1361298612: ('0.0603745487590364',), 1361298593: ('0.0603745487590364',), 1361298575: ('0.0603745487590364',), 1361298528: ('0.0603745487590364',), 1361298524: ('0.0603745487590364',), 1361298516: ('0.0603745487590364',), 1361298511: ('0.0603745487590364',), 1361298508: ('0.0603745487590364',), 1361298504: ('0.0603745487590364',), 1361298475: ('0.0603745487590364',), 1361298471: ('0.0603745487590364',), 1361298467: ()} output_args : {1361298920: ('0.0603745487590364',), 1361298862: ('0.0603745487590364',), 1361298859: ('0.0603745487590364',), 1361298857: ('0.0603745487590364',), 1361298854: ('0.0603745487590364',), 1361298850: ('0.0603745487590364',), 1361298817: ('0.0603745487590364',), 1361298815: ('0.0603745487590364',), 1361298812: ('0.0603745487590364',), 1361298809: ('0.0603745487590364',), 1361298805: ('0.0603745487590364',), 1361298798: ('0.0603745487590364',), 1361298765: ('0.0603745487590364',), 1361298761: ('0.0603745487590364',), 1361298757: ('0.0603745487590364',), 1361298753: ('0.0603745487590364',), 1361298747: ('0.0603745487590364',), 1361298712: ('0.0603745487590364',), 1361298708: ('0.0603745487590364',), 1361298700: ('0.0603745487590364',), 1361298695: ('0.0603745487590364',), 1361298622: ('0.0603745487590364',), 1361298612: ('0.0603745487590364',), 1361298593: ('0.0603745487590364',), 1361298575: ('0.0603745487590364',), 1361298528: ('0.0603745487590364',), 1361298524: ('0.0603745487590364',), 1361298516: ('0.0603745487590364',), 1361298511: ('0.0603745487590364',), 1361298508: ('0.0603745487590364',), 1361298504: ('0.0603745487590364',), 1361298475: ('0.0603745487590364',), 1361298471: ('0.0603745487590364',), 1361298467: ('0.0603745487590364',), 1361298463: ('0.0603745487590364',), 1361298460: ('0.0603745487590364',), 1361298440: ('0.0603745487590364',), 1361298436: ('0.0603745487590364',), 1361298432: ('0.0603745487590364',), 1361298427: ('0.0603745487590364',), 1361298424: ('0.0603745487590364',), 1361298416: ('0.0603745487590364',), 1361298268: ('0.0603745487590364',), 1361298148: ('0.0603745487590364',), 1361297866: ('0.0603745487590364',)} args : 1361298467 depend.output_id : 0 input_args_next_step : {1361298920: ('0.0603745487590364',), 1361298862: ('0.0603745487590364',), 1361298859: ('0.0603745487590364',), 1361298857: ('0.0603745487590364',), 1361298854: ('0.0603745487590364',), 1361298850: ('0.0603745487590364',), 1361298817: ('0.0603745487590364',), 1361298815: ('0.0603745487590364',), 1361298812: ('0.0603745487590364',), 1361298809: ('0.0603745487590364',), 1361298805: ('0.0603745487590364',), 1361298798: ('0.0603745487590364',), 1361298765: ('0.0603745487590364',), 1361298761: ('0.0603745487590364',), 1361298757: ('0.0603745487590364',), 1361298753: ('0.0603745487590364',), 1361298747: ('0.0603745487590364',), 1361298712: ('0.0603745487590364',), 1361298708: ('0.0603745487590364',), 1361298700: ('0.0603745487590364',), 1361298695: ('0.0603745487590364',), 1361298622: ('0.0603745487590364',), 1361298612: ('0.0603745487590364',), 1361298593: ('0.0603745487590364',), 1361298575: ('0.0603745487590364',), 1361298528: ('0.0603745487590364',), 1361298524: ('0.0603745487590364',), 1361298516: ('0.0603745487590364',), 1361298511: ('0.0603745487590364',), 1361298508: ('0.0603745487590364',), 1361298504: ('0.0603745487590364',), 1361298475: ('0.0603745487590364',), 1361298471: ('0.0603745487590364',), 1361298467: ('0.0603745487590364',), 1361298463: ()} output_args : {1361298920: ('0.0603745487590364',), 1361298862: ('0.0603745487590364',), 1361298859: ('0.0603745487590364',), 1361298857: ('0.0603745487590364',), 1361298854: ('0.0603745487590364',), 1361298850: ('0.0603745487590364',), 1361298817: ('0.0603745487590364',), 1361298815: ('0.0603745487590364',), 1361298812: ('0.0603745487590364',), 1361298809: ('0.0603745487590364',), 1361298805: ('0.0603745487590364',), 1361298798: ('0.0603745487590364',), 1361298765: ('0.0603745487590364',), 1361298761: ('0.0603745487590364',), 1361298757: ('0.0603745487590364',), 1361298753: ('0.0603745487590364',), 1361298747: ('0.0603745487590364',), 1361298712: ('0.0603745487590364',), 1361298708: ('0.0603745487590364',), 1361298700: ('0.0603745487590364',), 1361298695: ('0.0603745487590364',), 1361298622: ('0.0603745487590364',), 1361298612: ('0.0603745487590364',), 1361298593: ('0.0603745487590364',), 1361298575: ('0.0603745487590364',), 1361298528: ('0.0603745487590364',), 1361298524: ('0.0603745487590364',), 1361298516: ('0.0603745487590364',), 1361298511: ('0.0603745487590364',), 1361298508: ('0.0603745487590364',), 1361298504: ('0.0603745487590364',), 1361298475: ('0.0603745487590364',), 1361298471: ('0.0603745487590364',), 1361298467: ('0.0603745487590364',), 1361298463: ('0.0603745487590364',), 1361298460: ('0.0603745487590364',), 1361298440: ('0.0603745487590364',), 1361298436: ('0.0603745487590364',), 1361298432: ('0.0603745487590364',), 1361298427: ('0.0603745487590364',), 1361298424: ('0.0603745487590364',), 1361298416: ('0.0603745487590364',), 1361298268: ('0.0603745487590364',), 1361298148: ('0.0603745487590364',), 1361297866: ('0.0603745487590364',)} args : 1361298463 depend.output_id : 0 input_args_next_step : {1361298920: ('0.0603745487590364',), 1361298862: ('0.0603745487590364',), 1361298859: ('0.0603745487590364',), 1361298857: ('0.0603745487590364',), 1361298854: ('0.0603745487590364',), 1361298850: ('0.0603745487590364',), 1361298817: ('0.0603745487590364',), 1361298815: ('0.0603745487590364',), 1361298812: ('0.0603745487590364',), 1361298809: ('0.0603745487590364',), 1361298805: ('0.0603745487590364',), 1361298798: ('0.0603745487590364',), 1361298765: ('0.0603745487590364',), 1361298761: ('0.0603745487590364',), 1361298757: ('0.0603745487590364',), 1361298753: ('0.0603745487590364',), 1361298747: ('0.0603745487590364',), 1361298712: ('0.0603745487590364',), 1361298708: ('0.0603745487590364',), 1361298700: ('0.0603745487590364',), 1361298695: ('0.0603745487590364',), 1361298622: ('0.0603745487590364',), 1361298612: ('0.0603745487590364',), 1361298593: ('0.0603745487590364',), 1361298575: ('0.0603745487590364',), 1361298528: ('0.0603745487590364',), 1361298524: ('0.0603745487590364',), 1361298516: ('0.0603745487590364',), 1361298511: ('0.0603745487590364',), 1361298508: ('0.0603745487590364',), 1361298504: ('0.0603745487590364',), 1361298475: ('0.0603745487590364',), 1361298471: ('0.0603745487590364',), 1361298467: ('0.0603745487590364',), 1361298463: ('0.0603745487590364',), 1361298460: ()} output_args : {1361298920: ('0.0603745487590364',), 1361298862: ('0.0603745487590364',), 1361298859: ('0.0603745487590364',), 1361298857: ('0.0603745487590364',), 1361298854: ('0.0603745487590364',), 1361298850: ('0.0603745487590364',), 1361298817: ('0.0603745487590364',), 1361298815: ('0.0603745487590364',), 1361298812: ('0.0603745487590364',), 1361298809: ('0.0603745487590364',), 1361298805: ('0.0603745487590364',), 1361298798: ('0.0603745487590364',), 1361298765: ('0.0603745487590364',), 1361298761: ('0.0603745487590364',), 1361298757: ('0.0603745487590364',), 1361298753: ('0.0603745487590364',), 1361298747: ('0.0603745487590364',), 1361298712: ('0.0603745487590364',), 1361298708: ('0.0603745487590364',), 1361298700: ('0.0603745487590364',), 1361298695: ('0.0603745487590364',), 1361298622: ('0.0603745487590364',), 1361298612: ('0.0603745487590364',), 1361298593: ('0.0603745487590364',), 1361298575: ('0.0603745487590364',), 1361298528: ('0.0603745487590364',), 1361298524: ('0.0603745487590364',), 1361298516: ('0.0603745487590364',), 1361298511: ('0.0603745487590364',), 1361298508: ('0.0603745487590364',), 1361298504: ('0.0603745487590364',), 1361298475: ('0.0603745487590364',), 1361298471: ('0.0603745487590364',), 1361298467: ('0.0603745487590364',), 1361298463: ('0.0603745487590364',), 1361298460: ('0.0603745487590364',), 1361298440: ('0.0603745487590364',), 1361298436: ('0.0603745487590364',), 1361298432: ('0.0603745487590364',), 1361298427: ('0.0603745487590364',), 1361298424: ('0.0603745487590364',), 1361298416: ('0.0603745487590364',), 1361298268: ('0.0603745487590364',), 1361298148: ('0.0603745487590364',), 1361297866: ('0.0603745487590364',)} args : 1361298460 depend.output_id : 0 input_args_next_step : {1361298920: ('0.0603745487590364',), 1361298862: ('0.0603745487590364',), 1361298859: ('0.0603745487590364',), 1361298857: ('0.0603745487590364',), 1361298854: ('0.0603745487590364',), 1361298850: ('0.0603745487590364',), 1361298817: ('0.0603745487590364',), 1361298815: ('0.0603745487590364',), 1361298812: ('0.0603745487590364',), 1361298809: ('0.0603745487590364',), 1361298805: ('0.0603745487590364',), 1361298798: ('0.0603745487590364',), 1361298765: ('0.0603745487590364',), 1361298761: ('0.0603745487590364',), 1361298757: ('0.0603745487590364',), 1361298753: ('0.0603745487590364',), 1361298747: ('0.0603745487590364',), 1361298712: ('0.0603745487590364',), 1361298708: ('0.0603745487590364',), 1361298700: ('0.0603745487590364',), 1361298695: ('0.0603745487590364',), 1361298622: ('0.0603745487590364',), 1361298612: ('0.0603745487590364',), 1361298593: ('0.0603745487590364',), 1361298575: ('0.0603745487590364',), 1361298528: ('0.0603745487590364',), 1361298524: ('0.0603745487590364',), 1361298516: ('0.0603745487590364',), 1361298511: ('0.0603745487590364',), 1361298508: ('0.0603745487590364',), 1361298504: ('0.0603745487590364',), 1361298475: ('0.0603745487590364',), 1361298471: ('0.0603745487590364',), 1361298467: ('0.0603745487590364',), 1361298463: ('0.0603745487590364',), 1361298460: ('0.0603745487590364',), 1361298440: ()} output_args : {1361298920: ('0.0603745487590364',), 1361298862: ('0.0603745487590364',), 1361298859: ('0.0603745487590364',), 1361298857: ('0.0603745487590364',), 1361298854: ('0.0603745487590364',), 1361298850: ('0.0603745487590364',), 1361298817: ('0.0603745487590364',), 1361298815: ('0.0603745487590364',), 1361298812: ('0.0603745487590364',), 1361298809: ('0.0603745487590364',), 1361298805: ('0.0603745487590364',), 1361298798: ('0.0603745487590364',), 1361298765: ('0.0603745487590364',), 1361298761: ('0.0603745487590364',), 1361298757: ('0.0603745487590364',), 1361298753: ('0.0603745487590364',), 1361298747: ('0.0603745487590364',), 1361298712: ('0.0603745487590364',), 1361298708: ('0.0603745487590364',), 1361298700: ('0.0603745487590364',), 1361298695: ('0.0603745487590364',), 1361298622: ('0.0603745487590364',), 1361298612: ('0.0603745487590364',), 1361298593: ('0.0603745487590364',), 1361298575: ('0.0603745487590364',), 1361298528: ('0.0603745487590364',), 1361298524: ('0.0603745487590364',), 1361298516: ('0.0603745487590364',), 1361298511: ('0.0603745487590364',), 1361298508: ('0.0603745487590364',), 1361298504: ('0.0603745487590364',), 1361298475: ('0.0603745487590364',), 1361298471: ('0.0603745487590364',), 1361298467: ('0.0603745487590364',), 1361298463: ('0.0603745487590364',), 1361298460: ('0.0603745487590364',), 1361298440: ('0.0603745487590364',), 1361298436: ('0.0603745487590364',), 1361298432: ('0.0603745487590364',), 1361298427: ('0.0603745487590364',), 1361298424: ('0.0603745487590364',), 1361298416: ('0.0603745487590364',), 1361298268: ('0.0603745487590364',), 1361298148: ('0.0603745487590364',), 1361297866: ('0.0603745487590364',)} args : 1361298440 depend.output_id : 0 input_args_next_step : {1361298920: ('0.0603745487590364',), 1361298862: ('0.0603745487590364',), 1361298859: ('0.0603745487590364',), 1361298857: ('0.0603745487590364',), 1361298854: ('0.0603745487590364',), 1361298850: ('0.0603745487590364',), 1361298817: ('0.0603745487590364',), 1361298815: ('0.0603745487590364',), 1361298812: ('0.0603745487590364',), 1361298809: ('0.0603745487590364',), 1361298805: ('0.0603745487590364',), 1361298798: ('0.0603745487590364',), 1361298765: ('0.0603745487590364',), 1361298761: ('0.0603745487590364',), 1361298757: ('0.0603745487590364',), 1361298753: ('0.0603745487590364',), 1361298747: ('0.0603745487590364',), 1361298712: ('0.0603745487590364',), 1361298708: ('0.0603745487590364',), 1361298700: ('0.0603745487590364',), 1361298695: ('0.0603745487590364',), 1361298622: ('0.0603745487590364',), 1361298612: ('0.0603745487590364',), 1361298593: ('0.0603745487590364',), 1361298575: ('0.0603745487590364',), 1361298528: ('0.0603745487590364',), 1361298524: ('0.0603745487590364',), 1361298516: ('0.0603745487590364',), 1361298511: ('0.0603745487590364',), 1361298508: ('0.0603745487590364',), 1361298504: ('0.0603745487590364',), 1361298475: ('0.0603745487590364',), 1361298471: ('0.0603745487590364',), 1361298467: ('0.0603745487590364',), 1361298463: ('0.0603745487590364',), 1361298460: ('0.0603745487590364',), 1361298440: ('0.0603745487590364',), 1361298436: ()} output_args : {1361298920: ('0.0603745487590364',), 1361298862: ('0.0603745487590364',), 1361298859: ('0.0603745487590364',), 1361298857: ('0.0603745487590364',), 1361298854: ('0.0603745487590364',), 1361298850: ('0.0603745487590364',), 1361298817: ('0.0603745487590364',), 1361298815: ('0.0603745487590364',), 1361298812: ('0.0603745487590364',), 1361298809: ('0.0603745487590364',), 1361298805: ('0.0603745487590364',), 1361298798: ('0.0603745487590364',), 1361298765: ('0.0603745487590364',), 1361298761: ('0.0603745487590364',), 1361298757: ('0.0603745487590364',), 1361298753: ('0.0603745487590364',), 1361298747: ('0.0603745487590364',), 1361298712: ('0.0603745487590364',), 1361298708: ('0.0603745487590364',), 1361298700: ('0.0603745487590364',), 1361298695: ('0.0603745487590364',), 1361298622: ('0.0603745487590364',), 1361298612: ('0.0603745487590364',), 1361298593: ('0.0603745487590364',), 1361298575: ('0.0603745487590364',), 1361298528: ('0.0603745487590364',), 1361298524: ('0.0603745487590364',), 1361298516: ('0.0603745487590364',), 1361298511: ('0.0603745487590364',), 1361298508: ('0.0603745487590364',), 1361298504: ('0.0603745487590364',), 1361298475: ('0.0603745487590364',), 1361298471: ('0.0603745487590364',), 1361298467: ('0.0603745487590364',), 1361298463: ('0.0603745487590364',), 1361298460: ('0.0603745487590364',), 1361298440: ('0.0603745487590364',), 1361298436: ('0.0603745487590364',), 1361298432: ('0.0603745487590364',), 1361298427: ('0.0603745487590364',), 1361298424: ('0.0603745487590364',), 1361298416: ('0.0603745487590364',), 1361298268: ('0.0603745487590364',), 1361298148: ('0.0603745487590364',), 1361297866: ('0.0603745487590364',)} args : 1361298436 depend.output_id : 0 input_args_next_step : {1361298920: ('0.0603745487590364',), 1361298862: ('0.0603745487590364',), 1361298859: ('0.0603745487590364',), 1361298857: ('0.0603745487590364',), 1361298854: ('0.0603745487590364',), 1361298850: ('0.0603745487590364',), 1361298817: ('0.0603745487590364',), 1361298815: ('0.0603745487590364',), 1361298812: ('0.0603745487590364',), 1361298809: ('0.0603745487590364',), 1361298805: ('0.0603745487590364',), 1361298798: ('0.0603745487590364',), 1361298765: ('0.0603745487590364',), 1361298761: ('0.0603745487590364',), 1361298757: ('0.0603745487590364',), 1361298753: ('0.0603745487590364',), 1361298747: ('0.0603745487590364',), 1361298712: ('0.0603745487590364',), 1361298708: ('0.0603745487590364',), 1361298700: ('0.0603745487590364',), 1361298695: ('0.0603745487590364',), 1361298622: ('0.0603745487590364',), 1361298612: ('0.0603745487590364',), 1361298593: ('0.0603745487590364',), 1361298575: ('0.0603745487590364',), 1361298528: ('0.0603745487590364',), 1361298524: ('0.0603745487590364',), 1361298516: ('0.0603745487590364',), 1361298511: ('0.0603745487590364',), 1361298508: ('0.0603745487590364',), 1361298504: ('0.0603745487590364',), 1361298475: ('0.0603745487590364',), 1361298471: ('0.0603745487590364',), 1361298467: ('0.0603745487590364',), 1361298463: ('0.0603745487590364',), 1361298460: ('0.0603745487590364',), 1361298440: ('0.0603745487590364',), 1361298436: ('0.0603745487590364',), 1361298432: ()} output_args : {1361298920: ('0.0603745487590364',), 1361298862: ('0.0603745487590364',), 1361298859: ('0.0603745487590364',), 1361298857: ('0.0603745487590364',), 1361298854: ('0.0603745487590364',), 1361298850: ('0.0603745487590364',), 1361298817: ('0.0603745487590364',), 1361298815: ('0.0603745487590364',), 1361298812: ('0.0603745487590364',), 1361298809: ('0.0603745487590364',), 1361298805: ('0.0603745487590364',), 1361298798: ('0.0603745487590364',), 1361298765: ('0.0603745487590364',), 1361298761: ('0.0603745487590364',), 1361298757: ('0.0603745487590364',), 1361298753: ('0.0603745487590364',), 1361298747: ('0.0603745487590364',), 1361298712: ('0.0603745487590364',), 1361298708: ('0.0603745487590364',), 1361298700: ('0.0603745487590364',), 1361298695: ('0.0603745487590364',), 1361298622: ('0.0603745487590364',), 1361298612: ('0.0603745487590364',), 1361298593: ('0.0603745487590364',), 1361298575: ('0.0603745487590364',), 1361298528: ('0.0603745487590364',), 1361298524: ('0.0603745487590364',), 1361298516: ('0.0603745487590364',), 1361298511: ('0.0603745487590364',), 1361298508: ('0.0603745487590364',), 1361298504: ('0.0603745487590364',), 1361298475: ('0.0603745487590364',), 1361298471: ('0.0603745487590364',), 1361298467: ('0.0603745487590364',), 1361298463: ('0.0603745487590364',), 1361298460: ('0.0603745487590364',), 1361298440: ('0.0603745487590364',), 1361298436: ('0.0603745487590364',), 1361298432: ('0.0603745487590364',), 1361298427: ('0.0603745487590364',), 1361298424: ('0.0603745487590364',), 1361298416: ('0.0603745487590364',), 1361298268: ('0.0603745487590364',), 1361298148: ('0.0603745487590364',), 1361297866: ('0.0603745487590364',)} args : 1361298432 depend.output_id : 0 input_args_next_step : {1361298920: ('0.0603745487590364',), 1361298862: ('0.0603745487590364',), 1361298859: ('0.0603745487590364',), 1361298857: ('0.0603745487590364',), 1361298854: ('0.0603745487590364',), 1361298850: ('0.0603745487590364',), 1361298817: ('0.0603745487590364',), 1361298815: ('0.0603745487590364',), 1361298812: ('0.0603745487590364',), 1361298809: ('0.0603745487590364',), 1361298805: ('0.0603745487590364',), 1361298798: ('0.0603745487590364',), 1361298765: ('0.0603745487590364',), 1361298761: ('0.0603745487590364',), 1361298757: ('0.0603745487590364',), 1361298753: ('0.0603745487590364',), 1361298747: ('0.0603745487590364',), 1361298712: ('0.0603745487590364',), 1361298708: ('0.0603745487590364',), 1361298700: ('0.0603745487590364',), 1361298695: ('0.0603745487590364',), 1361298622: ('0.0603745487590364',), 1361298612: ('0.0603745487590364',), 1361298593: ('0.0603745487590364',), 1361298575: ('0.0603745487590364',), 1361298528: ('0.0603745487590364',), 1361298524: ('0.0603745487590364',), 1361298516: ('0.0603745487590364',), 1361298511: ('0.0603745487590364',), 1361298508: ('0.0603745487590364',), 1361298504: ('0.0603745487590364',), 1361298475: ('0.0603745487590364',), 1361298471: ('0.0603745487590364',), 1361298467: ('0.0603745487590364',), 1361298463: ('0.0603745487590364',), 1361298460: ('0.0603745487590364',), 1361298440: ('0.0603745487590364',), 1361298436: ('0.0603745487590364',), 1361298432: ('0.0603745487590364',), 1361298427: ()} output_args : {1361298920: ('0.0603745487590364',), 1361298862: ('0.0603745487590364',), 1361298859: ('0.0603745487590364',), 1361298857: ('0.0603745487590364',), 1361298854: ('0.0603745487590364',), 1361298850: ('0.0603745487590364',), 1361298817: ('0.0603745487590364',), 1361298815: ('0.0603745487590364',), 1361298812: ('0.0603745487590364',), 1361298809: ('0.0603745487590364',), 1361298805: ('0.0603745487590364',), 1361298798: ('0.0603745487590364',), 1361298765: ('0.0603745487590364',), 1361298761: ('0.0603745487590364',), 1361298757: ('0.0603745487590364',), 1361298753: ('0.0603745487590364',), 1361298747: ('0.0603745487590364',), 1361298712: ('0.0603745487590364',), 1361298708: ('0.0603745487590364',), 1361298700: ('0.0603745487590364',), 1361298695: ('0.0603745487590364',), 1361298622: ('0.0603745487590364',), 1361298612: ('0.0603745487590364',), 1361298593: ('0.0603745487590364',), 1361298575: ('0.0603745487590364',), 1361298528: ('0.0603745487590364',), 1361298524: ('0.0603745487590364',), 1361298516: ('0.0603745487590364',), 1361298511: ('0.0603745487590364',), 1361298508: ('0.0603745487590364',), 1361298504: ('0.0603745487590364',), 1361298475: ('0.0603745487590364',), 1361298471: ('0.0603745487590364',), 1361298467: ('0.0603745487590364',), 1361298463: ('0.0603745487590364',), 1361298460: ('0.0603745487590364',), 1361298440: ('0.0603745487590364',), 1361298436: ('0.0603745487590364',), 1361298432: ('0.0603745487590364',), 1361298427: ('0.0603745487590364',), 1361298424: ('0.0603745487590364',), 1361298416: ('0.0603745487590364',), 1361298268: ('0.0603745487590364',), 1361298148: ('0.0603745487590364',), 1361297866: ('0.0603745487590364',)} args : 1361298427 depend.output_id : 0 input_args_next_step : {1361298920: ('0.0603745487590364',), 1361298862: ('0.0603745487590364',), 1361298859: ('0.0603745487590364',), 1361298857: ('0.0603745487590364',), 1361298854: ('0.0603745487590364',), 1361298850: ('0.0603745487590364',), 1361298817: ('0.0603745487590364',), 1361298815: ('0.0603745487590364',), 1361298812: ('0.0603745487590364',), 1361298809: ('0.0603745487590364',), 1361298805: ('0.0603745487590364',), 1361298798: ('0.0603745487590364',), 1361298765: ('0.0603745487590364',), 1361298761: ('0.0603745487590364',), 1361298757: ('0.0603745487590364',), 1361298753: ('0.0603745487590364',), 1361298747: ('0.0603745487590364',), 1361298712: ('0.0603745487590364',), 1361298708: ('0.0603745487590364',), 1361298700: ('0.0603745487590364',), 1361298695: ('0.0603745487590364',), 1361298622: ('0.0603745487590364',), 1361298612: ('0.0603745487590364',), 1361298593: ('0.0603745487590364',), 1361298575: ('0.0603745487590364',), 1361298528: ('0.0603745487590364',), 1361298524: ('0.0603745487590364',), 1361298516: ('0.0603745487590364',), 1361298511: ('0.0603745487590364',), 1361298508: ('0.0603745487590364',), 1361298504: ('0.0603745487590364',), 1361298475: ('0.0603745487590364',), 1361298471: ('0.0603745487590364',), 1361298467: ('0.0603745487590364',), 1361298463: ('0.0603745487590364',), 1361298460: ('0.0603745487590364',), 1361298440: ('0.0603745487590364',), 1361298436: ('0.0603745487590364',), 1361298432: ('0.0603745487590364',), 1361298427: ('0.0603745487590364',), 1361298424: ()} output_args : {1361298920: ('0.0603745487590364',), 1361298862: ('0.0603745487590364',), 1361298859: ('0.0603745487590364',), 1361298857: ('0.0603745487590364',), 1361298854: ('0.0603745487590364',), 1361298850: ('0.0603745487590364',), 1361298817: ('0.0603745487590364',), 1361298815: ('0.0603745487590364',), 1361298812: ('0.0603745487590364',), 1361298809: ('0.0603745487590364',), 1361298805: ('0.0603745487590364',), 1361298798: ('0.0603745487590364',), 1361298765: ('0.0603745487590364',), 1361298761: ('0.0603745487590364',), 1361298757: ('0.0603745487590364',), 1361298753: ('0.0603745487590364',), 1361298747: ('0.0603745487590364',), 1361298712: ('0.0603745487590364',), 1361298708: ('0.0603745487590364',), 1361298700: ('0.0603745487590364',), 1361298695: ('0.0603745487590364',), 1361298622: ('0.0603745487590364',), 1361298612: ('0.0603745487590364',), 1361298593: ('0.0603745487590364',), 1361298575: ('0.0603745487590364',), 1361298528: ('0.0603745487590364',), 1361298524: ('0.0603745487590364',), 1361298516: ('0.0603745487590364',), 1361298511: ('0.0603745487590364',), 1361298508: ('0.0603745487590364',), 1361298504: ('0.0603745487590364',), 1361298475: ('0.0603745487590364',), 1361298471: ('0.0603745487590364',), 1361298467: ('0.0603745487590364',), 1361298463: ('0.0603745487590364',), 1361298460: ('0.0603745487590364',), 1361298440: ('0.0603745487590364',), 1361298436: ('0.0603745487590364',), 1361298432: ('0.0603745487590364',), 1361298427: ('0.0603745487590364',), 1361298424: ('0.0603745487590364',), 1361298416: ('0.0603745487590364',), 1361298268: ('0.0603745487590364',), 1361298148: ('0.0603745487590364',), 1361297866: ('0.0603745487590364',)} args : 1361298424 depend.output_id : 0 input_args_next_step : {1361298920: ('0.0603745487590364',), 1361298862: ('0.0603745487590364',), 1361298859: ('0.0603745487590364',), 1361298857: ('0.0603745487590364',), 1361298854: ('0.0603745487590364',), 1361298850: ('0.0603745487590364',), 1361298817: ('0.0603745487590364',), 1361298815: ('0.0603745487590364',), 1361298812: ('0.0603745487590364',), 1361298809: ('0.0603745487590364',), 1361298805: ('0.0603745487590364',), 1361298798: ('0.0603745487590364',), 1361298765: ('0.0603745487590364',), 1361298761: ('0.0603745487590364',), 1361298757: ('0.0603745487590364',), 1361298753: ('0.0603745487590364',), 1361298747: ('0.0603745487590364',), 1361298712: ('0.0603745487590364',), 1361298708: ('0.0603745487590364',), 1361298700: ('0.0603745487590364',), 1361298695: ('0.0603745487590364',), 1361298622: ('0.0603745487590364',), 1361298612: ('0.0603745487590364',), 1361298593: ('0.0603745487590364',), 1361298575: ('0.0603745487590364',), 1361298528: ('0.0603745487590364',), 1361298524: ('0.0603745487590364',), 1361298516: ('0.0603745487590364',), 1361298511: ('0.0603745487590364',), 1361298508: ('0.0603745487590364',), 1361298504: ('0.0603745487590364',), 1361298475: ('0.0603745487590364',), 1361298471: ('0.0603745487590364',), 1361298467: ('0.0603745487590364',), 1361298463: ('0.0603745487590364',), 1361298460: ('0.0603745487590364',), 1361298440: ('0.0603745487590364',), 1361298436: ('0.0603745487590364',), 1361298432: ('0.0603745487590364',), 1361298427: ('0.0603745487590364',), 1361298424: ('0.0603745487590364',), 1361298416: ()} output_args : {1361298920: ('0.0603745487590364',), 1361298862: ('0.0603745487590364',), 1361298859: ('0.0603745487590364',), 1361298857: ('0.0603745487590364',), 1361298854: ('0.0603745487590364',), 1361298850: ('0.0603745487590364',), 1361298817: ('0.0603745487590364',), 1361298815: ('0.0603745487590364',), 1361298812: ('0.0603745487590364',), 1361298809: ('0.0603745487590364',), 1361298805: ('0.0603745487590364',), 1361298798: ('0.0603745487590364',), 1361298765: ('0.0603745487590364',), 1361298761: ('0.0603745487590364',), 1361298757: ('0.0603745487590364',), 1361298753: ('0.0603745487590364',), 1361298747: ('0.0603745487590364',), 1361298712: ('0.0603745487590364',), 1361298708: ('0.0603745487590364',), 1361298700: ('0.0603745487590364',), 1361298695: ('0.0603745487590364',), 1361298622: ('0.0603745487590364',), 1361298612: ('0.0603745487590364',), 1361298593: ('0.0603745487590364',), 1361298575: ('0.0603745487590364',), 1361298528: ('0.0603745487590364',), 1361298524: ('0.0603745487590364',), 1361298516: ('0.0603745487590364',), 1361298511: ('0.0603745487590364',), 1361298508: ('0.0603745487590364',), 1361298504: ('0.0603745487590364',), 1361298475: ('0.0603745487590364',), 1361298471: ('0.0603745487590364',), 1361298467: ('0.0603745487590364',), 1361298463: ('0.0603745487590364',), 1361298460: ('0.0603745487590364',), 1361298440: ('0.0603745487590364',), 1361298436: ('0.0603745487590364',), 1361298432: ('0.0603745487590364',), 1361298427: ('0.0603745487590364',), 1361298424: ('0.0603745487590364',), 1361298416: ('0.0603745487590364',), 1361298268: ('0.0603745487590364',), 1361298148: ('0.0603745487590364',), 1361297866: ('0.0603745487590364',)} args : 1361298416 depend.output_id : 0 input_args_next_step : {1361298920: ('0.0603745487590364',), 1361298862: ('0.0603745487590364',), 1361298859: ('0.0603745487590364',), 1361298857: ('0.0603745487590364',), 1361298854: ('0.0603745487590364',), 1361298850: ('0.0603745487590364',), 1361298817: ('0.0603745487590364',), 1361298815: ('0.0603745487590364',), 1361298812: ('0.0603745487590364',), 1361298809: ('0.0603745487590364',), 1361298805: ('0.0603745487590364',), 1361298798: ('0.0603745487590364',), 1361298765: ('0.0603745487590364',), 1361298761: ('0.0603745487590364',), 1361298757: ('0.0603745487590364',), 1361298753: ('0.0603745487590364',), 1361298747: ('0.0603745487590364',), 1361298712: ('0.0603745487590364',), 1361298708: ('0.0603745487590364',), 1361298700: ('0.0603745487590364',), 1361298695: ('0.0603745487590364',), 1361298622: ('0.0603745487590364',), 1361298612: ('0.0603745487590364',), 1361298593: ('0.0603745487590364',), 1361298575: ('0.0603745487590364',), 1361298528: ('0.0603745487590364',), 1361298524: ('0.0603745487590364',), 1361298516: ('0.0603745487590364',), 1361298511: ('0.0603745487590364',), 1361298508: ('0.0603745487590364',), 1361298504: ('0.0603745487590364',), 1361298475: ('0.0603745487590364',), 1361298471: ('0.0603745487590364',), 1361298467: ('0.0603745487590364',), 1361298463: ('0.0603745487590364',), 1361298460: ('0.0603745487590364',), 1361298440: ('0.0603745487590364',), 1361298436: ('0.0603745487590364',), 1361298432: ('0.0603745487590364',), 1361298427: ('0.0603745487590364',), 1361298424: ('0.0603745487590364',), 1361298416: ('0.0603745487590364',), 1361298268: ()} output_args : {1361298920: ('0.0603745487590364',), 1361298862: ('0.0603745487590364',), 1361298859: ('0.0603745487590364',), 1361298857: ('0.0603745487590364',), 1361298854: ('0.0603745487590364',), 1361298850: ('0.0603745487590364',), 1361298817: ('0.0603745487590364',), 1361298815: ('0.0603745487590364',), 1361298812: ('0.0603745487590364',), 1361298809: ('0.0603745487590364',), 1361298805: ('0.0603745487590364',), 1361298798: ('0.0603745487590364',), 1361298765: ('0.0603745487590364',), 1361298761: ('0.0603745487590364',), 1361298757: ('0.0603745487590364',), 1361298753: ('0.0603745487590364',), 1361298747: ('0.0603745487590364',), 1361298712: ('0.0603745487590364',), 1361298708: ('0.0603745487590364',), 1361298700: ('0.0603745487590364',), 1361298695: ('0.0603745487590364',), 1361298622: ('0.0603745487590364',), 1361298612: ('0.0603745487590364',), 1361298593: ('0.0603745487590364',), 1361298575: ('0.0603745487590364',), 1361298528: ('0.0603745487590364',), 1361298524: ('0.0603745487590364',), 1361298516: ('0.0603745487590364',), 1361298511: ('0.0603745487590364',), 1361298508: ('0.0603745487590364',), 1361298504: ('0.0603745487590364',), 1361298475: ('0.0603745487590364',), 1361298471: ('0.0603745487590364',), 1361298467: ('0.0603745487590364',), 1361298463: ('0.0603745487590364',), 1361298460: ('0.0603745487590364',), 1361298440: ('0.0603745487590364',), 1361298436: ('0.0603745487590364',), 1361298432: ('0.0603745487590364',), 1361298427: ('0.0603745487590364',), 1361298424: ('0.0603745487590364',), 1361298416: ('0.0603745487590364',), 1361298268: ('0.0603745487590364',), 1361298148: ('0.0603745487590364',), 1361297866: ('0.0603745487590364',)} args : 1361298268 depend.output_id : 0 input_args_next_step : {1361298920: ('0.0603745487590364',), 1361298862: ('0.0603745487590364',), 1361298859: ('0.0603745487590364',), 1361298857: ('0.0603745487590364',), 1361298854: ('0.0603745487590364',), 1361298850: ('0.0603745487590364',), 1361298817: ('0.0603745487590364',), 1361298815: ('0.0603745487590364',), 1361298812: ('0.0603745487590364',), 1361298809: ('0.0603745487590364',), 1361298805: ('0.0603745487590364',), 1361298798: ('0.0603745487590364',), 1361298765: ('0.0603745487590364',), 1361298761: ('0.0603745487590364',), 1361298757: ('0.0603745487590364',), 1361298753: ('0.0603745487590364',), 1361298747: ('0.0603745487590364',), 1361298712: ('0.0603745487590364',), 1361298708: ('0.0603745487590364',), 1361298700: ('0.0603745487590364',), 1361298695: ('0.0603745487590364',), 1361298622: ('0.0603745487590364',), 1361298612: ('0.0603745487590364',), 1361298593: ('0.0603745487590364',), 1361298575: ('0.0603745487590364',), 1361298528: ('0.0603745487590364',), 1361298524: ('0.0603745487590364',), 1361298516: ('0.0603745487590364',), 1361298511: ('0.0603745487590364',), 1361298508: ('0.0603745487590364',), 1361298504: ('0.0603745487590364',), 1361298475: ('0.0603745487590364',), 1361298471: ('0.0603745487590364',), 1361298467: ('0.0603745487590364',), 1361298463: ('0.0603745487590364',), 1361298460: ('0.0603745487590364',), 1361298440: ('0.0603745487590364',), 1361298436: ('0.0603745487590364',), 1361298432: ('0.0603745487590364',), 1361298427: ('0.0603745487590364',), 1361298424: ('0.0603745487590364',), 1361298416: ('0.0603745487590364',), 1361298268: ('0.0603745487590364',), 1361298148: ()} output_args : {1361298920: ('0.0603745487590364',), 1361298862: ('0.0603745487590364',), 1361298859: ('0.0603745487590364',), 1361298857: ('0.0603745487590364',), 1361298854: ('0.0603745487590364',), 1361298850: ('0.0603745487590364',), 1361298817: ('0.0603745487590364',), 1361298815: ('0.0603745487590364',), 1361298812: ('0.0603745487590364',), 1361298809: ('0.0603745487590364',), 1361298805: ('0.0603745487590364',), 1361298798: ('0.0603745487590364',), 1361298765: ('0.0603745487590364',), 1361298761: ('0.0603745487590364',), 1361298757: ('0.0603745487590364',), 1361298753: ('0.0603745487590364',), 1361298747: ('0.0603745487590364',), 1361298712: ('0.0603745487590364',), 1361298708: ('0.0603745487590364',), 1361298700: ('0.0603745487590364',), 1361298695: ('0.0603745487590364',), 1361298622: ('0.0603745487590364',), 1361298612: ('0.0603745487590364',), 1361298593: ('0.0603745487590364',), 1361298575: ('0.0603745487590364',), 1361298528: ('0.0603745487590364',), 1361298524: ('0.0603745487590364',), 1361298516: ('0.0603745487590364',), 1361298511: ('0.0603745487590364',), 1361298508: ('0.0603745487590364',), 1361298504: ('0.0603745487590364',), 1361298475: ('0.0603745487590364',), 1361298471: ('0.0603745487590364',), 1361298467: ('0.0603745487590364',), 1361298463: ('0.0603745487590364',), 1361298460: ('0.0603745487590364',), 1361298440: ('0.0603745487590364',), 1361298436: ('0.0603745487590364',), 1361298432: ('0.0603745487590364',), 1361298427: ('0.0603745487590364',), 1361298424: ('0.0603745487590364',), 1361298416: ('0.0603745487590364',), 1361298268: ('0.0603745487590364',), 1361298148: ('0.0603745487590364',), 1361297866: ('0.0603745487590364',)} args : 1361298148 depend.output_id : 0 input_args_next_step : {1361298920: ('0.0603745487590364',), 1361298862: ('0.0603745487590364',), 1361298859: ('0.0603745487590364',), 1361298857: ('0.0603745487590364',), 1361298854: ('0.0603745487590364',), 1361298850: ('0.0603745487590364',), 1361298817: ('0.0603745487590364',), 1361298815: ('0.0603745487590364',), 1361298812: ('0.0603745487590364',), 1361298809: ('0.0603745487590364',), 1361298805: ('0.0603745487590364',), 1361298798: ('0.0603745487590364',), 1361298765: ('0.0603745487590364',), 1361298761: ('0.0603745487590364',), 1361298757: ('0.0603745487590364',), 1361298753: ('0.0603745487590364',), 1361298747: ('0.0603745487590364',), 1361298712: ('0.0603745487590364',), 1361298708: ('0.0603745487590364',), 1361298700: ('0.0603745487590364',), 1361298695: ('0.0603745487590364',), 1361298622: ('0.0603745487590364',), 1361298612: ('0.0603745487590364',), 1361298593: ('0.0603745487590364',), 1361298575: ('0.0603745487590364',), 1361298528: ('0.0603745487590364',), 1361298524: ('0.0603745487590364',), 1361298516: ('0.0603745487590364',), 1361298511: ('0.0603745487590364',), 1361298508: ('0.0603745487590364',), 1361298504: ('0.0603745487590364',), 1361298475: ('0.0603745487590364',), 1361298471: ('0.0603745487590364',), 1361298467: ('0.0603745487590364',), 1361298463: ('0.0603745487590364',), 1361298460: ('0.0603745487590364',), 1361298440: ('0.0603745487590364',), 1361298436: ('0.0603745487590364',), 1361298432: ('0.0603745487590364',), 1361298427: ('0.0603745487590364',), 1361298424: ('0.0603745487590364',), 1361298416: ('0.0603745487590364',), 1361298268: ('0.0603745487590364',), 1361298148: ('0.0603745487590364',), 1361297866: ()} output_args : {1361298920: ('0.0603745487590364',), 1361298862: ('0.0603745487590364',), 1361298859: ('0.0603745487590364',), 1361298857: ('0.0603745487590364',), 1361298854: ('0.0603745487590364',), 1361298850: ('0.0603745487590364',), 1361298817: ('0.0603745487590364',), 1361298815: ('0.0603745487590364',), 1361298812: ('0.0603745487590364',), 1361298809: ('0.0603745487590364',), 1361298805: ('0.0603745487590364',), 1361298798: ('0.0603745487590364',), 1361298765: ('0.0603745487590364',), 1361298761: ('0.0603745487590364',), 1361298757: ('0.0603745487590364',), 1361298753: ('0.0603745487590364',), 1361298747: ('0.0603745487590364',), 1361298712: ('0.0603745487590364',), 1361298708: ('0.0603745487590364',), 1361298700: ('0.0603745487590364',), 1361298695: ('0.0603745487590364',), 1361298622: ('0.0603745487590364',), 1361298612: ('0.0603745487590364',), 1361298593: ('0.0603745487590364',), 1361298575: ('0.0603745487590364',), 1361298528: ('0.0603745487590364',), 1361298524: ('0.0603745487590364',), 1361298516: ('0.0603745487590364',), 1361298511: ('0.0603745487590364',), 1361298508: ('0.0603745487590364',), 1361298504: ('0.0603745487590364',), 1361298475: ('0.0603745487590364',), 1361298471: ('0.0603745487590364',), 1361298467: ('0.0603745487590364',), 1361298463: ('0.0603745487590364',), 1361298460: ('0.0603745487590364',), 1361298440: ('0.0603745487590364',), 1361298436: ('0.0603745487590364',), 1361298432: ('0.0603745487590364',), 1361298427: ('0.0603745487590364',), 1361298424: ('0.0603745487590364',), 1361298416: ('0.0603745487590364',), 1361298268: ('0.0603745487590364',), 1361298148: ('0.0603745487590364',), 1361297866: ('0.0603745487590364',)} args : 1361297866 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 : {23377701: [{'environnement': 23377707, 'metal': 23377708, 'Carton_gris': 23377709, 'papier': 23377710, 'Teint_Dans_La_Masse': 23377711, 'autre_refus': 23377712, 'kraft': 23377713, 'plastique': 23377714, 'Carton_brun': 23377715, 'cartonnette': 23377716, 'mal_croppe': 23377717, 'flou': 23377718}]} input_args_next_step : {1361298920: ('0.0603745487590364',), 1361298862: ('0.0603745487590364',), 1361298859: ('0.0603745487590364',), 1361298857: ('0.0603745487590364',), 1361298854: ('0.0603745487590364',), 1361298850: ('0.0603745487590364',), 1361298817: ('0.0603745487590364',), 1361298815: ('0.0603745487590364',), 1361298812: ('0.0603745487590364',), 1361298809: ('0.0603745487590364',), 1361298805: ('0.0603745487590364',), 1361298798: ('0.0603745487590364',), 1361298765: ('0.0603745487590364',), 1361298761: ('0.0603745487590364',), 1361298757: ('0.0603745487590364',), 1361298753: ('0.0603745487590364',), 1361298747: ('0.0603745487590364',), 1361298712: ('0.0603745487590364',), 1361298708: ('0.0603745487590364',), 1361298700: ('0.0603745487590364',), 1361298695: ('0.0603745487590364',), 1361298622: ('0.0603745487590364',), 1361298612: ('0.0603745487590364',), 1361298593: ('0.0603745487590364',), 1361298575: ('0.0603745487590364',), 1361298528: ('0.0603745487590364',), 1361298524: ('0.0603745487590364',), 1361298516: ('0.0603745487590364',), 1361298511: ('0.0603745487590364',), 1361298508: ('0.0603745487590364',), 1361298504: ('0.0603745487590364',), 1361298475: ('0.0603745487590364',), 1361298471: ('0.0603745487590364',), 1361298467: ('0.0603745487590364',), 1361298463: ('0.0603745487590364',), 1361298460: ('0.0603745487590364',), 1361298440: ('0.0603745487590364',), 1361298436: ('0.0603745487590364',), 1361298432: ('0.0603745487590364',), 1361298427: ('0.0603745487590364',), 1361298424: ('0.0603745487590364',), 1361298416: ('0.0603745487590364',), 1361298268: ('0.0603745487590364',), 1361298148: ('0.0603745487590364',), 1361297866: ('0.0603745487590364',), 23377701: ()} output_args : {23377701: [{'environnement': 23377707, 'metal': 23377708, 'Carton_gris': 23377709, 'papier': 23377710, 'Teint_Dans_La_Masse': 23377711, 'autre_refus': 23377712, 'kraft': 23377713, 'plastique': 23377714, 'Carton_brun': 23377715, 'cartonnette': 23377716, 'mal_croppe': 23377717, 'flou': 23377718}]} args : 23377701 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.0603745487590364',) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (23377701) 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 (1361298920,1361298862,1361298859,1361298857,1361298854,1361298850,1361298817,1361298815,1361298812,1361298809,1361298805,1361298798,1361298765,1361298761,1361298757,1361298753,1361298747,1361298712,1361298708,1361298700,1361298695,1361298622,1361298612,1361298593,1361298575,1361298528,1361298524,1361298516,1361298511,1361298508,1361298504,1361298475,1361298471,1361298467,1361298463,1361298460,1361298440,1361298436,1361298432,1361298427,1361298424,1361298416,1361298268,1361298148,1361297866) Found this number of photos: 45 ##### Call download_photos : nb_thread : 5 begin to download photo : 1361297866 begin to download photo : 1361298463 begin to download photo : 1361298575 begin to download photo : 1361298757 begin to download photo : 1361298854 download finish for photo 1361298854 begin to download photo : 1361298857 download finish for photo 1361297866 begin to download photo : 1361298148 download finish for photo 1361298575 begin to download photo : 1361298593 download finish for photo 1361298463 begin to download photo : 1361298467 download finish for photo 1361298857 begin to download photo : 1361298859 download finish for photo 1361298148 begin to download photo : 1361298268 download finish for photo 1361298593 begin to download photo : 1361298612 download finish for photo 1361298467 begin to download photo : 1361298471 download finish for photo 1361298612 begin to download photo : 1361298622 download finish for photo 1361298859 begin to download photo : 1361298862 download finish for photo 1361298471 begin to download photo : 1361298475 download finish for photo 1361298268 begin to download photo : 1361298416 download finish for photo 1361298622 begin to download photo : 1361298695 download finish for photo 1361298862 begin to download photo : 1361298920 download finish for photo 1361298475 begin to download photo : 1361298504 download finish for photo 1361298695 begin to download photo : 1361298700 download finish for photo 1361298416 begin to download photo : 1361298424 download finish for photo 1361298920 download finish for photo 1361298504 begin to download photo : 1361298508 download finish for photo 1361298700 begin to download photo : 1361298708 download finish for photo 1361298424 begin to download photo : 1361298427 download finish for photo 1361298508 begin to download photo : 1361298511 download finish for photo 1361298708 begin to download photo : 1361298712 download finish for photo 1361298427 begin to download photo : 1361298432 download finish for photo 1361298712 begin to download photo : 1361298747 download finish for photo 1361298511 begin to download photo : 1361298516 download finish for photo 1361298432 begin to download photo : 1361298436 download finish for photo 1361298516 begin to download photo : 1361298524 download finish for photo 1361298747 begin to download photo : 1361298753 download finish for photo 1361298436 begin to download photo : 1361298440 download finish for photo 1361298524 begin to download photo : 1361298528 download finish for photo 1361298753 download finish for photo 1361298757 begin to download photo : 1361298761 download finish for photo 1361298440 begin to download photo : 1361298460 download finish for photo 1361298528 download finish for photo 1361298761 begin to download photo : 1361298765 download finish for photo 1361298460 download finish for photo 1361298765 begin to download photo : 1361298798 download finish for photo 1361298798 begin to download photo : 1361298805 download finish for photo 1361298805 begin to download photo : 1361298809 download finish for photo 1361298809 begin to download photo : 1361298812 download finish for photo 1361298812 begin to download photo : 1361298815 download finish for photo 1361298815 begin to download photo : 1361298817 download finish for photo 1361298817 begin to download photo : 1361298850 download finish for photo 1361298850 we have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB ##### After download_photos imagette233777081748404263/ length of list_filenames : 45 ; length of list_pids : 45 ; length of list_args : 45 results_Auto_P23377701_28-05-2025_05_51_03.pdf 23377708 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=23377708 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette233777081748404263 23377712 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=23377712 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1361298802: '1748347704_3383792_1361298695_a3071c00edd01bdfd24a604adbfc0271_rle_crop_3814098486_0.png', 1361299021: '1748347946_3387257_1361298859_36c0bf2e675b079187693e888fa643c8_rle_crop_3814100633_0.png', 1361299022: '1748347946_3387257_1361298859_36c0bf2e675b079187693e888fa643c8_rle_crop_3814100632_0.png', 1361299023: '1748347946_3387257_1361298850_e702244fdab80b65dfcce37575ff39d8_rle_crop_3814100677_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/27/81e7b0d9a58f072fe45b32eb7badbd41_73085192.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/27/2f8186ebfbf3de50152637ad85cf4654_94396602.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/27/030119a09e7121a24807f736b223b372_10737239.png change filename to text .imagette233777121748404263/ imagette233777121748404263/1748347704_3383792_1361298695_a3071c00edd01bdfd24a604adbfc0271_rle_crop_3814098486_0.png.png imagette233777121748404263/1748347946_3387257_1361298859_36c0bf2e675b079187693e888fa643c8_rle_crop_3814100632_0.png.png imagette233777121748404263/1748347946_3387257_1361298850_e702244fdab80b65dfcce37575ff39d8_rle_crop_3814100677_0.png.png imagette233777121748404263/1748347946_3387257_1361298859_36c0bf2e675b079187693e888fa643c8_rle_crop_3814100633_0.png.png wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/27/7e34dbf787a90aff0de15762bbd92b5f_67803558.png imagette233777121748404263 23377713 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=23377713 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1361299036: '1748347946_3387257_1361298850_e702244fdab80b65dfcce37575ff39d8_rle_crop_3814100673_0.png'} change filename to text .imagette233777131748404263/ imagette233777131748404263/1748347946_3387257_1361298850_e702244fdab80b65dfcce37575ff39d8_rle_crop_3814100673_0.png.png wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/27/bc1d7d04d5e5ba3370f781382b070bd5_37119314.png imagette233777131748404263 23377714 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=23377714 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1361298520: '1748347467_3377125_1361298427_9706bdb31686a08ec087ba17e33f414b_rle_crop_3814097862_0.png', 1361298521: '1748347467_3377125_1361298424_e929428a4c6836e88d2f59a036975fcf_rle_crop_3814097897_0.png', 1361300657: '1748348787_3407577_1361298817_8ef251dbf2151a306b0f2323b06632de_rle_crop_3814105726_0.png', 1361300659: '1748348787_3407577_1361298753_5897ce23f7370505906bf22e4bb33cbb_rle_crop_3814105761_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/27/62d2eb65e1f949178a727827512f4aa3_53245038.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/27/73d3331aca4e5e19c4abae04470913fc_10176350.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/27/b0628d054d5a2e920754dfd21f0d7f52_78335095.png change filename to text .imagette233777141748404263/ imagette233777141748404263/1748348787_3407577_1361298753_5897ce23f7370505906bf22e4bb33cbb_rle_crop_3814105761_0.png.png imagette233777141748404263/1748347467_3377125_1361298427_9706bdb31686a08ec087ba17e33f414b_rle_crop_3814097862_0.png.png imagette233777141748404263/1748348787_3407577_1361298817_8ef251dbf2151a306b0f2323b06632de_rle_crop_3814105726_0.png.png imagette233777141748404263/1748347467_3377125_1361298424_e929428a4c6836e88d2f59a036975fcf_rle_crop_3814097897_0.png.png wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/27/e713153d84c757fb1d4647ac9df0f1f4_3602693.png imagette233777141748404263 23377716 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=23377716 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1361298803: '1748347704_3383792_1361298695_a3071c00edd01bdfd24a604adbfc0271_rle_crop_3814098492_0.png', 1361299026: '1748347946_3387257_1361298859_36c0bf2e675b079187693e888fa643c8_rle_crop_3814100631_0.png', 1361299028: '1748347946_3387257_1361298857_3067d6b9fd03e7f6e326f5ed9bc5215b_rle_crop_3814100649_0.png', 1361300648: '1748348787_3407577_1361298747_a484917df5ebf406c22b7169c8c6700f_rle_crop_3814105782_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/27/2992e2b590764a5dfeb61698715d6aa1_5770485.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/27/6bedb93e905dcab67b34a00900ea3c80_58371115.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/27/3fd158061af3bcb2095051ff3367c2f8_195455.png change filename to text .imagette233777161748404264/ imagette233777161748404264/1748347704_3383792_1361298695_a3071c00edd01bdfd24a604adbfc0271_rle_crop_3814098492_0.png.png imagette233777161748404264/1748347946_3387257_1361298859_36c0bf2e675b079187693e888fa643c8_rle_crop_3814100631_0.png.png imagette233777161748404264/1748347946_3387257_1361298857_3067d6b9fd03e7f6e326f5ed9bc5215b_rle_crop_3814100649_0.png.png imagette233777161748404264/1748348787_3407577_1361298747_a484917df5ebf406c22b7169c8c6700f_rle_crop_3814105782_0.png.png imagette233777171748404264/ imagette233777181748404264/ wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/27/806712c34f230af21d3ddf8edd76e33d_82061510.png imagette233777161748404264 23377717 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=23377717 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette233777171748404264 23377718 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=23377718 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette233777181748404264 23377709 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=23377709 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1361298515: '1748347467_3377125_1361298427_9706bdb31686a08ec087ba17e33f414b_rle_crop_3814097857_0.png', 1361299024: '1748347946_3387257_1361298859_36c0bf2e675b079187693e888fa643c8_rle_crop_3814100635_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/27/5412be52e1a064fbddff525263d5d1f0_43784269.png change filename to text .imagette233777091748404264/ imagette233777091748404264/1748347467_3377125_1361298427_9706bdb31686a08ec087ba17e33f414b_rle_crop_3814097857_0.png.png imagette233777091748404264/1748347946_3387257_1361298859_36c0bf2e675b079187693e888fa643c8_rle_crop_3814100635_0.png.png wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/27/0eedd391ea1f9ca2fe609ce06f3df83f_26033884.png imagette233777091748404264 23377711 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=23377711 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1361298513: '1748347467_3377125_1361298436_f9f0c647cf3b5f175ac9b044ec49b5a6_rle_crop_3814097841_0.png', 1361298514: '1748347467_3377125_1361298432_414f9859de969a50159829fe086aff23_rle_crop_3814097854_0.png', 1361298705: '1748347588_3381079_1361298467_dbe87aec3000e842ea277b0b8bebe2f4_rle_crop_3814098368_0.png', 1361298800: '1748347704_3383792_1361298700_53d604e5d96c123a74310a78033746e5_rle_crop_3814098478_0.png', 1361300640: '1748348787_3407577_1361298747_a484917df5ebf406c22b7169c8c6700f_rle_crop_3814105783_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/27/b2b79056c2e58975183213f0bbb3cb58_55830375.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/27/5b16d76bd9b83147a3477d5f558394c8_29758146.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/27/0fa7335831068b1f1b7ec508ced1275c_55312208.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/27/437a700a67b2a1fbb7316980dc5c473f_92253396.png change filename to text .imagette233777111748404264/ imagette233777111748404264/1748347467_3377125_1361298432_414f9859de969a50159829fe086aff23_rle_crop_3814097854_0.png.png imagette233777111748404264/1748347588_3381079_1361298467_dbe87aec3000e842ea277b0b8bebe2f4_rle_crop_3814098368_0.png.png imagette233777111748404264/1748347704_3383792_1361298700_53d604e5d96c123a74310a78033746e5_rle_crop_3814098478_0.png.png imagette233777111748404264/1748347467_3377125_1361298436_f9f0c647cf3b5f175ac9b044ec49b5a6_rle_crop_3814097841_0.png.png imagette233777111748404264/1748348787_3407577_1361298747_a484917df5ebf406c22b7169c8c6700f_rle_crop_3814105783_0.png.png wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/27/7446c6edfb1227c439de2184e6306a81_79531260.png imagette233777111748404264 23377715 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=23377715 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1361298517: '1748347467_3377125_1361298424_e929428a4c6836e88d2f59a036975fcf_rle_crop_3814097889_0.png', 1361298518: '1748347467_3377125_1361298424_e929428a4c6836e88d2f59a036975fcf_rle_crop_3814097895_0.png', 1361298707: '1748347588_3381079_1361298471_68104e40959970f31dd1f62decb7f239_rle_crop_3814098361_0.png', 1361298709: '1748347588_3381079_1361298467_dbe87aec3000e842ea277b0b8bebe2f4_rle_crop_3814098371_0.png', 1361298710: '1748347588_3381079_1361298463_998044b8a2e92140edf4181fa8d7b029_rle_crop_3814098382_0.png', 1361298806: '1748347704_3383792_1361298700_53d604e5d96c123a74310a78033746e5_rle_crop_3814098479_0.png', 1361299031: '1748347946_3387257_1361298920_87bd3c336ae8be69ee7c2b2a45713569_rle_crop_3814100622_0.png', 1361299032: '1748347946_3387257_1361298920_87bd3c336ae8be69ee7c2b2a45713569_rle_crop_3814100619_0.png', 1361299033: '1748347946_3387257_1361298854_fa59ebf6ee3cce44b085738c43ac4e22_rle_crop_3814100664_0.png', 1361299034: '1748347946_3387257_1361298850_e702244fdab80b65dfcce37575ff39d8_rle_crop_3814100676_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/27/726bfe196c66701a831e60b9e4c522e9_12747091.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/27/0d6397587bea4ae454ca93eec386e198_6514998.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/27/070ff5b49c36133e5111d93f274f9874_36984984.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/27/1a324cf6d7ad0748b6cb37427d11ed3b_13085980.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/27/abe39314a879647f20dab75987818032_51909185.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/27/a8e8a4dfefda12ca8956fe79a057606c_46100189.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/27/2219ba5a9a6004680e0327c4caebfdb0_92538050.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/27/340260b794f26b682e122eaaa96e4ba0_33784416.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/27/87f90fa8c4bc55e2bd05eefbf2ea71e4_76182837.png change filename to text .imagette233777151748404265/ imagette233777151748404265/1748347946_3387257_1361298850_e702244fdab80b65dfcce37575ff39d8_rle_crop_3814100676_0.png.png imagette233777151748404265/1748347588_3381079_1361298471_68104e40959970f31dd1f62decb7f239_rle_crop_3814098361_0.png.png imagette233777151748404265/1748347946_3387257_1361298854_fa59ebf6ee3cce44b085738c43ac4e22_rle_crop_3814100664_0.png.png imagette233777151748404265/1748347946_3387257_1361298920_87bd3c336ae8be69ee7c2b2a45713569_rle_crop_3814100619_0.png.png imagette233777151748404265/1748347467_3377125_1361298424_e929428a4c6836e88d2f59a036975fcf_rle_crop_3814097889_0.png.png imagette233777151748404265/1748347588_3381079_1361298467_dbe87aec3000e842ea277b0b8bebe2f4_rle_crop_3814098371_0.png.png imagette233777151748404265/1748347588_3381079_1361298463_998044b8a2e92140edf4181fa8d7b029_rle_crop_3814098382_0.png.png imagette233777151748404265/1748347704_3383792_1361298700_53d604e5d96c123a74310a78033746e5_rle_crop_3814098479_0.png.png imagette233777151748404265/1748347946_3387257_1361298920_87bd3c336ae8be69ee7c2b2a45713569_rle_crop_3814100622_0.png.png imagette233777151748404265/1748347467_3377125_1361298424_e929428a4c6836e88d2f59a036975fcf_rle_crop_3814097895_0.png.png wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/27/f5b3e016adbaf1c3a0085c856deeb596_53826714.png imagette233777151748404265 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=23377701 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://www.fotonower.com/velours/23377720,23377721,23377722,23377723,23377724,23377725,23377726,23377727,23377728,23377729,23377730,23377731?tags=environnement,metal,Carton_gris,papier,Teint_Dans_La_Masse,autre_refus,kraft,plastique,Carton_brun,cartonnette,mal_croppe,flou your option no_mail is active, we will not send the real mail to your client args[1361298920] : ('0.0603745487590364',) no score found for photo 1361298920 We are sending mail with results at report@fotonower.com args[1361298862] : ('0.0603745487590364',) no score found for photo 1361298862 We are sending mail with results at report@fotonower.com args[1361298859] : ('0.0603745487590364',) no score found for photo 1361298859 We are sending mail with results at report@fotonower.com args[1361298857] : ('0.0603745487590364',) no score found for photo 1361298857 We are sending mail with results at report@fotonower.com args[1361298854] : ('0.0603745487590364',) no score found for photo 1361298854 We are sending mail with results at report@fotonower.com args[1361298850] : ('0.0603745487590364',) no score found for photo 1361298850 We are sending mail with results at report@fotonower.com args[1361298817] : ('0.0603745487590364',) no score found for photo 1361298817 We are sending mail with results at report@fotonower.com args[1361298815] : ('0.0603745487590364',) no score found for photo 1361298815 We are sending mail with results at report@fotonower.com args[1361298812] : ('0.0603745487590364',) no score found for photo 1361298812 We are sending mail with results at report@fotonower.com args[1361298809] : ('0.0603745487590364',) no score found for photo 1361298809 We are sending mail with results at report@fotonower.com args[1361298805] : ('0.0603745487590364',) no score found for photo 1361298805 We are sending mail with results at report@fotonower.com args[1361298798] : ('0.0603745487590364',) no score found for photo 1361298798 We are sending mail with results at report@fotonower.com args[1361298765] : ('0.0603745487590364',) no score found for photo 1361298765 We are sending mail with results at report@fotonower.com args[1361298761] : ('0.0603745487590364',) no score found for photo 1361298761 We are sending mail with results at report@fotonower.com args[1361298757] : ('0.0603745487590364',) no score found for photo 1361298757 We are sending mail with results at report@fotonower.com args[1361298753] : ('0.0603745487590364',) no score found for photo 1361298753 We are sending mail with results at report@fotonower.com args[1361298747] : ('0.0603745487590364',) no score found for photo 1361298747 We are sending mail with results at report@fotonower.com args[1361298712] : ('0.0603745487590364',) no score found for photo 1361298712 We are sending mail with results at report@fotonower.com args[1361298708] : ('0.0603745487590364',) no score found for photo 1361298708 We are sending mail with results at report@fotonower.com args[1361298700] : ('0.0603745487590364',) no score found for photo 1361298700 We are sending mail with results at report@fotonower.com args[1361298695] : ('0.0603745487590364',) no score found for photo 1361298695 We are sending mail with results at report@fotonower.com args[1361298622] : ('0.0603745487590364',) no score found for photo 1361298622 We are sending mail with results at report@fotonower.com args[1361298612] : ('0.0603745487590364',) no score found for photo 1361298612 We are sending mail with results at report@fotonower.com args[1361298593] : ('0.0603745487590364',) no score found for photo 1361298593 We are sending mail with results at report@fotonower.com args[1361298575] : ('0.0603745487590364',) no score found for photo 1361298575 We are sending mail with results at report@fotonower.com args[1361298528] : ('0.0603745487590364',) no score found for photo 1361298528 We are sending mail with results at report@fotonower.com args[1361298524] : ('0.0603745487590364',) no score found for photo 1361298524 We are sending mail with results at report@fotonower.com args[1361298516] : ('0.0603745487590364',) no score found for photo 1361298516 We are sending mail with results at report@fotonower.com args[1361298511] : ('0.0603745487590364',) no score found for photo 1361298511 We are sending mail with results at report@fotonower.com args[1361298508] : ('0.0603745487590364',) no score found for photo 1361298508 We are sending mail with results at report@fotonower.com args[1361298504] : ('0.0603745487590364',) no score found for photo 1361298504 We are sending mail with results at report@fotonower.com args[1361298475] : ('0.0603745487590364',) no score found for photo 1361298475 We are sending mail with results at report@fotonower.com args[1361298471] : ('0.0603745487590364',) no score found for photo 1361298471 We are sending mail with results at report@fotonower.com args[1361298467] : ('0.0603745487590364',) no score found for photo 1361298467 We are sending mail with results at report@fotonower.com args[1361298463] : ('0.0603745487590364',) no score found for photo 1361298463 We are sending mail with results at report@fotonower.com args[1361298460] : ('0.0603745487590364',) no score found for photo 1361298460 We are sending mail with results at report@fotonower.com args[1361298440] : ('0.0603745487590364',) no score found for photo 1361298440 We are sending mail with results at report@fotonower.com args[1361298436] : ('0.0603745487590364',) no score found for photo 1361298436 We are sending mail with results at report@fotonower.com args[1361298432] : ('0.0603745487590364',) no score found for photo 1361298432 We are sending mail with results at report@fotonower.com args[1361298427] : ('0.0603745487590364',) no score found for photo 1361298427 We are sending mail with results at report@fotonower.com args[1361298424] : ('0.0603745487590364',) no score found for photo 1361298424 We are sending mail with results at report@fotonower.com args[1361298416] : ('0.0603745487590364',) no score found for photo 1361298416 We are sending mail with results at report@fotonower.com args[1361298268] : ('0.0603745487590364',) no score found for photo 1361298268 We are sending mail with results at report@fotonower.com args[1361298148] : ('0.0603745487590364',) no score found for photo 1361298148 We are sending mail with results at report@fotonower.com args[1361297866] : ('0.0603745487590364',) no score found for photo 1361297866 We are sending mail with results at report@fotonower.com refus_total : 0.0603745487590364 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=23377701 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_P23377701_28-05-2025_05_51_03.pdf results_Auto_P23377701_28-05-2025_05_51_03.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23377701_28-05-2025_05_51_03.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','23377701','results_Auto_P23377701_28-05-2025_05_51_03.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23377701_28-05-2025_05_51_03.pdf','pdf','','0.41','0.0603745487590364') After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([23377701]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1361298920, 1361298862, 1361298859, 1361298857, 1361298854, 1361298850, 1361298817, 1361298815, 1361298812, 1361298809, 1361298805, 1361298798, 1361298765, 1361298761, 1361298757, 1361298753, 1361298747, 1361298712, 1361298708, 1361298700, 1361298695, 1361298622, 1361298612, 1361298593, 1361298575, 1361298528, 1361298524, 1361298516, 1361298511, 1361298508, 1361298504, 1361298475, 1361298471, 1361298467, 1361298463, 1361298460, 1361298440, 1361298436, 1361298432, 1361298427, 1361298424, 1361298416, 1361298268, 1361298148, 1361297866] map_info['map_portfolio_photo'] : {23377701: [1361298920, 1361298862, 1361298859, 1361298857, 1361298854, 1361298850, 1361298817, 1361298815, 1361298812, 1361298809, 1361298805, 1361298798, 1361298765, 1361298761, 1361298757, 1361298753, 1361298747, 1361298712, 1361298708, 1361298700, 1361298695, 1361298622, 1361298612, 1361298593, 1361298575, 1361298528, 1361298524, 1361298516, 1361298511, 1361298508, 1361298504, 1361298475, 1361298471, 1361298467, 1361298463, 1361298460, 1361298440, 1361298436, 1361298432, 1361298427, 1361298424, 1361298416, 1361298268, 1361298148, 1361297866]} final : False mtd_id 4302 list_pids : [1361298920, 1361298862, 1361298859, 1361298857, 1361298854, 1361298850, 1361298817, 1361298815, 1361298812, 1361298809, 1361298805, 1361298798, 1361298765, 1361298761, 1361298757, 1361298753, 1361298747, 1361298712, 1361298708, 1361298700, 1361298695, 1361298622, 1361298612, 1361298593, 1361298575, 1361298528, 1361298524, 1361298516, 1361298511, 1361298508, 1361298504, 1361298475, 1361298471, 1361298467, 1361298463, 1361298460, 1361298440, 1361298436, 1361298432, 1361298427, 1361298424, 1361298416, 1361298268, 1361298148, 1361297866] 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, '2972565') ('4302', '23377701', '1361298920', None, None, None, None, None, '2972565') ('4302', None, None, None, None, None, None, None, '2972565') ('4302', '23377701', '1361298862', None, None, None, None, None, '2972565') ('4302', None, None, None, None, None, None, None, '2972565') ('4302', '23377701', '1361298859', None, None, None, None, None, '2972565') ('4302', None, None, None, None, None, None, None, '2972565') ('4302', '23377701', '1361298857', None, None, None, None, None, '2972565') ('4302', None, None, None, None, None, None, None, '2972565') ('4302', '23377701', '1361298854', None, None, None, None, None, '2972565') ('4302', None, None, None, None, None, None, None, '2972565') ('4302', '23377701', '1361298850', None, None, None, None, None, '2972565') ('4302', None, None, None, None, None, None, None, '2972565') ('4302', '23377701', '1361298817', None, None, None, None, None, '2972565') ('4302', None, None, None, None, None, None, None, '2972565') ('4302', '23377701', '1361298815', None, None, None, None, None, '2972565') ('4302', None, None, None, None, None, None, None, '2972565') ('4302', '23377701', '1361298812', None, None, None, None, None, '2972565') ('4302', None, None, None, None, None, None, None, '2972565') ('4302', '23377701', '1361298809', None, None, None, None, None, '2972565') ('4302', None, None, None, None, None, None, None, '2972565') ('4302', '23377701', '1361298805', None, None, None, None, None, '2972565') ('4302', None, None, None, None, None, None, None, '2972565') ('4302', '23377701', '1361298798', None, None, None, None, None, '2972565') ('4302', None, None, None, None, None, None, None, '2972565') ('4302', '23377701', '1361298765', None, None, None, None, None, '2972565') ('4302', None, None, None, None, None, None, None, '2972565') ('4302', '23377701', '1361298761', None, None, None, None, None, '2972565') ('4302', None, None, None, None, None, None, None, '2972565') ('4302', '23377701', '1361298757', None, None, None, None, None, '2972565') ('4302', None, None, None, None, None, None, None, '2972565') ('4302', '23377701', '1361298753', None, None, None, None, None, '2972565') ('4302', None, None, None, None, None, None, None, '2972565') ('4302', '23377701', '1361298747', None, None, None, None, None, '2972565') ('4302', None, None, None, None, None, None, None, '2972565') ('4302', '23377701', '1361298712', None, None, None, None, None, '2972565') ('4302', None, None, None, None, None, None, None, '2972565') ('4302', '23377701', '1361298708', None, None, None, None, None, '2972565') ('4302', None, None, None, None, None, None, None, '2972565') ('4302', '23377701', '1361298700', None, None, None, None, None, '2972565') ('4302', None, None, None, None, None, None, None, '2972565') ('4302', '23377701', '1361298695', None, None, None, None, None, '2972565') ('4302', None, None, None, None, None, None, None, '2972565') ('4302', '23377701', '1361298622', None, None, None, None, None, '2972565') ('4302', None, None, None, None, None, None, None, '2972565') ('4302', '23377701', '1361298612', None, None, None, None, None, '2972565') ('4302', None, None, None, None, None, None, None, '2972565') ('4302', '23377701', '1361298593', None, None, None, None, None, '2972565') ('4302', None, None, None, None, None, None, None, '2972565') ('4302', '23377701', '1361298575', None, None, None, None, None, '2972565') ('4302', None, None, None, None, None, None, None, '2972565') ('4302', '23377701', '1361298528', None, None, None, None, None, '2972565') ('4302', None, None, None, None, None, None, None, '2972565') ('4302', '23377701', '1361298524', None, None, None, None, None, '2972565') ('4302', None, None, None, None, None, None, None, '2972565') ('4302', '23377701', '1361298516', None, None, None, None, None, '2972565') ('4302', None, None, None, None, None, None, None, '2972565') ('4302', '23377701', '1361298511', None, None, None, None, None, '2972565') ('4302', None, None, None, None, None, None, None, '2972565') ('4302', '23377701', '1361298508', None, None, None, None, None, '2972565') ('4302', None, None, None, None, None, None, None, '2972565') ('4302', '23377701', '1361298504', None, None, None, None, None, '2972565') ('4302', None, None, None, None, None, None, None, '2972565') ('4302', '23377701', '1361298475', None, None, None, None, None, '2972565') ('4302', None, None, None, None, None, None, None, '2972565') ('4302', '23377701', '1361298471', None, None, None, None, None, '2972565') ('4302', None, None, None, None, None, None, None, '2972565') ('4302', '23377701', '1361298467', None, None, None, None, None, '2972565') ('4302', None, None, None, None, None, None, None, '2972565') ('4302', '23377701', '1361298463', None, None, None, None, None, '2972565') ('4302', None, None, None, None, None, None, None, '2972565') ('4302', '23377701', '1361298460', None, None, None, None, None, '2972565') ('4302', None, None, None, None, None, None, None, '2972565') ('4302', '23377701', '1361298440', None, None, None, None, None, '2972565') ('4302', None, None, None, None, None, None, None, '2972565') ('4302', '23377701', '1361298436', None, None, None, None, None, '2972565') ('4302', None, None, None, None, None, None, None, '2972565') ('4302', '23377701', '1361298432', None, None, None, None, None, '2972565') ('4302', None, None, None, None, None, None, None, '2972565') ('4302', '23377701', '1361298427', None, None, None, None, None, '2972565') ('4302', None, None, None, None, None, None, None, '2972565') ('4302', '23377701', '1361298424', None, None, None, None, None, '2972565') ('4302', None, None, None, None, None, None, None, '2972565') ('4302', '23377701', '1361298416', None, None, None, None, None, '2972565') ('4302', None, None, None, None, None, None, None, '2972565') ('4302', '23377701', '1361298268', None, None, None, None, None, '2972565') ('4302', None, None, None, None, None, None, None, '2972565') ('4302', '23377701', '1361298148', None, None, None, None, None, '2972565') ('4302', None, None, None, None, None, None, None, '2972565') ('4302', '23377701', '1361297866', None, None, None, None, None, '2972565') 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', '23377701', '1361298920', None, None, None, None, None, '2972565'), ('4302', '23377701', '1361298862', None, None, None, None, None, '2972565'), ('4302', '23377701', '1361298859', None, None, None, None, None, '2972565'), ('4302', '23377701', '1361298857', None, None, None, None, None, '2972565'), ('4302', '23377701', '1361298854', None, None, None, None, None, '2972565'), ('4302', '23377701', '1361298850', None, None, None, None, None, '2972565'), ('4302', '23377701', '1361298817', None, None, None, None, None, '2972565'), ('4302', '23377701', '1361298815', None, None, None, None, None, '2972565'), ('4302', '23377701', '1361298812', None, None, None, None, None, '2972565'), ('4302', '23377701', '1361298809', None, None, None, None, None, '2972565'), ('4302', '23377701', '1361298805', None, None, None, None, None, '2972565'), ('4302', '23377701', '1361298798', None, None, None, None, None, '2972565'), ('4302', '23377701', '1361298765', None, None, None, None, None, '2972565'), ('4302', '23377701', '1361298761', None, None, None, None, None, '2972565'), ('4302', '23377701', '1361298757', None, None, None, None, None, '2972565'), ('4302', '23377701', '1361298753', None, None, None, None, None, '2972565'), ('4302', '23377701', '1361298747', None, None, None, None, None, '2972565'), ('4302', '23377701', '1361298712', None, None, None, None, None, '2972565'), ('4302', '23377701', '1361298708', None, None, None, None, None, '2972565'), ('4302', '23377701', '1361298700', None, None, None, None, None, '2972565'), ('4302', '23377701', '1361298695', None, None, None, None, None, '2972565'), ('4302', '23377701', '1361298622', None, None, None, None, None, '2972565'), ('4302', '23377701', '1361298612', None, None, None, None, None, '2972565'), ('4302', '23377701', '1361298593', None, None, None, None, None, '2972565'), ('4302', '23377701', '1361298575', None, None, None, None, None, '2972565'), ('4302', '23377701', '1361298528', None, None, None, None, None, '2972565'), ('4302', '23377701', '1361298524', None, None, None, None, None, '2972565'), ('4302', '23377701', '1361298516', None, None, None, None, None, '2972565'), ('4302', '23377701', '1361298511', None, None, None, None, None, '2972565'), ('4302', '23377701', '1361298508', None, None, None, None, None, '2972565'), ('4302', '23377701', '1361298504', None, None, None, None, None, '2972565'), ('4302', '23377701', '1361298475', None, None, None, None, None, '2972565'), ('4302', '23377701', '1361298471', None, None, None, None, None, '2972565'), ('4302', '23377701', '1361298467', None, None, None, None, None, '2972565'), ('4302', '23377701', '1361298463', None, None, None, None, None, '2972565'), ('4302', '23377701', '1361298460', None, None, None, None, None, '2972565'), ('4302', '23377701', '1361298440', None, None, None, None, None, '2972565'), ('4302', '23377701', '1361298436', None, None, None, None, None, '2972565'), ('4302', '23377701', '1361298432', None, None, None, None, None, '2972565'), ('4302', '23377701', '1361298427', None, None, None, None, None, '2972565'), ('4302', '23377701', '1361298424', None, None, None, None, None, '2972565'), ('4302', '23377701', '1361298416', None, None, None, None, None, '2972565'), ('4302', '23377701', '1361298268', None, None, None, None, None, '2972565'), ('4302', '23377701', '1361298148', None, None, None, None, None, '2972565'), ('4302', '23377701', '1361297866', None, None, None, None, None, '2972565')] time used for this insertion : 0.13820195198059082 save_final save missing photos in datou_result : time spend for datou_step_exec : 17.080406665802002 time spend to save output : 0.13885211944580078 total time spend for step 4 : 17.219258785247803 step5:split_time_score Wed May 28 05:51:17 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 : ['23377701'] 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 : [('23377701',)] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (23377701) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {1361298854: {'path': 'temp/1748404260_3864111_1361298854_fa59ebf6ee3cce44b085738c43ac4e22.jpg', 'extension': 'jpg'}, 1361298857: {'path': 'temp/1748404260_3864111_1361298857_3067d6b9fd03e7f6e326f5ed9bc5215b.jpg', 'extension': 'jpg'}, 1361298859: {'path': 'temp/1748404260_3864111_1361298859_36c0bf2e675b079187693e888fa643c8.jpg', 'extension': 'jpg'}, 1361298862: {'path': 'temp/1748404260_3864111_1361298862_2e44922c14b7db7b43670dba42c04588.jpg', 'extension': 'jpg'}, 1361298920: {'path': 'temp/1748404260_3864111_1361298920_87bd3c336ae8be69ee7c2b2a45713569.jpg', 'extension': 'jpg'}, 1361298575: {'path': 'temp/1748404260_3864111_1361298575_3c01b1c11ecf8f93541f778cffb231d5.jpg', 'extension': 'jpg'}, 1361298593: {'path': 'temp/1748404260_3864111_1361298593_c86c55183ac8a43b37ef54f7b8c564b4.jpg', 'extension': 'jpg'}, 1361298612: {'path': 'temp/1748404260_3864111_1361298612_01ea22639ead193df19dd3ff75c6c6cf.jpg', 'extension': 'jpg'}, 1361298622: {'path': 'temp/1748404260_3864111_1361298622_d8163147fa78fe373de0b9979288324b.jpg', 'extension': 'jpg'}, 1361298695: {'path': 'temp/1748404260_3864111_1361298695_a3071c00edd01bdfd24a604adbfc0271.jpg', 'extension': 'jpg'}, 1361298700: {'path': 'temp/1748404260_3864111_1361298700_53d604e5d96c123a74310a78033746e5.jpg', 'extension': 'jpg'}, 1361298708: {'path': 'temp/1748404260_3864111_1361298708_dd5180cd54ace3617d3d086d7b50431a.jpg', 'extension': 'jpg'}, 1361298712: {'path': 'temp/1748404260_3864111_1361298712_4321105f7affb222d1e64ae3056e4981.jpg', 'extension': 'jpg'}, 1361298747: {'path': 'temp/1748404260_3864111_1361298747_a484917df5ebf406c22b7169c8c6700f.jpg', 'extension': 'jpg'}, 1361298753: {'path': 'temp/1748404260_3864111_1361298753_5897ce23f7370505906bf22e4bb33cbb.jpg', 'extension': 'jpg'}, 1361298463: {'path': 'temp/1748404260_3864111_1361298463_998044b8a2e92140edf4181fa8d7b029.jpg', 'extension': 'jpg'}, 1361298467: {'path': 'temp/1748404260_3864111_1361298467_dbe87aec3000e842ea277b0b8bebe2f4.jpg', 'extension': 'jpg'}, 1361298471: {'path': 'temp/1748404260_3864111_1361298471_68104e40959970f31dd1f62decb7f239.jpg', 'extension': 'jpg'}, 1361298475: {'path': 'temp/1748404260_3864111_1361298475_0fbf6fa6e134ed41a681e8a940120ba2.jpg', 'extension': 'jpg'}, 1361298504: {'path': 'temp/1748404260_3864111_1361298504_0f7a35b428bb0141184aa6dc48a0ba2f.jpg', 'extension': 'jpg'}, 1361298508: {'path': 'temp/1748404260_3864111_1361298508_29113accb27696bdf4d452f2006d186d.jpg', 'extension': 'jpg'}, 1361298511: {'path': 'temp/1748404260_3864111_1361298511_0da9c1c486f8fde80dce48bfa454a86c.jpg', 'extension': 'jpg'}, 1361298516: {'path': 'temp/1748404260_3864111_1361298516_f01da1ca9113caf52171d58b4be55de0.jpg', 'extension': 'jpg'}, 1361298524: {'path': 'temp/1748404260_3864111_1361298524_540cc71ba09f5941089f0976ca0eeaa0.jpg', 'extension': 'jpg'}, 1361298528: {'path': 'temp/1748404260_3864111_1361298528_f8bc4e000c6441d4ac6f8653b6e8a2c3.jpg', 'extension': 'jpg'}, 1361297866: {'path': 'temp/1748404260_3864111_1361297866_68d4c2b0d8ca33fb0b25c93761945e7a.jpg', 'extension': 'jpg'}, 1361298148: {'path': 'temp/1748404260_3864111_1361298148_cc382c511eb230f11eeb4daef01d59de.jpg', 'extension': 'jpg'}, 1361298268: {'path': 'temp/1748404260_3864111_1361298268_9e89a5b3ba4c37c0db7e69600a34ecc2.jpg', 'extension': 'jpg'}, 1361298416: {'path': 'temp/1748404260_3864111_1361298416_a71e845b3ad830f56bf5b62c0a11b404.jpg', 'extension': 'jpg'}, 1361298424: {'path': 'temp/1748404260_3864111_1361298424_e929428a4c6836e88d2f59a036975fcf.jpg', 'extension': 'jpg'}, 1361298427: {'path': 'temp/1748404260_3864111_1361298427_9706bdb31686a08ec087ba17e33f414b.jpg', 'extension': 'jpg'}, 1361298432: {'path': 'temp/1748404260_3864111_1361298432_414f9859de969a50159829fe086aff23.jpg', 'extension': 'jpg'}, 1361298436: {'path': 'temp/1748404260_3864111_1361298436_f9f0c647cf3b5f175ac9b044ec49b5a6.jpg', 'extension': 'jpg'}, 1361298440: {'path': 'temp/1748404260_3864111_1361298440_82c0a26b95ecf5022d05e10ca30c59f7.jpg', 'extension': 'jpg'}, 1361298460: {'path': 'temp/1748404260_3864111_1361298460_d24f359219defdcd2b701eb4a46939ea.jpg', 'extension': 'jpg'}, 1361298757: {'path': 'temp/1748404260_3864111_1361298757_d9f9337282e40d209bdef50d9012d2e3.jpg', 'extension': 'jpg'}, 1361298761: {'path': 'temp/1748404260_3864111_1361298761_e4069e51913a9f4f5c2882a121103b09.jpg', 'extension': 'jpg'}, 1361298765: {'path': 'temp/1748404260_3864111_1361298765_15f56acbab28e6868394a8a2dd118427.jpg', 'extension': 'jpg'}, 1361298798: {'path': 'temp/1748404260_3864111_1361298798_522d49a29157525e4590c999db0ff1a7.jpg', 'extension': 'jpg'}, 1361298805: {'path': 'temp/1748404260_3864111_1361298805_c2febdbb2c024bc6fca1d9f73001fb24.jpg', 'extension': 'jpg'}, 1361298809: {'path': 'temp/1748404260_3864111_1361298809_13da0b32a3b8272500387d335bdf7d90.jpg', 'extension': 'jpg'}, 1361298812: {'path': 'temp/1748404260_3864111_1361298812_6f77f080abe2e4cb510aa6ddd56879b4.jpg', 'extension': 'jpg'}, 1361298815: {'path': 'temp/1748404260_3864111_1361298815_7edd63369c6080bea12191db5abe1af3.jpg', 'extension': 'jpg'}, 1361298817: {'path': 'temp/1748404260_3864111_1361298817_8ef251dbf2151a306b0f2323b06632de.jpg', 'extension': 'jpg'}, 1361298850: {'path': 'temp/1748404260_3864111_1361298850_e702244fdab80b65dfcce37575ff39d8.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 = 23377701; (('arc_en_ciel_jrm',), ('arc_en_ciel_jrm_bis',)) TODO : Insert select and so on Begin split_port_in_batch_balle thcls : [{'id': 861, 'mtr_user_id': 31, 'name': 'Rungis_class_dechets_1212', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'Rungis_Aluminium,Rungis_Carton,Rungis_Papier,Rungis_Plastique_clair,Rungis_Plastique_dur,Rungis_Plastique_fonce,Rungis_Tapis_vide,Rungis_Tetrapak', 'svm_portfolios_learning': '1160730,571842,571844,571839,571933,571840,571841,572307', 'photo_hashtag_type': 999, 'photo_desc_type': 3963, 'type_classification': 'caffe', 'hashtag_id_list': '2107751280,2107750907,2107750908,2107750909,2107750910,2107750911,2107750912,2107750913'}] thcls : [{'id': 758, 'mtr_user_id': 31, 'name': 'Rungis_amount_dechets_fall_2018_v2', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': '05102018_Papier_non_papier_dense,05102018_Papier_non_papier_peu_dense,05102018_Papier_non_papier_presque_vide,05102018_Papier_non_papier_tres_dense,05102018_Papier_non_papier_tres_peu_dense', 'svm_portfolios_learning': '1108385,1108386,1108388,1108384,1108387', 'photo_hashtag_type': 856, 'photo_desc_type': 3853, 'type_classification': 'caffe', 'hashtag_id_list': '2107751013,2107751014,2107751015,2107751016,2107751017'}] select SUBSTRING(ph.text,16,2) as h, count(*) from MTRUser.mtr_portfolio_photos mpp inner join MTRBack.photos ph on mpp.mtr_photo_id = ph.photo_id where mpp.mtr_portfolio_id = 23377701 group by h (('13', 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=23377701 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 (23377701) 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 (23377701) AND cps.thcl in (758) order by cps.score desc LIMIT 0, 100000 ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 27052025 23377701 Nombre de photos uploadées : 45 / 23040 (0%) 27052025 23377701 Nombre de photos taguées (types de déchets): 0 / 45 (0%) 27052025 23377701 Nombre de photos taguées (volume) : 0 / 45 (0%) [{'photo_id': 1361297866, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/27/68d4c2b0d8ca33fb0b25c93761945e7a.jpg', 'username': None, 'uploaded_at': 1748347003, 'text': 'image_27052025_13_31_54_10136.jpg'}, {'photo_id': 1361298148, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/27/cc382c511eb230f11eeb4daef01d59de.jpg', 'username': None, 'uploaded_at': 1748347183, 'text': 'image_27052025_13_34_05_10138.jpg'}, {'photo_id': 1361298268, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/27/9e89a5b3ba4c37c0db7e69600a34ecc2.jpg', 'username': None, 'uploaded_at': 1748347303, 'text': 'image_27052025_13_34_24_10135.jpg'}, {'photo_id': 1361298440, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/27/82c0a26b95ecf5022d05e10ca30c59f7.jpg', 'username': None, 'uploaded_at': 1748347363, 'text': 'image_27052025_13_36_54_10137.jpg'}] 0 [] elapsed_time : load_data_split_time_score 2.384185791015625e-06 elapsed_time : order_list_meta_photo_and_scores 6.9141387939453125e-06 ????????????????????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.0014264583587646484 INSERT INTO `MTRPhoto`.`dashboard_entry_day` (`dashboard_place_id`, `mtr_portfolio_id`, `date`) VALUES ( 10, 23377701, '2025-05-27' ) ON DUPLICATE KEY UPDATE updated_at=NOW(); INSERT INTO `MTRPhoto`.`dashboard_run_ids` (`dashboard_entry_day`, `mtr_user_id`, `misc_info`) VALUES (1837719,979,"{}"); elapsed_time : insert_dashboard_record_day_entry 0.03736114501953125 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= 1837719 AND ded.last_run_id=dri.id AND dri.dashboard_entry_day=ded.id AND dri.id=dr.dashboard_run_id [{'dashboat_entry_day': 1837719, 'dashboard_run_id': 1849438, 'mtr_portfolio_id': 23360575, 'dashboard_result_id': 10975721, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23360575_28-05-2025_05_34_29.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23360577, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23360578, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23360579, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23360580, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23360581, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23360582, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23360583, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23360584, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23360585, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23360586, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23360587, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23360588, 'pht': 3726}}"}, {'dashboat_entry_day': 1837719, 'dashboard_run_id': 1849438, 'mtr_portfolio_id': 23363233, 'dashboard_result_id': 10975722, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23363233_28-05-2025_05_35_32.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23363234, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23363235, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23363236, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23363237, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23363238, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23363239, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23363240, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23363241, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23363242, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23363243, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23363244, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23363245, 'pht': 3726}}"}, {'dashboat_entry_day': 1837719, 'dashboard_run_id': 1849438, 'mtr_portfolio_id': 23364430, 'dashboard_result_id': 10975723, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23364430_28-05-2025_05_36_02.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23364455, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23364456, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23364457, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23364458, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23364459, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23364460, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23364461, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23364462, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23364463, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23364464, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23364465, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23364466, 'pht': 3726}}"}, {'dashboat_entry_day': 1837719, 'dashboard_run_id': 1849438, 'mtr_portfolio_id': 23364644, 'dashboard_result_id': 10975724, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23364644_28-05-2025_05_36_31.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 23364646, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23364647, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23364648, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23364649, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23364650, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23364651, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23364652, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23364653, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23364654, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23364655, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23364656, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23364657, 'pht': 3726}}"}, {'dashboat_entry_day': 1837719, 'dashboard_run_id': 1849438, 'mtr_portfolio_id': 23364943, 'dashboard_result_id': 10975725, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23364943_28-05-2025_05_37_31.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23364944, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23364945, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23364946, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23364947, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23364948, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23364949, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23364950, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23364951, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23364952, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23364953, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23364954, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23364955, 'pht': 3726}}"}, {'dashboat_entry_day': 1837719, 'dashboard_run_id': 1849438, 'mtr_portfolio_id': 23365280, 'dashboard_result_id': 10975726, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23365280_28-05-2025_05_38_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23365317, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23365318, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23365319, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23365320, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23365321, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23365322, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23365323, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23365324, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23365325, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23365326, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23365327, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23365328, 'pht': 3726}}"}, {'dashboat_entry_day': 1837719, 'dashboard_run_id': 1849438, 'mtr_portfolio_id': 23365499, 'dashboard_result_id': 10975727, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23365499_28-05-2025_05_38_32.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23365504, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23365505, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23365506, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23365507, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23365508, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23365509, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23365510, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23365511, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23365512, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23365513, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23365514, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23365515, 'pht': 3726}}"}, {'dashboat_entry_day': 1837719, 'dashboard_run_id': 1849438, 'mtr_portfolio_id': 23365879, 'dashboard_result_id': 10975728, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23365879_28-05-2025_05_39_32.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23365886, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23365887, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23365888, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23365889, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23365890, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23365891, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23365892, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23365893, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23365894, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23365895, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23365896, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23365897, 'pht': 3726}}"}, {'dashboat_entry_day': 1837719, 'dashboard_run_id': 1849438, 'mtr_portfolio_id': 23366127, 'dashboard_result_id': 10975729, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23366127_28-05-2025_05_40_01.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23366136, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23366137, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23366138, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23366139, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23366140, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23366141, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23366142, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23366143, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23366144, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23366145, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23366146, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23366147, 'pht': 3726}}"}, {'dashboat_entry_day': 1837719, 'dashboard_run_id': 1849438, 'mtr_portfolio_id': 23366405, 'dashboard_result_id': 10975730, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23366405_28-05-2025_05_40_30.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23366418, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23366419, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23366420, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23366421, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23366422, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23366423, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23366424, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23366425, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23366426, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23366427, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23366429, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23366430, 'pht': 3726}}"}, {'dashboat_entry_day': 1837719, 'dashboard_run_id': 1849438, 'mtr_portfolio_id': 23366747, 'dashboard_result_id': 10975731, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23366747_28-05-2025_05_41_34.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23366767, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23366768, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23366769, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23366770, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23366771, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23366772, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23366773, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23366774, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23366775, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23366776, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23366777, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23366778, 'pht': 3726}}"}, {'dashboat_entry_day': 1837719, 'dashboard_run_id': 1849438, 'mtr_portfolio_id': 23367127, 'dashboard_result_id': 10975732, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23367127_28-05-2025_05_43_03.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 23367190, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23367191, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23367192, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23367193, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23367194, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23367195, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23367196, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23367197, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23367198, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23367199, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23367200, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23367201, 'pht': 3726}}"}, {'dashboat_entry_day': 1837719, 'dashboard_run_id': 1849438, 'mtr_portfolio_id': 23367737, 'dashboard_result_id': 10975733, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23367737_28-05-2025_05_43_33.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 23367754, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23367755, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23367756, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23367757, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23367758, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23367759, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23367760, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23367761, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23367762, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23367763, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23367764, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23367765, 'pht': 3726}}"}, {'dashboat_entry_day': 1837719, 'dashboard_run_id': 1849438, 'mtr_portfolio_id': 23368144, 'dashboard_result_id': 10975734, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23368144_28-05-2025_05_44_01.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23368168, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23368169, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23368170, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23368171, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23368172, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23368173, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23368174, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23368175, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23368176, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23368177, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23368178, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23368179, 'pht': 3726}}"}, {'dashboat_entry_day': 1837719, 'dashboard_run_id': 1849438, 'mtr_portfolio_id': 23368596, 'dashboard_result_id': 10975735, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23368596_28-05-2025_05_44_30.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23368640, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23368642, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23368643, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23368644, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23368646, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23368647, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23368648, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23368650, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23368651, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23368653, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23368655, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23368656, 'pht': 3726}}"}, {'dashboat_entry_day': 1837719, 'dashboard_run_id': 1849438, 'mtr_portfolio_id': 23369119, 'dashboard_result_id': 10975736, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23369119_28-05-2025_05_45_35.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23369129, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23369130, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23369131, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23369132, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23369133, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23369134, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23369135, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23369136, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23369137, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23369138, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23369139, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23369140, 'pht': 3726}}"}, {'dashboat_entry_day': 1837719, 'dashboard_run_id': 1849438, 'mtr_portfolio_id': 23369690, 'dashboard_result_id': 10975737, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23369690_28-05-2025_05_46_02.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 23369709, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23369710, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23369711, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23369712, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23369713, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23369714, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23369715, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23369716, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23369717, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23369718, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23369719, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23369720, 'pht': 3726}}"}, {'dashboat_entry_day': 1837719, 'dashboard_run_id': 1849438, 'mtr_portfolio_id': 23370429, 'dashboard_result_id': 10975738, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23370429_28-05-2025_05_46_59.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 23370446, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23370447, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23370448, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23370449, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23370450, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23370451, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23370452, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23370453, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23370454, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23370455, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23370456, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23370457, 'pht': 3726}}"}, {'dashboat_entry_day': 1837719, 'dashboard_run_id': 1849438, 'mtr_portfolio_id': 23373043, 'dashboard_result_id': 10975739, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23373043_28-05-2025_05_47_31.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 23373045, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23373046, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23373047, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23373048, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23373049, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23373050, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23373051, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23373052, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23373053, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23373054, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23373055, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23373056, 'pht': 3726}}"}, {'dashboat_entry_day': 1837719, 'dashboard_run_id': 1849438, 'mtr_portfolio_id': 23373337, 'dashboard_result_id': 10975740, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23373337_28-05-2025_05_48_01.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23373398, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23373399, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23373400, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23373401, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23373402, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23373403, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23373404, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23373405, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23373406, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23373407, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23373408, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23373409, 'pht': 3726}}"}, {'dashboat_entry_day': 1837719, 'dashboard_run_id': 1849438, 'mtr_portfolio_id': 23373916, 'dashboard_result_id': 10975741, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23373916_28-05-2025_05_49_01.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 23373917, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23373918, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23373919, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23373920, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23373921, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23373922, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23373923, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23373924, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23373925, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23373926, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23373927, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23373928, 'pht': 3726}}"}, {'dashboat_entry_day': 1837719, 'dashboard_run_id': 1849438, 'mtr_portfolio_id': 23374097, 'dashboard_result_id': 10975742, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23374097_28-05-2025_05_49_31.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 23374110, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23374111, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23374112, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23374113, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23374114, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23374115, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23374116, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23374117, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23374118, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23374119, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23374120, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23374121, 'pht': 3726}}"}, {'dashboat_entry_day': 1837719, 'dashboard_run_id': 1849438, 'mtr_portfolio_id': 23374431, 'dashboard_result_id': 10975743, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23374431_28-05-2025_05_49_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23374444, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23374445, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23374446, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23374447, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23374448, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23374449, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23374450, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23374451, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23374452, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23374453, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23374454, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23374455, 'pht': 3726}}"}, {'dashboat_entry_day': 1837719, 'dashboard_run_id': 1849438, 'mtr_portfolio_id': 23377701, 'dashboard_result_id': 10975744, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23377701_27-05-2025_14_12_58.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23377707, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23377708, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23377709, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23377710, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23377711, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23377712, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23377713, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23377714, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23377715, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23377716, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23377717, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23377718, 'pht': 3726}}"}, {'dashboat_entry_day': 1837719, 'dashboard_run_id': 1849438, 'mtr_portfolio_id': 23377961, 'dashboard_result_id': 10975746, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23377961_27-05-2025_14_27_01.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23378010, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23378011, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23378012, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23378013, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23378014, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23378015, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23378016, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23378017, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23378018, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23378019, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23378020, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23378021, 'pht': 3726}}"}, {'dashboat_entry_day': 1837719, 'dashboard_run_id': 1849438, 'mtr_portfolio_id': 23378375, 'dashboard_result_id': 10975747, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23378375_27-05-2025_14_42_59.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 23378408, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23378409, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23378410, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23378411, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23378412, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23378413, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23378414, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23378415, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23378416, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23378417, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23378418, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23378419, 'pht': 3726}}"}, {'dashboat_entry_day': 1837719, 'dashboard_run_id': 1849438, 'mtr_portfolio_id': 23378837, 'dashboard_result_id': 10975748, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23378837_27-05-2025_14_59_57.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 23378906, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23378907, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23378908, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23378909, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23378910, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23378911, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23378912, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23378913, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23378914, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23378915, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23378916, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23378917, 'pht': 3726}}"}, {'dashboat_entry_day': 1837719, 'dashboard_run_id': 1849438, 'mtr_portfolio_id': 23379365, 'dashboard_result_id': 10975750, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23379365_27-05-2025_15_12_59.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23379368, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23379369, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23379370, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23379371, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23379372, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23379373, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23379374, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23379375, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23379376, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23379377, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23379378, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23379379, 'pht': 3726}}"}, {'dashboat_entry_day': 1837719, 'dashboard_run_id': 1849438, 'mtr_portfolio_id': 23379884, 'dashboard_result_id': 10975751, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23379884_27-05-2025_15_27_00.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23379891, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23379892, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23379893, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23379894, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23379895, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23379896, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23379897, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23379898, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23379899, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23379900, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23379901, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23379902, 'pht': 3726}}"}, {'dashboat_entry_day': 1837719, 'dashboard_run_id': 1849438, 'mtr_portfolio_id': 23380291, 'dashboard_result_id': 10975753, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23380291_27-05-2025_15_42_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23380324, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23380325, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23380326, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23380327, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23380328, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23380329, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23380330, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23380331, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23380332, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23380333, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23380334, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23380335, 'pht': 3726}}"}, {'dashboat_entry_day': 1837719, 'dashboard_run_id': 1849438, 'mtr_portfolio_id': 23382337, 'dashboard_result_id': 10975754, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23382337_27-05-2025_16_26_58.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23382338, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23382339, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23382340, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23382341, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23382342, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23382343, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23382344, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23382345, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23382346, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23382347, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23382348, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23382349, 'pht': 3726}}"}, {'dashboat_entry_day': 1837719, 'dashboard_run_id': 1849438, 'mtr_portfolio_id': 23382501, 'dashboard_result_id': 10975755, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23382501_27-05-2025_16_42_58.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23382508, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23382509, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23382510, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23382511, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23382512, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23382513, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23382514, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23382515, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23382516, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23382517, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23382518, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23382519, 'pht': 3726}}"}, {'dashboat_entry_day': 1837719, 'dashboard_run_id': 1849438, 'mtr_portfolio_id': 23383101, 'dashboard_result_id': 10975757, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23383101_27-05-2025_16_56_57.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 23383126, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23383127, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23383128, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23383129, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23383130, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23383131, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23383132, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23383133, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23383134, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23383135, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23383136, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23383137, 'pht': 3726}}"}, {'dashboat_entry_day': 1837719, 'dashboard_run_id': 1849438, 'mtr_portfolio_id': 23383478, 'dashboard_result_id': 10975758, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23383478_27-05-2025_17_13_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23383523, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23383524, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23383525, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23383526, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23383527, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23383528, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23383529, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23383530, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23383531, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23383532, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23383533, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23383534, 'pht': 3726}}"}, {'dashboat_entry_day': 1837719, 'dashboard_run_id': 1849438, 'mtr_portfolio_id': 23384275, 'dashboard_result_id': 10975760, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23384275_27-05-2025_17_27_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23384301, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23384302, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23384303, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23384304, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23384305, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23384306, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23384307, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23384308, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23384309, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23384310, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23384311, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23384312, 'pht': 3726}}"}, {'dashboat_entry_day': 1837719, 'dashboard_run_id': 1849438, 'mtr_portfolio_id': 23384551, 'dashboard_result_id': 10975761, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23384551_27-05-2025_18_25_00.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23384556, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23384557, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23384558, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23384559, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23384560, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23384561, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23384562, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23384563, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23384564, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23384565, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23384566, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23384567, 'pht': 3726}}"}, {'dashboat_entry_day': 1837719, 'dashboard_run_id': 1849438, 'mtr_portfolio_id': 23385746, 'dashboard_result_id': 10975762, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23385746_27-05-2025_18_12_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23385753, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23385754, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23385755, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23385756, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23385757, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23385758, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23385759, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23385760, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23385761, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23385762, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23385763, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23385764, 'pht': 3726}}"}, {'dashboat_entry_day': 1837719, 'dashboard_run_id': 1849438, 'mtr_portfolio_id': 23386042, 'dashboard_result_id': 10975764, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23386042_27-05-2025_18_27_01.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23386049, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23386050, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23386051, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23386052, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23386053, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23386054, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23386055, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23386056, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23386057, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23386058, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23386059, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23386060, 'pht': 3726}}"}, {'dashboat_entry_day': 1837719, 'dashboard_run_id': 1849438, 'mtr_portfolio_id': 23386406, 'dashboard_result_id': 10975765, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23386406_27-05-2025_18_42_58.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23386456, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23386457, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23386458, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23386459, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23386460, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23386461, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23386462, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23386463, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23386464, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23386465, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23386466, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23386467, 'pht': 3726}}"}, {'dashboat_entry_day': 1837719, 'dashboard_run_id': 1849438, 'mtr_portfolio_id': 23386874, 'dashboard_result_id': 10975767, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23386874_27-05-2025_18_56_58.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23386909, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23386910, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23386911, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23386912, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23386913, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23386914, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23386915, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23386916, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23386917, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23386918, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23386919, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23386920, 'pht': 3726}}"}, {'dashboat_entry_day': 1837719, 'dashboard_run_id': 1849438, 'mtr_portfolio_id': 23387335, 'dashboard_result_id': 10975768, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23387335_27-05-2025_19_12_58.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23387362, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23387363, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23387364, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23387365, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23387366, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23387367, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23387368, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23387369, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23387370, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23387371, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23387372, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23387373, 'pht': 3726}}"}, {'dashboat_entry_day': 1837719, 'dashboard_run_id': 1849438, 'mtr_portfolio_id': 23387814, 'dashboard_result_id': 10975769, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23387814_27-05-2025_19_27_00.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 23387831, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23387832, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23387834, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23387835, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23387837, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23387838, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23387839, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23387840, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23387842, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23387843, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23387844, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23387845, 'pht': 3726}}"}, {'dashboat_entry_day': 1837719, 'dashboard_run_id': 1849438, 'mtr_portfolio_id': 23388200, 'dashboard_result_id': 10975771, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23388200_27-05-2025_19_42_57.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23388250, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23388251, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23388252, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23388253, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23388254, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23388255, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23388256, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23388257, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23388258, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23388259, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23388260, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23388261, 'pht': 3726}}"}, {'dashboat_entry_day': 1837719, 'dashboard_run_id': 1849438, 'mtr_portfolio_id': 23388807, 'dashboard_result_id': 10975772, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23388807_27-05-2025_19_57_01.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23388814, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23388815, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23388816, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23388817, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23388818, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23388819, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23388820, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23388821, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23388822, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23388823, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23388824, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23388825, 'pht': 3726}}"}, {'dashboat_entry_day': 1837719, 'dashboard_run_id': 1849438, 'mtr_portfolio_id': 23389290, 'dashboard_result_id': 10975773, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23389290_27-05-2025_20_12_58.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23389322, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23389323, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23389324, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23389325, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23389326, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23389327, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23389328, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23389329, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23389330, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23389331, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23389332, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23389333, 'pht': 3726}}"}, {'dashboat_entry_day': 1837719, 'dashboard_run_id': 1849438, 'mtr_portfolio_id': 23389818, 'dashboard_result_id': 10975775, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23389818_27-05-2025_20_27_01.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 23389852, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23389853, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23389854, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23389856, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23389857, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23389858, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23389859, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23389861, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23389862, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23389863, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23389865, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23389866, 'pht': 3726}}"}, {'dashboat_entry_day': 1837719, 'dashboard_run_id': 1849438, 'mtr_portfolio_id': 23390391, 'dashboard_result_id': 10975776, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23390391_27-05-2025_20_42_31.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 23390421, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23390422, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23390423, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23390424, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23390425, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23390426, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23390427, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23390428, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23390429, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23390430, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23390431, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23390432, 'pht': 3726}}"}, {'dashboat_entry_day': 1837719, 'dashboard_run_id': 1849438, 'mtr_portfolio_id': 23391488, 'dashboard_result_id': 10975778, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23391488_27-05-2025_21_13_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23391490, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23391491, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23391492, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23391493, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23391494, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23391495, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23391496, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23391497, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23391498, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23391499, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23391500, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23391501, 'pht': 3726}}"}, {'dashboat_entry_day': 1837719, 'dashboard_run_id': 1849438, 'mtr_portfolio_id': 23391601, 'dashboard_result_id': 10975779, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23391601_27-05-2025_21_27_00.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23391617, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23391618, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23391619, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23391620, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23391621, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23391622, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23391623, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23391624, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23391625, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23391626, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23391627, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23391628, 'pht': 3726}}"}, {'dashboat_entry_day': 1837719, 'dashboard_run_id': 1849438, 'mtr_portfolio_id': 23391957, 'dashboard_result_id': 10975780, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23391957_27-05-2025_21_42_57.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23391984, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23391985, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23391986, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23391987, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23391988, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23391989, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23391990, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23391991, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23391992, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23391993, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23391994, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23391995, 'pht': 3726}}"}, {'dashboat_entry_day': 1837719, 'dashboard_run_id': 1849438, 'mtr_portfolio_id': 23392296, 'dashboard_result_id': 10975782, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23392296_27-05-2025_21_56_59.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23392309, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23392310, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23392311, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23392312, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23392313, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23392314, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23392315, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23392316, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23392317, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23392318, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23392319, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23392320, 'pht': 3726}}"}, {'dashboat_entry_day': 1837719, 'dashboard_run_id': 1849438, 'mtr_portfolio_id': 23392754, 'dashboard_result_id': 10975783, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23392754_27-05-2025_22_11_58.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23392802, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23392803, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23392804, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23392805, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23392806, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23392807, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23392808, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23392809, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23392810, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23392811, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23392812, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23392813, 'pht': 3726}}"}, {'dashboat_entry_day': 1837719, 'dashboard_run_id': 1849438, 'mtr_portfolio_id': 23393280, 'dashboard_result_id': 10975784, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23393280_27-05-2025_22_26_59.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23393294, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23393295, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23393296, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23393297, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23393298, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23393299, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23393300, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23393301, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23393302, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23393303, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23393304, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23393306, 'pht': 3726}}"}, {'dashboat_entry_day': 1837719, 'dashboard_run_id': 1849438, 'mtr_portfolio_id': 23393888, 'dashboard_result_id': 10975786, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23393888_27-05-2025_22_43_30.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23393925, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23393926, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23393927, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23393928, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23393929, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23393930, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23393931, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23393932, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23393933, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23393934, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23393935, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23393936, 'pht': 3726}}"}, {'dashboat_entry_day': 1837719, 'dashboard_run_id': 1849438, 'mtr_portfolio_id': 23394540, 'dashboard_result_id': 10975787, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23394540_27-05-2025_22_57_00.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 23394546, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23394547, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23394548, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23394549, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23394550, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23394551, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23394552, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23394553, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23394554, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23394555, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23394556, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23394557, 'pht': 3726}}"}, {'dashboat_entry_day': 1837719, 'dashboard_run_id': 1849438, 'mtr_portfolio_id': 23395145, 'dashboard_result_id': 10975789, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23395145_27-05-2025_23_12_59.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 23395191, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23395192, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23395193, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23395194, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23395195, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23395196, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23395197, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23395198, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23395199, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23395200, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23395201, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23395202, 'pht': 3726}}"}, {'dashboat_entry_day': 1837719, 'dashboard_run_id': 1849438, 'mtr_portfolio_id': 23395562, 'dashboard_result_id': 10975790, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23395562_27-05-2025_23_27_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23395593, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23395594, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23395595, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23395596, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23395597, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23395598, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23395599, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23395600, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23395601, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23395602, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23395603, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23395604, 'pht': 3726}}"}, {'dashboat_entry_day': 1837719, 'dashboard_run_id': 1849438, 'mtr_portfolio_id': 23395979, 'dashboard_result_id': 10975791, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23395979_27-05-2025_23_43_01.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23396024, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23396025, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23396026, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23396027, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23396028, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23396029, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23396030, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23396031, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23396032, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23396033, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23396034, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23396035, 'pht': 3726}}"}, {'dashboat_entry_day': 1837719, 'dashboard_run_id': 1849438, 'mtr_portfolio_id': 23396561, 'dashboard_result_id': 10975792, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23396561_27-05-2025_23_56_58.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23396581, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23396582, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23396583, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23396584, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23396585, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23396586, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23396587, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23396588, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23396589, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23396590, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23396591, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23396592, 'pht': 3726}}"}, {'dashboat_entry_day': 1837719, 'dashboard_run_id': 1849438, 'mtr_portfolio_id': 23396899, 'dashboard_result_id': 10975793, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23396899_28-05-2025_00_13_00.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23396904, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23396905, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23396906, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23396907, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23396908, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23396909, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23396910, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23396911, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23396912, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23396913, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23396914, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23396915, 'pht': 3726}}"}, {'dashboat_entry_day': 1837719, 'dashboard_run_id': 1849438, 'mtr_portfolio_id': 23397329, 'dashboard_result_id': 10975794, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23397329_28-05-2025_01_26_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23397342, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23397343, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23397344, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23397345, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23397346, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23397347, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23397348, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23397349, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23397350, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23397351, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23397352, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23397353, '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 = 23360575 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2972542, 'mtr_portfolio_id': 23360575, 'created_at': datetime.datetime(2025, 5, 28, 5, 34, 28), 'result': '0.1234835479789914', 'result_long': None, 'result_double': None}] Qualite : 0.1234835479789914 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23360575 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23360575_28-05-2025_05_34_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23360575 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23360575_28-05-2025_05_34_29.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23360577, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23360578, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23360579, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23360580, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23360581, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23360582, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23360583, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23360584, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23360585, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23360586, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23360587, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23360588, 'pht': 3726}}" where mtr_portfolio_id = 23360575 and dashboard_run_id = 1849438 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23360575 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10975721, 0.1234835479789914, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23360575_28-05-2025_05_34_29.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23360577, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23360578, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23360579, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23360580, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23360581, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23360582, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23360583, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23360584, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23360585, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23360586, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23360587, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23360588, '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 = 23363233 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2972543, 'mtr_portfolio_id': 23363233, 'created_at': datetime.datetime(2025, 5, 28, 5, 35, 31), 'result': '0.049981317891323276', 'result_long': None, 'result_double': None}] Qualite : 0.049981317891323276 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23363233 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23363233_28-05-2025_05_35_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23363233 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23363233_28-05-2025_05_35_32.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23363234, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23363235, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23363236, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23363237, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23363238, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23363239, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23363240, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23363241, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23363242, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23363243, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23363244, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23363245, 'pht': 3726}}" where mtr_portfolio_id = 23363233 and dashboard_run_id = 1849438 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23363233 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10975722, 0.049981317891323276, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23363233_28-05-2025_05_35_32.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23363234, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23363235, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23363236, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23363237, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23363238, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23363239, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23363240, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23363241, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23363242, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23363243, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23363244, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23363245, '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 = 23364430 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2972544, 'mtr_portfolio_id': 23364430, 'created_at': datetime.datetime(2025, 5, 28, 5, 36, 1), 'result': '0.0409221154453971', 'result_long': None, 'result_double': None}] Qualite : 0.0409221154453971 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23364430 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23364430_28-05-2025_05_36_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23364430 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23364430_28-05-2025_05_36_02.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23364455, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23364456, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23364457, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23364458, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23364459, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23364460, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23364461, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23364462, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23364463, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23364464, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23364465, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23364466, 'pht': 3726}}" where mtr_portfolio_id = 23364430 and dashboard_run_id = 1849438 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23364430 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10975723, 0.0409221154453971, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23364430_28-05-2025_05_36_02.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23364455, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23364456, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23364457, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23364458, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23364459, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23364460, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23364461, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23364462, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23364463, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23364464, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23364465, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23364466, '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 = 23364644 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2972545, 'mtr_portfolio_id': 23364644, 'created_at': datetime.datetime(2025, 5, 28, 5, 36, 30), 'result': '0.05081041669502847', 'result_long': None, 'result_double': None}] Qualite : 0.05081041669502847 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23364644 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23364644_28-05-2025_05_36_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23364644 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23364644_28-05-2025_05_36_31.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 23364646, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23364647, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23364648, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23364649, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23364650, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23364651, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23364652, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23364653, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23364654, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23364655, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23364656, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23364657, 'pht': 3726}}" where mtr_portfolio_id = 23364644 and dashboard_run_id = 1849438 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23364644 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10975724, 0.05081041669502847, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23364644_28-05-2025_05_36_31.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 23364646, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23364647, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23364648, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23364649, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23364650, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23364651, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23364652, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23364653, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23364654, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23364655, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23364656, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23364657, '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 = 23364943 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2972546, 'mtr_portfolio_id': 23364943, 'created_at': datetime.datetime(2025, 5, 28, 5, 37, 30), 'result': '0.057623003765354966', 'result_long': None, 'result_double': None}] Qualite : 0.057623003765354966 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23364943 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23364943_28-05-2025_05_37_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23364943 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23364943_28-05-2025_05_37_31.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23364944, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23364945, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23364946, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23364947, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23364948, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23364949, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23364950, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23364951, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23364952, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23364953, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23364954, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23364955, 'pht': 3726}}" where mtr_portfolio_id = 23364943 and dashboard_run_id = 1849438 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23364943 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10975725, 0.057623003765354966, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23364943_28-05-2025_05_37_31.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23364944, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23364945, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23364946, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23364947, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23364948, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23364949, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23364950, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23364951, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23364952, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23364953, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23364954, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23364955, '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 = 23365280 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2972547, 'mtr_portfolio_id': 23365280, 'created_at': datetime.datetime(2025, 5, 28, 5, 37, 59), 'result': '0.05977433809061786', 'result_long': None, 'result_double': None}] Qualite : 0.05977433809061786 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23365280 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23365280_28-05-2025_05_38_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23365280 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23365280_28-05-2025_05_38_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23365317, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23365318, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23365319, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23365320, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23365321, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23365322, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23365323, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23365324, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23365325, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23365326, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23365327, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23365328, 'pht': 3726}}" where mtr_portfolio_id = 23365280 and dashboard_run_id = 1849438 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23365280 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10975726, 0.05977433809061786, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23365280_28-05-2025_05_38_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23365317, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23365318, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23365319, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23365320, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23365321, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23365322, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23365323, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23365324, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23365325, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23365326, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23365327, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23365328, '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 = 23365499 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2972548, 'mtr_portfolio_id': 23365499, 'created_at': datetime.datetime(2025, 5, 28, 5, 38, 30), 'result': '0.06678309232090249', 'result_long': None, 'result_double': None}] Qualite : 0.06678309232090249 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23365499 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23365499_28-05-2025_05_38_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23365499 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23365499_28-05-2025_05_38_32.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23365504, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23365505, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23365506, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23365507, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23365508, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23365509, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23365510, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23365511, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23365512, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23365513, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23365514, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23365515, 'pht': 3726}}" where mtr_portfolio_id = 23365499 and dashboard_run_id = 1849438 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23365499 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10975727, 0.06678309232090249, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23365499_28-05-2025_05_38_32.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23365504, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23365505, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23365506, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23365507, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23365508, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23365509, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23365510, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23365511, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23365512, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23365513, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23365514, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23365515, '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 = 23365879 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2972549, 'mtr_portfolio_id': 23365879, 'created_at': datetime.datetime(2025, 5, 28, 5, 39, 29), 'result': '0.042681626082129054', 'result_long': None, 'result_double': None}] Qualite : 0.042681626082129054 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23365879 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23365879_28-05-2025_05_39_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23365879 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23365879_28-05-2025_05_39_32.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23365886, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23365887, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23365888, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23365889, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23365890, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23365891, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23365892, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23365893, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23365894, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23365895, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23365896, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23365897, 'pht': 3726}}" where mtr_portfolio_id = 23365879 and dashboard_run_id = 1849438 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23365879 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10975728, 0.042681626082129054, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23365879_28-05-2025_05_39_32.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23365886, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23365887, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23365888, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23365889, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23365890, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23365891, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23365892, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23365893, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23365894, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23365895, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23365896, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23365897, '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 = 23366127 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2972550, 'mtr_portfolio_id': 23366127, 'created_at': datetime.datetime(2025, 5, 28, 5, 39, 58), 'result': '0.04278812320084131', 'result_long': None, 'result_double': None}] Qualite : 0.04278812320084131 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23366127 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23366127_28-05-2025_05_40_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23366127 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23366127_28-05-2025_05_40_01.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23366136, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23366137, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23366138, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23366139, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23366140, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23366141, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23366142, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23366143, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23366144, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23366145, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23366146, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23366147, 'pht': 3726}}" where mtr_portfolio_id = 23366127 and dashboard_run_id = 1849438 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23366127 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10975729, 0.04278812320084131, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23366127_28-05-2025_05_40_01.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23366136, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23366137, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23366138, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23366139, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23366140, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23366141, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23366142, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23366143, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23366144, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23366145, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23366146, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23366147, '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 = 23366405 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2972551, 'mtr_portfolio_id': 23366405, 'created_at': datetime.datetime(2025, 5, 28, 5, 40, 28), 'result': '0.0755427905657215', 'result_long': None, 'result_double': None}] Qualite : 0.0755427905657215 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23366405 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23366405_28-05-2025_05_40_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23366405 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23366405_28-05-2025_05_40_30.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23366418, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23366419, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23366420, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23366421, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23366422, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23366423, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23366424, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23366425, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23366426, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23366427, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23366429, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23366430, 'pht': 3726}}" where mtr_portfolio_id = 23366405 and dashboard_run_id = 1849438 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23366405 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10975730, 0.0755427905657215, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23366405_28-05-2025_05_40_30.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23366418, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23366419, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23366420, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23366421, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23366422, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23366423, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23366424, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23366425, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23366426, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23366427, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23366429, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23366430, '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 = 23366747 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2972552, 'mtr_portfolio_id': 23366747, 'created_at': datetime.datetime(2025, 5, 28, 5, 41, 31), 'result': '0.05704013734112525', 'result_long': None, 'result_double': None}] Qualite : 0.05704013734112525 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23366747 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23366747_28-05-2025_05_41_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23366747 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23366747_28-05-2025_05_41_34.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23366767, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23366768, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23366769, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23366770, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23366771, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23366772, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23366773, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23366774, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23366775, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23366776, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23366777, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23366778, 'pht': 3726}}" where mtr_portfolio_id = 23366747 and dashboard_run_id = 1849438 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23366747 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10975731, 0.05704013734112525, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23366747_28-05-2025_05_41_34.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23366767, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23366768, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23366769, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23366770, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23366771, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23366772, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23366773, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23366774, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23366775, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23366776, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23366777, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23366778, '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 = 23367127 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2972553, 'mtr_portfolio_id': 23367127, 'created_at': datetime.datetime(2025, 5, 28, 5, 42, 59), 'result': '0.03405211370388151', 'result_long': None, 'result_double': None}] Qualite : 0.03405211370388151 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23367127 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23367127_28-05-2025_05_43_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23367127 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23367127_28-05-2025_05_43_03.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 23367190, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23367191, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23367192, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23367193, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23367194, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23367195, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23367196, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23367197, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23367198, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23367199, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23367200, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23367201, 'pht': 3726}}" where mtr_portfolio_id = 23367127 and dashboard_run_id = 1849438 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23367127 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10975732, 0.03405211370388151, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23367127_28-05-2025_05_43_03.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 23367190, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23367191, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23367192, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23367193, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23367194, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23367195, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23367196, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23367197, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23367198, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23367199, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23367200, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23367201, '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 = 23367737 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2972554, 'mtr_portfolio_id': 23367737, 'created_at': datetime.datetime(2025, 5, 28, 5, 43, 30), 'result': '0.07436595880480432', 'result_long': None, 'result_double': None}] Qualite : 0.07436595880480432 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23367737 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23367737_28-05-2025_05_43_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23367737 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23367737_28-05-2025_05_43_33.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 23367754, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23367755, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23367756, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23367757, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23367758, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23367759, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23367760, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23367761, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23367762, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23367763, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23367764, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23367765, 'pht': 3726}}" where mtr_portfolio_id = 23367737 and dashboard_run_id = 1849438 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23367737 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10975733, 0.07436595880480432, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23367737_28-05-2025_05_43_33.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 23367754, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23367755, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23367756, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23367757, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23367758, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23367759, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23367760, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23367761, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23367762, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23367763, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23367764, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23367765, '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 = 23368144 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2972555, 'mtr_portfolio_id': 23368144, 'created_at': datetime.datetime(2025, 5, 28, 5, 43, 59), 'result': '0.06867759285119153', 'result_long': None, 'result_double': None}] Qualite : 0.06867759285119153 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23368144 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23368144_28-05-2025_05_44_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23368144 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23368144_28-05-2025_05_44_01.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23368168, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23368169, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23368170, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23368171, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23368172, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23368173, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23368174, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23368175, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23368176, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23368177, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23368178, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23368179, 'pht': 3726}}" where mtr_portfolio_id = 23368144 and dashboard_run_id = 1849438 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23368144 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10975734, 0.06867759285119153, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23368144_28-05-2025_05_44_01.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23368168, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23368169, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23368170, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23368171, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23368172, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23368173, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23368174, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23368175, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23368176, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23368177, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23368178, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23368179, '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 = 23368596 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2972556, 'mtr_portfolio_id': 23368596, 'created_at': datetime.datetime(2025, 5, 28, 5, 44, 27), 'result': '0.0459033335104474', 'result_long': None, 'result_double': None}] Qualite : 0.0459033335104474 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23368596 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23368596_28-05-2025_05_44_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23368596 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23368596_28-05-2025_05_44_30.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23368640, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23368642, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23368643, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23368644, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23368646, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23368647, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23368648, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23368650, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23368651, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23368653, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23368655, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23368656, 'pht': 3726}}" where mtr_portfolio_id = 23368596 and dashboard_run_id = 1849438 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23368596 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10975735, 0.0459033335104474, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23368596_28-05-2025_05_44_30.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23368640, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23368642, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23368643, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23368644, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23368646, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23368647, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23368648, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23368650, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23368651, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23368653, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23368655, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23368656, '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 = 23369119 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2972557, 'mtr_portfolio_id': 23369119, 'created_at': datetime.datetime(2025, 5, 28, 5, 45, 29), 'result': '0.023709282396215524', 'result_long': None, 'result_double': None}] Qualite : 0.023709282396215524 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23369119 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23369119_28-05-2025_05_45_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23369119 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23369119_28-05-2025_05_45_35.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23369129, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23369130, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23369131, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23369132, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23369133, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23369134, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23369135, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23369136, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23369137, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23369138, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23369139, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23369140, 'pht': 3726}}" where mtr_portfolio_id = 23369119 and dashboard_run_id = 1849438 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23369119 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10975736, 0.023709282396215524, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23369119_28-05-2025_05_45_35.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23369129, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23369130, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23369131, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23369132, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23369133, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23369134, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23369135, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23369136, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23369137, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23369138, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23369139, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23369140, '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 = 23369690 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2972558, 'mtr_portfolio_id': 23369690, 'created_at': datetime.datetime(2025, 5, 28, 5, 45, 58), 'result': '0.04555055175571174', 'result_long': None, 'result_double': None}] Qualite : 0.04555055175571174 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23369690 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23369690_28-05-2025_05_46_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23369690 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23369690_28-05-2025_05_46_02.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 23369709, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23369710, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23369711, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23369712, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23369713, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23369714, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23369715, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23369716, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23369717, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23369718, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23369719, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23369720, 'pht': 3726}}" where mtr_portfolio_id = 23369690 and dashboard_run_id = 1849438 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23369690 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10975737, 0.04555055175571174, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23369690_28-05-2025_05_46_02.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 23369709, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23369710, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23369711, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23369712, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23369713, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23369714, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23369715, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23369716, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23369717, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23369718, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23369719, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23369720, '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 = 23370429 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2972559, 'mtr_portfolio_id': 23370429, 'created_at': datetime.datetime(2025, 5, 28, 5, 46, 58), 'result': '0.0742641152719624', 'result_long': None, 'result_double': None}] Qualite : 0.0742641152719624 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23370429 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23370429_28-05-2025_05_46_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23370429 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23370429_28-05-2025_05_46_59.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 23370446, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23370447, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23370448, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23370449, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23370450, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23370451, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23370452, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23370453, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23370454, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23370455, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23370456, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23370457, 'pht': 3726}}" where mtr_portfolio_id = 23370429 and dashboard_run_id = 1849438 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23370429 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10975738, 0.0742641152719624, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23370429_28-05-2025_05_46_59.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 23370446, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23370447, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23370448, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23370449, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23370450, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23370451, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23370452, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23370453, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23370454, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23370455, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23370456, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23370457, '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 = 23373043 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2972560, 'mtr_portfolio_id': 23373043, 'created_at': datetime.datetime(2025, 5, 28, 5, 47, 29), 'result': '0.07942100400833528', 'result_long': None, 'result_double': None}] Qualite : 0.07942100400833528 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23373043 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23373043_28-05-2025_05_47_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23373043 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23373043_28-05-2025_05_47_31.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 23373045, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23373046, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23373047, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23373048, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23373049, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23373050, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23373051, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23373052, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23373053, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23373054, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23373055, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23373056, 'pht': 3726}}" where mtr_portfolio_id = 23373043 and dashboard_run_id = 1849438 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23373043 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10975739, 0.07942100400833528, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23373043_28-05-2025_05_47_31.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 23373045, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23373046, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23373047, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23373048, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23373049, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23373050, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23373051, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23373052, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23373053, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23373054, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23373055, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23373056, '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 = 23373337 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2972561, 'mtr_portfolio_id': 23373337, 'created_at': datetime.datetime(2025, 5, 28, 5, 47, 58), 'result': '0.06222480347235249', 'result_long': None, 'result_double': None}] Qualite : 0.06222480347235249 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23373337 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23373337_28-05-2025_05_48_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23373337 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23373337_28-05-2025_05_48_01.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23373398, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23373399, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23373400, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23373401, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23373402, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23373403, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23373404, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23373405, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23373406, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23373407, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23373408, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23373409, 'pht': 3726}}" where mtr_portfolio_id = 23373337 and dashboard_run_id = 1849438 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23373337 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10975740, 0.06222480347235249, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23373337_28-05-2025_05_48_01.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23373398, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23373399, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23373400, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23373401, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23373402, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23373403, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23373404, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23373405, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23373406, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23373407, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23373408, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23373409, '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 = 23373916 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 = 23373916 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 = 23373916 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23373916 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 = 23373916 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 = 23373916 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23373916_28-05-2025_05_49_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23373916 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23373916_28-05-2025_05_49_01.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 23373917, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23373918, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23373919, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23373920, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23373921, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23373922, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23373923, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23373924, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23373925, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23373926, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23373927, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23373928, 'pht': 3726}}" where mtr_portfolio_id = 23373916 and dashboard_run_id = 1849438 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23374097 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 = 23374097 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 = 23374097 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23374097 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 = 23374097 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 = 23374097 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23374097_28-05-2025_05_49_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23374097 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23374097_28-05-2025_05_49_31.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 23374110, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23374111, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23374112, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23374113, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23374114, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23374115, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23374116, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23374117, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23374118, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23374119, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23374120, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23374121, 'pht': 3726}}" where mtr_portfolio_id = 23374097 and dashboard_run_id = 1849438 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23374431 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 = 23374431 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 = 23374431 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23374431 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 = 23374431 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 = 23374431 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23374431_28-05-2025_05_49_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23374431 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23374431_28-05-2025_05_49_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23374444, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23374445, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23374446, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23374447, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23374448, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23374449, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23374450, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23374451, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23374452, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23374453, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23374454, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23374455, 'pht': 3726}}" where mtr_portfolio_id = 23374431 and dashboard_run_id = 1849438 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23377701 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2972565, 'mtr_portfolio_id': 23377701, 'created_at': datetime.datetime(2025, 5, 28, 5, 50, 59), 'result': '0.0603745487590364', 'result_long': None, 'result_double': None}] Qualite : 0.0603745487590364 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23377701 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23377701_28-05-2025_05_51_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23377701 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23377701_28-05-2025_05_51_03.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23377707, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23377708, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23377709, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23377710, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23377711, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23377712, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23377713, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23377714, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23377715, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23377716, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23377717, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23377718, 'pht': 3726}}" where mtr_portfolio_id = 23377701 and dashboard_run_id = 1849438 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23377701 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10975744, 0.0603745487590364, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23377701_28-05-2025_05_51_03.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23377707, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23377708, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23377709, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23377710, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23377711, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23377712, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23377713, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23377714, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23377715, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23377716, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23377717, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23377718, '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 = 23377961 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2972566, 'mtr_portfolio_id': 23377961, 'created_at': datetime.datetime(2025, 5, 28, 5, 51, 28), 'result': '0.04789502041112837', 'result_long': None, 'result_double': None}] Qualite : 0.04789502041112837 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23377961 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23377961_27-05-2025_14_27_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23377961 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23377961_27-05-2025_14_27_01.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23378010, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23378011, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23378012, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23378013, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23378014, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23378015, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23378016, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23378017, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23378018, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23378019, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23378020, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23378021, 'pht': 3726}}" where mtr_portfolio_id = 23377961 and dashboard_run_id = 1849438 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23377961 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10975746, 0.04789502041112837, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23377961_27-05-2025_14_27_01.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23378010, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23378011, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23378012, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23378013, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23378014, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23378015, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23378016, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23378017, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23378018, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23378019, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23378020, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23378021, '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 = 23378375 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2966376, 'mtr_portfolio_id': 23378375, 'created_at': datetime.datetime(2025, 5, 27, 14, 42, 58), 'result': '0.08075340963732429', 'result_long': None, 'result_double': None}] Qualite : 0.08075340963732429 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23378375 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23378375_27-05-2025_14_42_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23378375 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23378375_27-05-2025_14_42_59.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 23378408, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23378409, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23378410, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23378411, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23378412, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23378413, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23378414, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23378415, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23378416, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23378417, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23378418, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23378419, 'pht': 3726}}" where mtr_portfolio_id = 23378375 and dashboard_run_id = 1849438 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23378375 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10975747, 0.08075340963732429, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23378375_27-05-2025_14_42_59.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 23378408, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23378409, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23378410, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23378411, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23378412, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23378413, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23378414, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23378415, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23378416, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23378417, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23378418, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23378419, '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 = 23378837 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2966466, 'mtr_portfolio_id': 23378837, 'created_at': datetime.datetime(2025, 5, 27, 14, 59, 57), 'result': '0.02730764912237019', 'result_long': None, 'result_double': None}] Qualite : 0.02730764912237019 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23378837 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23378837_27-05-2025_14_59_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23378837 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23378837_27-05-2025_14_59_57.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 23378906, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23378907, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23378908, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23378909, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23378910, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23378911, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23378912, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23378913, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23378914, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23378915, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23378916, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23378917, 'pht': 3726}}" where mtr_portfolio_id = 23378837 and dashboard_run_id = 1849438 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23378837 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10975748, 0.02730764912237019, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23378837_27-05-2025_14_59_57.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 23378906, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23378907, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23378908, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23378909, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23378910, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23378911, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23378912, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23378913, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23378914, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23378915, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23378916, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23378917, '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 = 23379365 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2966618, 'mtr_portfolio_id': 23379365, 'created_at': datetime.datetime(2025, 5, 27, 15, 12, 58), 'result': '0.052102291328378667', 'result_long': None, 'result_double': None}] Qualite : 0.052102291328378667 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23379365 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23379365_27-05-2025_15_12_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23379365 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23379365_27-05-2025_15_12_59.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23379368, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23379369, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23379370, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23379371, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23379372, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23379373, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23379374, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23379375, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23379376, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23379377, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23379378, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23379379, 'pht': 3726}}" where mtr_portfolio_id = 23379365 and dashboard_run_id = 1849438 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23379365 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10975750, 0.052102291328378667, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23379365_27-05-2025_15_12_59.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23379368, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23379369, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23379370, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23379371, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23379372, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23379373, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23379374, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23379375, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23379376, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23379377, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23379378, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23379379, '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 = 23379884 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2966716, 'mtr_portfolio_id': 23379884, 'created_at': datetime.datetime(2025, 5, 27, 15, 27), 'result': '0.051102785594435436', 'result_long': None, 'result_double': None}] Qualite : 0.051102785594435436 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23379884 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23379884_27-05-2025_15_27_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23379884 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23379884_27-05-2025_15_27_00.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23379891, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23379892, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23379893, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23379894, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23379895, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23379896, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23379897, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23379898, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23379899, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23379900, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23379901, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23379902, 'pht': 3726}}" where mtr_portfolio_id = 23379884 and dashboard_run_id = 1849438 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23379884 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10975751, 0.051102785594435436, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23379884_27-05-2025_15_27_00.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23379891, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23379892, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23379893, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23379894, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23379895, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23379896, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23379897, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23379898, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23379899, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23379900, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23379901, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23379902, '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 = 23380291 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2966792, 'mtr_portfolio_id': 23380291, 'created_at': datetime.datetime(2025, 5, 27, 15, 42, 58), 'result': '0.0518277686251889', 'result_long': None, 'result_double': None}] Qualite : 0.0518277686251889 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23380291 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23380291_27-05-2025_15_42_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23380291 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23380291_27-05-2025_15_42_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23380324, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23380325, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23380326, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23380327, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23380328, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23380329, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23380330, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23380331, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23380332, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23380333, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23380334, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23380335, 'pht': 3726}}" where mtr_portfolio_id = 23380291 and dashboard_run_id = 1849438 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23380291 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10975753, 0.0518277686251889, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23380291_27-05-2025_15_42_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23380324, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23380325, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23380326, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23380327, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23380328, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23380329, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23380330, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23380331, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23380332, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23380333, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23380334, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23380335, '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 = 23382337 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2967203, 'mtr_portfolio_id': 23382337, 'created_at': datetime.datetime(2025, 5, 27, 16, 26, 58), 'result': '0.05940565397615369', 'result_long': None, 'result_double': None}] Qualite : 0.05940565397615369 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23382337 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23382337_27-05-2025_16_26_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23382337 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23382337_27-05-2025_16_26_58.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23382338, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23382339, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23382340, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23382341, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23382342, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23382343, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23382344, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23382345, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23382346, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23382347, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23382348, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23382349, 'pht': 3726}}" where mtr_portfolio_id = 23382337 and dashboard_run_id = 1849438 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23382337 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10975754, 0.05940565397615369, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23382337_27-05-2025_16_26_58.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23382338, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23382339, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23382340, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23382341, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23382342, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23382343, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23382344, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23382345, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23382346, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23382347, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23382348, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23382349, '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 = 23382501 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2967224, 'mtr_portfolio_id': 23382501, 'created_at': datetime.datetime(2025, 5, 27, 16, 42, 57), 'result': '0.03690758855582203', 'result_long': None, 'result_double': None}] Qualite : 0.03690758855582203 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23382501 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23382501_27-05-2025_16_42_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23382501 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23382501_27-05-2025_16_42_58.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23382508, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23382509, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23382510, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23382511, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23382512, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23382513, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23382514, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23382515, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23382516, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23382517, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23382518, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23382519, 'pht': 3726}}" where mtr_portfolio_id = 23382501 and dashboard_run_id = 1849438 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23382501 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10975755, 0.03690758855582203, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23382501_27-05-2025_16_42_58.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23382508, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23382509, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23382510, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23382511, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23382512, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23382513, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23382514, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23382515, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23382516, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23382517, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23382518, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23382519, '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 = 23383101 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2967350, 'mtr_portfolio_id': 23383101, 'created_at': datetime.datetime(2025, 5, 27, 16, 56, 57), 'result': '0.0209765007975203', 'result_long': None, 'result_double': None}] Qualite : 0.0209765007975203 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23383101 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23383101_27-05-2025_16_56_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23383101 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23383101_27-05-2025_16_56_57.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 23383126, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23383127, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23383128, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23383129, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23383130, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23383131, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23383132, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23383133, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23383134, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23383135, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23383136, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23383137, 'pht': 3726}}" where mtr_portfolio_id = 23383101 and dashboard_run_id = 1849438 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23383101 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10975757, 0.0209765007975203, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23383101_27-05-2025_16_56_57.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 23383126, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23383127, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23383128, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23383129, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23383130, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23383131, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23383132, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23383133, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23383134, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23383135, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23383136, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23383137, '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 = 23383478 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2967443, 'mtr_portfolio_id': 23383478, 'created_at': datetime.datetime(2025, 5, 27, 17, 13), 'result': '0.03664416705276368', 'result_long': None, 'result_double': None}] Qualite : 0.03664416705276368 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23383478 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23383478_27-05-2025_17_13_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23383478 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23383478_27-05-2025_17_13_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23383523, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23383524, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23383525, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23383526, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23383527, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23383528, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23383529, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23383530, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23383531, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23383532, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23383533, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23383534, 'pht': 3726}}" where mtr_portfolio_id = 23383478 and dashboard_run_id = 1849438 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23383478 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10975758, 0.03664416705276368, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23383478_27-05-2025_17_13_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23383523, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23383524, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23383525, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23383526, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23383527, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23383528, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23383529, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23383530, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23383531, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23383532, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23383533, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23383534, '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 = 23384275 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2967645, 'mtr_portfolio_id': 23384275, 'created_at': datetime.datetime(2025, 5, 27, 17, 26, 59), 'result': '0.050155736976011764', 'result_long': None, 'result_double': None}] Qualite : 0.050155736976011764 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23384275 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23384275_27-05-2025_17_27_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23384275 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23384275_27-05-2025_17_27_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23384301, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23384302, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23384303, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23384304, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23384305, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23384306, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23384307, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23384308, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23384309, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23384310, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23384311, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23384312, 'pht': 3726}}" where mtr_portfolio_id = 23384275 and dashboard_run_id = 1849438 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23384275 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10975760, 0.050155736976011764, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23384275_27-05-2025_17_27_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23384301, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23384302, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23384303, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23384304, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23384305, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23384306, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23384307, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23384308, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23384309, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23384310, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23384311, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23384312, '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 = 23384551 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2967704, 'mtr_portfolio_id': 23384551, 'created_at': datetime.datetime(2025, 5, 27, 18, 24, 59), 'result': '0.05033519972400633', 'result_long': None, 'result_double': None}] Qualite : 0.05033519972400633 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23384551 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23384551_27-05-2025_18_25_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23384551 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23384551_27-05-2025_18_25_00.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23384556, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23384557, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23384558, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23384559, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23384560, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23384561, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23384562, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23384563, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23384564, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23384565, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23384566, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23384567, 'pht': 3726}}" where mtr_portfolio_id = 23384551 and dashboard_run_id = 1849438 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23384551 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10975761, 0.05033519972400633, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23384551_27-05-2025_18_25_00.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23384556, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23384557, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23384558, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23384559, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23384560, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23384561, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23384562, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23384563, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23384564, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23384565, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23384566, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23384567, '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 = 23385746 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2967939, 'mtr_portfolio_id': 23385746, 'created_at': datetime.datetime(2025, 5, 27, 18, 12, 59), 'result': '0.10618206414402023', 'result_long': None, 'result_double': None}] Qualite : 0.10618206414402023 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23385746 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23385746_27-05-2025_18_12_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23385746 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23385746_27-05-2025_18_12_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23385753, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23385754, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23385755, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23385756, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23385757, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23385758, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23385759, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23385760, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23385761, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23385762, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23385763, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23385764, 'pht': 3726}}" where mtr_portfolio_id = 23385746 and dashboard_run_id = 1849438 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23385746 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10975762, 0.10618206414402023, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23385746_27-05-2025_18_12_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23385753, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23385754, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23385755, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23385756, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23385757, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23385758, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23385759, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23385760, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23385761, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23385762, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23385763, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23385764, '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 = 23386042 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2967987, 'mtr_portfolio_id': 23386042, 'created_at': datetime.datetime(2025, 5, 27, 18, 27), 'result': '0.05500427383617168', 'result_long': None, 'result_double': None}] Qualite : 0.05500427383617168 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23386042 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23386042_27-05-2025_18_27_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23386042 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23386042_27-05-2025_18_27_01.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23386049, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23386050, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23386051, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23386052, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23386053, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23386054, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23386055, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23386056, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23386057, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23386058, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23386059, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23386060, 'pht': 3726}}" where mtr_portfolio_id = 23386042 and dashboard_run_id = 1849438 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23386042 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10975764, 0.05500427383617168, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23386042_27-05-2025_18_27_01.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23386049, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23386050, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23386051, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23386052, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23386053, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23386054, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23386055, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23386056, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23386057, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23386058, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23386059, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23386060, '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 = 23386406 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2968069, 'mtr_portfolio_id': 23386406, 'created_at': datetime.datetime(2025, 5, 27, 18, 42, 58), 'result': '0.04341639955211204', 'result_long': None, 'result_double': None}] Qualite : 0.04341639955211204 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23386406 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23386406_27-05-2025_18_42_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23386406 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23386406_27-05-2025_18_42_58.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23386456, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23386457, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23386458, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23386459, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23386460, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23386461, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23386462, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23386463, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23386464, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23386465, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23386466, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23386467, 'pht': 3726}}" where mtr_portfolio_id = 23386406 and dashboard_run_id = 1849438 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23386406 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10975765, 0.04341639955211204, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23386406_27-05-2025_18_42_58.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23386456, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23386457, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23386458, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23386459, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23386460, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23386461, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23386462, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23386463, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23386464, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23386465, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23386466, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23386467, '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 = 23386874 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2968170, 'mtr_portfolio_id': 23386874, 'created_at': datetime.datetime(2025, 5, 27, 18, 56, 57), 'result': '0.04348311794673648', 'result_long': None, 'result_double': None}] Qualite : 0.04348311794673648 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23386874 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23386874_27-05-2025_18_56_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23386874 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23386874_27-05-2025_18_56_58.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23386909, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23386910, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23386911, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23386912, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23386913, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23386914, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23386915, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23386916, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23386917, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23386918, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23386919, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23386920, 'pht': 3726}}" where mtr_portfolio_id = 23386874 and dashboard_run_id = 1849438 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23386874 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10975767, 0.04348311794673648, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23386874_27-05-2025_18_56_58.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23386909, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23386910, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23386911, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23386912, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23386913, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23386914, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23386915, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23386916, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23386917, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23386918, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23386919, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23386920, '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 = 23387335 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2968262, 'mtr_portfolio_id': 23387335, 'created_at': datetime.datetime(2025, 5, 27, 19, 12, 57), 'result': '0.03298384629409266', 'result_long': None, 'result_double': None}] Qualite : 0.03298384629409266 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23387335 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23387335_27-05-2025_19_12_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23387335 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23387335_27-05-2025_19_12_58.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23387362, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23387363, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23387364, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23387365, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23387366, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23387367, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23387368, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23387369, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23387370, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23387371, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23387372, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23387373, 'pht': 3726}}" where mtr_portfolio_id = 23387335 and dashboard_run_id = 1849438 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23387335 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10975768, 0.03298384629409266, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23387335_27-05-2025_19_12_58.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23387362, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23387363, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23387364, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23387365, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23387366, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23387367, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23387368, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23387369, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23387370, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23387371, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23387372, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23387373, '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 = 23387814 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2968365, 'mtr_portfolio_id': 23387814, 'created_at': datetime.datetime(2025, 5, 27, 19, 26, 59), 'result': '0.08133364396980126', 'result_long': None, 'result_double': None}] Qualite : 0.08133364396980126 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23387814 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23387814_27-05-2025_19_27_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23387814 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23387814_27-05-2025_19_27_00.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 23387831, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23387832, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23387834, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23387835, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23387837, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23387838, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23387839, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23387840, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23387842, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23387843, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23387844, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23387845, 'pht': 3726}}" where mtr_portfolio_id = 23387814 and dashboard_run_id = 1849438 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23387814 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10975769, 0.08133364396980126, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23387814_27-05-2025_19_27_00.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 23387831, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23387832, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23387834, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23387835, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23387837, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23387838, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23387839, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23387840, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23387842, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23387843, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23387844, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23387845, '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 = 23388200 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2968478, 'mtr_portfolio_id': 23388200, 'created_at': datetime.datetime(2025, 5, 27, 19, 42, 56), 'result': '0.03486902063936821', 'result_long': None, 'result_double': None}] Qualite : 0.03486902063936821 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23388200 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23388200_27-05-2025_19_42_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23388200 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23388200_27-05-2025_19_42_57.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23388250, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23388251, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23388252, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23388253, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23388254, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23388255, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23388256, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23388257, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23388258, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23388259, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23388260, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23388261, 'pht': 3726}}" where mtr_portfolio_id = 23388200 and dashboard_run_id = 1849438 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23388200 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10975771, 0.03486902063936821, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23388200_27-05-2025_19_42_57.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23388250, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23388251, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23388252, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23388253, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23388254, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23388255, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23388256, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23388257, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23388258, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23388259, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23388260, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23388261, '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 = 23388807 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2968603, 'mtr_portfolio_id': 23388807, 'created_at': datetime.datetime(2025, 5, 27, 19, 57), 'result': '0.07755488126673238', 'result_long': None, 'result_double': None}] Qualite : 0.07755488126673238 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23388807 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23388807_27-05-2025_19_57_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23388807 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23388807_27-05-2025_19_57_01.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23388814, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23388815, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23388816, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23388817, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23388818, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23388819, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23388820, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23388821, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23388822, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23388823, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23388824, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23388825, 'pht': 3726}}" where mtr_portfolio_id = 23388807 and dashboard_run_id = 1849438 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23388807 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10975772, 0.07755488126673238, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23388807_27-05-2025_19_57_01.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23388814, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23388815, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23388816, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23388817, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23388818, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23388819, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23388820, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23388821, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23388822, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23388823, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23388824, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23388825, '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 = 23389290 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2968717, 'mtr_portfolio_id': 23389290, 'created_at': datetime.datetime(2025, 5, 27, 20, 12, 58), 'result': '0.05921883668853288', 'result_long': None, 'result_double': None}] Qualite : 0.05921883668853288 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23389290 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23389290_27-05-2025_20_12_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23389290 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23389290_27-05-2025_20_12_58.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23389322, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23389323, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23389324, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23389325, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23389326, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23389327, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23389328, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23389329, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23389330, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23389331, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23389332, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23389333, 'pht': 3726}}" where mtr_portfolio_id = 23389290 and dashboard_run_id = 1849438 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23389290 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10975773, 0.05921883668853288, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23389290_27-05-2025_20_12_58.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23389322, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23389323, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23389324, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23389325, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23389326, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23389327, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23389328, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23389329, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23389330, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23389331, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23389332, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23389333, '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 = 23389818 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2968846, 'mtr_portfolio_id': 23389818, 'created_at': datetime.datetime(2025, 5, 27, 20, 27), 'result': '0.04075440990572417', 'result_long': None, 'result_double': None}] Qualite : 0.04075440990572417 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23389818 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23389818_27-05-2025_20_27_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23389818 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23389818_27-05-2025_20_27_01.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 23389852, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23389853, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23389854, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23389856, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23389857, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23389858, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23389859, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23389861, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23389862, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23389863, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23389865, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23389866, 'pht': 3726}}" where mtr_portfolio_id = 23389818 and dashboard_run_id = 1849438 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23389818 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10975775, 0.04075440990572417, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23389818_27-05-2025_20_27_01.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 23389852, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23389853, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23389854, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23389856, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23389857, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23389858, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23389859, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23389861, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23389862, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23389863, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23389865, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23389866, '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 = 23390391 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2968983, 'mtr_portfolio_id': 23390391, 'created_at': datetime.datetime(2025, 5, 27, 20, 42, 30), 'result': '0.03675356377081195', 'result_long': None, 'result_double': None}] Qualite : 0.03675356377081195 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23390391 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23390391_27-05-2025_20_42_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23390391 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23390391_27-05-2025_20_42_31.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 23390421, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23390422, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23390423, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23390424, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23390425, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23390426, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23390427, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23390428, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23390429, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23390430, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23390431, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23390432, 'pht': 3726}}" where mtr_portfolio_id = 23390391 and dashboard_run_id = 1849438 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23390391 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10975776, 0.03675356377081195, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23390391_27-05-2025_20_42_31.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 23390421, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23390422, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23390423, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23390424, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23390425, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23390426, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23390427, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23390428, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23390429, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23390430, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23390431, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23390432, '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 = 23391488 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2969288, 'mtr_portfolio_id': 23391488, 'created_at': datetime.datetime(2025, 5, 27, 21, 13), 'result': '0.023423590701338034', 'result_long': None, 'result_double': None}] Qualite : 0.023423590701338034 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23391488 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23391488_27-05-2025_21_13_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23391488 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23391488_27-05-2025_21_13_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23391490, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23391491, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23391492, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23391493, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23391494, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23391495, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23391496, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23391497, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23391498, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23391499, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23391500, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23391501, 'pht': 3726}}" where mtr_portfolio_id = 23391488 and dashboard_run_id = 1849438 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23391488 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10975778, 0.023423590701338034, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23391488_27-05-2025_21_13_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23391490, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23391491, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23391492, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23391493, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23391494, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23391495, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23391496, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23391497, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23391498, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23391499, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23391500, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23391501, '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 = 23391601 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2969306, 'mtr_portfolio_id': 23391601, 'created_at': datetime.datetime(2025, 5, 27, 21, 26, 59), 'result': '0.06906965873953479', 'result_long': None, 'result_double': None}] Qualite : 0.06906965873953479 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23391601 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23391601_27-05-2025_21_27_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23391601 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23391601_27-05-2025_21_27_00.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23391617, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23391618, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23391619, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23391620, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23391621, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23391622, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23391623, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23391624, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23391625, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23391626, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23391627, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23391628, 'pht': 3726}}" where mtr_portfolio_id = 23391601 and dashboard_run_id = 1849438 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23391601 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10975779, 0.06906965873953479, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23391601_27-05-2025_21_27_00.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23391617, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23391618, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23391619, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23391620, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23391621, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23391622, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23391623, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23391624, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23391625, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23391626, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23391627, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23391628, '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 = 23391957 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2969385, 'mtr_portfolio_id': 23391957, 'created_at': datetime.datetime(2025, 5, 27, 21, 42, 57), 'result': '0.025513438345025317', 'result_long': None, 'result_double': None}] Qualite : 0.025513438345025317 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23391957 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23391957_27-05-2025_21_42_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23391957 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23391957_27-05-2025_21_42_57.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23391984, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23391985, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23391986, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23391987, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23391988, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23391989, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23391990, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23391991, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23391992, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23391993, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23391994, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23391995, 'pht': 3726}}" where mtr_portfolio_id = 23391957 and dashboard_run_id = 1849438 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23391957 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10975780, 0.025513438345025317, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23391957_27-05-2025_21_42_57.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23391984, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23391985, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23391986, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23391987, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23391988, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23391989, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23391990, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23391991, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23391992, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23391993, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23391994, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23391995, '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 = 23392296 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2969487, 'mtr_portfolio_id': 23392296, 'created_at': datetime.datetime(2025, 5, 27, 21, 56, 59), 'result': '0.0690065148728096', 'result_long': None, 'result_double': None}] Qualite : 0.0690065148728096 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23392296 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23392296_27-05-2025_21_56_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23392296 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23392296_27-05-2025_21_56_59.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23392309, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23392310, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23392311, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23392312, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23392313, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23392314, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23392315, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23392316, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23392317, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23392318, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23392319, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23392320, 'pht': 3726}}" where mtr_portfolio_id = 23392296 and dashboard_run_id = 1849438 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23392296 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10975782, 0.0690065148728096, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23392296_27-05-2025_21_56_59.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23392309, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23392310, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23392311, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23392312, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23392313, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23392314, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23392315, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23392316, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23392317, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23392318, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23392319, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23392320, '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 = 23392754 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2969603, 'mtr_portfolio_id': 23392754, 'created_at': datetime.datetime(2025, 5, 27, 22, 11, 58), 'result': '0.04728818614450997', 'result_long': None, 'result_double': None}] Qualite : 0.04728818614450997 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23392754 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23392754_27-05-2025_22_11_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23392754 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23392754_27-05-2025_22_11_58.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23392802, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23392803, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23392804, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23392805, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23392806, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23392807, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23392808, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23392809, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23392810, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23392811, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23392812, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23392813, 'pht': 3726}}" where mtr_portfolio_id = 23392754 and dashboard_run_id = 1849438 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23392754 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10975783, 0.04728818614450997, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23392754_27-05-2025_22_11_58.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23392802, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23392803, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23392804, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23392805, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23392806, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23392807, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23392808, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23392809, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23392810, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23392811, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23392812, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23392813, '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 = 23393280 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2969798, 'mtr_portfolio_id': 23393280, 'created_at': datetime.datetime(2025, 5, 27, 22, 26, 59), 'result': '0.038672726707281724', 'result_long': None, 'result_double': None}] Qualite : 0.038672726707281724 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23393280 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23393280_27-05-2025_22_26_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23393280 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23393280_27-05-2025_22_26_59.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23393294, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23393295, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23393296, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23393297, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23393298, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23393299, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23393300, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23393301, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23393302, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23393303, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23393304, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23393306, 'pht': 3726}}" where mtr_portfolio_id = 23393280 and dashboard_run_id = 1849438 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23393280 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10975784, 0.038672726707281724, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23393280_27-05-2025_22_26_59.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23393294, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23393295, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23393296, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23393297, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23393298, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23393299, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23393300, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23393301, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23393302, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23393303, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23393304, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23393306, '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 = 23393888 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2969933, 'mtr_portfolio_id': 23393888, 'created_at': datetime.datetime(2025, 5, 27, 22, 43, 30), 'result': '0.0727946832178642', 'result_long': None, 'result_double': None}] Qualite : 0.0727946832178642 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23393888 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23393888_27-05-2025_22_43_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23393888 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23393888_27-05-2025_22_43_30.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23393925, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23393926, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23393927, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23393928, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23393929, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23393930, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23393931, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23393932, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23393933, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23393934, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23393935, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23393936, 'pht': 3726}}" where mtr_portfolio_id = 23393888 and dashboard_run_id = 1849438 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23393888 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10975786, 0.0727946832178642, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23393888_27-05-2025_22_43_30.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23393925, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23393926, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23393927, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23393928, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23393929, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23393930, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23393931, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23393932, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23393933, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23393934, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23393935, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23393936, '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 = 23394540 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2970077, 'mtr_portfolio_id': 23394540, 'created_at': datetime.datetime(2025, 5, 27, 22, 56, 59), 'result': '0.030668019244764443', 'result_long': None, 'result_double': None}] Qualite : 0.030668019244764443 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23394540 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23394540_27-05-2025_22_57_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23394540 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23394540_27-05-2025_22_57_00.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 23394546, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23394547, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23394548, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23394549, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23394550, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23394551, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23394552, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23394553, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23394554, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23394555, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23394556, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23394557, 'pht': 3726}}" where mtr_portfolio_id = 23394540 and dashboard_run_id = 1849438 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23394540 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10975787, 0.030668019244764443, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23394540_27-05-2025_22_57_00.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 23394546, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23394547, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23394548, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23394549, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23394550, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23394551, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23394552, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23394553, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23394554, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23394555, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23394556, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23394557, '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 = 23395145 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2970245, 'mtr_portfolio_id': 23395145, 'created_at': datetime.datetime(2025, 5, 27, 23, 12, 58), 'result': '0.062288866255911735', 'result_long': None, 'result_double': None}] Qualite : 0.062288866255911735 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23395145 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23395145_27-05-2025_23_12_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23395145 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23395145_27-05-2025_23_12_59.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 23395191, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23395192, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23395193, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23395194, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23395195, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23395196, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23395197, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23395198, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23395199, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23395200, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23395201, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23395202, 'pht': 3726}}" where mtr_portfolio_id = 23395145 and dashboard_run_id = 1849438 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23395145 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10975789, 0.062288866255911735, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23395145_27-05-2025_23_12_59.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 23395191, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23395192, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23395193, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23395194, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23395195, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23395196, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23395197, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23395198, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23395199, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23395200, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23395201, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23395202, '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 = 23395562 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2970386, 'mtr_portfolio_id': 23395562, 'created_at': datetime.datetime(2025, 5, 27, 23, 26, 59), 'result': '0.027615523581265927', 'result_long': None, 'result_double': None}] Qualite : 0.027615523581265927 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23395562 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23395562_27-05-2025_23_27_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23395562 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23395562_27-05-2025_23_27_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23395593, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23395594, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23395595, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23395596, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23395597, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23395598, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23395599, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23395600, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23395601, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23395602, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23395603, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23395604, 'pht': 3726}}" where mtr_portfolio_id = 23395562 and dashboard_run_id = 1849438 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23395562 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10975790, 0.027615523581265927, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23395562_27-05-2025_23_27_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23395593, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23395594, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23395595, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23395596, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23395597, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23395598, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23395599, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23395600, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23395601, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23395602, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23395603, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23395604, '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 = 23395979 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2970496, 'mtr_portfolio_id': 23395979, 'created_at': datetime.datetime(2025, 5, 27, 23, 43), 'result': '0.03311129522949441', 'result_long': None, 'result_double': None}] Qualite : 0.03311129522949441 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23395979 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23395979_27-05-2025_23_43_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23395979 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23395979_27-05-2025_23_43_01.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23396024, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23396025, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23396026, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23396027, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23396028, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23396029, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23396030, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23396031, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23396032, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23396033, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23396034, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23396035, 'pht': 3726}}" where mtr_portfolio_id = 23395979 and dashboard_run_id = 1849438 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23395979 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10975791, 0.03311129522949441, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23395979_27-05-2025_23_43_01.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23396024, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23396025, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23396026, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23396027, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23396028, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23396029, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23396030, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23396031, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23396032, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23396033, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23396034, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23396035, '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 = 23396561 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2970644, 'mtr_portfolio_id': 23396561, 'created_at': datetime.datetime(2025, 5, 27, 23, 56, 58), 'result': '0.057364134166347475', 'result_long': None, 'result_double': None}] Qualite : 0.057364134166347475 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23396561 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23396561_27-05-2025_23_56_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23396561 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23396561_27-05-2025_23_56_58.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23396581, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23396582, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23396583, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23396584, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23396585, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23396586, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23396587, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23396588, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23396589, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23396590, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23396591, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23396592, 'pht': 3726}}" where mtr_portfolio_id = 23396561 and dashboard_run_id = 1849438 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23396561 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10975792, 0.057364134166347475, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23396561_27-05-2025_23_56_58.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23396581, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23396582, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23396583, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23396584, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23396585, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23396586, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23396587, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23396588, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23396589, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23396590, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23396591, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23396592, '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 = 23396899 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2970742, 'mtr_portfolio_id': 23396899, 'created_at': datetime.datetime(2025, 5, 28, 0, 12, 59), 'result': '0.07541478791383313', 'result_long': None, 'result_double': None}] Qualite : 0.07541478791383313 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23396899 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23396899_28-05-2025_00_13_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23396899 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23396899_28-05-2025_00_13_00.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23396904, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23396905, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23396906, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23396907, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23396908, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23396909, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23396910, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23396911, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23396912, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23396913, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23396914, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23396915, 'pht': 3726}}" where mtr_portfolio_id = 23396899 and dashboard_run_id = 1849438 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23396899 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10975793, 0.07541478791383313, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23396899_28-05-2025_00_13_00.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23396904, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23396905, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23396906, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23396907, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23396908, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23396909, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23396910, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23396911, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23396912, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23396913, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23396914, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23396915, '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 = 23397329 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2970863, 'mtr_portfolio_id': 23397329, 'created_at': datetime.datetime(2025, 5, 28, 1, 25, 59), 'result': '0.044427545585508085', 'result_long': None, 'result_double': None}] Qualite : 0.044427545585508085 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23397329 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23397329_28-05-2025_01_26_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23397329 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23397329_28-05-2025_01_26_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23397342, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23397343, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23397344, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23397345, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23397346, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23397347, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23397348, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23397349, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23397350, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23397351, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23397352, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23397353, 'pht': 3726}}" where mtr_portfolio_id = 23397329 and dashboard_run_id = 1849438 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23397329 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10975794, 0.044427545585508085, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23397329_28-05-2025_01_26_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23397342, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23397343, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23397344, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23397345, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23397346, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23397347, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23397348, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23397349, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23397350, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23397351, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23397352, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23397353, '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 (23360575,23363233,23364430,23364644,23364943,23365280,23365499,23365879,23366127,23366405,23366747,23367127,23367737,23368144,23368596,23369119,23369690,23370429,23373043,23373337,23373916,23374097,23374431,23377701,23377961,23378375,23378837,23379365,23379884,23380291,23382337,23382501,23383101,23383478,23384275,23384551,23385746,23386042,23386406,23386874,23387335,23387814,23388200,23388807,23389290,23389818,23390391,23391488,23391601,23391957,23392296,23392754,23393280,23393888,23394540,23395145,23395562,23395979,23396561,23396899,23397329) result : ((1361175828,), (1361175894,), (1361175896,), (1361175897,), (1361175998,), (1361176782,), (1361177113,), (1361177123,), (1361180815,), (1361201120,), (1361201124,), (1361201160,), (1361201163,), (1361201250,), (1361201280,), (1361201283,), (1361202942,), (1361206468,), (1361206493,), (1361206556,), (1361206573,), (1361206589,), (1361206616,), (1361206619,), (1361206644,), (1361206683,), (1361206687,), (1361206754,), (1361206802,), (1361207028,), (1361207055,), (1361207064,), (1361207068,), (1361207222,), (1361207226,), (1361207230,), (1361207234,), (1361207279,), (1361207281,), (1361207648,), (1361207919,), (1361208128,), (1361209604,), (1361209633,), (1361209674,), (1361210118,), (1361210120,), (1361210140,), (1361210363,), (1361210532,), (1361210582,), (1361210698,), (1361210701,), (1361210703,), (1361211212,), (1361211090,), (1361211176,), (1361211201,), (1361211205,), (1361211306,), (1361211309,), (1361211334,), (1361211337,), (1361211364,), (1361211368,), (1361211371,), (1361211559,), (1361211567,), (1361211743,), (1361211746,), (1361211773,), (1361211978,), (1361212007,), (1361212035,), (1361212457,), (1361212405,), (1361212430,), (1361212873,), (1361212875,), (1361212878,), (1361213083,), (1361213107,), (1361213134,), (1361213164,), (1361213273,), (1361213275,), (1361213301,), (1361213327,), (1361213444,), (1361213446,), (1361213448,), (1361213451,), (1361213455,), (1361213644,), (1361213646,), (1361213648,), (1361213651,), (1361213654,), (1361213677,), (1361213680,), (1361213682,), (1361213684,), (1361213688,), (1361213702,), (1361213705,), (1361213708,), (1361213711,), (1361213717,), (1361213721,), (1361213747,), (1361213750,), (1361213753,), (1361213779,), (1361213781,), (1361213786,), (1361213790,), (1361213794,), (1361213805,), (1361213809,), (1361213811,), (1361213814,), (1361213818,), (1361213831,), (1361213856,), (1361213858,), (1361213917,), (1361213991,), (1361213994,), (1361214139,), (1361214171,), (1361214174,), (1361214176,), (1361214179,), (1361214181,), (1361214257,), (1361214261,), (1361214264,), (1361214292,), (1361214296,), (1361214301,), (1361214306,), (1361214310,), (1361214324,), (1361214327,), (1361214329,), (1361214332,), (1361214336,), (1361214340,), (1361214367,), (1361214369,), (1361214372,), (1361214376,), (1361214416,), (1361214402,), (1361214404,), (1361214406,), (1361214409,), (1361214413,), (1361214436,), (1361214443,), (1361214449,), (1361214453,), (1361214468,), (1361214469,), (1361214471,), (1361214475,), (1361214502,), (1361214505,), (1361214508,), (1361214510,), (1361214524,), (1361214528,), (1361214531,), (1361214552,), (1361214554,), (1361214557,), (1361214560,), (1361214565,), (1361214567,), (1361214580,), (1361214583,), (1361214585,), (1361214588,), (1361214590,), (1361214594,), (1361214607,), (1361214610,), (1361214613,), (1361214616,), (1361214621,), (1361214634,), (1361214637,), (1361214640,), (1361214644,), (1361214666,), (1361214668,), (1361214670,), (1361214672,), (1361214675,), (1361214688,), (1361214697,), (1361214700,), (1361214704,), (1361214707,), (1361214709,), (1361214728,), (1361214735,), (1361214740,), (1361214755,), (1361214758,), (1361214760,), (1361214762,), (1361214765,), (1361214791,), (1361214794,), (1361214797,), (1361214800,), (1361214805,), (1361214808,), (1361214822,), (1361214825,), (1361214828,), (1361214830,), (1361214864,), (1361214857,), (1361214859,), (1361214862,), (1361214879,), (1361214882,), (1361214885,), (1361214887,), (1361214890,), (1361215094,), (1361215119,), (1361215127,), (1361215130,), (1361215134,), (1361215303,), (1361215523,), (1361215527,), (1361215530,), (1361215543,), (1361215550,), (1361215556,), (1361215586,), (1361215899,), (1361215928,), (1361215953,), (1361215981,), (1361216012,), (1361216038,), (1361216304,), (1361216337,), (1361216367,), (1361216403,), (1361216433,), (1361216464,), (1361216712,), (1361216737,), (1361216767,), (1361217094,), (1361217120,), (1361217134,), (1361217138,), (1361217142,), (1361217157,), (1361218385,), (1361218558,), (1361219183,), (1361219080,), (1361219106,), (1361219133,), (1361219157,), (1361219642,), (1361219847,), (1361219850,), (1361219853,), (1361219858,), (1361219864,), (1361219990,), (1361220016,), (1361220044,), (1361220072,), (1361220100,), (1361220287,), (1361220291,), (1361220319,), (1361220344,), (1361220403,), (1361220405,), (1361220425,), (1361220452,), (1361220485,), (1361220513,), (1361220631,), (1361220634,), (1361220638,), (1361220651,), (1361220692,), (1361220696,), (1361220698,), (1361220741,), (1361220744,), (1361220754,), (1361220770,), (1361220776,), (1361220863,), (1361220868,), (1361220872,), (1361220875,), (1361220904,), (1361220908,), (1361220911,), (1361220943,), (1361220946,), (1361220950,), (1361220954,), (1361220959,), (1361220965,), (1361220986,), (1361220991,), (1361220997,), (1361221001,), (1361221007,), (1361221041,), (1361221044,), (1361221050,), (1361221056,), (1361221062,), (1361221068,), (1361221090,), (1361221095,), (1361221102,), (1361221109,), (1361221117,), (1361221157,), (1361221150,), (1361221153,), (1361221211,), (1361221216,), (1361221222,), (1361221229,), (1361221234,), (1361221272,), (1361221279,), (1361221287,), (1361221294,), (1361221324,), (1361221327,), (1361221329,), (1361221333,), (1361221336,), (1361221344,), (1361221371,), (1361221375,), (1361221379,), (1361221381,), (1361221384,), (1361221385,), (1361221421,), (1361221428,), (1361221442,), (1361221526,), (1361221530,), (1361221533,), (1361221537,), (1361221541,), (1361221545,), (1361221573,), (1361221577,), (1361221582,), (1361221588,), (1361221629,), (1361221634,), (1361221638,), (1361221641,), (1361221649,), (1361221683,), (1361221688,), (1361221694,), (1361221701,), (1361221708,), (1361221741,), (1361221746,), (1361221750,), (1361221805,), (1361221809,), (1361221812,), (1361221817,), (1361221820,), (1361221826,), (1361221860,), (1361221864,), (1361221869,), (1361221874,), (1361221880,), (1361221886,), (1361221914,), (1361221918,), (1361221921,), (1361221926,), (1361221963,), (1361221969,), (1361221976,), (1361221983,), (1361221990,), (1361221998,), (1361222311,), (1361222220,), (1361222250,), (1361222281,), (1361222362,), (1361222365,), (1361222367,), (1361222371,), (1361222376,), (1361222386,), (1361222415,), (1361222422,), (1361222427,), (1361222432,), (1361222437,), (1361222463,), (1361222465,), (1361222466,), (1361222469,), (1361222504,), (1361222510,), (1361222514,), (1361222520,), (1361222527,), (1361222533,), (1361222565,), (1361222570,), (1361222574,), (1361222578,), (1361222583,), (1361222609,), (1361222612,), (1361222616,), (1361222621,), (1361222659,), (1361222664,), (1361222669,), (1361222674,), (1361222680,), (1361222687,), (1361222715,), (1361222718,), (1361222724,), (1361222729,), (1361222736,), (1361222768,), (1361222773,), (1361222776,), (1361222781,), (1361222825,), (1361222832,), (1361222837,), (1361222844,), (1361222850,), (1361222872,), (1361222876,), (1361222879,), (1361222884,), (1361222889,), (1361222894,), (1361222911,), (1361222915,), (1361222918,), (1361222944,), (1361222947,), (1361222953,), (1361222964,), (1361222967,), (1361222970,), (1361222983,), (1361223000,), (1361223005,), (1361223012,), (1361223067,), (1361223144,), (1361223033,), (1361223037,), (1361223045,), (1361223057,), (1361223063,), (1361223083,), (1361223085,), (1361223087,), (1361223089,), (1361223090,), (1361223102,), (1361223118,), (1361223124,), (1361223130,), (1361223135,), (1361223139,), (1361223152,), (1361223156,), (1361223183,), (1361223262,), (1361223420,), (1361223469,), (1361223472,), (1361223485,), (1361223489,), (1361223523,), (1361223527,), (1361223530,), (1361223534,), (1361223539,), (1361223738,), (1361223741,), (1361223753,), (1361223839,), (1361224033,), (1361224036,), (1361224069,), (1361224920,), (1361224927,), (1361224934,), (1361225004,), (1361224994,), (1361225001,), (1361225056,), (1361225061,), (1361225067,), (1361225073,), (1361225079,), (1361225081,), (1361225137,), (1361225142,), (1361225146,), (1361225157,), (1361225167,), (1361225228,), (1361225258,), (1361225293,), (1361225436,), (1361225440,), (1361225441,), (1361225445,), (1361225448,), (1361225454,), (1361225486,), (1361225490,), (1361225495,), (1361225501,), (1361225506,), (1361225535,), (1361225539,), (1361225545,), (1361225549,), (1361225554,), (1361225598,), (1361225600,), (1361225606,), (1361225612,), (1361225616,), (1361225622,), (1361225655,), (1361225661,), (1361225667,), (1361225673,), (1361225705,), (1361225709,), (1361225715,), (1361225720,), (1361225726,), (1361225827,), (1361225830,), (1361225834,), (1361225839,), (1361225850,), (1361225956,), (1361225962,), (1361225966,), (1361225972,), (1361226011,), (1361226017,), (1361226027,), (1361226039,), (1361226048,), (1361226056,), (1361226147,), (1361226159,), (1361226167,), (1361226172,), (1361226177,), (1361226211,), (1361226214,), (1361226216,), (1361226220,), (1361226267,), (1361226251,), (1361226254,), (1361226258,), (1361226262,), (1361226288,), (1361226291,), (1361226295,), (1361226301,), (1361226340,), (1361226342,), (1361226346,), (1361226350,), (1361226356,), (1361226360,), (1361226390,), (1361226395,), (1361226400,), (1361226406,), (1361226411,), (1361226419,), (1361226439,), (1361226441,), (1361226444,), (1361226483,), (1361226487,), (1361226491,), (1361226495,), (1361226500,), (1361226506,), (1361226535,), (1361226539,), (1361226543,), (1361226547,), (1361226551,), (1361226557,), (1361226582,), (1361226585,), (1361226588,), (1361226592,), (1361226624,), (1361226628,), (1361226632,), (1361226636,), (1361226642,), (1361226648,), (1361226672,), (1361226676,), (1361226682,), (1361226687,), (1361226716,), (1361226719,), (1361226722,), (1361226726,), (1361226734,), (1361226762,), (1361226764,), (1361226766,), (1361226770,), (1361226775,), (1361226780,), (1361226804,), (1361226807,), (1361226811,), (1361226843,), (1361226848,), (1361226851,), (1361226854,), (1361226858,), (1361226890,), (1361226894,), (1361226899,), (1361226905,), (1361226913,), (1361226950,), (1361226941,), (1361226945,), (1361226997,), (1361227001,), (1361227005,), (1361227010,), (1361227042,), (1361227045,), (1361227048,), (1361227084,), (1361227092,), (1361227128,), (1361227171,), (1361227174,), (1361227181,), (1361227214,), (1361227219,), (1361227223,), (1361227229,), (1361227234,), (1361227239,), (1361227262,), (1361227266,), (1361227268,), (1361227272,), (1361227307,), (1361227310,), (1361227312,), (1361227316,), (1361227322,), (1361227348,), (1361227350,), (1361227431,), (1361227475,), (1361227480,), (1361227485,), (1361227493,), (1361227499,), (1361227526,), (1361227530,), (1361227533,), (1361227537,), (1361227571,), (1361227575,), (1361227578,), (1361227629,), (1361227608,), (1361227610,), (1361227613,), (1361227618,), (1361227621,), (1361227652,), (1361227655,), (1361227658,), (1361227662,), (1361227669,), (1361227703,), (1361227706,), (1361227745,), (1361227750,), (1361227894,), (1361227921,), (1361227949,), (1361228127,), (1361228147,), (1361228175,), (1361228179,), (1361228191,), (1361228242,), (1361228244,), (1361228247,), (1361228249,), (1361228274,), (1361246556,), (1361246497,), (1361246528,), (1361246934,), (1361246939,), (1361246948,), (1361246978,), (1361246982,), (1361247036,), (1361247261,), (1361247295,), (1361247312,), (1361247411,), (1361247505,), (1361247662,), (1361248048,), (1361248101,), (1361248442,), (1361248485,), (1361248682,), (1361248690,), (1361248707,), (1361248710,), (1361248712,), (1361248715,), (1361248758,), (1361248776,), (1361248780,), (1361248787,), (1361248816,), (1361248843,), (1361249025,), (1361249011,), (1361249022,), (1361249066,), (1361249068,), (1361249071,), (1361249073,), (1361249075,), (1361249077,), (1361249146,), (1361249173,), (1361249200,), (1361249873,), (1361249931,), (1361249982,), (1361250203,), (1361250232,), (1361250259,), (1361250568,), (1361250678,), (1361250776,), (1361250907,), (1361250935,), (1361250998,), (1361251066,), (1361251638,), (1361251690,), (1361251741,), (1361251801,), (1361251869,), (1361252586,), (1361252625,), (1361252657,), (1361252710,), (1361252748,), (1361252776,), (1361253346,), (1361253422,), (1361253885,), (1361253960,), (1361254474,), (1361254491,), (1361255218,), (1361255252,), (1361255265,), (1361255995,), (1361256035,), (1361257033,), (1361257000,), (1361257022,), (1361257024,), (1361257027,), (1361257030,), (1361257073,), (1361257079,), (1361257082,), (1361257085,), (1361257117,), (1361257120,), (1361257145,), (1361257147,), (1361257149,), (1361257152,), (1361257171,), (1361257177,), (1361257181,), (1361257183,), (1361257185,), (1361257214,), (1361257216,), (1361257219,), (1361257222,), (1361257225,), (1361257258,), (1361257262,), (1361257266,), (1361257268,), (1361257271,), (1361257307,), (1361257311,), (1361257313,), (1361257346,), (1361257349,), (1361257351,), (1361257353,), (1361257355,), (1361257358,), (1361257390,), (1361257394,), (1361257396,), (1361257401,), (1361257402,), (1361257436,), (1361257440,), (1361257445,), (1361257448,), (1361257483,), (1361257487,), (1361257491,), (1361257492,), (1361257496,), (1361257498,), (1361257534,), (1361257525,), (1361257528,), (1361257530,), (1361257532,), (1361257564,), (1361257568,), (1361257570,), (1361257573,), (1361257576,), (1361257607,), (1361257612,), (1361257615,), (1361257619,), (1361257624,), (1361257628,), (1361257650,), (1361257654,), (1361257657,), (1361257661,), (1361257695,), (1361257700,), (1361257705,), (1361257707,), (1361257709,), (1361257711,), (1361257747,), (1361257751,), (1361257755,), (1361257759,), (1361257763,), (1361257765,), (1361257789,), (1361257823,), (1361257825,), (1361257827,), (1361257864,), (1361257868,), (1361257871,), (1361257874,), (1361257877,), (1361257880,), (1361257913,), (1361257917,), (1361257920,), (1361257964,), (1361257967,), (1361257970,), (1361257973,), (1361257975,), (1361257978,), (1361258007,), (1361258011,), (1361258014,), (1361258016,), (1361258059,), (1361258062,), (1361258065,), (1361258067,), (1361258069,), (1361258072,), (1361258279,), (1361258304,), (1361258499,), (1361258495,), (1361258497,), (1361258530,), (1361258535,), (1361258570,), (1361258604,), (1361258955,), (1361278504,), (1361297866,), (1361298148,), (1361298268,), (1361298416,), (1361298424,), (1361298427,), (1361298432,), (1361298436,), (1361298440,), (1361298460,), (1361298463,), (1361298467,), (1361298471,), (1361298475,), (1361298504,), (1361298508,), (1361298511,), (1361298516,), (1361298524,), (1361298528,), (1361298575,), (1361298593,), (1361298612,), (1361298622,), (1361298695,), (1361298700,), (1361298708,), (1361298712,), (1361298747,), (1361298753,), (1361298757,), (1361298761,), (1361298765,), (1361298798,), (1361298805,), (1361298809,), (1361298812,), (1361298815,), (1361298817,), (1361298850,), (1361298854,), (1361298857,), (1361298859,), (1361298862,), (1361298920,), (1361298901,), (1361298961,), (1361298981,), (1361298988,), (1361299008,), (1361299013,), (1361299017,), (1361299027,), (1361299037,), (1361299066,), (1361299070,), (1361299073,), (1361299304,), (1361299308,), (1361299407,), (1361299411,), (1361299413,), (1361299451,), (1361299454,), (1361299463,), (1361299467,), (1361299559,), (1361299565,), (1361299566,), (1361299568,), (1361299710,), (1361299716,), (1361299744,), (1361299768,), (1361299775,), (1361299873,), (1361299876,), (1361299880,), (1361299884,), (1361299980,), (1361300018,), (1361300063,), (1361300068,), (1361300072,), (1361300075,), (1361300143,), (1361300147,), (1361300153,), (1361300159,), (1361300169,), (1361300172,), (1361300175,), (1361300178,), (1361300181,), (1361300432,), (1361300362,), (1361300400,), (1361300407,), (1361300430,), (1361300575,), (1361300583,), (1361300771,), (1361300776,), (1361300799,), (1361301111,), (1361301114,), (1361301118,), (1361301120,), (1361301122,), (1361301143,), (1361301148,), (1361301151,), (1361301153,), (1361301155,), (1361301185,), (1361301190,), (1361301235,), (1361301241,), (1361301244,), (1361301247,), (1361301250,), (1361301397,), (1361301400,), (1361301407,), (1361301559,), (1361301567,), (1361301789,), (1361301870,), (1361302108,), (1361302112,), (1361302116,), (1361302354,), (1361302383,), (1361302562,), (1361302588,), (1361302593,), (1361302829,), (1361302868,), (1361302896,), (1361302907,), (1361302909,), (1361302946,), (1361302951,), (1361302960,), (1361302964,), (1361303344,), (1361303163,), (1361303250,), (1361303282,), (1361303316,), (1361303555,), (1361303567,), (1361303570,), (1361303574,), (1361303604,), (1361303621,), (1361303646,), (1361303658,), (1361303661,), (1361303870,), (1361303901,), (1361303989,), (1361304069,), (1361304108,), (1361304113,), (1361304302,), (1361304315,), (1361304319,), (1361304332,), (1361304361,), (1361304396,), (1361304400,), (1361304403,), (1361304406,), (1361304408,), (1361304448,), (1361304452,), (1361304485,), (1361305242,), (1361308324,), (1361308242,), (1361308270,), (1361308300,), (1361308473,), (1361308506,), (1361308533,), (1361308559,), (1361308606,), (1361308720,), (1361308723,), (1361308727,), (1361308731,), (1361308735,), (1361308898,), (1361308927,), (1361308954,), (1361308989,), (1361309485,), (1361309531,), (1361309655,), (1361309688,), (1361309716,), (1361309741,), (1361310159,), (1361310195,), (1361310226,), (1361310254,), (1361310303,), (1361310608,), (1361310708,), (1361310713,), (1361310718,), (1361310773,), (1361310777,), (1361310780,), (1361310785,), (1361310806,), (1361310823,), (1361310888,), (1361310898,), (1361310917,), (1361310964,), (1361310993,), (1361311406,), (1361311442,), (1361311483,), (1361312158,), (1361312226,), (1361312279,), (1361312319,), (1361312365,), (1361312409,), (1361312845,), (1361312911,), (1361312973,), (1361313011,), (1361313043,), (1361313275,), (1361313230,), (1361313247,), (1361313261,), (1361313728,), (1361313796,), (1361313866,), (1361314469,), (1361314519,), (1361314621,), (1361314716,), (1361314807,), (1361315305,), (1361315375,), (1361315457,), (1361315520,), (1361315588,), (1361315650,), (1361316135,), (1361316169,), (1361316225,), (1361316626,), (1361316649,), (1361316661,), (1361316683,), (1361316701,), (1361316912,), (1361316927,), (1361316948,), (1361316962,), (1361316980,), (1361317740,), (1361317810,), (1361317895,), (1361318689,), (1361318791,), (1361318891,), (1361318993,), (1361319072,), (1361319160,), (1361319858,), (1361319938,), (1361320000,), (1361320065,), (1361320142,), (1361320769,), (1361320785,), (1361320804,), (1361320814,), (1361320817,), (1361321043,), (1361321064,), (1361321090,), (1361321123,), (1361321839,), (1361321904,), (1361321961,), (1361322041,), (1361322119,), (1361323359,), (1361323392,), (1361323471,), (1361323532,), (1361323576,), (1361323598,), (1361324116,), (1361323883,), (1361323924,), (1361323966,), (1361324033,), (1361324488,), (1361324531,), (1361324570,), (1361324616,), (1361325006,), (1361325023,), (1361325067,), (1361325103,), (1361325146,), (1361325192,), (1361325384,), (1361325471,), (1361325521,), (1361325567,), (1361325597,), (1361325874,), (1361325917,), (1361325944,), (1361325966,), (1361325981,), (1361326252,), (1361326297,), (1361326328,), (1361326349,), (1361326364,), (1361326385,), (1361326527,), (1361326544,), (1361326561,), (1361326576,), (1361326715,), (1361326719,), (1361326733,), (1361326751,), (1361326769,), (1361326784,), (1361326940,), (1361326963,), (1361326979,), (1361327182,), (1361327197,), (1361327219,), (1361327234,), (1361327250,), (1361327277,), (1361327552,), (1361327597,), (1361327618,), (1361327630,), (1361327651,), (1361327910,), (1361327916,), (1361327922,), (1361328150,), (1361328193,), (1361328312,), (1361328353,), (1361328728,), (1361328771,), (1361328820,), (1361328846,), (1361329551,), (1361329615,), (1361329659,), (1361329693,), (1361330036,), (1361339524,), (1361339529,), (1361339595,), (1361339599,), (1361339602,), (1361339606,), (1361339654,), (1361339657,), (1361339773,), (1361339800,), (1361339804,), (1361339807,), (1361339876,), (1361339882,), (1361339886,), (1361339891,), (1361339897,), (1361339898,), (1361340086,), (1361340091,), (1361340095,), (1361340100,), (1361340108,), (1361340115,), (1361340163,), (1361340152,), (1361340156,), (1361340159,), (1361340161,), (1361340226,), (1361340228,), (1361340231,), (1361340234,), (1361340383,), (1361340413,), (1361340440,), (1361340466,), (1361340469,), (1361340501,), (1361340507,), (1361340512,), (1361340516,), (1361340526,), (1361340536,), (1361340666,), (1361340693,), (1361340721,), (1361340757,), (1361340779,), (1361341108,), (1361341131,), (1361341135,), (1361341286,), (1361341292,), (1361341294,), (1361341298,), (1361341300,), (1361341309,), (1361341512,), (1361341523,), (1361341527,), (1361341531,), (1361341619,), (1361341623,), (1361341679,), (1361341683,), (1361341689,), (1361341709,), (1361341714,), (1361341819,), (1361341860,), (1361341887,), (1361341914,), (1361341944,), (1361341974,), (1361342143,), (1361342170,), (1361342312,), (1361342316,), (1361342318,), (1361342320,), (1361342340,), (1361342511,), (1361342518,), (1361342672,), (1361342674,), (1361342718,), (1361342713,), (1361342716,), (1361342928,), (1361342932,), (1361342944,), (1361343021,), (1361343025,), (1361343029,), (1361343031,), (1361343034,), (1361343069,), (1361343075,), (1361343078,), (1361343101,), (1361343252,), (1361343257,), (1361343260,), (1361343264,), (1361343267,), (1361343306,), (1361343311,), (1361343312,), (1361343352,), (1361343357,), (1361343373,), (1361343379,), (1361343384,), (1361343564,), (1361343571,), (1361343597,), (1361343753,), (1361343759,), (1361343764,), (1361343769,), (1361343774,), (1361343807,), (1361343813,), (1361343817,), (1361343820,), (1361343863,), (1361343867,), (1361343870,), (1361343873,), (1361343876,), (1361343922,), (1361343927,), (1361343961,), (1361343991,), (1361344025,), (1361344053,), (1361344326,), (1361344355,), (1361344389,), (1361344600,), (1361344604,), (1361344607,), (1361344610,), (1361344638,), (1361344668,), (1361344716,), (1361344743,), (1361344769,), (1361344810,), (1361345450,), (1361345342,), (1361345380,), (1361345410,), (1361345437,), (1361345695,), (1361345699,), (1361345709,), (1361345739,), (1361345769,), (1361345892,), (1361345922,), (1361345949,), (1361346024,), (1361346029,), (1361346032,), (1361346035,), (1361346037,), (1361346040,), (1361346052,), (1361346054,), (1361346056,), (1361346058,), (1361346066,), (1361346119,), (1361346125,), (1361346132,), (1361346137,), (1361346193,), (1361346198,), (1361346203,), (1361346208,), (1361346211,), (1361346215,), (1361346262,), (1361346266,), (1361346270,), (1361346273,), (1361346276,), (1361346480,), (1361346487,), (1361346490,), (1361346493,), (1361346496,), (1361346667,), (1361346671,), (1361346675,), (1361346682,), (1361346689,), (1361346827,), (1361346855,), (1361346874,), (1361346990,), (1361346994,), (1361346997,), (1361346999,), (1361347062,), (1361347067,), (1361347080,), (1361347254,), (1361347256,), (1361347608,), (1361347809,), (1361348010,), (1361348042,), (1361348356,), (1361348378,), (1361348412,), (1361348547,), (1361348550,), (1361348553,), (1361348577,), (1361348709,), (1361348737,), (1361348764,), (1361348768,), (1361348771,), (1361348775,), (1361348885,), (1361348890,), (1361348892,), (1361348894,), (1361348934,), (1361348939,), (1361348948,), (1361348968,), (1361348995,), (1361349042,), (1361349068,), (1361349090,), (1361349093,), (1361349095,), (1361349133,), (1361349138,), (1361349142,), (1361349146,), (1361349149,), (1361349152,), (1361349297,), (1361349327,), (1361349355,), (1361349530,), (1361349535,), (1361349540,), (1361349542,), (1361349544,), (1361349546,), (1361349560,), (1361349565,), (1361349573,), (1361349581,), (1361349731,), (1361349615,), (1361349638,), (1361349674,), (1361349961,), (1361349965,), (1361349969,), (1361349972,), (1361349994,), (1361350009,), (1361350103,), (1361350108,), (1361350110,), (1361350135,), (1361350263,), (1361350267,), (1361351101,), (1361351139,), (1361352483,), (1361358567,), (1361358549,), (1361358554,), (1361358559,), (1361358564,), (1361358761,), (1361358766,), (1361358770,), (1361358775,), (1361358967,), (1361358971,), (1361358974,), (1361359082,), (1361359096,), (1361359102,), (1361359113,), (1361359142,), (1361359149,), (1361359225,), (1361359229,), (1361359232,), (1361359794,), (1361359851,), (1361359904,), (1361359957,), (1361360007,), (1361360057,), (1361360667,), (1361360715,), (1361360743,), (1361360770,), (1361360796,), (1361360904,), (1361360931,), (1361360962,), (1361360991,), (1361361022,), (1361361333,), (1361361358,), (1361361385,), (1361361422,), (1361361471,), (1361361520,), (1361361914,), (1361361716,), (1361361748,), (1361361791,), (1361361852,), (1361362115,), (1361362120,), (1361362122,), (1361362126,), (1361362418,), (1361362422,), (1361362429,), (1361362435,), (1361362438,), (1361362440,), (1361362474,), (1361362480,), (1361362484,), (1361362488,), (1361362521,), (1361362526,), (1361362531,), (1361362537,), (1361362539,), (1361362542,), (1361362583,), (1361362587,), (1361362590,), (1361362593,), (1361362640,), (1361362643,), (1361362648,), (1361362653,), (1361362661,), (1361362668,), (1361362706,), (1361362710,), (1361362714,), (1361362717,), (1361362720,), (1361362722,), (1361362756,), (1361362760,), (1361362764,), (1361362837,), (1361362840,), (1361362843,), (1361362846,), (1361362850,), (1361362855,), (1361362887,), (1361362893,), (1361362898,), (1361362903,), (1361362941,), (1361362984,), (1361362987,), (1361362990,), (1361362993,), (1361363088,), (1361363260,), (1361363264,), (1361363268,), (1361363271,), (1361363275,), (1361363284,), (1361363290,), (1361363330,), (1361363316,), (1361363319,), (1361363323,), (1361363326,), (1361363328,), (1361363369,), (1361363373,), (1361363378,), (1361363389,), (1361363429,), (1361363435,), (1361363439,), (1361363443,), (1361363481,), (1361363485,), (1361363487,), (1361363524,), (1361363531,), (1361363537,), (1361363541,), (1361363546,), (1361363550,), (1361363581,), (1361363585,), (1361363589,), (1361363592,), (1361363626,), (1361363629,), (1361363633,), (1361363636,), (1361363639,), (1361363683,), (1361363687,), (1361363689,), (1361363691,), (1361363760,), (1361364176,), (1361364181,), (1361364309,), (1361364313,), (1361364315,), (1361364348,), (1361364352,), (1361364356,), (1361364359,), (1361364365,), (1361364373,), (1361364418,), (1361364422,), (1361364425,), (1361364427,), (1361364429,), (1361364610,), (1361364517,), (1361364521,), (1361364735,), (1361364740,), (1361364744,), (1361364748,), (1361364752,), (1361364754,), (1361364795,), (1361364797,), (1361364804,), (1361364808,), (1361364810,), (1361364918,), (1361364923,), (1361364929,), (1361364958,), (1361364984,), (1361365389,), (1361365418,), (1361365422,), (1361365806,), (1361365854,), (1361365917,), (1361365939,), (1361365942,), (1361366077,), (1361366108,), (1361366137,), (1361366169,), (1361366198,), (1361366226,), (1361366414,), (1361366427,), (1361366442,), (1361366510,), (1361366514,), (1361366520,), (1361366524,), (1361366528,), (1361366531,), (1361366557,), (1361366562,), (1361366566,), (1361366572,), (1361366578,), (1361366607,), (1361366646,), (1361366650,), (1361366694,), (1361366696,), (1361366795,), (1361366798,), (1361366802,), (1361366805,), (1361366820,), (1361366848,), (1361366992,), (1361367021,), (1361367073,), (1361367134,), (1361367183,), (1361367550,), (1361367575,), (1361367601,), (1361367629,), (1361367661,), (1361367680,), (1361367714,), (1361367731,), (1361367762,), (1361367793,), (1361367822,), (1361368061,), (1361367975,), (1361368004,), (1361368033,), (1361368320,), (1361368349,), (1361368377,), (1361368437,), (1361368473,), (1361368590,), (1361368595,), (1361368608,), (1361368613,), (1361368617,), (1361368619,), (1361368647,), (1361368651,), (1361368656,), (1361368675,), (1361368676,), (1361368677,), (1361368678,), (1361368679,), (1361368680,), (1361368734,), (1361368758,), (1361368762,), (1361368766,), (1361368770,), (1361368777,), (1361368824,), (1361368828,), (1361368835,), (1361368839,), (1361368958,), (1361368964,), (1361368966,), (1361368969,), (1361368972,), (1361368976,), (1361369008,), (1361369013,), (1361369015,), (1361369018,), (1361369053,), (1361369058,), (1361369061,), (1361369062,), (1361369065,), (1361369069,), (1361369244,), (1361369269,), (1361369273,), (1361369282,), (1361369305,), (1361369355,), (1361369358,), (1361369361,), (1361369365,), (1361369379,), (1361369419,), (1361369423,), (1361369427,), (1361369431,), (1361369436,), (1361369441,), (1361369469,), (1361369474,), (1361369476,), (1361369479,), (1361369517,), (1361369521,), (1361369525,), (1361369532,), (1361369535,), (1361369585,), (1361369575,), (1361369579,), (1361369583,), (1361369625,), (1361369628,), (1361369633,), (1361369636,), (1361369672,), (1361369676,), (1361369679,), (1361369682,), (1361369686,), (1361369689,), (1361369727,), (1361369732,), (1361369740,), (1361369746,), (1361369749,), (1361369784,), (1361369788,), (1361369793,), (1361369803,), (1361369811,), (1361369819,), (1361369851,), (1361369855,), (1361369859,), (1361369863,), (1361369893,), (1361369914,), (1361369916,), (1361369953,), (1361369956,), (1361369961,), (1361370016,), (1361370021,), (1361370066,), (1361370220,), (1361370231,), (1361370582,), (1361370572,), (1361370576,), (1361370579,), (1361370668,), (1361370677,), (1361370680,), (1361370684,), (1361370688,), (1361370737,), (1361370741,), (1361370787,), (1361370801,), (1361370831,), (1361370861,), (1361370890,), (1361370916,), (1361371109,), (1361371114,), (1361371120,), (1361371123,), (1361371315,), (1361371353,), (1361371380,), (1361371407,), (1361371436,), (1361371751,), (1361371781,), (1361371836,), (1361371841,), (1361372020,), (1361372049,), (1361372069,), (1361372074,), (1361372082,), (1361372086,), (1361372118,), (1361372122,), (1361372127,), (1361372130,), (1361372132,), (1361372324,), (1361372366,), (1361372393,), (1361372401,), (1361372406,), (1361372412,), (1361372434,), (1361372439,), (1361372444,), (1361372446,), (1361372488,), (1361372493,), (1361372497,), (1361372500,), (1361372503,), (1361372507,), (1361372544,), (1361372549,), (1361372552,), (1361372557,), (1361372559,), (1361372563,), (1361372593,), (1361372598,), (1361372600,), (1361372649,), (1361372643,), (1361372647,), (1361372710,), (1361372728,), (1361372761,), (1361373034,), (1361373040,), (1361373042,), (1361373046,), (1361373053,), (1361373217,), (1361373221,), (1361373225,), (1361373483,), (1361373488,), (1361373492,), (1361373495,), (1361373498,), (1361373628,), (1361373641,), (1361373689,), (1361373740,), (1361373772,), (1361373806,), (1361373994,), (1361373998,), (1361374003,), (1361374014,), (1361374246,), (1361374257,), (1361374279,), (1361374282,), (1361374303,), (1361374313,), (1361374350,), (1361374355,), (1361374359,), (1361374363,), (1361374366,), (1361374599,), (1361374631,), (1361374663,), (1361374692,), (1361374788,), (1361374817,), (1361374845,), (1361374876,), (1361375072,), (1361375077,), (1361375086,), (1361375116,), (1361375196,), (1361375200,), (1361375241,), (1361375258,), (1361375260,), (1361375281,), (1361375309,), (1361375340,), (1361375565,), (1361375570,), (1361375572,), (1361375576,), (1361375886,), (1361375795,), (1361375798,), (1361375813,), (1361375847,), (1361375996,), (1361376001,), (1361376005,), (1361376012,), (1361376041,), (1361376367,), (1361376397,), (1361376435,), (1361376462,), (1361376496,), (1361376617,), (1361376645,), (1361376674,), (1361376791,), (1361376823,), (1361376850,), (1361376871,), (1361376876,), (1361376880,), (1361376921,), (1361376926,), (1361376930,), (1361376935,), (1361376940,), (1361376946,), (1361376991,), (1361376998,), (1361377003,), (1361377008,), (1361377045,), (1361377051,), (1361377055,), (1361377059,), (1361377099,), (1361377103,), (1361377107,), (1361377110,), (1361377112,), (1361377145,), (1361377147,), (1361377150,), (1361377152,), (1361377154,), (1361377373,), (1361377379,), (1361377502,), (1361377507,), (1361377511,), (1361377515,), (1361377557,), (1361377561,), (1361377566,), (1361377570,), (1361377608,), (1361377613,), (1361377617,), (1361377620,), (1361377654,), (1361377658,), (1361377666,), (1361377670,), (1361377672,), (1361377809,), (1361377738,), (1361377768,), (1361378304,), (1361378335,), (1361378371,), (1361378527,), (1361378529,), (1361378532,), (1361378534,), (1361378783,), (1361379106,), (1361379115,), (1361379119,), (1361379121,), (1361379123,), (1361379311,), (1361379316,), (1361379320,), (1361379373,), (1361379375,), (1361379380,), (1361379382,), (1361379384,), (1361379418,), (1361379422,), (1361379431,), (1361379436,), (1361379439,), (1361379665,), (1361379692,), (1361379723,), (1361379883,), (1361379912,), (1361379941,), (1361379969,), (1361379991,), (1361380252,), (1361380268,), (1361380288,), (1361380318,), (1361380371,), (1361380562,), (1361380567,), (1361380570,), (1361380575,), (1361380581,), (1361380616,), (1361380619,), (1361380702,), (1361380707,), (1361380713,), (1361380717,), (1361380720,), (1361380724,), (1361380734,), (1361380738,), (1361380742,), (1361380747,), (1361380772,), (1361380764,), (1361380769,), (1361380827,), (1361380832,), (1361380836,), (1361380840,), (1361380880,), (1361380885,), (1361380887,), (1361380889,), (1361380891,), (1361380894,), (1361380927,), (1361380930,), (1361380933,), (1361380942,), (1361380984,), (1361380989,), (1361380997,), (1361381001,), (1361381044,), (1361381080,), (1361381083,), (1361381087,), (1361381093,), (1361381095,), (1361381130,), (1361381134,), (1361381136,), (1361381138,), (1361381172,), (1361381175,), (1361381179,), (1361381221,), (1361381225,), (1361381228,), (1361381267,), (1361381272,), (1361381275,), (1361381278,), (1361381312,), (1361381315,), (1361381317,), (1361381365,), (1361381369,), (1361381371,), (1361381417,), (1361381421,), (1361381428,), (1361381463,), (1361381467,), (1361381527,), (1361381531,), (1361381696,), (1361382867,), (1361383661,), (1361383672,), (1361383789,), (1361383795,), (1361383804,), (1361384002,), (1361384047,), (1361384074,), (1361384101,), (1361384190,), (1361384185,), (1361384188,), (1361384232,), (1361384236,), (1361384240,), (1361384246,), (1361384251,), (1361384256,), (1361384411,), (1361384414,), (1361384426,), (1361384429,), (1361384469,), (1361384472,), (1361384473,), (1361384475,), (1361384477,), (1361384514,), (1361384521,), (1361384524,), (1361384527,), (1361384529,), (1361384532,), (1361384568,), (1361384574,), (1361384576,), (1361384672,), (1361384679,), (1361384692,), (1361384697,), (1361384701,), (1361384704,), (1361384846,), (1361384874,), (1361384881,), (1361384883,), (1361384885,), (1361384989,), (1361385017,), (1361385049,), (1361385055,), (1361385059,), (1361385062,), (1361385113,), (1361385116,), (1361385120,), (1361385124,), (1361385128,), (1361385171,), (1361385176,), (1361385186,), (1361385212,), (1361385229,), (1361385486,), (1361385514,), (1361385540,), (1361385567,), (1361385595,), (1361385598,), (1361385739,), (1361385743,), (1361385745,), (1361385753,), (1361385834,), (1361385836,), (1361385837,), (1361385838,), (1361385843,), (1361385847,), (1361385858,), (1361385864,), (1361385868,), (1361385902,), (1361385890,), (1361385893,), (1361385896,), (1361385898,), (1361385899,), (1361385951,), (1361385957,), (1361385960,), (1361385963,), (1361386011,), (1361386014,), (1361386016,), (1361386019,), (1361386022,), (1361386024,), (1361386071,), (1361386086,), (1361386090,), (1361386092,), (1361386094,), (1361386203,), (1361386231,), (1361386259,), (1361386319,), (1361386323,), (1361386328,), (1361386331,), (1361386333,), (1361386336,), (1361386369,), (1361386373,), (1361386376,), (1361386378,), (1361386408,), (1361386438,), (1361386478,), (1361386480,), (1361386483,), (1361386514,), (1361386517,), (1361386520,), (1361386523,), (1361386525,), (1361386528,), (1361386554,), (1361386557,), (1361386559,), (1361386561,), (1361386563,), (1361386565,), (1361386611,), (1361386615,), (1361386621,), (1361386626,), (1361386690,), (1361386694,), (1361386696,), (1361386698,), (1361386700,), (1361386703,), (1361386735,), (1361386738,), (1361386741,), (1361386744,), (1361386787,), (1361386779,), (1361386782,), (1361386785,), (1361386815,), (1361386818,), (1361386822,), (1361386830,), (1361386833,), (1361386836,), (1361386891,), (1361386894,), (1361386896,), (1361386922,), (1361386924,), (1361386926,), (1361386930,), (1361386932,), (1361386938,), (1361386965,), (1361386969,), (1361386971,), (1361386973,), (1361387004,), (1361387008,), (1361387011,), (1361387013,), (1361387056,), (1361387059,), (1361387061,), (1361387062,), (1361387064,), (1361387093,), (1361387097,), (1361387105,), (1361387108,), (1361387112,), (1361387140,), (1361387144,), (1361387147,), (1361387153,), (1361387157,), (1361387182,), (1361387184,), (1361387188,), (1361387193,), (1361387206,), (1361387217,), (1361387253,), (1361387256,), (1361387258,), (1361387634,), (1361387665,), (1361387693,), (1361387720,), (1361387740,), (1361387743,), (1361387870,), (1361387924,), (1361387927,), (1361387952,), (1361387983,), (1361388282,), (1361388288,), (1361388291,), (1361388293,), (1361388319,), (1361388320,), (1361388322,), (1361388384,), (1361388376,), (1361388379,), (1361388381,), (1361388382,), (1361388421,), (1361388426,), (1361388725,), (1361388730,), (1361388755,), (1361388783,), (1361388926,), (1361388932,), (1361388934,), (1361388960,), (1361388987,), (1361389012,), (1361389049,), (1361389050,), (1361389051,), (1361389052,), (1361389053,), (1361389056,), (1361389087,), (1361389093,), (1361389098,), (1361389103,), (1361389142,), (1361389147,), (1361389150,), (1361389158,), (1361389164,), (1361389169,), (1361389192,), (1361389194,), (1361389197,), (1361389204,), (1361389211,), (1361389242,), (1361389247,), (1361389249,), (1361389251,), (1361389253,), (1361389280,), (1361389282,), (1361389285,), (1361389288,), (1361389500,), (1361389504,), (1361389505,), (1361389526,), (1361389564,), (1361389654,), (1361389657,), (1361389659,), (1361389662,), (1361389666,), (1361389669,), (1361389694,), (1361389697,), (1361389699,), (1361389701,), (1361389704,), (1361389731,), (1361389735,), (1361389738,), (1361390091,), (1361390103,), (1361390138,), (1361390164,), (1361390167,), (1361390514,), (1361390352,), (1361390386,), (1361390425,), (1361390478,), (1361390657,), (1361390660,), (1361390662,), (1361390664,), (1361390666,), (1361390705,), (1361390712,), (1361390715,), (1361390717,), (1361390719,), (1361390747,), (1361390750,), (1361390757,), (1361390788,), (1361390989,), (1361390992,), (1361390995,), (1361391003,), (1361391010,), (1361391025,), (1361391289,), (1361391314,), (1361391342,), (1361391344,), (1361391480,), (1361391482,), (1361391485,), (1361391512,), (1361391528,), (1361391530,), (1361391721,), (1361391749,), (1361391776,), (1361391807,), (1361391819,), (1361391824,), (1361391956,), (1361391959,), (1361391961,), (1361391965,), (1361391993,), (1361391997,), (1361392000,), (1361392003,), (1361392006,), (1361392009,), (1361392036,), (1361392040,), (1361392042,), (1361392045,), (1361392073,), (1361392079,), (1361392081,), (1361392084,), (1361392087,), (1361392124,), (1361392127,), (1361392130,), (1361392132,), (1361392520,), (1361392522,), (1361392524,), (1361392527,), (1361392973,), (1361392857,), (1361392887,), (1361392922,), (1361392947,), (1361393310,), (1361393336,), (1361393378,), (1361393408,), (1361393863,), (1361393914,), (1361393983,), (1361394037,), (1361394080,), (1361394108,), (1361394241,), (1361394244,), (1361394246,), (1361394248,), (1361394489,), (1361394592,), (1361394627,), (1361394650,), (1361394663,), (1361394669,), (1361394714,), (1361394735,), (1361394772,), (1361394802,), (1361394839,), (1361395106,), (1361395109,), (1361395112,), (1361395138,), (1361395161,), (1361395195,), (1361395507,), (1361395536,), (1361395563,), (1361395590,), (1361395777,), (1361395786,), (1361395795,), (1361395801,), (1361395821,), (1361395824,), (1361395932,), (1361395937,), (1361395943,), (1361395945,), (1361395947,), (1361395970,), (1361396168,), (1361396206,), (1361396238,), (1361396273,), (1361396677,), (1361396727,), (1361396797,), (1361396873,), (1361396923,), (1361397121,), (1361397125,), (1361397127,), (1361397129,), (1361397131,), (1361397156,), (1361397287,), (1361397321,), (1361397376,), (1361397798,), (1361397834,), (1361397861,), (1361397890,), (1361397919,), (1361397963,), (1361398300,), (1361398234,), (1361398264,), (1361398656,), (1361398684,), (1361398710,), (1361398740,), (1361398774,), (1361398827,), (1361399523,), (1361399587,), (1361399660,), (1361399737,), (1361400215,), (1361400327,), (1361400461,), (1361400578,), (1361400631,), (1361400684,), (1361401168,), (1361401197,), (1361401229,), (1361401292,), (1361401333,), (1361401335,), (1361401382,), (1361401407,), (1361401435,), (1361401885,), (1361402287,), (1361402489,), (1361402569,), (1361402612,), (1361402642,), (1361402684,), (1361402836,), (1361402839,), (1361402841,), (1361402842,), (1361402844,), (1361403033,), (1361403091,), (1361403119,), (1361403360,), (1361403389,), (1361403417,), (1361403447,), (1361403459,), (1361403462,), (1361403482,), (1361403484,), (1361403486,), (1361403488,), (1361403490,), (1361403526,), (1361403528,), (1361403530,), (1361403534,), (1361403977,), (1361403979,), (1361403982,), (1361403985,), (1361403988,), (1361404051,), (1361404117,), (1361404126,), (1361404141,), (1361404194,), (1361404169,), (1361404187,), (1361404189,), (1361404191,), (1361404214,), (1361404216,), (1361404218,), (1361404233,), (1361404265,), (1361404295,), (1361404415,), (1361404418,), (1361404421,), (1361404427,), (1361404472,), (1361404476,), (1361404481,), (1361404484,), (1361404487,), (1361404501,), (1361404504,), (1361404507,), (1361404509,), (1361404513,), (1361404517,), (1361404540,), (1361404544,), (1361404547,), (1361404551,), (1361404625,), (1361404677,), (1361404702,), (1361404704,), (1361404722,), (1361404726,), (1361404817,), (1361404845,), (1361404872,), (1361404901,), (1361405200,), (1361405203,), (1361405206,), (1361405309,), (1361405312,), (1361405314,), (1361405316,), (1361405318,), (1361405320,), (1361405342,), (1361405346,), (1361405349,), (1361405351,), (1361405359,), (1361405450,), (1361405676,), (1361405685,), (1361405687,), (1361405809,), (1361405811,), (1361405812,), (1361405814,), (1361405816,), (1361405839,), (1361405841,), (1361405842,), (1361405846,), (1361405849,), (1361405870,), (1361405878,), (1361405879,), (1361405881,), (1361405912,), (1361405904,), (1361405906,), (1361405907,), (1361405908,), (1361405909,), (1361405939,), (1361405944,), (1361405947,), (1361405950,), (1361405953,), (1361405975,), (1361405978,), (1361405980,), (1361405982,), (1361405984,), (1361406009,), (1361406011,), (1361406013,), (1361406022,), (1361406028,), (1361406031,), (1361406085,), (1361406112,), (1361406140,), (1361406175,), (1361406224,), (1361406386,), (1361406390,), (1361406401,), (1361406428,), (1361406515,), (1361406517,), (1361406519,), (1361406521,), (1361406524,), (1361406544,), (1361406546,), (1361406552,), (1361406553,), (1361406554,), (1361406577,), (1361406579,), (1361406581,), (1361406585,), (1361406605,), (1361406607,), (1361406610,), (1361406612,), (1361406626,), (1361406652,), (1361406803,), (1361406830,), (1361406832,), (1361406834,), (1361406864,), (1361406901,), (1361406926,), (1361406954,), (1361406982,), (1361407282,), (1361407309,), (1361407337,), (1361407363,), (1361407390,), (1361407420,), (1361408219,), (1361408246,), (1361408257,), (1361408556,), (1361408450,), (1361408477,), (1361408504,), (1361408530,), (1361408913,), (1361408915,), (1361408926,), (1361408966,), (1361409084,), (1361409088,), (1361409090,), (1361409102,), (1361409364,), (1361409365,), (1361409369,), (1361409377,), (1361409381,), (1361409403,), (1361409405,), (1361409407,), (1361409409,), (1361409433,), (1361409435,), (1361409437,), (1361409439,), (1361409441,), (1361409443,), (1361409462,), (1361409483,), (1361409509,), (1361409536,), (1361409869,), (1361409895,), (1361409920,), (1361409945,), (1361409969,), (1361410014,), (1361410168,), (1361410170,), (1361410173,), (1361410180,), (1361410201,), (1361410367,), (1361410392,), (1361410427,), (1361410443,), (1361410452,), (1361410453,), (1361410604,), (1361410609,), (1361410614,), (1361410622,), (1361410624,), (1361410626,), (1361410646,), (1361410649,), (1361410651,), (1361410653,), (1361410677,), (1361410679,), (1361410683,), (1361410692,), (1361410695,), (1361410697,), (1361410716,), (1361410718,), (1361410721,), (1361410727,), (1361410753,), (1361410755,), (1361410757,), (1361410760,), (1361410763,), (1361410793,), (1361410788,), (1361410790,), (1361410792,), (1361410814,), (1361410817,), (1361410818,), (1361410825,), (1361410833,), (1361410868,), (1361410870,), (1361410872,), (1361410874,), (1361410876,), (1361410878,), (1361411100,), (1361411102,), (1361411123,), (1361411134,), (1361411224,), (1361411227,), (1361411229,), (1361411328,), (1361411336,), (1361411339,), (1361411345,), (1361411347,), (1361411380,), (1361411382,), (1361411384,), (1361411392,), (1361411399,), (1361411417,), (1361411419,), (1361411420,), (1361411422,), (1361411457,), (1361411459,), (1361411461,), (1361411463,), (1361411466,), (1361411485,), (1361411486,), (1361411490,), (1361411493,), (1361411516,), (1361411518,), (1361411520,), (1361411522,), (1361411524,), (1361411527,), (1361411545,), (1361411549,), (1361411551,), (1361411553,), (1361411574,), (1361411576,), (1361411578,), (1361411580,), (1361411582,), (1361411584,), (1361411607,), (1361411610,), (1361411613,), (1361411621,), (1361411629,), (1361411652,), (1361411654,), (1361411663,), (1361411697,), (1361411687,), (1361411690,), (1361411693,), (1361411695,), (1361411726,), (1361411728,), (1361411730,), (1361411733,), (1361411735,), (1361411756,), (1361411758,), (1361411760,), (1361411762,), (1361411793,), (1361411796,), (1361411803,), (1361411806,), (1361411808,), (1361411817,), (1361411818,), (1361411819,), (1361411841,), (1361411843,), (1361411847,), (1361411852,), (1361411855,), (1361411858,), (1361411877,), (1361411880,), (1361411891,), (1361411892,), (1361411894,), (1361411913,), (1361411914,), (1361411915,), (1361411941,), (1361411942,), (1361411943,), (1361411944,), (1361411945,), (1361411946,), (1361411972,), (1361411973,), (1361411974,), (1361411978,), (1361411986,), (1361411992,), (1361412013,), (1361412017,), (1361412021,), (1361412040,), (1361412043,), (1361412045,), (1361412047,), (1361412048,), (1361412050,), (1361412067,), (1361412069,), (1361412071,), (1361412073,), (1361412075,), (1361412127,), (1361412130,), (1361412132,), (1361412136,), (1361412141,), (1361412181,), (1361412167,), (1361412170,), (1361412174,), (1361412177,), (1361412198,), (1361412202,), (1361412205,), (1361412211,), (1361412220,), (1361412235,), (1361412236,), (1361412238,), (1361412266,), (1361412268,), (1361412270,), (1361412271,), (1361412273,), (1361412294,), (1361412296,), (1361412298,), (1361412301,), (1361412308,), (1361412379,), (1361412381,), (1361412383,), (1361412385,), (1361412387,), (1361412515,), (1361412519,), (1361412525,), (1361412552,), (1361412660,), (1361412668,), (1361412670,), (1361412671,), (1361412673,), (1361412751,), (1361412754,), (1361412756,), (1361412758,), (1361412760,), (1361412788,), (1361412790,), (1361412793,), (1361412796,), (1361412798,), (1361412818,), (1361412820,), (1361412822,), (1361412851,), (1361412854,), (1361412857,), (1361412863,), (1361412867,), (1361412869,), (1361412887,), (1361412890,), (1361412892,), (1361412894,), (1361412942,), (1361412944,), (1361412946,), (1361412948,), (1361412950,), (1361412952,), (1361412982,)) NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'27052025': {'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([23377701]) Inside saveOutput : final : True verbose : True saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1361298920, 1361298862, 1361298859, 1361298857, 1361298854, 1361298850, 1361298817, 1361298815, 1361298812, 1361298809, 1361298805, 1361298798, 1361298765, 1361298761, 1361298757, 1361298753, 1361298747, 1361298712, 1361298708, 1361298700, 1361298695, 1361298622, 1361298612, 1361298593, 1361298575, 1361298528, 1361298524, 1361298516, 1361298511, 1361298508, 1361298504, 1361298475, 1361298471, 1361298467, 1361298463, 1361298460, 1361298440, 1361298436, 1361298432, 1361298427, 1361298424, 1361298416, 1361298268, 1361298148, 1361297866] map_info['map_portfolio_photo'] : {23377701: [1361298920, 1361298862, 1361298859, 1361298857, 1361298854, 1361298850, 1361298817, 1361298815, 1361298812, 1361298809, 1361298805, 1361298798, 1361298765, 1361298761, 1361298757, 1361298753, 1361298747, 1361298712, 1361298708, 1361298700, 1361298695, 1361298622, 1361298612, 1361298593, 1361298575, 1361298528, 1361298524, 1361298516, 1361298511, 1361298508, 1361298504, 1361298475, 1361298471, 1361298467, 1361298463, 1361298460, 1361298440, 1361298436, 1361298432, 1361298427, 1361298424, 1361298416, 1361298268, 1361298148, 1361297866]} final : True mtd_id 4302 list_pids : [1361298920, 1361298862, 1361298859, 1361298857, 1361298854, 1361298850, 1361298817, 1361298815, 1361298812, 1361298809, 1361298805, 1361298798, 1361298765, 1361298761, 1361298757, 1361298753, 1361298747, 1361298712, 1361298708, 1361298700, 1361298695, 1361298622, 1361298612, 1361298593, 1361298575, 1361298528, 1361298524, 1361298516, 1361298511, 1361298508, 1361298504, 1361298475, 1361298471, 1361298467, 1361298463, 1361298460, 1361298440, 1361298436, 1361298432, 1361298427, 1361298424, 1361298416, 1361298268, 1361298148, 1361297866] Looping around the photos to save general results len do output : 1 /23377701Didn'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, '2972565') ('4302', '23377701', '1361298920', None, None, None, None, None, '2972565') ('4302', None, None, None, None, None, None, None, '2972565') ('4302', '23377701', '1361298862', None, None, None, None, None, '2972565') ('4302', None, None, None, None, None, None, None, '2972565') ('4302', '23377701', '1361298859', None, None, None, None, None, '2972565') ('4302', None, None, None, None, None, None, None, '2972565') ('4302', '23377701', '1361298857', None, None, None, None, None, '2972565') ('4302', None, None, None, None, None, None, None, '2972565') ('4302', '23377701', '1361298854', None, None, None, None, None, '2972565') ('4302', None, None, None, None, None, None, None, '2972565') ('4302', '23377701', '1361298850', None, None, None, None, None, '2972565') ('4302', None, None, None, None, None, None, None, '2972565') ('4302', '23377701', '1361298817', None, None, None, None, None, '2972565') ('4302', None, None, None, None, None, None, None, '2972565') ('4302', '23377701', '1361298815', None, None, None, None, None, '2972565') ('4302', None, None, None, None, None, None, None, '2972565') ('4302', '23377701', '1361298812', None, None, None, None, None, '2972565') ('4302', None, None, None, None, None, None, None, '2972565') ('4302', '23377701', '1361298809', None, None, None, None, None, '2972565') ('4302', None, None, None, None, None, None, None, '2972565') ('4302', '23377701', '1361298805', None, None, None, None, None, '2972565') ('4302', None, None, None, None, None, None, None, '2972565') ('4302', '23377701', '1361298798', None, None, None, None, None, '2972565') ('4302', None, None, None, None, None, None, None, '2972565') ('4302', '23377701', '1361298765', None, None, None, None, None, '2972565') ('4302', None, None, None, None, None, None, None, '2972565') ('4302', '23377701', '1361298761', None, None, None, None, None, '2972565') ('4302', None, None, None, None, None, None, None, '2972565') ('4302', '23377701', '1361298757', None, None, None, None, None, '2972565') ('4302', None, None, None, None, None, None, None, '2972565') ('4302', '23377701', '1361298753', None, None, None, None, None, '2972565') ('4302', None, None, None, None, None, None, None, '2972565') ('4302', '23377701', '1361298747', None, None, None, None, None, '2972565') ('4302', None, None, None, None, None, None, None, '2972565') ('4302', '23377701', '1361298712', None, None, None, None, None, '2972565') ('4302', None, None, None, None, None, None, None, '2972565') ('4302', '23377701', '1361298708', None, None, None, None, None, '2972565') ('4302', None, None, None, None, None, None, None, '2972565') ('4302', '23377701', '1361298700', None, None, None, None, None, '2972565') ('4302', None, None, None, None, None, None, None, '2972565') ('4302', '23377701', '1361298695', None, None, None, None, None, '2972565') ('4302', None, None, None, None, None, None, None, '2972565') ('4302', '23377701', '1361298622', None, None, None, None, None, '2972565') ('4302', None, None, None, None, None, None, None, '2972565') ('4302', '23377701', '1361298612', None, None, None, None, None, '2972565') ('4302', None, None, None, None, None, None, None, '2972565') ('4302', '23377701', '1361298593', None, None, None, None, None, '2972565') ('4302', None, None, None, None, None, None, None, '2972565') ('4302', '23377701', '1361298575', None, None, None, None, None, '2972565') ('4302', None, None, None, None, None, None, None, '2972565') ('4302', '23377701', '1361298528', None, None, None, None, None, '2972565') ('4302', None, None, None, None, None, None, None, '2972565') ('4302', '23377701', '1361298524', None, None, None, None, None, '2972565') ('4302', None, None, None, None, None, None, None, '2972565') ('4302', '23377701', '1361298516', None, None, None, None, None, '2972565') ('4302', None, None, None, None, None, None, None, '2972565') ('4302', '23377701', '1361298511', None, None, None, None, None, '2972565') ('4302', None, None, None, None, None, None, None, '2972565') ('4302', '23377701', '1361298508', None, None, None, None, None, '2972565') ('4302', None, None, None, None, None, None, None, '2972565') ('4302', '23377701', '1361298504', None, None, None, None, None, '2972565') ('4302', None, None, None, None, None, None, None, '2972565') ('4302', '23377701', '1361298475', None, None, None, None, None, '2972565') ('4302', None, None, None, None, None, None, None, '2972565') ('4302', '23377701', '1361298471', None, None, None, None, None, '2972565') ('4302', None, None, None, None, None, None, None, '2972565') ('4302', '23377701', '1361298467', None, None, None, None, None, '2972565') ('4302', None, None, None, None, None, None, None, '2972565') ('4302', '23377701', '1361298463', None, None, None, None, None, '2972565') ('4302', None, None, None, None, None, None, None, '2972565') ('4302', '23377701', '1361298460', None, None, None, None, None, '2972565') ('4302', None, None, None, None, None, None, None, '2972565') ('4302', '23377701', '1361298440', None, None, None, None, None, '2972565') ('4302', None, None, None, None, None, None, None, '2972565') ('4302', '23377701', '1361298436', None, None, None, None, None, '2972565') ('4302', None, None, None, None, None, None, None, '2972565') ('4302', '23377701', '1361298432', None, None, None, None, None, '2972565') ('4302', None, None, None, None, None, None, None, '2972565') ('4302', '23377701', '1361298427', None, None, None, None, None, '2972565') ('4302', None, None, None, None, None, None, None, '2972565') ('4302', '23377701', '1361298424', None, None, None, None, None, '2972565') ('4302', None, None, None, None, None, None, None, '2972565') ('4302', '23377701', '1361298416', None, None, None, None, None, '2972565') ('4302', None, None, None, None, None, None, None, '2972565') ('4302', '23377701', '1361298268', None, None, None, None, None, '2972565') ('4302', None, None, None, None, None, None, None, '2972565') ('4302', '23377701', '1361298148', None, None, None, None, None, '2972565') ('4302', None, None, None, None, None, None, None, '2972565') ('4302', '23377701', '1361297866', None, None, None, None, None, '2972565') 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, '23377701', 'None', None, None, None, None, '2972565'), ('4302', '23377701', '1361298920', None, None, None, None, None, '2972565'), ('4302', '23377701', '1361298862', None, None, None, None, None, '2972565'), ('4302', '23377701', '1361298859', None, None, None, None, None, '2972565'), ('4302', '23377701', '1361298857', None, None, None, None, None, '2972565'), ('4302', '23377701', '1361298854', None, None, None, None, None, '2972565'), ('4302', '23377701', '1361298850', None, None, None, None, None, '2972565'), ('4302', '23377701', '1361298817', None, None, None, None, None, '2972565'), ('4302', '23377701', '1361298815', None, None, None, None, None, '2972565'), ('4302', '23377701', '1361298812', None, None, None, None, None, '2972565'), ('4302', '23377701', '1361298809', None, None, None, None, None, '2972565'), ('4302', '23377701', '1361298805', None, None, None, None, None, '2972565'), ('4302', '23377701', '1361298798', None, None, None, None, None, '2972565'), ('4302', '23377701', '1361298765', None, None, None, None, None, '2972565'), ('4302', '23377701', '1361298761', None, None, None, None, None, '2972565'), ('4302', '23377701', '1361298757', None, None, None, None, None, '2972565'), ('4302', '23377701', '1361298753', None, None, None, None, None, '2972565'), ('4302', '23377701', '1361298747', None, None, None, None, None, '2972565'), ('4302', '23377701', '1361298712', None, None, None, None, None, '2972565'), ('4302', '23377701', '1361298708', None, None, None, None, None, '2972565'), ('4302', '23377701', '1361298700', None, None, None, None, None, '2972565'), ('4302', '23377701', '1361298695', None, None, None, None, None, '2972565'), ('4302', '23377701', '1361298622', None, None, None, None, None, '2972565'), ('4302', '23377701', '1361298612', None, None, None, None, None, '2972565'), ('4302', '23377701', '1361298593', None, None, None, None, None, '2972565'), ('4302', '23377701', '1361298575', None, None, None, None, None, '2972565'), ('4302', '23377701', '1361298528', None, None, None, None, None, '2972565'), ('4302', '23377701', '1361298524', None, None, None, None, None, '2972565'), ('4302', '23377701', '1361298516', None, None, None, None, None, '2972565'), ('4302', '23377701', '1361298511', None, None, None, None, None, '2972565'), ('4302', '23377701', '1361298508', None, None, None, None, None, '2972565'), ('4302', '23377701', '1361298504', None, None, None, None, None, '2972565'), ('4302', '23377701', '1361298475', None, None, None, None, None, '2972565'), ('4302', '23377701', '1361298471', None, None, None, None, None, '2972565'), ('4302', '23377701', '1361298467', None, None, None, None, None, '2972565'), ('4302', '23377701', '1361298463', None, None, None, None, None, '2972565'), ('4302', '23377701', '1361298460', None, None, None, None, None, '2972565'), ('4302', '23377701', '1361298440', None, None, None, None, None, '2972565'), ('4302', '23377701', '1361298436', None, None, None, None, None, '2972565'), ('4302', '23377701', '1361298432', None, None, None, None, None, '2972565'), ('4302', '23377701', '1361298427', None, None, None, None, None, '2972565'), ('4302', '23377701', '1361298424', None, None, None, None, None, '2972565'), ('4302', '23377701', '1361298416', None, None, None, None, None, '2972565'), ('4302', '23377701', '1361298268', None, None, None, None, None, '2972565'), ('4302', '23377701', '1361298148', None, None, None, None, None, '2972565'), ('4302', '23377701', '1361297866', None, None, None, None, None, '2972565')] time used for this insertion : 0.5718293190002441 save_final save missing photos in datou_result : time spend for datou_step_exec : 16.671056270599365 time spend to save output : 0.5723586082458496 total time spend for step 5 : 17.243414878845215 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 (2972565) 3.36user 2.64system 0:39.69elapsed 15%CPU (0avgtext+0avgdata 169812maxresident)k 744inputs+28872outputs (16major+90503minor)pagefaults 0swaps